temp update of models to match server until we have our own types

This commit is contained in:
Mads Rasmussen
2023-11-14 10:15:41 +01:00
parent 077d407315
commit 3fb3ad1cf9

View File

@@ -1,14 +1,15 @@
export interface UmbTreeItemModel {
type: string;
name: string;
hasChildren: boolean;
icon?: string;
type?: string; // TODO: remove option to be undefined when we have our own types
name?: string;
hasChildren?: boolean;
icon?: string | null;
parentId?: string | null;
}
export interface UmbEntityTreeItemModel extends UmbTreeItemModel {
id: string;
id?: string; // TODO: remove option to be undefined when server returns the same
}
export interface UmbFileSystemTreeItemModel {
path: string;
path?: string; // TODO: remove option to be undefined when server returns the same
}