refactor: maintain flat orders

This commit is contained in:
Carlos Valente
2025-04-17 10:12:06 +02:00
committed by arc-alex
parent dd6d74121c
commit 3754c374c3
13 changed files with 71 additions and 25 deletions
+1
View File
@@ -5,6 +5,7 @@ export const defaultRundown: Rundown = {
id: 'default',
title: 'Default',
order: [],
flatOrder: [],
entries: {},
revision: 0,
};
+19
View File
@@ -19,6 +19,25 @@ export const demoDb: DatabaseModel = {
'bab4a',
'd3eb1',
],
flatOrder: [
'block',
'32d31',
'21cd2',
'0b371',
'3cd28',
'e457f',
'01e85',
'1c420',
'b7737',
'd3a80',
'8276c',
'2340b',
'cb90b',
'503c4',
'5e965',
'bab4a',
'd3eb1',
],
entries: {
block: {
type: SupportedEvent.Block,