feat(frontend) : add isFinal and archived fields to DTOs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-03-12 17:59:45 +01:00
parent 96a9f988c4
commit 91ffb82e44
3 changed files with 10 additions and 3 deletions

View File

@@ -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
}