mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
feat: milestones
This commit is contained in:
committed by
Carlos Valente
parent
a7ae8598db
commit
f2913971db
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user