From 54b8c7e9ec258fd43ec523aaf3d967a646022cee Mon Sep 17 00:00:00 2001 From: aaravkumar Date: Wed, 30 Apr 2025 22:54:16 -0400 Subject: made document options as data doc options ($), and fixed namign conventions --- src/client/documents/Documents.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/client/documents') diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 217967c52..a11f56143 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -526,16 +526,12 @@ export class DocumentOptions { ai_firefly_seed?: number; ai_firefly_prompt?: string; - // AARAV ADD DOC OPTIONS -- TASK MANAGER - - /** Task start date/time picker (metadata and default) */ - startTime?: DateInfo | DateField = new DateInfo('start date and time', /*filterable*/ false); - /** Task end date/time picker (metadata and default) */ - endTime?: DateInfo | DateField = new DateInfo('end date and time', /*filterable*/ false); - /** Treat this as an all-day task (metadata and default) */ - allDay?: BoolInfo | boolean = new BoolInfo('all-day task', /*filterable*/ false); - /** Whether the task is completed */ - completed?: BoolInfo | boolean = new BoolInfo('whether the task is completed', /*filterable*/ false); + // TASK MANAGER + $startTime?: DateInfo | DateField = new DateInfo('start date and time', /*filterable*/ false); + $endTime?: DateInfo | DateField = new DateInfo('end date and time', /*filterable*/ false); + $allDay?: BoolInfo | boolean = new BoolInfo('whether task is all-day or not', /*filterable*/ false); + $completed?: BoolInfo | boolean = new BoolInfo('whether the task is completed', /*filterable*/ false); + /** * JSON‐stringified slot configuration for ScrapbookBox */ -- cgit v1.2.3-70-g09d2