fix: backdate rundown start when rolling

This commit is contained in:
Carlos Valente
2026-03-08 00:41:07 +01:00
committed by Carlos Valente
parent 5ff7861968
commit 6f1f10ccff
10 changed files with 235 additions and 31 deletions
@@ -4,6 +4,7 @@ import type { TimerType } from '../TimerType.type.js';
import type { TimeStrategy } from '../TimeStrategy.type.js';
import type { Trigger } from './Automation.type.js';
import type { EntryCustomFields } from './CustomFields.type.js';
import type { Day } from './Temporal.js';
export type EntryId = string;
@@ -77,7 +78,7 @@ export type OntimeEvent = OntimeBaseEvent & {
// !==== RUNTIME METADATA ====! //
revision: number;
delay: number; // calculated at runtime
dayOffset: number; // calculated at runtime
dayOffset: Day; // calculated at runtime
gap: number; // calculated at runtime
};