feat(workflow) : DTOs front Workflow + category sur TaskStatus + workflow embarqué sur Project + service + i18n

This commit is contained in:
2026-05-19 20:00:55 +02:00
parent 6a084489ea
commit 18bc96082f
5 changed files with 122 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
import type { StatusCategory } from './workflow'
export type TaskStatus = {
id: number
'@id'?: string
@@ -5,6 +7,8 @@ export type TaskStatus = {
color: string
position: number
isFinal: boolean
category: StatusCategory
workflow?: { '@id': string, id: number } | string
}
export type TaskStatusWrite = {
@@ -12,4 +16,6 @@ export type TaskStatusWrite = {
color: string
position: number
isFinal: boolean
category: StatusCategory
workflow?: string
}