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
|
||||
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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user