@omnia/fx-models 7.8.33-preview → 7.8.35-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/Enums.d.ts +2 -1
- package/Enums.js +1 -0
- package/Exposes.d.ts +1 -0
- package/Exposes.js +1 -0
- package/FilterEngineStyles.d.ts +0 -1
- package/package.json +1 -1
- package/properties/definitions/TermSetPropertyDefinition.js +6 -4
- package/semanticsearch/SemanticSearchRequest.d.ts +3 -0
- package/semanticsearch/SemanticSearchRequest.js +2 -0
- package/semanticsearch/SemanticSearchResponse.d.ts +25 -0
- package/semanticsearch/SemanticSearchResponse.js +10 -0
- package/semanticsearch/index.d.ts +2 -0
- package/semanticsearch/index.js +5 -0
package/Enums.d.ts
CHANGED
|
@@ -528,7 +528,8 @@ export declare enum StaticEndpoint {
|
|
|
528
528
|
MagicLinkSuccess = "/api/magiclink/success",
|
|
529
529
|
MagicLinkFailure = "/api/magiclink/failure",
|
|
530
530
|
MagicLink = "/api/magiclink",
|
|
531
|
-
SharepointServerLogin = "/spsignin"
|
|
531
|
+
SharepointServerLogin = "/spsignin",
|
|
532
|
+
NotFound = "/_system/404"
|
|
532
533
|
}
|
|
533
534
|
export declare enum QueueMessageStatus {
|
|
534
535
|
Unassigned = 0,
|
package/Enums.js
CHANGED
|
@@ -440,6 +440,7 @@ var StaticEndpoint;
|
|
|
440
440
|
StaticEndpoint["MagicLink"] = "/api/magiclink";
|
|
441
441
|
// onprem only
|
|
442
442
|
StaticEndpoint["SharepointServerLogin"] = "/spsignin";
|
|
443
|
+
StaticEndpoint["NotFound"] = "/_system/404";
|
|
443
444
|
})(StaticEndpoint = exports.StaticEndpoint || (exports.StaticEndpoint = {}));
|
|
444
445
|
var QueueMessageStatus;
|
|
445
446
|
(function (QueueMessageStatus) {
|
package/Exposes.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ export * from "./bulkimportusers";
|
|
|
130
130
|
export * from "./linkstatus";
|
|
131
131
|
export * from "./statuscodelayout";
|
|
132
132
|
export * from "./analytics";
|
|
133
|
+
export * from "./semanticsearch";
|
|
133
134
|
export * from "./FilePicker";
|
|
134
135
|
export * from "./FileIdentifier";
|
|
135
136
|
export * from "./UserAgent";
|
package/Exposes.js
CHANGED
|
@@ -142,6 +142,7 @@ tslib_1.__exportStar(require("./bulkimportusers"), exports);
|
|
|
142
142
|
tslib_1.__exportStar(require("./linkstatus"), exports);
|
|
143
143
|
tslib_1.__exportStar(require("./statuscodelayout"), exports);
|
|
144
144
|
tslib_1.__exportStar(require("./analytics"), exports);
|
|
145
|
+
tslib_1.__exportStar(require("./semanticsearch"), exports);
|
|
145
146
|
//************************************************************************************ */
|
|
146
147
|
// End of folder exports
|
|
147
148
|
//************************************************************************************ */
|
package/FilterEngineStyles.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -19,10 +19,12 @@ class SharePointTermSetPropertyValue extends PropertyValue_1.PropertyValue {
|
|
|
19
19
|
return false;
|
|
20
20
|
}
|
|
21
21
|
appendValue(other) {
|
|
22
|
-
|
|
23
|
-
other?.termIds?.forEach(termId =>
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
const termIds = this?.termIds || [];
|
|
23
|
+
other?.termIds?.forEach(termId => {
|
|
24
|
+
const exist = termIds.find(q => q.toString() == termId.toString());
|
|
25
|
+
if (!exist) {
|
|
26
|
+
termIds.push(termId);
|
|
27
|
+
}
|
|
26
28
|
});
|
|
27
29
|
return new SharePointTermSetPropertyValue(termIds);
|
|
28
30
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GuidValue } from "../Exposes";
|
|
2
|
+
export interface SemanticSearchJobResult {
|
|
3
|
+
id: GuidValue;
|
|
4
|
+
status: SemanticSearchJobStatus;
|
|
5
|
+
}
|
|
6
|
+
export interface SemanticSearchJobResultWithData<T> extends SemanticSearchJobResult {
|
|
7
|
+
result: T;
|
|
8
|
+
}
|
|
9
|
+
export interface SemanticSearchResult {
|
|
10
|
+
answer: string;
|
|
11
|
+
references: SemanticSearchReference[];
|
|
12
|
+
isUncertainAnswer: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface SemanticSearchReference {
|
|
15
|
+
id: string;
|
|
16
|
+
typeId: GuidValue;
|
|
17
|
+
content: string;
|
|
18
|
+
page: number;
|
|
19
|
+
}
|
|
20
|
+
export declare enum SemanticSearchJobStatus {
|
|
21
|
+
Created = 0,
|
|
22
|
+
Started = 1,
|
|
23
|
+
Finished = 2,
|
|
24
|
+
Error = 3
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SemanticSearchJobStatus = void 0;
|
|
4
|
+
var SemanticSearchJobStatus;
|
|
5
|
+
(function (SemanticSearchJobStatus) {
|
|
6
|
+
SemanticSearchJobStatus[SemanticSearchJobStatus["Created"] = 0] = "Created";
|
|
7
|
+
SemanticSearchJobStatus[SemanticSearchJobStatus["Started"] = 1] = "Started";
|
|
8
|
+
SemanticSearchJobStatus[SemanticSearchJobStatus["Finished"] = 2] = "Finished";
|
|
9
|
+
SemanticSearchJobStatus[SemanticSearchJobStatus["Error"] = 3] = "Error";
|
|
10
|
+
})(SemanticSearchJobStatus = exports.SemanticSearchJobStatus || (exports.SemanticSearchJobStatus = {}));
|