22 lines
546 B
TypeScript
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;
|
|
}
|