mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
refactor: type cleanup and test improvements
This commit is contained in:
committed by
Carlos Valente
parent
5cefad3666
commit
b4c60f3f04
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user