diff --git a/frontend/services/dto/task-group.ts b/frontend/services/dto/task-group.ts index 52bd804..d0ed0b7 100644 --- a/frontend/services/dto/task-group.ts +++ b/frontend/services/dto/task-group.ts @@ -7,6 +7,7 @@ export type TaskGroup = { description: string | null color: string project: Project | null + archived: boolean } export type TaskGroupWrite = { @@ -14,4 +15,5 @@ export type TaskGroupWrite = { description: string | null color: string project: string + archived?: boolean } diff --git a/frontend/services/dto/task-status.ts b/frontend/services/dto/task-status.ts index 073c1ec..0b2de86 100644 --- a/frontend/services/dto/task-status.ts +++ b/frontend/services/dto/task-status.ts @@ -4,10 +4,12 @@ export type TaskStatus = { label: string color: string position: number + isFinal: boolean } export type TaskStatusWrite = { label: string color: string position: number + isFinal: boolean } diff --git a/frontend/services/dto/task.ts b/frontend/services/dto/task.ts index f3e47f2..a37ebe1 100644 --- a/frontend/services/dto/task.ts +++ b/frontend/services/dto/task.ts @@ -1,7 +1,7 @@ import type { TaskStatus } from './task-status' import type { TaskEffort } from './task-effort' import type { TaskPriority } from './task-priority' -import type { TaskType } from './task-type' +import type { TaskTag } from './task-tag' import type { TaskGroup } from './task-group' import type { UserData } from './user-data' import type { Project } from './project' @@ -9,6 +9,7 @@ import type { Project } from './project' export type Task = { id: number '@id'?: string + number: number title: string description: string | null status: TaskStatus | null @@ -17,7 +18,8 @@ export type Task = { assignee: UserData | null group: TaskGroup | null project: Project | null - types: TaskType[] + tags: TaskTag[] + archived: boolean } export type TaskWrite = { @@ -29,5 +31,6 @@ export type TaskWrite = { assignee: string | null group: string | null project: string - types: string[] + tags: string[] + archived?: boolean }