mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 21:03:29 +00:00
refactor: align property names between block and event
This commit is contained in:
committed by
Carlos Valente
parent
b66eac3c9f
commit
0726c04f20
@@ -49,8 +49,8 @@ export const demoDb: DatabaseModel = {
|
||||
targetDuration: null,
|
||||
colour: 'hotpink',
|
||||
revision: 0,
|
||||
startTime: null,
|
||||
endTime: null,
|
||||
timeStart: null,
|
||||
timeEnd: null,
|
||||
duration: 0,
|
||||
isFirstLinked: false,
|
||||
custom: {
|
||||
@@ -216,8 +216,8 @@ export const demoDb: DatabaseModel = {
|
||||
targetDuration: null,
|
||||
custom: {},
|
||||
revision: 0,
|
||||
startTime: null,
|
||||
endTime: null,
|
||||
timeStart: null,
|
||||
timeEnd: null,
|
||||
duration: 0,
|
||||
isFirstLinked: false,
|
||||
},
|
||||
@@ -379,8 +379,8 @@ export const demoDb: DatabaseModel = {
|
||||
targetDuration: null,
|
||||
custom: {},
|
||||
revision: 0,
|
||||
startTime: null,
|
||||
endTime: null,
|
||||
timeStart: null,
|
||||
timeEnd: null,
|
||||
duration: 0,
|
||||
isFirstLinked: false,
|
||||
},
|
||||
|
||||
@@ -51,8 +51,8 @@ export const block: Omit<OntimeBlock, 'id'> = {
|
||||
custom: {},
|
||||
// !==== RUNTIME METADATA ====! //
|
||||
revision: 0, // calculated at runtime
|
||||
startTime: null, // calculated at runtime
|
||||
endTime: null, // calculated at runtime
|
||||
timeStart: null, // calculated at runtime
|
||||
timeEnd: null, // calculated at runtime
|
||||
duration: 0, // calculated at runtime
|
||||
isFirstLinked: false, // calculated at runtime
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user