refactor: extract rundown parsing

refactor: implement groups in editor
This commit is contained in:
Carlos Valente
2025-04-17 12:56:47 +02:00
committed by arc-alex
parent 3118c20719
commit 72c4ad789a
36 changed files with 1170 additions and 772 deletions
@@ -7,7 +7,7 @@ export type EventPostPayload = Partial<OntimeEntry> & {
before?: string;
};
export type TransientEventPayload = Partial<OntimeEvent | OntimeDelay | OntimeBlock> & {
export type TransientEventPayload = Partial<OntimeEntry> & {
after?: string;
before?: string;
};
@@ -16,6 +16,7 @@ export type OntimeBaseEvent = {
export type OntimeDelay = OntimeBaseEvent & {
type: SupportedEntry.Delay;
duration: number;
parent: EntryId | null;
};
export type OntimeBlock = OntimeBaseEvent & {