chore: rename currentBlock > parent

This commit is contained in:
Carlos Valente
2025-04-13 20:57:54 +02:00
committed by arc-alex
parent 918f8d1b08
commit d2c7b34142
15 changed files with 90 additions and 90 deletions
@@ -15,7 +15,7 @@ describe('cloneEvent()', () => {
timeEnd: 10,
timerType: TimerType.CountDown,
timeStrategy: TimeStrategy.LockEnd,
currentBlock: 'test',
parent: 'test',
linkStart: false,
countToEnd: false,
endAction: EndAction.None,
@@ -46,7 +46,7 @@ describe('cloneEvent()', () => {
timeEnd: original.timeEnd,
timerType: original.timerType,
timeStrategy: original.timeStrategy,
currentBlock: 'test',
parent: 'test',
countToEnd: original.countToEnd,
linkStart: original.linkStart,
endAction: original.endAction,
@@ -23,7 +23,7 @@ export const cloneEvent = (event: OntimeEvent): ClonedEvent => {
isPublic: event.isPublic,
skip: event.skip,
colour: event.colour,
currentBlock: event.currentBlock,
parent: event.parent,
revision: 0,
delay: event.delay, // the events will be collocated, so having the same metadata is a good start
dayOffset: event.dayOffset,