mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 22:49:18 +00:00
block end calculation (#1683)
This commit is contained in:
committed by
Carlos Valente
parent
e811a82be2
commit
e9dda817e5
@@ -4,4 +4,5 @@ import type { EntryId } from '../core/OntimeEntry.js';
|
||||
export type BlockState = {
|
||||
id: EntryId;
|
||||
startedAt: MaybeNumber;
|
||||
expectedEnd: MaybeNumber;
|
||||
};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import type { MaybeString } from '../../utils/utils.type.js';
|
||||
import type { OntimeEvent } from '../core/OntimeEntry.js';
|
||||
import type { SimpleTimerState } from './AuxTimer.type.js';
|
||||
import type { BlockState } from './CurrentBlockState.type.js';
|
||||
@@ -18,9 +19,9 @@ export type RuntimeStore = {
|
||||
runtime: Runtime;
|
||||
eventNow: OntimeEvent | null;
|
||||
eventNext: OntimeEvent | null;
|
||||
|
||||
|
||||
blockNow: BlockState | null;
|
||||
blockNext: BlockState | null;
|
||||
blockNext: MaybeString;
|
||||
|
||||
// extra timers
|
||||
auxtimer1: SimpleTimerState;
|
||||
|
||||
Reference in New Issue
Block a user