Files
Lesstime/frontend/services/dto/project.ts
2026-03-09 23:40:48 +01:00

18 lines
351 B
TypeScript

import type { Client } from './client'
export type Project = {
id: number
'@id'?: string
name: string
description: string | null
color: string
client: Client | null
}
export type ProjectWrite = {
name: string
description: string | null
color: string
client: string | null // IRI : "/api/clients/1" ou null
}