mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
fix: midnight roll (#484)
* refactor: extract utilities and types * refactor: extract and simplify progress bar logic * refactor: duration validation handles midnight * fix: prevent stale event loader * refactor: consider next event in timer invalidation * refactor: reload changes on changed roll target * refactor: timer load accounts for midnight * fix: issues with midnight on roll * refactor: prevent stale secondary event
This commit is contained in:
@@ -23,6 +23,7 @@ import { TimerType } from './definitions/TimerType.type.js';
|
||||
import { TitleBlock } from './definitions/runtime/TitleBlock.type.js';
|
||||
import { UserFields } from './definitions/core/UserFields.type.js';
|
||||
import { ViewSettings } from './definitions/core/Views.type.js';
|
||||
import { MaybeNumber } from './utils/utils.type.js';
|
||||
|
||||
// DATA MODEL
|
||||
export type { DatabaseModel };
|
||||
@@ -69,3 +70,6 @@ export type { TimerState };
|
||||
export type { TitleBlock };
|
||||
|
||||
// CLIENT
|
||||
|
||||
// UTILITIES
|
||||
export type { MaybeNumber };
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export type MaybeNumber = number | null;
|
||||
Reference in New Issue
Block a user