add templates components back in but let entities into their own file

This commit is contained in:
Jacob Overgaard
2023-06-01 13:42:41 +02:00
parent 54d164ddef
commit 6fe4f192d4
4 changed files with 7 additions and 7 deletions

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';