@omnia/workplace 7.8.40-preview → 7.8.42-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +2 -4
- package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchFilterValue.d.ts +4 -0
- package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchFilterValue.js +2 -0
- package/internal-do-not-import-from-here/models/semanticsearch/SemanticSearchProvider.d.ts +5 -4
- package/internal-do-not-import-from-here/models/semanticsearch/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/semanticsearch/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropertyMapping, Enums } from ".";
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp-models";
|
|
3
|
-
import { MultilingualString, GuidValue } from "@omnia/fx-models";
|
|
3
|
+
import { MultilingualString, GuidValue, FilterComponent } from "@omnia/fx-models";
|
|
4
4
|
export interface SearchCategoryBase {
|
|
5
5
|
id: GuidValue;
|
|
6
6
|
providerId: GuidValue;
|
|
@@ -40,9 +40,7 @@ export interface SemanticSearchCategory extends SearchCategoryBase {
|
|
|
40
40
|
providerSettings: SemanticSearchSettings;
|
|
41
41
|
}
|
|
42
42
|
export interface SemanticSearchSettings extends ProviderSettings {
|
|
43
|
-
propertiesFilter?:
|
|
44
|
-
[internalName: string]: any;
|
|
45
|
-
};
|
|
43
|
+
propertiesFilter?: FilterComponent[];
|
|
46
44
|
includeSemanticSummaryEnabled: boolean;
|
|
47
45
|
showReferencesEnabled: boolean;
|
|
48
46
|
includeParagraphsEnabled: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GuidValue, SemanticSearchPropertyDefinition, SemanticSearchReference } from "@omnia/fx-models";
|
|
2
|
+
import { SemanticSearchFilterValue } from "./SemanticSearchFilterValue";
|
|
2
3
|
export declare abstract class SemanticSearchReferenceProvider {
|
|
3
4
|
providerId: GuidValue;
|
|
4
5
|
typeId: GuidValue;
|
|
@@ -6,8 +7,8 @@ export declare abstract class SemanticSearchReferenceProvider {
|
|
|
6
7
|
ensureReferencesLoaded: (references: string[]) => Promise<void>;
|
|
7
8
|
renderReference: (item: SemanticSearchReference) => JSX.Element;
|
|
8
9
|
renderReferenceIcon: (item: SemanticSearchReference) => JSX.Element;
|
|
9
|
-
|
|
10
|
-
renderPropertyFilterValueSelection?: (
|
|
11
|
-
onSelectFilterValue?: (filterValue:
|
|
12
|
-
renderPropertyValue?: (
|
|
10
|
+
getCustomProperties?: () => SemanticSearchPropertyDefinition[];
|
|
11
|
+
renderPropertyFilterValueSelection?: (filterValue: SemanticSearchFilterValue) => JSX.Element;
|
|
12
|
+
onSelectFilterValue?: (filterValue: SemanticSearchFilterValue) => void;
|
|
13
|
+
renderPropertyValue?: (filterValue: SemanticSearchFilterValue) => JSX.Element;
|
|
13
14
|
}
|
|
@@ -3,3 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./SemanticSearchProvider"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./SemanticSearchApi"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SemanticSearchFilterValue"), exports);
|