You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
448 B
TypeScript
18 lines
448 B
TypeScript
export interface Task {
|
|
id: number;
|
|
description: string;
|
|
created_at: Date;
|
|
due_date: Date | null;
|
|
completed: boolean;
|
|
completed_at: Date | null;
|
|
group_id: string; // WhatsApp group ID where task was created
|
|
created_by: string; // WhatsApp user ID of task creator
|
|
}
|
|
|
|
export interface TaskAssignment {
|
|
task_id: number;
|
|
user_id: string; // Normalized phone number
|
|
assigned_by: string; // Who assigned this
|
|
assigned_at: Date;
|
|
}
|