From 04de4be827d0fab3b68ad3292be461a0ff1b2820 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Mon, 12 Feb 2024 10:41:38 +0000 Subject: [PATCH] Moved repository alias constant into `index.ts` --- .../documents/documents/collection/repository/index.ts | 3 ++- .../documents/documents/collection/repository/manifests.ts | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/index.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/index.ts index 1fb368c02c..547e1e503e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/index.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/index.ts @@ -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'; diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/manifests.ts index ce0bec4abc..823a07ea8b 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/repository/manifests.ts @@ -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,