All files / src/app/store/state page.state.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24                                    1x          
// tslint:disable:interface-over-type-literal
 
import { IFileInfo } from '../../model/fileInfo.model';
 
export type PageStateRoot = {
  validations?: PageState;
  referentials?: PageState;
  clinics?: PageState;
};
 
export type PageState = {
  files?: IFileInfo[],
  fileInfo?: IFileInfo,
  lastRefresh?: string,
  numVisible?: number,
  error?: any
};
 
export const pagesInitialState: PageStateRoot = {
  validations: {},
  referentials: {},
  clinics: {},
};