import { FlowConfig, IProjectUserMappingEntity, ITimesheetEntity, IUserEntity, TimesheetActionEnum, TimesheetEntityModel, TimesheetStatusEnum } from "../../entities"; import { IClientApiEntityDependent } from "./client.entity.response"; import { IProjectApiEntityDependent } from "./project.entity.response"; import { ITimesheetUpdateDto } from "./timesheet.update.dto.interface"; export type ITimesheetEntityGet = { timesheets: ITimesheetEntity[]; clients: { [key: string]: IClientApiEntityDependent; }; projects: { [key: string]: IProjectApiEntityDependent; }; users: { [key: string]: IUserEntity; }; tasks: string[]; }; /** * LW-828: this used to re-declare the flow-config shape by hand. It is now an alias of the shared * `FlowConfig`. Kept as a named type so every existing consumer keeps compiling unchanged. */ export type ITimesheetFlowConfig = FlowConfig; export type ITimesheetFlowContextData = { currentTimesheet?: TimesheetEntityModel; projectUserMapping?: IProjectUserMappingEntity; buffer?: number; dto?: ITimesheetUpdateDto; timesheetEnterThresholdValue?: number; };