mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 20:03:52 +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
Carlos Valente
parent
b640e0e181
commit
90870ecfb6
@@ -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