diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entities.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entities.ts new file mode 100644 index 0000000000..e9fa0b7df7 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entities.ts @@ -0,0 +1,3 @@ +export const TEMPLATE_ROOT_ENTITY_TYPE = 'template-root'; +export const TEMPLATE_ENTITY_TYPE = 'template'; +export const TEMPLATE_FOLDER_ENTITY_TYPE = 'template-folder'; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entity-actions/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entity-actions/manifests.ts index 427b681e80..ae8a8575e1 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entity-actions/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/entity-actions/manifests.ts @@ -1,5 +1,5 @@ import { TEMPLATE_REPOSITORY_ALIAS } from '../repository/manifests.js'; -import { TEMPLATE_ENTITY_TYPE, TEMPLATE_ROOT_ENTITY_TYPE } from '../index.js'; +import { TEMPLATE_ENTITY_TYPE, TEMPLATE_ROOT_ENTITY_TYPE } from '../entities.js'; import { UmbCreateEntityAction } from './create/create.action.js'; import { ManifestEntityAction } from '@umbraco-cms/backoffice/extension-registry'; import { UmbDeleteEntityAction } from '@umbraco-cms/backoffice/entity-action'; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/index.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/index.ts index 84ed38cd64..285285ec5e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/index.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/index.ts @@ -1,5 +1,2 @@ -export const TEMPLATE_ROOT_ENTITY_TYPE = 'template-root'; -export const TEMPLATE_ENTITY_TYPE = 'template'; -export const TEMPLATE_FOLDER_ENTITY_TYPE = 'template-folder'; - -// import './components/index.js'; +export * from './entities.js'; +import './components/index.js'; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts index 6c0a91cc0a..9dc5504545 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts @@ -1,4 +1,4 @@ -import { TEMPLATE_ENTITY_TYPE, TEMPLATE_ROOT_ENTITY_TYPE } from '../index.js'; +import { TEMPLATE_ENTITY_TYPE, TEMPLATE_ROOT_ENTITY_TYPE } from '../entities.js'; import { TEMPLATE_REPOSITORY_ALIAS } from '../repository/manifests.js'; import type { ManifestTree, ManifestTreeItem } from '@umbraco-cms/backoffice/extension-registry';