refactor: align property names between block and event

This commit is contained in:
Carlos Valente
2025-06-29 08:02:43 +02:00
parent b66eac3c9f
commit 8e111512d8
10 changed files with 35 additions and 36 deletions
@@ -30,8 +30,8 @@ export type OntimeBlock = OntimeBaseEvent & {
custom: EntryCustomFields;
// !==== RUNTIME METADATA ====! //
revision: number;
startTime: MaybeNumber; // calculated at runtime
endTime: MaybeNumber; // calculated at runtime
timeStart: MaybeNumber; // calculated at runtime
timeEnd: MaybeNumber; // calculated at runtime
duration: number; // calculated at runtime
isFirstLinked: boolean; // calculated at runtime, whether the first event is linked
};