18 lines
543 B
TypeScript
18 lines
543 B
TypeScript
export type KanbanStatus = 'triage' | 'todo' | 'ready' | 'running' | 'blocked' | 'done' | 'archived'
|
|
|
|
export type Task = {
|
|
id: string
|
|
title: string
|
|
status: KanbanStatus | string
|
|
assignee?: string | null
|
|
priority?: number | null
|
|
age?: string | null
|
|
body?: string | null
|
|
created_at?: number | null
|
|
started_at?: number | null
|
|
}
|
|
|
|
export type TaskGroups = Record<string, Task[]>
|
|
|
|
export type Event = Record<string, unknown> & { kind?: string }
|
|
export type Run = Record<string, unknown> & { id?: number | string; status?: string }
|