[MAJOR][FIRSTCOMMIT] Add board, read board, tasks
This commit is contained in:
23
src/types/entity.d.ts
vendored
Normal file
23
src/types/entity.d.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
interface Board {
|
||||
id: number
|
||||
userId: number
|
||||
name: string
|
||||
description?: string
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
interface Task {
|
||||
id: number
|
||||
boardId: number
|
||||
title: string
|
||||
description?: string
|
||||
status: "todo" | "in-progress" | "done"
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
interface TaskGroup {
|
||||
groupId: string
|
||||
tasks: Task[]
|
||||
}
|
||||
Reference in New Issue
Block a user