added init files

This commit is contained in:
2025-10-08 02:32:39 +02:00
parent 8d65129e24
commit c70145ca50
51 changed files with 23237 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
// frontend/src/types/shiftTemplate.ts
export interface ShiftTemplate {
id: string;
name: string;
description?: string;
shifts: TemplateShift[];
createdBy: string;
createdAt: string;
isDefault: boolean;
}
export interface TemplateShift {
id: string;
dayOfWeek: number; // 0-6 (Sonntag=0, Montag=1, ...)
name: string;
startTime: string; // "08:00"
endTime: string; // "12:00"
requiredEmployees: number;
color?: string; // Für visuelle Darstellung
}
export const DEFAULT_DAYS = [
{ id: 1, name: 'Montag' },
{ id: 2, name: 'Dienstag' },
{ id: 3, name: 'Donnerstag' },
{ id: 4, name: 'Mittwoch' },
{ id: 5, name: 'Freitag' },
{ id: 6, name: 'Samstag' },
{ id: 0, name: 'Sonntag' }
];