Enable dayjs for task dates

This commit is contained in:
2025-01-15 14:19:23 +01:00
parent 3f25000723
commit 12fa9e4e75
4 changed files with 44 additions and 27 deletions

View File

@@ -1,14 +1,16 @@
import { Dayjs } from "dayjs";
export type Task = {
status: string;
label: string;
priority: TaskPriority;
createdDate?: string;
startDate?: string;
scheduledDate?: string;
dueDate?: string;
completedDate?: string;
cancelledDate?: string;
recurrencyRule?: string;
createdDate?: Dayjs;
startDate?: Dayjs;
scheduledDate?: Dayjs;
dueDate?: Dayjs;
completedDate?: Dayjs;
cancelledDate?: Dayjs;
recurrenceRule?: string;
onDelete?: string;
id?: string;
dependsOn?: string[];