feat(frontend) : add isFinal and archived fields to DTOs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ export type TaskGroup = {
|
|||||||
description: string | null
|
description: string | null
|
||||||
color: string
|
color: string
|
||||||
project: Project | null
|
project: Project | null
|
||||||
|
archived: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TaskGroupWrite = {
|
export type TaskGroupWrite = {
|
||||||
@@ -14,4 +15,5 @@ export type TaskGroupWrite = {
|
|||||||
description: string | null
|
description: string | null
|
||||||
color: string
|
color: string
|
||||||
project: string
|
project: string
|
||||||
|
archived?: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ export type TaskStatus = {
|
|||||||
label: string
|
label: string
|
||||||
color: string
|
color: string
|
||||||
position: number
|
position: number
|
||||||
|
isFinal: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TaskStatusWrite = {
|
export type TaskStatusWrite = {
|
||||||
label: string
|
label: string
|
||||||
color: string
|
color: string
|
||||||
position: number
|
position: number
|
||||||
|
isFinal: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { TaskStatus } from './task-status'
|
import type { TaskStatus } from './task-status'
|
||||||
import type { TaskEffort } from './task-effort'
|
import type { TaskEffort } from './task-effort'
|
||||||
import type { TaskPriority } from './task-priority'
|
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 { TaskGroup } from './task-group'
|
||||||
import type { UserData } from './user-data'
|
import type { UserData } from './user-data'
|
||||||
import type { Project } from './project'
|
import type { Project } from './project'
|
||||||
@@ -9,6 +9,7 @@ import type { Project } from './project'
|
|||||||
export type Task = {
|
export type Task = {
|
||||||
id: number
|
id: number
|
||||||
'@id'?: string
|
'@id'?: string
|
||||||
|
number: number
|
||||||
title: string
|
title: string
|
||||||
description: string | null
|
description: string | null
|
||||||
status: TaskStatus | null
|
status: TaskStatus | null
|
||||||
@@ -17,7 +18,8 @@ export type Task = {
|
|||||||
assignee: UserData | null
|
assignee: UserData | null
|
||||||
group: TaskGroup | null
|
group: TaskGroup | null
|
||||||
project: Project | null
|
project: Project | null
|
||||||
types: TaskType[]
|
tags: TaskTag[]
|
||||||
|
archived: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TaskWrite = {
|
export type TaskWrite = {
|
||||||
@@ -29,5 +31,6 @@ export type TaskWrite = {
|
|||||||
assignee: string | null
|
assignee: string | null
|
||||||
group: string | null
|
group: string | null
|
||||||
project: string
|
project: string
|
||||||
types: string[]
|
tags: string[]
|
||||||
|
archived?: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user