refactor: type cleanup and test improvements

This commit is contained in:
Carlos Valente
2025-05-16 21:02:48 +02:00
committed by arc-alex
parent a1505606cf
commit c7b2f0e89c
4 changed files with 32 additions and 4 deletions
@@ -6,7 +6,8 @@ export type RundownEntries = Record<EntryId, OntimeEntry>;
// we need to create a manual union type since keys cannot be used in type unions
export type OntimeEntryCommonKeys = keyof OntimeEvent | keyof OntimeDelay | keyof OntimeBlock;
export type ProjectRundowns = Record<string, Rundown>;
type RundownId = string;
export type ProjectRundowns = Record<RundownId, Rundown>;
export type Rundown = {
id: string;