Update TypeScript types for label parent/child relationships

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-14 02:14:23 +00:00
parent 5da734c8f1
commit a23e0f5909

View File

@@ -381,10 +381,14 @@ export interface EntLabel {
} }
export interface EntLabelEdges { export interface EntLabelEdges {
/** Children holds the value of the children edge. */
children: EntLabel[];
/** Group holds the value of the group edge. */ /** Group holds the value of the group edge. */
group: EntGroup; group: EntGroup;
/** Items holds the value of the items edge. */ /** Items holds the value of the items edge. */
items: EntItem[]; items: EntItem[];
/** Parent holds the value of the parent edge. */
parent: EntLabel;
} }
export interface EntLocation { export interface EntLocation {
@@ -857,14 +861,17 @@ export interface LabelCreate {
* @maxLength 255 * @maxLength 255
*/ */
name: string; name: string;
parentId?: string | null;
} }
export interface LabelOut { export interface LabelOut {
children: LabelSummary[];
color: string; color: string;
createdAt: Date | string; createdAt: Date | string;
description: string; description: string;
id: string; id: string;
name: string; name: string;
parent: LabelSummary;
updatedAt: Date | string; updatedAt: Date | string;
} }