@omnia/workplace 7.8.45-preview → 7.8.47-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/Search.d.ts +0 -5
- package/internal-do-not-import-from-here/models/SearchResultSource.d.ts +3 -1
- package/internal-do-not-import-from-here/models/omniasearch/{OmniaSearchCategory.d.ts → OmniaSearch.d.ts} +16 -2
- package/internal-do-not-import-from-here/models/omniasearch/index.d.ts +1 -1
- package/internal-do-not-import-from-here/models/omniasearch/index.js +1 -1
- package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +1 -0
- package/package.json +1 -1
- /package/internal-do-not-import-from-here/models/omniasearch/{OmniaSearchCategory.js → OmniaSearch.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue } from "@omnia/fx-models";
|
|
1
|
+
import { EnterprisePropertyDefinition, GuidValue } from "@omnia/fx-models";
|
|
2
2
|
import { CategorySearchResult } from ".";
|
|
3
3
|
import { SearchRequest } from "../../search/models";
|
|
4
4
|
export declare abstract class SearchResultSource implements SearchResultSourceBase {
|
|
@@ -8,6 +8,8 @@ export declare abstract class SearchResultSource implements SearchResultSourceBa
|
|
|
8
8
|
abstract readonly providerDisplayRenderManifestId: GuidValue;
|
|
9
9
|
abstract readonly weight: number;
|
|
10
10
|
getCategorySearchResult: (searchRequest: SearchRequest) => Promise<Array<CategorySearchResult>>;
|
|
11
|
+
ensureAvailableSearchProperties: () => Promise<void>;
|
|
12
|
+
getAvailableSearchProperties: () => Array<EnterprisePropertyDefinition>;
|
|
11
13
|
}
|
|
12
14
|
export interface SearchResultSourceBase {
|
|
13
15
|
id: string;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import { GuidValue, ResolvedUserIdentity, ScopeTypes } from "@omnia/fx-models";
|
|
1
|
+
import { GuidValue, OmniaSearchPropertyFilter, ResolvedUserIdentity, ScopeTypes } from "@omnia/fx-models";
|
|
2
|
+
import { SearchCategoryRefiner } from "../../../search/models";
|
|
2
3
|
import { Enums } from "../Enums";
|
|
3
|
-
import {
|
|
4
|
+
import { CategorySearchResult, Refiner, SearchCategoryOption, SearchResultItem } from "../Search";
|
|
4
5
|
import { SearchCategoryBase, DictionaryPropertiesMapping, ProviderSettings } from "../SearchCategory";
|
|
5
6
|
import { OmniaUserSearchPropertyFilter } from "./SearchPropertyFilter";
|
|
7
|
+
export interface OmniaCategorySearchResult extends CategorySearchResult {
|
|
8
|
+
refiners: Array<Refiner>;
|
|
9
|
+
}
|
|
10
|
+
export interface OmniaSearchResultItem extends SearchResultItem {
|
|
11
|
+
customPropertiesResult: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface OmniaSearchCategoryOption extends SearchCategoryOption {
|
|
16
|
+
searchCategory: OmniaSearchCategory;
|
|
17
|
+
refiners?: Array<SearchCategoryRefiner>;
|
|
18
|
+
refinerFilter?: Array<OmniaSearchPropertyFilter>;
|
|
19
|
+
}
|
|
6
20
|
export interface OmniaSearchCategory extends SearchCategoryBase {
|
|
7
21
|
resultSource: string;
|
|
8
22
|
sortBy?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./SearchPropertyFilter";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./OmniaSearch";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./SearchPropertyFilter"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./
|
|
5
|
+
tslib_1.__exportStar(require("./OmniaSearch"), exports);
|
|
@@ -15,6 +15,7 @@ export declare const MyLinksStyles: {
|
|
|
15
15
|
headerCheckbox?: types.NestedCSSProperties;
|
|
16
16
|
dialogFooter?: types.NestedCSSProperties;
|
|
17
17
|
iconPreview?: types.NestedCSSProperties;
|
|
18
|
+
visuallyHidden?: types.NestedCSSProperties;
|
|
18
19
|
};
|
|
19
20
|
export declare const SimpleListStyles: {
|
|
20
21
|
componentWrapper: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
package/package.json
CHANGED
|
File without changes
|