From a23e0f5909eeecd92b45c950a8c52b9d052fa1cf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Dec 2025 02:14:23 +0000 Subject: [PATCH] Update TypeScript types for label parent/child relationships Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com> --- frontend/lib/api/types/data-contracts.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/lib/api/types/data-contracts.ts b/frontend/lib/api/types/data-contracts.ts index 10414206..823cdf95 100644 --- a/frontend/lib/api/types/data-contracts.ts +++ b/frontend/lib/api/types/data-contracts.ts @@ -381,10 +381,14 @@ export interface EntLabel { } export interface EntLabelEdges { + /** Children holds the value of the children edge. */ + children: EntLabel[]; /** Group holds the value of the group edge. */ group: EntGroup; /** Items holds the value of the items edge. */ items: EntItem[]; + /** Parent holds the value of the parent edge. */ + parent: EntLabel; } export interface EntLocation { @@ -857,14 +861,17 @@ export interface LabelCreate { * @maxLength 255 */ name: string; + parentId?: string | null; } export interface LabelOut { + children: LabelSummary[]; color: string; createdAt: Date | string; description: string; id: string; name: string; + parent: LabelSummary; updatedAt: Date | string; }