@omnia/fx-models 7.8.28-preview → 7.8.30-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/Constants.d.ts +2 -0
- package/Constants.js +4 -2
- package/media-picker/MediaPickerMedia.d.ts +3 -0
- package/media-picker/Providers/IMediaPostProcess.d.ts +4 -0
- package/media-picker/Providers/IMediaPostProcess.js +2 -0
- package/media-picker/Providers/MediaPickerProvider.d.ts +2 -0
- package/media-picker/Providers/MediaflowProvider.d.ts +2 -1
- package/media-picker/Providers/index.d.ts +1 -0
- package/media-picker/Providers/index.js +1 -0
- package/media-picker/index.d.ts +1 -0
- package/media-picker/index.js +1 -0
- package/media-picker/mediaflow/Mediaflow.d.ts +7 -0
- package/media-picker/mediaflow/Mediaflow.js +2 -0
- package/media-picker/mediaflow/index.d.ts +1 -0
- package/media-picker/mediaflow/index.js +4 -0
- package/package.json +1 -1
- package/ux/MediaPickerApi.d.ts +2 -0
package/Constants.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export declare const Constants: {
|
|
|
92
92
|
omniaContentFooter: string;
|
|
93
93
|
omniaLeftSidePanel: string;
|
|
94
94
|
omniaRightSidePanel: string;
|
|
95
|
+
mainHeading: string;
|
|
95
96
|
};
|
|
96
97
|
};
|
|
97
98
|
themeTargetIds: {
|
|
@@ -163,6 +164,7 @@ export declare const Constants: {
|
|
|
163
164
|
legacyAppPermissions: Guid;
|
|
164
165
|
appOnlyReadAccessToSharePointTermstore: Guid;
|
|
165
166
|
provisionOmniaSearchUserData: Guid;
|
|
167
|
+
aiEngine: Guid;
|
|
166
168
|
};
|
|
167
169
|
app: {
|
|
168
170
|
tableName: string;
|
package/Constants.js
CHANGED
|
@@ -122,7 +122,8 @@ exports.Constants = {
|
|
|
122
122
|
omniaContentBody: "omnia-content-body",
|
|
123
123
|
omniaContentFooter: "omnia-content-footer",
|
|
124
124
|
omniaLeftSidePanel: "omnia-left-side-panel",
|
|
125
|
-
omniaRightSidePanel: "omnia-right-side-panel"
|
|
125
|
+
omniaRightSidePanel: "omnia-right-side-panel",
|
|
126
|
+
mainHeading: "main-heading",
|
|
126
127
|
},
|
|
127
128
|
},
|
|
128
129
|
themeTargetIds: {
|
|
@@ -193,7 +194,8 @@ exports.Constants = {
|
|
|
193
194
|
legacyUserProfileCard: new models_1.Guid("01586ffc-5987-40d2-bf06-f97ab955a965"),
|
|
194
195
|
legacyAppPermissions: new models_1.Guid("36c6fe6a-d79e-4f87-9349-cff9d3e1ab71"),
|
|
195
196
|
appOnlyReadAccessToSharePointTermstore: new models_1.Guid("8095f802-38f0-426c-8d81-22cb22a2a019"),
|
|
196
|
-
provisionOmniaSearchUserData: new models_1.Guid("8fc1325d-4196-406e-8dca-ebb78824896f")
|
|
197
|
+
provisionOmniaSearchUserData: new models_1.Guid("8fc1325d-4196-406e-8dca-ebb78824896f"),
|
|
198
|
+
aiEngine: new models_1.Guid("f976ad6f-987f-44e6-973a-097d81f73fc7")
|
|
197
199
|
},
|
|
198
200
|
app: {
|
|
199
201
|
tableName: "AppInstances",
|
|
@@ -13,6 +13,7 @@ export interface IMediaMetadata {
|
|
|
13
13
|
caption?: string;
|
|
14
14
|
altText?: string;
|
|
15
15
|
providerId?: GuidValue;
|
|
16
|
+
providerMetadata?: ProviderMetadata;
|
|
16
17
|
}
|
|
17
18
|
export interface IVideoMetadata extends IMediaMetadata {
|
|
18
19
|
}
|
|
@@ -20,6 +21,8 @@ export interface MediaPickerImage extends MediaPickerMedia, MediaPickerImageMeta
|
|
|
20
21
|
omniaImageId: number;
|
|
21
22
|
omniaServiceId: GuidValue;
|
|
22
23
|
}
|
|
24
|
+
export interface ProviderMetadata {
|
|
25
|
+
}
|
|
23
26
|
export interface MediaPickerVideo extends MediaPickerMedia, IVideoMetadata {
|
|
24
27
|
html: string;
|
|
25
28
|
thumbnailUrl?: string;
|
|
@@ -3,6 +3,7 @@ import { MediaPickerEnums } from "../../Enums";
|
|
|
3
3
|
import { IIcon } from "../../Icon";
|
|
4
4
|
import { MediaPickerPersistedImage } from "..";
|
|
5
5
|
import { MediaPickerVideo } from "../MediaPickerMedia";
|
|
6
|
+
import { IMediaPostProcess } from "./IMediaPostProcess";
|
|
6
7
|
export declare abstract class MediaPickerProvider {
|
|
7
8
|
abstract readonly id: GuidValue;
|
|
8
9
|
abstract readonly category: string;
|
|
@@ -18,5 +19,6 @@ export declare abstract class MediaPickerProvider {
|
|
|
18
19
|
selectableMediaTypes: Array<MediaPickerEnums.OmniaMediaTypes>;
|
|
19
20
|
providerComponentId: GuidValue;
|
|
20
21
|
abstract supportGalleryFeature?: boolean;
|
|
22
|
+
abstract postProcess?: IMediaPostProcess;
|
|
21
23
|
constructor();
|
|
22
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MediaPickerProvider } from ".";
|
|
1
|
+
import { IMediaPostProcess, MediaPickerProvider } from ".";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
3
3
|
import { MediaPickerEnums } from "../../Enums";
|
|
4
4
|
import { IIcon } from "../../Icon";
|
|
@@ -13,6 +13,7 @@ export declare class MediaPickerMediaflowProvider implements MediaPickerProvider
|
|
|
13
13
|
selectableMediaTypes: MediaPickerEnums.OmniaMediaTypes[];
|
|
14
14
|
providerComponentId: GuidValue;
|
|
15
15
|
supportGalleryFeature?: boolean;
|
|
16
|
+
postProcess?: IMediaPostProcess;
|
|
16
17
|
constructor();
|
|
17
18
|
hasEditorForMedia: (media: MediaPickerVideo | MediaPickerPersistedImage) => boolean;
|
|
18
19
|
}
|
|
@@ -11,3 +11,4 @@ tslib_1.__exportStar(require("./YoutubeProvider"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./DallEProvider"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./MediaflowProvider"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./UnsplashProvider"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./IMediaPostProcess"), exports);
|
package/media-picker/index.d.ts
CHANGED
package/media-picker/index.js
CHANGED
|
@@ -19,3 +19,4 @@ tslib_1.__exportStar(require("./Shared"), exports);
|
|
|
19
19
|
tslib_1.__exportStar(require("./Providers"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./SharePointVideoResult"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./InlineMediaNodeDisplayOptions"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./mediaflow"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Mediaflow";
|
package/package.json
CHANGED
package/ux/MediaPickerApi.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GuidValue } from "../Exposes";
|
|
1
2
|
import { ApiPath } from "../Extends";
|
|
2
3
|
import { MediaPickerProvider } from "../media-picker";
|
|
3
4
|
export interface IMediaPickerApi {
|
|
@@ -15,4 +16,5 @@ declare module "./UxApi" {
|
|
|
15
16
|
}
|
|
16
17
|
export interface IMediaPickerProviderRegistrationApi {
|
|
17
18
|
registerProviders: (providers: MediaPickerProvider | MediaPickerProvider[]) => void;
|
|
19
|
+
getProvider: (providerId: GuidValue) => MediaPickerProvider;
|
|
18
20
|
}
|