feat: milestones

This commit is contained in:
Carlos Valente
2025-07-07 15:37:54 +02:00
committed by Carlos Valente
parent a7ae8598db
commit f2913971db
26 changed files with 610 additions and 77 deletions
@@ -3,6 +3,7 @@ import {
OntimeBlock,
OntimeDelay,
OntimeEvent,
OntimeMilestone,
SupportedEntry,
TimeStrategy,
TimerType,
@@ -40,6 +41,18 @@ export const delay: Omit<OntimeDelay, 'id'> = {
parent: null,
};
export const milestone: Omit<OntimeMilestone, 'id'> = {
type: SupportedEntry.Milestone,
cue: '',
title: '',
note: '',
colour: '',
custom: {},
parent: null,
// !==== RUNTIME METADATA ====! //
revision: 0, // calculated at runtime
};
export const block: Omit<OntimeBlock, 'id'> = {
type: SupportedEntry.Block,
title: '',