Implement basic types and task wrapper
This commit is contained in:
24
src/types/task.ts
Normal file
24
src/types/task.ts
Normal 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';
|
||||
Reference in New Issue
Block a user