18 lines
351 B
TypeScript
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
|
|
}
|