S9 OR Tools basic scheduling
All checks were successful
Build, test and publish / verify (push) Successful in 1m48s

This commit is contained in:
2026-10-30 15:00:45 +01:00
parent f64aa9123d
commit 1b4c7f7f2f
43 changed files with 1042 additions and 118 deletions

View File

@@ -21,11 +21,17 @@ export interface DanceGroup {
styles: GroupStyle[];
dancerIds: number[];
}
export type DayPartType = 'MORNING' | 'AFTERNOON' | 'EVENING';
export interface DayPart {
date: string;
type: DayPartType;
danceGroupIds: number[];
}
export interface Show {
id: number;
name: string;
date: string;
dayParts: { type: 'MORNING' | 'AFTERNOON' | 'EVENING'; danceGroupIds: number[] }[];
dayParts: DayPart[];
appearances: Partial<Record<GroupType, number>>;
}
export interface SchoolRequest {
name: string;
@@ -43,7 +49,8 @@ export interface GroupRequest {
}
export interface ShowRequest {
name: string;
date: string;
dayParts: { date: string; type: DayPartType }[];
appearances?: Partial<Record<GroupType, number>>;
}
export type ResourceKind = 'school' | 'dancer' | 'group' | 'show';
export type EditorTarget =