mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
Timer/blinking and blackout buttons (#406)
*feat: timer blink *feat: blackout --------- Co-authored-by: Fabian Posenau <fabian@fphome.de> Co-authored-by: cv <34649812+cpvalente@users.noreply.github.com>
This commit is contained in:
@@ -2,3 +2,8 @@ export type Message = {
|
||||
text: string;
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
export type TimerMessage = Message & {
|
||||
timerBlink: boolean;
|
||||
timerBlackout: boolean;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Playback } from './Playback.type.js';
|
||||
import { Message } from './MessageControl.type.js';
|
||||
import { Message, TimerMessage } from './MessageControl.type.js';
|
||||
import { TimerState } from './TimerState.type.js';
|
||||
import { TitleBlock } from './TitleBlock.type.js';
|
||||
import { Loaded } from './Playlist.type.js';
|
||||
@@ -10,7 +10,7 @@ export type RuntimeStore = {
|
||||
playback: Playback;
|
||||
|
||||
// messages service
|
||||
timerMessage: Message;
|
||||
timerMessage: TimerMessage;
|
||||
publicMessage: Message;
|
||||
lowerMessage: Message;
|
||||
onAir: boolean;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Alias } from './definitions/core/Alias.type.js';
|
||||
import { DatabaseModel } from './definitions/DataModel.type.js';
|
||||
import { EndAction } from './definitions/EndAction.type.js';
|
||||
import { EventData } from './definitions/core/EventData.type.js';
|
||||
import { Message } from './definitions/runtime/MessageControl.type.js';
|
||||
import { Message, TimerMessage } from './definitions/runtime/MessageControl.type.js';
|
||||
import {
|
||||
OntimeBaseEvent,
|
||||
OntimeBlock,
|
||||
@@ -61,6 +61,7 @@ export { Playback };
|
||||
export { TimerLifeCycle };
|
||||
|
||||
export type { Message };
|
||||
export type { TimerMessage };
|
||||
export type { Loaded };
|
||||
export type { RuntimeStore };
|
||||
export type { TimerState };
|
||||
|
||||
Reference in New Issue
Block a user