Skip to content

Commit 07e45ef

Browse files
authored
Merge branch 'v15/dev' into v15/feature/emm-section-conditions
2 parents e3cf586 + cb7207e commit 07e45ef

File tree

14 files changed

+26
-24
lines changed

14 files changed

+26
-24
lines changed

src/packages/core/extension-registry/models/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ import type {
6060
import type { ManifestEntityUserPermission } from './entity-user-permission.model.js';
6161
import type { ManifestGranularUserPermission } from './user-granular-permission.model.js';
6262
import type { ManifestMfaLoginProvider } from './mfa-login-provider.model.js';
63-
import type { ManifestSearchProvider } from './search-provider.model.js';
64-
import type { ManifestSearchResultItem } from './search-result-item.model.js';
6563
import type { ManifestAppEntryPoint } from './app-entry-point.model.js';
6664
import type { ManifestBackofficeEntryPoint } from './backoffice-entry-point.model.js';
6765
import type { ManifestEntryPoint } from './entry-point.model.js';
@@ -97,8 +95,6 @@ export type * from './preview-app.model.js';
9795
export type * from './property-action.model.js';
9896
export type * from './property-editor.model.js';
9997
export type * from './repository.model.js';
100-
export type * from './search-provider.model.js';
101-
export type * from './search-result-item.model.js';
10298
export type * from './section-sidebar-app.model.js';
10399
export type * from './section-view.model.js';
104100
export type * from './section.model.js';
@@ -184,8 +180,6 @@ export type ManifestTypes =
184180
| ManifestPropertyEditorSchema
185181
| ManifestPropertyEditorUi
186182
| ManifestRepository
187-
| ManifestSearchProvider
188-
| ManifestSearchResultItem
189183
| ManifestSection
190184
| ManifestSectionRoute
191185
| ManifestSectionSidebarApp

src/packages/data-type/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { UMB_DATA_TYPE_ENTITY_TYPE } from '../entity.js';
2-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
32

4-
export const manifests: Array<ManifestTypes> = [
3+
export const manifests: Array<UmbExtensionManifest> = [
54
{
65
name: 'Data Type Search Provider',
76
alias: 'Umb.SearchProvider.DataType',

src/packages/documents/document-types/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { UMB_DOCUMENT_TYPE_ENTITY_TYPE } from '../entity.js';
22
import { UMB_DOCUMENT_TYPE_SEARCH_PROVIDER_ALIAS } from './constants.js';
3-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
43

5-
export const manifests: Array<ManifestTypes> = [
4+
export const manifests: Array<UmbExtensionManifest> = [
65
{
76
name: 'Document Type Search Provider',
87
alias: UMB_DOCUMENT_TYPE_SEARCH_PROVIDER_ALIAS,

src/packages/documents/documents/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { UMB_DOCUMENT_ENTITY_TYPE } from '../entity.js';
22
import { UMB_DOCUMENT_SEARCH_PROVIDER_ALIAS } from './constants.js';
3-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
43

5-
export const manifests: Array<ManifestTypes> = [
4+
export const manifests: Array<UmbExtensionManifest> = [
65
{
76
name: 'Document Search Provider',
87
alias: UMB_DOCUMENT_SEARCH_PROVIDER_ALIAS,

src/packages/media/media-types/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { UMB_MEDIA_TYPE_ENTITY_TYPE } from '../entity.js';
2-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
32

4-
export const manifests: Array<ManifestTypes> = [
3+
export const manifests: Array<UmbExtensionManifest> = [
54
{
65
name: 'Media Type Search Provider',
76
alias: 'Umb.SearchProvider.MediaType',

src/packages/media/media/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { UMB_MEDIA_ENTITY_TYPE } from '../entity.js';
2-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
32

4-
export const manifests: Array<ManifestTypes> = [
3+
export const manifests: Array<UmbExtensionManifest> = [
54
{
65
name: 'Media Search Provider',
76
alias: 'Umb.SearchProvider.Media',

src/packages/members/member-type/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { UMB_MEMBER_TYPE_ENTITY_TYPE } from '../entity.js';
2-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
32

4-
export const manifests: Array<ManifestTypes> = [
3+
export const manifests: Array<UmbExtensionManifest> = [
54
{
65
name: 'Member Type Search Provider',
76
alias: 'Umb.SearchProvider.MemberType',

src/packages/members/member/search/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { UMB_MEMBER_ENTITY_TYPE } from '../entity.js';
22
import { UMB_MEMBER_SEARCH_PROVIDER_ALIAS } from './constants.js';
3-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
43

5-
export const manifests: Array<ManifestTypes> = [
4+
export const manifests: Array<UmbExtensionManifest> = [
65
{
76
name: 'Member Search Provider',
87
alias: UMB_MEMBER_SEARCH_PROVIDER_ALIAS,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './search-provider.extension.js';
2+
export * from './search-result-item.extension.js';

src/packages/core/extension-registry/models/search-provider.model.ts renamed to src/packages/search/extensions/search-provider.extension.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { UmbSearchProvider, UmbSearchResultItemModel } from '@umbraco-cms/backoffice/search';
1+
import type { UmbSearchProvider, UmbSearchResultItemModel } from '../types.js';
22
import type { ManifestApi } from '@umbraco-cms/backoffice/extension-api';
33

44
/**
@@ -16,3 +16,9 @@ export interface MetaSearchProvider {
1616
*/
1717
label?: string;
1818
}
19+
20+
declare global {
21+
interface UmbExtensionManifestMap {
22+
umbSearchProvider: ManifestSearchProvider;
23+
}
24+
}

0 commit comments

Comments
 (0)