feat(tasktree): restore derived outline numbering

This commit is contained in:
root
2026-07-21 10:14:38 +02:00
parent 70e47f0253
commit 38990c4e81
6 changed files with 63 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { fetchJson } from "@/api/client";
import type { ApiResult } from "@/types";
export type TaskTreeGroup = { id: string; name: string; description: string; createdAt: string; updatedAt: string };
export type TaskTreeTask = { id: string; groupId: string; parentId: string | null; kind: "task" | "subtask" | "subsubtask"; title: string; description: string; status: string; startAt: string | null; dueAt: string | null; sortOrder: number; createdAt: string; updatedAt: string };
export type TaskTreeTask = { id: string; groupId: string; parentId: string | null; kind: "task" | "subtask" | "subsubtask"; outlineRef: string; title: string; description: string; status: string; startAt: string | null; dueAt: string | null; sortOrder: number; createdAt: string; updatedAt: string };
export type TaskTreeMilestone = { id: string; groupId: string; taskId: string | null; title: string; occursAt: string; createdAt: string };
export type TaskTreeReport = { id: string; taskId: string; title: string; body: string; status: string; createdAt: string };
export type TaskTreeTimeline = { group: TaskTreeGroup; tasks: TaskTreeTask[]; milestones: TaskTreeMilestone[]; reports: TaskTreeReport[] };