mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 13:23:35 +00:00
feat: edit groups
This commit is contained in:
committed by
Carlos Valente
parent
4c08482258
commit
473f50b493
@@ -23,8 +23,9 @@ export type OntimeBlock = OntimeBaseEvent & {
|
||||
type: SupportedEntry.Block;
|
||||
title: string;
|
||||
note: string;
|
||||
events: EntryId[];
|
||||
skip: boolean;
|
||||
entries: EntryId[];
|
||||
isNextDay: boolean;
|
||||
targetDuration: MaybeNumber;
|
||||
colour: string;
|
||||
custom: EntryCustomFields;
|
||||
// !==== RUNTIME METADATA ====! //
|
||||
|
||||
@@ -340,7 +340,7 @@ describe('getLastEvent', () => {
|
||||
const testRundown = {
|
||||
entries: {
|
||||
1: { id: '1', type: SupportedEntry.Event } as OntimeEvent,
|
||||
block: { id: 'block', type: SupportedEntry.Block, events: ['21', '22', '23'] } as OntimeBlock,
|
||||
block: { id: 'block', type: SupportedEntry.Block, entries: ['21', '22', '23'] } as OntimeBlock,
|
||||
21: { id: '21', type: SupportedEntry.Event, parent: 'block' } as OntimeEvent,
|
||||
22: { id: '22', type: SupportedEntry.Event, parent: 'block' } as OntimeEvent,
|
||||
23: { id: '23', type: SupportedEntry.Event, parent: 'block' } as OntimeEvent,
|
||||
|
||||
Reference in New Issue
Block a user