Chore: Cleanup of Generic models lib (#681)
* move collection filter model to collection lib * move temp member type details * move temp user group details model * move user details model out of models lib * move document blue print out of models * fix import paths * use relative import paths * move member details out of models * move more models out of core models file * fix import path * Prefix * remove entity type * add null check * typescript fixes * move tree interfaces to tree lib * fix import order --------- Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
This commit is contained in:
14
src/Umbraco.Web.UI.Client/libs/tree/index.ts
Normal file
14
src/Umbraco.Web.UI.Client/libs/tree/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface UmbTreeRootModel {
|
||||
type: string;
|
||||
name: string;
|
||||
hasChildren: boolean;
|
||||
icon?: string;
|
||||
}
|
||||
|
||||
export interface UmbTreeRootEntityModel extends UmbTreeRootModel {
|
||||
id: string | null;
|
||||
}
|
||||
|
||||
export interface UmbTreeRootFileSystemModel extends UmbTreeRootModel {
|
||||
path: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user