mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 19:03:47 +00:00
chore: rename blocks to groups
This commit is contained in:
committed by
Carlos Valente
parent
486d89ecf4
commit
e5d2457717
@@ -40,7 +40,7 @@ export const demoDb: DatabaseModel = {
|
||||
},
|
||||
'7eaf99': {
|
||||
id: '7eaf99',
|
||||
type: SupportedEntry.Block,
|
||||
type: SupportedEntry.Group,
|
||||
title: 'Morning Sessions',
|
||||
note: '',
|
||||
entries: ['9bf60f', 'bf71a2', 'c2697f', 'fa593e', 'a8b0b3'],
|
||||
@@ -160,7 +160,7 @@ export const demoDb: DatabaseModel = {
|
||||
},
|
||||
f60403: {
|
||||
id: 'f60403',
|
||||
type: SupportedEntry.Block,
|
||||
type: SupportedEntry.Group,
|
||||
title: 'Lunch',
|
||||
note: '',
|
||||
entries: ['0aaa7d'],
|
||||
@@ -202,7 +202,7 @@ export const demoDb: DatabaseModel = {
|
||||
},
|
||||
'6b0edb': {
|
||||
id: '6b0edb',
|
||||
type: SupportedEntry.Block,
|
||||
type: SupportedEntry.Group,
|
||||
title: 'Afternoon Sessions',
|
||||
note: '',
|
||||
entries: ['02afca', '75ce86', 'e10ed9', '07df89'],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
EndAction,
|
||||
OntimeBlock,
|
||||
OntimeGroup,
|
||||
OntimeDelay,
|
||||
OntimeEvent,
|
||||
OntimeMilestone,
|
||||
@@ -54,8 +54,8 @@ export const milestone: Omit<OntimeMilestone, 'id'> = {
|
||||
revision: 0, // calculated at runtime
|
||||
};
|
||||
|
||||
export const block: Omit<OntimeBlock, 'id'> = {
|
||||
type: SupportedEntry.Block,
|
||||
export const group: Omit<OntimeGroup, 'id'> = {
|
||||
type: SupportedEntry.Group,
|
||||
title: '',
|
||||
note: '',
|
||||
entries: [],
|
||||
|
||||
Reference in New Issue
Block a user