Skip to content

Commit 2e98971

Browse files
authored
Merge branch 'main' into v14/chore/check-paths-in-dist-cms
2 parents 1bb25e3 + 9f9dc56 commit 2e98971

File tree

92 files changed

+194
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+194
-120
lines changed

package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@
140140
"./src/packages/health-check",
141141
"./src/packages/tags",
142142
"./src/packages/templating",
143-
"./src/packages/property-editors"
143+
"./src/packages/property-editors",
144+
"./src/packages/media"
144145
],
145146
"scripts": {
146147
"backoffice:test:e2e": "npx playwright test",

src/packages/documents/document-redirect-management/dashboard-redirect-management.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*
21
import { UmbDashboardRedirectManagementElement } from './dashboard-redirect-management.element.js';
32
import { expect, fixture, html } from '@open-wc/testing';
43

@@ -21,4 +20,3 @@ describe('UmbDashboardRedirectManagement', () => {
2120
});
2221
}
2322
});
24-
*/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const UMB_IMAGING_REPOSITORY_ALIAS = 'Umb.Repository.Imaging';

src/packages/media/imaging/imaging.repository.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ export class UmbImagingRepository extends UmbControllerBase implements UmbApi {
4040
return await this.requestResizedItems(uniques, imagingModel);
4141
}
4242
}
43+
44+
export { UmbImagingRepository as api };

src/packages/media/imaging/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { UmbImagingRepository } from './imaging.repository.js';
2-
export { UMB_IMAGING_REPOSITORY_ALIAS } from './manifests.js';
2+
export { UMB_IMAGING_REPOSITORY_ALIAS } from './constants.js';
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
import { UmbImagingRepository } from './imaging.repository.js';
1+
import { UMB_IMAGING_REPOSITORY_ALIAS } from './constants.js';
22
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
33

4-
export const UMB_IMAGING_REPOSITORY_ALIAS = 'Umb.Repository.Imaging';
5-
64
const repository: ManifestRepository = {
75
type: 'repository',
86
alias: UMB_IMAGING_REPOSITORY_ALIAS,
97
name: 'Imaging Repository',
10-
api: UmbImagingRepository,
8+
api: () => import('./imaging.repository.js'),
119
};
1210

1311
export const manifests: Array<ManifestTypes> = [repository];

src/packages/media/manifests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { manifests as mediaManifests } from './media/manifests.js';
2-
import { manifests as mediaSectionManifests } from './section.manifests.js';
2+
import { manifests as mediaSectionManifests } from './media-section/manifests.js';
33
import { manifests as mediaTypesManifests } from './media-types/manifests.js';
44
import { manifests as imagingManifests } from './imaging/manifests.js';
55
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const UMB_MEDIA_SECTION_ALIAS = 'Umb.Section.Media';

src/packages/media/section.manifests.ts renamed to src/packages/media/media-section/manifests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UMB_MEDIA_ROOT_ENTITY_TYPE, UMB_MEDIA_MENU_ALIAS } from './media/index.js';
1+
import { UMB_MEDIA_ROOT_ENTITY_TYPE, UMB_MEDIA_MENU_ALIAS } from '../media/index.js';
22
import type {
33
ManifestSection,
44
ManifestSectionSidebarApp,

0 commit comments

Comments
 (0)