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.
23 lines
416 B
TypeScript
23 lines
416 B
TypeScript
export interface Task {
|
|
id: number;
|
|
description: string;
|
|
assignedTo: string | null;
|
|
dueDate: string | null;
|
|
completed: boolean;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
|
|
export interface CreateTaskParams {
|
|
description: string;
|
|
assignedTo?: string;
|
|
dueDate?: string;
|
|
}
|
|
|
|
export interface UpdateTaskParams {
|
|
description?: string;
|
|
assignedTo?: string;
|
|
dueDate?: string;
|
|
completed?: boolean;
|
|
}
|