mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 18:33:53 +00:00
Refactor: require trigger in all events objects (#1636)
* reqire trigger in all events * use structuredClone when cloning an event
This commit is contained in:
committed by
GitHub
parent
02c30c9681
commit
2a5b053d97
@@ -54,7 +54,7 @@ export type OntimeEvent = OntimeBaseEvent & {
|
||||
timeWarning: number;
|
||||
timeDanger: number;
|
||||
custom: EntryCustomFields;
|
||||
triggers?: Trigger[];
|
||||
triggers: Trigger[];
|
||||
parent: EntryId | null;
|
||||
// !==== RUNTIME METADATA ====! //
|
||||
revision: number;
|
||||
|
||||
Reference in New Issue
Block a user