mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
Feat/countdown style (#290)
* feat: Countdown Style --------- Co-authored-by: Fabian Posenau <fabian@fphome.de> Co-authored-by: cv <34649812+cpvalente@users.noreply.github.com> Co-authored-by: Fabian Posenau <19673098+kellhogs@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export enum TimerTypeType {
|
||||
export enum TimerType {
|
||||
CountDown = 'count-down',
|
||||
CountUp = 'count-up',
|
||||
Clock = 'clock'
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { TimerType } from '../TimerType.type.js';
|
||||
|
||||
export enum SupportedEvent {
|
||||
Event = 'event',
|
||||
Delay = 'delay',
|
||||
@@ -26,7 +28,8 @@ export type OntimeEvent = OntimeBaseEvent & {
|
||||
subtitle: string;
|
||||
presenter: string;
|
||||
note: string;
|
||||
timeType?: string;
|
||||
timerBehaviour: 'start-end',
|
||||
timerType: TimerType,
|
||||
timeStart: number;
|
||||
timeEnd: number;
|
||||
duration: number;
|
||||
|
||||
@@ -14,7 +14,7 @@ import { OSCSettings, OscSubscription } from './definitions/core/OscSettings.typ
|
||||
import { Playback } from './definitions/runtime/Playback.type.js';
|
||||
import { Settings } from './definitions/core/Settings.type.js';
|
||||
import { TimerLifeCycle } from './definitions/core/TimerLifecycle.type.js';
|
||||
import { TimerTypeType } from './definitions/TimerType.type.js';
|
||||
import { TimerType } from './definitions/TimerType.type.js';
|
||||
import { UserFields } from './definitions/core/UserFields.type.js';
|
||||
import { ViewSettings } from './definitions/core/Views.type.js';
|
||||
|
||||
@@ -22,10 +22,10 @@ import { ViewSettings } from './definitions/core/Views.type.js';
|
||||
export type { DatabaseModel };
|
||||
|
||||
// ---> Rundown
|
||||
export type { TimerTypeType };
|
||||
export { TimerType };
|
||||
export { SupportedEvent };
|
||||
export type { OntimeBaseEvent, OntimeBlock, OntimeDelay, OntimeEvent };
|
||||
export type { OntimeRundown, OntimeRundownEntry };
|
||||
export { SupportedEvent };
|
||||
|
||||
// ---> Event
|
||||
export type { EventData };
|
||||
|
||||
Reference in New Issue
Block a user