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 {
|
||||
/** 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user