Files
dashboard/types/cycle.ts
T
Alberto-Audrix 32a36cceff
CI / lint-and-test (push) Canceled after 0s
first commit
2026-07-28 08:55:05 +07:00

22 lines
546 B
TypeScript

export interface CyclePhase {
name: string;
startDay: number;
endDay: number;
color: string;
description: string;
}
export type CycleStatus = 'Completed' | 'Active' | 'Upcoming';
export interface CycleData {
id: string;
totalDays: number;
currentDay: number;
startDate: Date;
endDate?: Date; // Optional explicit end date for user customization
chickInWeight?: number; // Initial chick weight in grams
docInCount?: number; // Initial DOC (Day Old Chick) population count
phases: CyclePhase[];
status: CycleStatus;
}