feat: edit groups

This commit is contained in:
Carlos Valente
2025-06-25 06:10:12 +02:00
committed by Carlos Valente
parent 4c08482258
commit 473f50b493
75 changed files with 916 additions and 511 deletions
+9 -6
View File
@@ -41,11 +41,12 @@ export const demoDb: DatabaseModel = {
entries: {
block: {
type: SupportedEntry.Block,
events: ['32d31', '21cd2', '0b371', '3cd28', 'e457f'],
entries: ['32d31', '21cd2', '0b371', '3cd28', 'e457f'],
id: 'block',
title: 'Test Block',
note: '',
skip: false,
isNextDay: false,
targetDuration: null,
colour: 'hotpink',
revision: 0,
startTime: null,
@@ -210,8 +211,9 @@ export const demoDb: DatabaseModel = {
title: 'Lunch break',
note: '',
colour: '',
events: [],
skip: false,
entries: [],
isNextDay: false,
targetDuration: null,
custom: {},
revision: 0,
startTime: null,
@@ -372,8 +374,9 @@ export const demoDb: DatabaseModel = {
title: 'Afternoon break',
note: '',
colour: '',
events: [],
skip: false,
entries: [],
isNextDay: false,
targetDuration: null,
custom: {},
revision: 0,
startTime: null,
+3 -2
View File
@@ -44,8 +44,9 @@ export const block: Omit<OntimeBlock, 'id'> = {
type: SupportedEntry.Block,
title: '',
note: '',
events: [],
skip: false,
entries: [],
isNextDay: false,
targetDuration: null,
colour: '',
custom: {},
// !==== RUNTIME METADATA ====! //