add templates components back in but let entities into their own file
This commit is contained in:
@@ -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';
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user