refactor: type cleanup and test improvements

This commit is contained in:
Carlos Valente
2025-05-16 21:02:48 +02:00
committed by Carlos Valente
parent 5cefad3666
commit b4c60f3f04
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;