@omnia/workplace 7.8.27-preview → 7.8.29-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.
@@ -229,6 +229,7 @@ export declare class WebComponentManifests {
229
229
  static get SharePointSearchProviderSettings(): Guid;
230
230
  static get MicrosoftSearchProviderSettings(): Guid;
231
231
  static get SharedLinksSearchProviderSettings(): Guid;
232
+ static get SemanticSearchProviderSettings(): Guid;
232
233
  static get QuickSearchActionHandlerSettings(): Guid;
233
234
  static get SearchSettings(): Guid;
234
235
  static get SearchStatisticsMetricIndicator(): Guid;
@@ -238,6 +238,7 @@ class WebComponentManifests {
238
238
  static get SharePointSearchProviderSettings() { return new fx_models_1.Guid("d9a4ee6a-4030-47ff-9f8d-438d71aad39c"); }
239
239
  static get MicrosoftSearchProviderSettings() { return new fx_models_1.Guid("b94f27fb-cf98-4d4d-9ebb-dc0cdf6f3893"); }
240
240
  static get SharedLinksSearchProviderSettings() { return new fx_models_1.Guid("531dde74-4a66-4990-b0c1-b0fb979371e4"); }
241
+ static get SemanticSearchProviderSettings() { return new fx_models_1.Guid("f8d86027-3ca8-4d48-b585-04a67a0b6632"); }
241
242
  static get QuickSearchActionHandlerSettings() { return new fx_models_1.Guid("b8a22e34-3162-443e-9260-1e4fc8eb0310"); }
242
243
  static get SearchSettings() { return new fx_models_1.Guid("60d18833-efb0-456d-8359-fea6c82701b7"); }
243
244
  static get SearchStatisticsMetricIndicator() { return new fx_models_1.Guid("f3c88c39-9d56-4f4a-9841-2272bd275428"); }
@@ -11,6 +11,7 @@ export interface SearchCategoryBase {
11
11
  businessProfileId: GuidValue;
12
12
  providerComponentId: GuidValue;
13
13
  query?: string;
14
+ providerSettings?: ProviderSettings;
14
15
  }
15
16
  export interface SharePointSearchCategory extends SearchCategoryBase {
16
17
  resultSource: string;
@@ -33,6 +34,21 @@ export interface MicrosoftSearchCategory extends SearchCategoryBase {
33
34
  export interface SharedLinkSearchCategory extends SearchCategoryBase {
34
35
  sortBy: string;
35
36
  }
37
+ export interface ProviderSettings {
38
+ }
39
+ export interface SemanticSearchCategory extends SearchCategoryBase {
40
+ providerSettings: SemanticSearchSettings;
41
+ }
42
+ export interface SemanticSearchSettings extends ProviderSettings {
43
+ propertiesFilter?: {
44
+ [internalName: string]: any;
45
+ };
46
+ includeSemanticSummaryEnabled: boolean;
47
+ showReferencesEnabled: boolean;
48
+ includeParagraphsEnabled: boolean;
49
+ customPostAnswerMessageEnabled: boolean;
50
+ customPostAnswerMessage?: MultilingualString;
51
+ }
36
52
  export interface DictionaryPropertiesMapping {
37
53
  [customProperty: string]: ContentPropertyMapping;
38
54
  }
@@ -5,5 +5,6 @@ export declare abstract class SearchProvider implements SearchProviderBase {
5
5
  abstract readonly omniaServiceId: GuidValue;
6
6
  abstract readonly providerId: GuidValue;
7
7
  abstract providerDisplayRenderManifestId: GuidValue;
8
+ hideSearchTemplates?: boolean;
8
9
  getSearchCategoryResult: (searchRequest: SearchRequest) => Promise<CategorySearchResult[]>;
9
10
  }
@@ -1,9 +1,13 @@
1
- import { EnterprisePropertyDefinition, GuidValue, SemanticSearchReference } from "@omnia/fx-models";
1
+ import { GuidValue, SemanticSearchPropertyDefinition, SemanticSearchReference } from "@omnia/fx-models";
2
2
  export declare abstract class SemanticSearchReferenceProvider {
3
+ providerId: GuidValue;
3
4
  typeId: GuidValue;
4
5
  title: string;
5
6
  ensureReferencesLoaded: (references: string[]) => Promise<void>;
6
7
  renderReference: (item: SemanticSearchReference) => JSX.Element;
7
8
  renderReferenceIcon: (item: SemanticSearchReference) => JSX.Element;
8
- getBuiltinProperties: () => EnterprisePropertyDefinition[];
9
+ getBuiltinProperties?: () => SemanticSearchPropertyDefinition[];
10
+ renderPropertyFilterValueSelection?: (internalName: string) => JSX.Element;
11
+ onSelectFilterValue?: (filterValue: any) => void;
12
+ renderPropertyValue?: (internalName: string, propertyValue: any) => JSX.Element;
9
13
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "7.8.27-preview",
4
+ "version": "7.8.29-preview",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"