UNPKG

3.43 kBJavaScriptView Raw
1/**
2 * defines the SortDirection enum
3 */
4export var SortDirection;
5(function (SortDirection) {
6 SortDirection[SortDirection["Ascending"] = 0] = "Ascending";
7 SortDirection[SortDirection["Descending"] = 1] = "Descending";
8 SortDirection[SortDirection["FQLFormula"] = 2] = "FQLFormula";
9})(SortDirection || (SortDirection = {}));
10/**
11 * defines the ReorderingRuleMatchType enum
12 */
13export var ReorderingRuleMatchType;
14(function (ReorderingRuleMatchType) {
15 ReorderingRuleMatchType[ReorderingRuleMatchType["ResultContainsKeyword"] = 0] = "ResultContainsKeyword";
16 ReorderingRuleMatchType[ReorderingRuleMatchType["TitleContainsKeyword"] = 1] = "TitleContainsKeyword";
17 ReorderingRuleMatchType[ReorderingRuleMatchType["TitleMatchesKeyword"] = 2] = "TitleMatchesKeyword";
18 ReorderingRuleMatchType[ReorderingRuleMatchType["UrlStartsWith"] = 3] = "UrlStartsWith";
19 ReorderingRuleMatchType[ReorderingRuleMatchType["UrlExactlyMatches"] = 4] = "UrlExactlyMatches";
20 ReorderingRuleMatchType[ReorderingRuleMatchType["ContentTypeIs"] = 5] = "ContentTypeIs";
21 ReorderingRuleMatchType[ReorderingRuleMatchType["FileExtensionMatches"] = 6] = "FileExtensionMatches";
22 ReorderingRuleMatchType[ReorderingRuleMatchType["ResultHasTag"] = 7] = "ResultHasTag";
23 ReorderingRuleMatchType[ReorderingRuleMatchType["ManualCondition"] = 8] = "ManualCondition";
24})(ReorderingRuleMatchType || (ReorderingRuleMatchType = {}));
25/**
26 * Specifies the type value for the property
27 */
28export var QueryPropertyValueType;
29(function (QueryPropertyValueType) {
30 QueryPropertyValueType[QueryPropertyValueType["None"] = 0] = "None";
31 QueryPropertyValueType[QueryPropertyValueType["StringType"] = 1] = "StringType";
32 QueryPropertyValueType[QueryPropertyValueType["Int32Type"] = 2] = "Int32Type";
33 QueryPropertyValueType[QueryPropertyValueType["BooleanType"] = 3] = "BooleanType";
34 QueryPropertyValueType[QueryPropertyValueType["StringArrayType"] = 4] = "StringArrayType";
35 QueryPropertyValueType[QueryPropertyValueType["UnSupportedType"] = 5] = "UnSupportedType";
36})(QueryPropertyValueType || (QueryPropertyValueType = {}));
37export class SearchBuiltInSourceId {
38}
39SearchBuiltInSourceId.Documents = "e7ec8cee-ded8-43c9-beb5-436b54b31e84";
40SearchBuiltInSourceId.ItemsMatchingContentType = "5dc9f503-801e-4ced-8a2c-5d1237132419";
41SearchBuiltInSourceId.ItemsMatchingTag = "e1327b9c-2b8c-4b23-99c9-3730cb29c3f7";
42SearchBuiltInSourceId.ItemsRelatedToCurrentUser = "48fec42e-4a92-48ce-8363-c2703a40e67d";
43SearchBuiltInSourceId.ItemsWithSameKeywordAsThisItem = "5c069288-1d17-454a-8ac6-9c642a065f48";
44SearchBuiltInSourceId.LocalPeopleResults = "b09a7990-05ea-4af9-81ef-edfab16c4e31";
45SearchBuiltInSourceId.LocalReportsAndDataResults = "203fba36-2763-4060-9931-911ac8c0583b";
46SearchBuiltInSourceId.LocalSharePointResults = "8413cd39-2156-4e00-b54d-11efd9abdb89";
47SearchBuiltInSourceId.LocalVideoResults = "78b793ce-7956-4669-aa3b-451fc5defebf";
48SearchBuiltInSourceId.Pages = "5e34578e-4d08-4edc-8bf3-002acf3cdbcc";
49SearchBuiltInSourceId.Pictures = "38403c8c-3975-41a8-826e-717f2d41568a";
50SearchBuiltInSourceId.Popular = "97c71db1-58ce-4891-8b64-585bc2326c12";
51SearchBuiltInSourceId.RecentlyChangedItems = "ba63bbae-fa9c-42c0-b027-9a878f16557c";
52SearchBuiltInSourceId.RecommendedItems = "ec675252-14fa-4fbe-84dd-8d098ed74181";
53SearchBuiltInSourceId.Wiki = "9479bf85-e257-4318-b5a8-81a180f5faa1";
54//# sourceMappingURL=types.js.map
\No newline at end of file