@omnia/fx-models 7.8.8-preview → 7.8.10-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/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/ManifestIds.d.ts CHANGED
@@ -383,6 +383,7 @@ export declare class OmniaWebComponentManifests {
383
383
  static get EmoticonComponent(): Guid;
384
384
  static get UrlInputComponent(): Guid;
385
385
  static get FxUxProfileCardRenderer(): Guid;
386
+ static get FxUxProfileSwtichingBtn(): Guid;
386
387
  static get FxUxProfileCardComponent(): Guid;
387
388
  static get FxUxProfileCardDialogComponent(): Guid;
388
389
  static get FxUxProfileCardCore(): Guid;
package/ManifestIds.js CHANGED
@@ -1170,6 +1170,9 @@ class OmniaWebComponentManifests {
1170
1170
  static get FxUxProfileCardRenderer() {
1171
1171
  return new models_1.Guid("6d1d84cb-2106-43c5-9ca8-437fc36c75a1");
1172
1172
  }
1173
+ static get FxUxProfileSwtichingBtn() {
1174
+ return new models_1.Guid("6b7b970b-2844-43ab-b7a8-6f0afa4462e3");
1175
+ }
1173
1176
  static get FxUxProfileCardComponent() {
1174
1177
  return new models_1.Guid("6489472f-d8d2-4a1b-9413-537fde528566");
1175
1178
  }
@@ -14,8 +14,7 @@ class MediaPickerUnsplashProvider {
14
14
  this.category = "image";
15
15
  this.name = "Unspalsh";
16
16
  this.icon = new Icon_1.SvgIcon("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" viewBox=\"0 0 32 32\">" +
17
- "<path d=\"M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z\" fill=\"#fff\"></path>" +
18
- "<path d=\"M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z\" fill=\"#000\" fill-opacity=\"0.5\"></path>" +
17
+ "<path d=\"M32 16.4v13.6H0V16.4h10.1v4.3h11.8v-4.3H32zm-10.1-11.2H10.1v4.3h11.8V5.2z\" fill=\"#fff\" fill-opacity=\"1\"></path>" +
19
18
  "</svg>");
20
19
  this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxUnsplashProvider;
21
20
  this.selectableMediaTypes = [Enums_1.MediaPickerEnums.OmniaMediaTypes.Image];
@@ -7,3 +7,4 @@ export * from "./PexelProvider";
7
7
  export * from "./YoutubeProvider";
8
8
  export * from "./DallEProvider";
9
9
  export * from "./MediaflowProvider";
10
+ export * from "./UnsplashProvider";
@@ -10,3 +10,4 @@ tslib_1.__exportStar(require("./PexelProvider"), exports);
10
10
  tslib_1.__exportStar(require("./YoutubeProvider"), exports);
11
11
  tslib_1.__exportStar(require("./DallEProvider"), exports);
12
12
  tslib_1.__exportStar(require("./MediaflowProvider"), exports);
13
+ tslib_1.__exportStar(require("./UnsplashProvider"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.8.8-preview",
4
+ "version": "7.8.10-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1,3 @@
1
+ export interface SemanticSearchGetRequest {
2
+ prompt: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 = {}));
@@ -0,0 +1,2 @@
1
+ export * from "./SemanticSearchRequest";
2
+ export * from "./SemanticSearchResponse";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SemanticSearchRequest"), exports);
5
+ tslib_1.__exportStar(require("./SemanticSearchResponse"), exports);