add template detail types + entity types
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
export const UMB_TEMPLATE_ROOT_ENTITY_TYPE = 'template-root';
|
||||
export const UMB_TEMPLATE_ENTITY_TYPE = 'template';
|
||||
export const UMB_TEMPLATE_FOLDER_ENTITY_TYPE = 'template-folder';
|
||||
|
||||
export type UmbTemplateEntityType = typeof UMB_TEMPLATE_ENTITY_TYPE;
|
||||
export type UmbTemplateRootEntityType = typeof UMB_TEMPLATE_ROOT_ENTITY_TYPE;
|
||||
export type UmbTemplateFolderEntityType = typeof UMB_TEMPLATE_FOLDER_ENTITY_TYPE;
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
import type { UmbTemplateTreeItemModel } from './types.js';
|
||||
import { UmbTreeServerDataSourceBase } from '@umbraco-cms/backoffice/tree';
|
||||
import type {
|
||||
EntityTreeItemResponseModel,
|
||||
NamedEntityTreeItemResponseModel,
|
||||
} from '@umbraco-cms/backoffice/backend-api';
|
||||
import type { NamedEntityTreeItemResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
import { TemplateResource } from '@umbraco-cms/backoffice/backend-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { UmbTemplateEntityType } from './entity.js';
|
||||
|
||||
export interface UmbTemplateDetailModel {
|
||||
entityType: UmbTemplateEntityType;
|
||||
unique: string;
|
||||
parentUnique: string | null;
|
||||
name: string;
|
||||
alias: string;
|
||||
content: string | null;
|
||||
masterTemplateId: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user