Implement basic types and task wrapper

This commit is contained in:
2025-01-14 17:13:55 +01:00
parent 739a5d9721
commit cf21e4c7a7
4 changed files with 180 additions and 0 deletions

24
src/types/task.ts Normal file
View File

@@ -0,0 +1,24 @@
export type Task = {
status: string;
label: string;
priority: TaskPriority;
createdDate?: string;
startDate?: string;
scheduledDate?: string;
dueDate?: string;
completedDate?: string;
cancelledDate?: string;
recurrencyRule?: string;
onDelete?: string;
id?: string;
dependsOn?: string[];
reminder?: string;
}
export type TaskPriority =
| 'lowest'
| 'low'
| 'normal'
| 'medium'
| 'high'
| 'highest';