refactor: align property names between block and event

This commit is contained in:
Carlos Valente
2025-06-29 08:02:43 +02:00
committed by Carlos Valente
parent b66eac3c9f
commit 0726c04f20
10 changed files with 35 additions and 36 deletions
@@ -162,8 +162,8 @@ export function createBlock(patch?: Partial<OntimeBlock>): OntimeBlock {
colour: makeString(patch.colour, ''),
custom: patch.custom ?? {},
revision: 0,
startTime: null,
endTime: null,
timeStart: null,
timeEnd: null,
duration: 0,
isFirstLinked: false,
};