mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
Update TypeScript types for label parent/child relationships
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
This commit is contained in:
7
frontend/lib/api/types/data-contracts.ts
generated
7
frontend/lib/api/types/data-contracts.ts
generated
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user