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 { TaskGroup } from './task-group' import type { UserData } from './user-data' export type Task = { id: number '@id'?: string title: string description: string | null status: TaskStatus | null effort: TaskEffort | null priority: TaskPriority | null assignee: UserData | null group: TaskGroup | null types: TaskType[] } export type TaskWrite = { title: string description: string | null status: string | null effort: string | null priority: string | null assignee: string | null group: string | null project: string types: string[] }