-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
58 lines (51 loc) · 1009 Bytes
/
types.ts
File metadata and controls
58 lines (51 loc) · 1009 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
export enum TaskStatus {
TODO = 'todo',
IN_PROGRESS = 'in-progress',
DONE = 'done'
}
export enum Priority {
LOW = 'low',
MEDIUM = 'medium',
HIGH = 'high',
CRITICAL = 'critical'
}
export interface SubTask {
id: string;
title: string;
completed: boolean;
}
export interface Task {
id: string;
projectId: string;
title: string;
description: string;
status: TaskStatus;
priority: Priority;
dueDate?: string;
subtasks: SubTask[];
technicalNotes?: string;
dependencies: string[];
}
export interface Project {
id: string;
name: string;
description: string;
tasks: Task[];
repositoryUrl?: string;
technologies: string[];
tags: string[];
createdAt: string;
}
export interface Reminder {
id: string;
text: string;
time: string;
completed: boolean;
}
export interface AssistantState {
projects: Project[];
reminders: Reminder[];
isListening: boolean;
isProcessing: boolean;
activeChat: { role: 'user' | 'assistant', content: string }[];
}