move constants to constants file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { UMB_STATIC_FILE_TREE_ALIAS } from '../tree/manifests.js';
|
||||
import { UMB_STATIC_FILE_TREE_ALIAS } from '../tree/index.js';
|
||||
import type { UmbStaticFileItemModel } from '../repository/item/types.js';
|
||||
import {
|
||||
type UmbTreePickerModalValue,
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export const UMB_STATIC_FILE_TREE_REPOSITORY_ALIAS = 'Umb.Repository.StaticFile.Tree';
|
||||
export const UMB_STATIC_FILE_TREE_STORE_ALIAS = 'Umb.Store.StaticFile.Tree';
|
||||
export const UMB_STATIC_FILE_TREE_ALIAS = 'Umb.Tree.StaticFile';
|
||||
export const UMB_STATIC_FILE_TREE_ITEM_ALIAS = 'Umb.TreeItem.StaticFile';
|
||||
@@ -3,4 +3,4 @@ export {
|
||||
UMB_STATIC_FILE_TREE_REPOSITORY_ALIAS,
|
||||
UMB_STATIC_FILE_TREE_STORE_ALIAS,
|
||||
UMB_STATIC_FILE_TREE_ALIAS,
|
||||
} from './manifests.js';
|
||||
} from './constants.js';
|
||||
|
||||
@@ -3,6 +3,12 @@ import {
|
||||
UMB_STATIC_FILE_FOLDER_ENTITY_TYPE,
|
||||
UMB_STATIC_FILE_ROOT_ENTITY_TYPE,
|
||||
} from '../entity.js';
|
||||
import {
|
||||
UMB_STATIC_FILE_TREE_ALIAS,
|
||||
UMB_STATIC_FILE_TREE_ITEM_ALIAS,
|
||||
UMB_STATIC_FILE_TREE_REPOSITORY_ALIAS,
|
||||
UMB_STATIC_FILE_TREE_STORE_ALIAS,
|
||||
} from './constants.js';
|
||||
import type {
|
||||
ManifestRepository,
|
||||
ManifestTree,
|
||||
@@ -11,11 +17,6 @@ import type {
|
||||
ManifestTypes,
|
||||
} from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_STATIC_FILE_TREE_REPOSITORY_ALIAS = 'Umb.Repository.StaticFile.Tree';
|
||||
export const UMB_STATIC_FILE_TREE_STORE_ALIAS = 'Umb.Store.StaticFile.Tree';
|
||||
export const UMB_STATIC_FILE_TREE_ALIAS = 'Umb.Tree.StaticFile';
|
||||
export const UMB_STATIC_FILE_TREE_ITEM_ALIAS = 'Umb.TreeItem.StaticFile';
|
||||
|
||||
const treeRepository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_STATIC_FILE_TREE_REPOSITORY_ALIAS,
|
||||
|
||||
Reference in New Issue
Block a user