-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
38 lines (33 loc) · 873 Bytes
/
Copy pathtypes.ts
File metadata and controls
38 lines (33 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export type CapitalCategory =
| 'Skill'
| 'Physical'
| 'Emotional'
| 'Social'
| 'Intellectual'
| 'Financial';
export const CAPITAL_CATEGORIES: CapitalCategory[] = [
'Skill',
'Physical',
'Emotional',
'Social',
'Intellectual',
'Financial'
];
export interface Task {
id: string;
title: string;
category: CapitalCategory;
assignedDate: string; // ISO Date string YYYY-MM-DD
completedDate: string | null; // ISO Date string YYYY-MM-DD or null
notes?: string;
duration?: string; // e.g., "30m", "1h"
reminderTime?: string; // ISO Date string for notification
createdAt: number;
}
export type TaskStatus = 'COMPLETED' | 'FAILED' | 'PENDING' | 'GRACE';
export interface DayStatus {
date: string;
tasks: Task[];
status: 'ALL_COMPLETED' | 'HAS_FAILED' | 'PENDING' | 'EMPTY';
}
export type ThemeMode = 'light' | 'dark' | 'system';