This commit is contained in:
Sockenklaus
2021-10-07 02:15:25 +02:00
parent 5ad0ca7e2e
commit cba4c91c73
2 changed files with 58 additions and 26 deletions

15
src/types/schedule-data.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
type ScheduleData = [
...ScheduleRow[]
]
type Employee = {
id: number,
name: string,
handle: string
contractHours?: number
}
type ScheduleRow = {
dates : (Date | null)[],
employees : Employee[]
}