mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 05:34:09 +00:00
refactor: add rundown summary to import preview
This commit is contained in:
committed by
Carlos Valente
parent
3918664945
commit
e6070e6efd
@@ -1,4 +1,5 @@
|
||||
import type { EntryId, OntimeEntry } from '../../definitions/core/OntimeEntry.js';
|
||||
import type { MaybeNumber } from '../../utils/utils.type.js';
|
||||
|
||||
export type PatchWithId<T extends OntimeEntry = OntimeEntry> = Partial<T> & { id: EntryId };
|
||||
|
||||
@@ -23,3 +24,9 @@ export type ProjectRundownsList = {
|
||||
loaded: string;
|
||||
rundowns: ProjectRundown[];
|
||||
};
|
||||
|
||||
export type RundownSummary = {
|
||||
duration: number;
|
||||
start: MaybeNumber;
|
||||
end: MaybeNumber;
|
||||
};
|
||||
|
||||
@@ -83,6 +83,7 @@ export type {
|
||||
ProjectRundown,
|
||||
ProjectRundownsList,
|
||||
TransientEventPayload,
|
||||
RundownSummary,
|
||||
} from './api/rundown-controller/BackendResponse.type.js';
|
||||
export type { LinkOptions } from './api/session-controller/BackendResponse.type.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user