import { IModuleLink, ISODATE } from '../../../core'; import { PrioritySource, PriorityTarget, ScheduleTarget, WeekdayTimeDurationValue } from './ScheduleTypes'; /** * @deprecated */ export declare type UnscheduledTarget = Omit; /** * @deprecated */ export declare type SourceSchedule = { module: IModuleLink; schedule: WeekdayTimeDurationValue[]; }; /** * @deprecated * * Used to generate a schedule for targets based on source schedules */ export interface IGenerateTargetSchedulesDTO { start_time: ISODATE; sources: SourceSchedule[]; targets: UnscheduledTarget[]; } export interface IGeneratePriorityScheduleDTO { /** * The UNIX timestamp (in milliseconds) to start the schedule on */ startTime: number; /** * Schedule sources with a value indicating their associated priority */ sources: PrioritySource[]; /** * Schedule targets with a value indicating their associated priority */ targets: PriorityTarget[]; }