import type { TaskDocument } from './task-document' import type { UserData } from './user-data' export type ClientTicketType = 'bug' | 'improvement' | 'other' export type ClientTicketStatus = 'new' | 'in_progress' | 'done' | 'rejected' export type ClientTicket = { '@id'?: string id: number number: number type: ClientTicketType title: string description: string url: string | null status: ClientTicketStatus statusComment: string | null project: string submittedBy: UserData | null createdAt: string updatedAt: string documents: TaskDocument[] } export type ClientTicketWrite = { type: ClientTicketType title: string description: string url?: string | null project: string }