Moved repository alias constant into index.ts

This commit is contained in:
leekelleher
2024-02-12 10:41:38 +00:00
parent d90a0d974c
commit 04de4be827
2 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,3 @@
export { UMB_DOCUMENT_COLLECTION_REPOSITORY_ALIAS } from './manifests.js';
export { UmbDocumentCollectionRepository } from './document-collection.repository.js';
export const UMB_DOCUMENT_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.DocumentCollection';

View File

@@ -1,8 +1,7 @@
import { UmbDocumentCollectionRepository } from './document-collection.repository.js';
import { UMB_DOCUMENT_COLLECTION_REPOSITORY_ALIAS } from './index.js';
import type { ManifestRepository } from '@umbraco-cms/backoffice/extension-registry';
export const UMB_DOCUMENT_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.DocumentCollection';
const collectionRepositoryManifest: ManifestRepository = {
type: 'repository',
alias: UMB_DOCUMENT_COLLECTION_REPOSITORY_ALIAS,