import { ShiftRotationDayType } from '../../enum/shiftManagement/shiftRotationDayType';

/**
 * A rotation day's resolved structure: its `type` plus the shift codes that should sit
 * in it. Produced by the diff phase of create/update once every WORK-day shift has been
 * created (new) or matched + version-bumped (existing) and a stable `shiftCode` is known.
 * Consumed by `buildForCreation` to wrap into the domain `ShiftRotationForCreation`.
 *
 * REST days carry an empty `shifts` array.
 */
export interface RotationDayPlan {
    type: ShiftRotationDayType;
    shifts: { shiftCode: string }[];
}
