mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
refactor: UI for linking events (#763)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export enum TimeStrategy {
|
||||
LockEnd = 'lock-end',
|
||||
LockDuration = 'lock-duration',
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
import { MaybeString } from '../../index.js';
|
||||
import { EndAction } from '../EndAction.type.js';
|
||||
import { TimerType } from '../TimerType.type.js';
|
||||
import { TimeStrategy } from '../TimeStrategy.type.js';
|
||||
|
||||
export enum SupportedEvent {
|
||||
Event = 'event',
|
||||
@@ -32,6 +34,8 @@ export type OntimeEvent = OntimeBaseEvent & {
|
||||
note: string;
|
||||
endAction: EndAction;
|
||||
timerType: TimerType;
|
||||
linkStart: MaybeString; // ID of event to link to
|
||||
timeStrategy: TimeStrategy;
|
||||
timeStart: number;
|
||||
timeEnd: number;
|
||||
duration: number;
|
||||
|
||||
@@ -11,6 +11,7 @@ export {
|
||||
SupportedEvent,
|
||||
} from './definitions/core/OntimeEvent.type.js';
|
||||
export type { OntimeEntryCommonKeys, OntimeRundown, OntimeRundownEntry } from './definitions/core/Rundown.type.js';
|
||||
export { TimeStrategy } from './definitions/TimeStrategy.type.js';
|
||||
export { TimerType } from './definitions/TimerType.type.js';
|
||||
|
||||
// ---> Project Data
|
||||
|
||||
Reference in New Issue
Block a user