move consts
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const UMB_RELATION_TYPE_COLLECTION_ALIAS = 'Umb.Collection.RelationType';
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbRelationTypeCollectionRepository } from './repository/index.js';
|
||||
export { UMB_RELATION_TYPE_COLLECTION_ALIAS } from './manifests.js';
|
||||
export { UMB_RELATION_TYPE_COLLECTION_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import { UMB_RELATION_TYPE_COLLECTION_ALIAS } from './constants.js';
|
||||
import { UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS } from './repository/index.js';
|
||||
import { manifests as collectionRepositoryManifests } from './repository/manifests.js';
|
||||
import { manifests as collectionViewManifests } from './views/manifests.js';
|
||||
import type { ManifestCollection, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_RELATION_TYPE_COLLECTION_ALIAS = 'Umb.Collection.RelationType';
|
||||
|
||||
const collectionManifest: ManifestCollection = {
|
||||
type: 'collection',
|
||||
kind: 'default',
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Collection';
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS } from './constants.js';
|
||||
export { UmbRelationTypeCollectionRepository } from './relation-type-collection.repository.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Collection';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS,
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export const UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Detail';
|
||||
export const UMB_RELATION_TYPE_DETAIL_STORE_ALIAS = 'Umb.Store.RelationType.Detail';
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbRelationTypeDetailRepository } from './relation-type-detail.repository.js';
|
||||
export { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS, UMB_RELATION_TYPE_DETAIL_STORE_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestStore, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Detail';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS,
|
||||
@@ -9,8 +8,6 @@ const repository: ManifestRepository = {
|
||||
api: () => import('./relation-type-detail.repository.js'),
|
||||
};
|
||||
|
||||
export const UMB_RELATION_TYPE_DETAIL_STORE_ALIAS = 'Umb.Store.RelationType.Detail';
|
||||
|
||||
const store: ManifestStore = {
|
||||
type: 'store',
|
||||
alias: UMB_RELATION_TYPE_DETAIL_STORE_ALIAS,
|
||||
|
||||
Reference in New Issue
Block a user