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:
Fabian Posenau
2023-02-26 19:53:26 +01:00
committed by GitHub
parent 6d138ce9f1
commit c405698813
16 changed files with 228 additions and 139 deletions
@@ -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;
+3 -3
View File
@@ -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 };