/ src / models / instance-parameters.ts
instance-parameters.ts
 1  import type { Holiday } from "./holiday";
 2  import type { Period } from "./period";
 3  import type { WeekFrequency } from "./week-frequency";
 4  
 5  export type InstanceParameters = Readonly<{
 6    nextBusinessDay: Date
 7    firstMonday: Date
 8    firstDate: Date
 9    lastDate: Date
10  
11    /**
12     * Allows to recognize the device for next authentications.
13     */
14    navigatorIdentifier: string
15    version: number[]
16    endings: string[]
17    periods: Period[]
18    holidays: Holiday[]
19    weekFrequencies: Map<number, WeekFrequency>
20    blocksPerDay: number
21  }>;