import { Dayjs } from "dayjs"; export type Task = { status: string; label: string; fullLabel: string; tags: string[]; priority: TaskPriority; priorityStr: string; createdDate?: Dayjs; startDate?: Dayjs; scheduledDate?: Dayjs; dueDate?: Dayjs; completedDate?: Dayjs; cancelledDate?: Dayjs; recurrenceRule?: string; onDelete?: string; id?: string; dependsOn?: string[]; reminder?: string; } export enum TaskPriority { LOWEST, LOW, NORMAL, MEDIUM, HIGH, HIGHEST, }; export type TaskDatabase = Record;