export interface Tag {
id: number
name: string
}
export interface Project {
id: number
name: string
relevance_status: string
priority: number | null
note: string
}
export interface Task {
id: number
title: string
description: string
task_type: string
status: string
detail_state: string
parent_task_id: number | null
project: Project | null
priority: number | null
tags: Tag[]
created_at: string
approved_at: string | null
done_at: string | null
}
export interface UserInfo {
user_id: string
email: string
avatar_url: string | null
/** Язык из SSO profile.locale ('' если нет значения) */
locale?: string
}