implement task controller
This commit is contained in:
6
server/src/dto/task.dto.ts
Normal file
6
server/src/dto/task.dto.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
type TaskDto = {
|
||||
id: number;
|
||||
description: string;
|
||||
createdAt: Date;
|
||||
finishedAt?: Date;
|
||||
}
|
||||
3
server/src/dto/updateTask.dto.ts
Normal file
3
server/src/dto/updateTask.dto.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
type UpdateTaskDto = {
|
||||
description?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user