refactor: extract rundown parsing

refactor: implement groups in editor
This commit is contained in:
Carlos Valente
2025-04-17 12:56:47 +02:00
parent 52358d75d3
commit e30b4fa8d5
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 & {