move consts

This commit is contained in:
Mads Rasmussen
2024-08-08 11:39:20 +02:00
parent f374c21e0f
commit 904d59525a
9 changed files with 10 additions and 11 deletions

View File

@@ -0,0 +1 @@
export const UMB_RELATION_TYPE_COLLECTION_ALIAS = 'Umb.Collection.RelationType';

View File

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

View File

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

View File

@@ -0,0 +1 @@
export const UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Collection';

View File

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

View File

@@ -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,

View File

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

View File

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

View File

@@ -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,