UNPKG

wfm-mobile-core

Version:

WFM Mobile Core

34 lines (33 loc) 836 B
import { ISchedule } from './ISchedule'; import { IShift } from './IShift'; export interface IDay { shifts: IShift[]; schedule: ISchedule; shiftExchange: IShift; number: number; active: boolean; today: boolean; hasDayPassed: boolean; date: string; isoDate: string; type?: string[]; } export interface IWeek { listWorkDays: IDay[]; } export interface IMonth { listWeeks: IWeek[]; } export declare class DataDay implements IDay { constructor(num?: number, act?: boolean, today?: boolean, hasDayPassed?: boolean, date?: string, isoDate?: string, type?: string[]); shifts: IShift[]; schedule: ISchedule; shiftExchange: IShift; number: number; active: boolean; today: boolean; hasDayPassed: boolean; date: string; isoDate: string; type: string[]; }