import { HttpErrorResponse } from '@angular/common/http' ; import { Action } from '@ngrx/store' ; import { GetReviewersStatisticsCollectionPayload } from '@pimp-my-pr/pmp-web/repository/domain' ; import { ReviewerStatistics } from '@pimp-my-pr/shared/domain' ; export namespace fromUserActions { export enum Types { GetReviewersStatisticsCollection = '[ReviewersStatistics] Get Reviewers Statistics Collection' , GetReviewersStatisticsCollectionFail = '[ReviewersStatistics] Get Reviewers Statistics Collection Fail' , GetReviewersStatisticsCollectionSuccess = '[ReviewersStatistics] Get Reviewers Statistics Collection Success' } export class GetReviewersStatisticsCollection implements Action { readonly type = Types . GetReviewersStatisticsCollection ; constructor ( public payload ) { } } export class GetReviewersStatisticsCollectionFail implements Action { readonly type = Types . GetReviewersStatisticsCollectionFail ; constructor ( public payload ) { } } export class GetReviewersStatisticsCollectionSuccess implements Action { readonly type = Types . GetReviewersStatisticsCollectionSuccess ; constructor ( public payload ) { } } export type CollectiveType = GetReviewersStatisticsCollection | GetReviewersStatisticsCollectionFail | GetReviewersStatisticsCollectionSuccess ; }