@omnia/fx-models 8.0.112-vnext → 8.0.114-vnext

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 CHANGED
@@ -50,6 +50,7 @@ export declare const Constants: {
50
50
  microsoftStream: Guid;
51
51
  dalle: Guid;
52
52
  mediaflow: Guid;
53
+ unsplash: Guid;
53
54
  };
54
55
  };
55
56
  mediaGallery: {
package/Constants.js CHANGED
@@ -81,6 +81,7 @@ exports.Constants = {
81
81
  microsoftStream: new models_1.Guid("6b1abf7d-01f1-4168-8319-4f53043b5f16"),
82
82
  dalle: new models_1.Guid("69805036-0D70-421B-8B81-217978BB47A4"),
83
83
  mediaflow: new models_1.Guid("F3078399-C3B6-457D-8C2F-A4C8C39B5F27"),
84
+ unsplash: new models_1.Guid("db11bef7-768d-4281-ad13-c938a4cdb6de"),
84
85
  },
85
86
  },
86
87
  mediaGallery: {
package/Exposes.d.ts CHANGED
@@ -98,6 +98,7 @@ export * from "./ISpecialUserConfiguration";
98
98
  export * from "./FileValidationResult";
99
99
  export * from "./Func";
100
100
  export * from "./FilterpickerModel";
101
+ export * from "./RollupMetricSettings";
101
102
  export * from "./ux";
102
103
  export * from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
103
104
  export * from "./admin";
package/Exposes.js CHANGED
@@ -104,6 +104,7 @@ tslib_1.__exportStar(require("./ISpecialUserConfiguration"), exports);
104
104
  tslib_1.__exportStar(require("./FileValidationResult"), exports);
105
105
  tslib_1.__exportStar(require("./Func"), exports);
106
106
  tslib_1.__exportStar(require("./FilterpickerModel"), exports);
107
+ tslib_1.__exportStar(require("./RollupMetricSettings"), exports);
107
108
  //************************************************************************************ */
108
109
  // End of file exports
109
110
  //************************************************************************************ */
package/ManifestIds.d.ts CHANGED
@@ -250,7 +250,9 @@ export declare class OmniaWebComponentManifests {
250
250
  static get FxUxMediapickerVideo(): Guid;
251
251
  static get FxUxImageGrid(): Guid;
252
252
  static get FxUxPexelProvider(): Guid;
253
+ static get FxUxUnsplashProvider(): Guid;
253
254
  static get FxUxMediaflowProvider(): Guid;
255
+ static get FxUxMediaflowProviderVideoPlayer(): Guid;
254
256
  static get FxUxMyComputerProvider(): Guid;
255
257
  static get FxUxFileUploader(): Guid;
256
258
  static get FxUxBingProvider(): Guid;
@@ -297,6 +299,8 @@ export declare class OmniaWebComponentManifests {
297
299
  static get FxUxAppInstanceRollup(): Guid;
298
300
  static get FxUxAppInstanceRollupSettings(): Guid;
299
301
  static get FxUxAppInstanceRollupListView(): Guid;
302
+ static get FxUxAppInstanceRollupRenderer(): Guid;
303
+ static get FxUxAppInstanceRollupMetricDetail(): Guid;
300
304
  static get FxUxAppInstanceRollupListViewSettings(): Guid;
301
305
  static get FxUxAppInstanceRollupCardView(): Guid;
302
306
  static get FxUxAppInstanceRollupCardViewSettings(): Guid;
package/ManifestIds.js CHANGED
@@ -763,9 +763,15 @@ class OmniaWebComponentManifests {
763
763
  static get FxUxPexelProvider() {
764
764
  return new models_1.Guid("0c762bb5-c7e6-4ccd-8a89-907200dffca5");
765
765
  }
766
+ static get FxUxUnsplashProvider() {
767
+ return new models_1.Guid("6e7529d9-94f9-489e-a5be-5a129406caa2");
768
+ }
766
769
  static get FxUxMediaflowProvider() {
767
770
  return new models_1.Guid("E4C4594D-5285-45A2-9EDF-1DCA20F92D69");
768
771
  }
772
+ static get FxUxMediaflowProviderVideoPlayer() {
773
+ return new models_1.Guid("29DE1787-7BBB-49B1-961E-75210D865A1B");
774
+ }
769
775
  //public static get FxUxPexelProviderRegistration(): Guid { return new Guid("994741e0-aa57-4ed0-b4a1-251fb1cfbf9a"); }
770
776
  static get FxUxMyComputerProvider() {
771
777
  return new models_1.Guid("781b7e99-53cf-4f5b-9a40-2cad1a0cc654");
@@ -911,6 +917,12 @@ class OmniaWebComponentManifests {
911
917
  static get FxUxAppInstanceRollupListView() {
912
918
  return new models_1.Guid("56f44aa4-881c-425b-8661-bff20129bc6d");
913
919
  }
920
+ static get FxUxAppInstanceRollupRenderer() {
921
+ return new models_1.Guid("99576CFE-7550-4D4B-ABC4-575E968F3F9C");
922
+ }
923
+ static get FxUxAppInstanceRollupMetricDetail() {
924
+ return new models_1.Guid("FB44F129-DE80-4ADB-B2F1-34176C1C17A5");
925
+ }
914
926
  static get FxUxAppInstanceRollupListViewSettings() {
915
927
  return new models_1.Guid("5011d68d-4428-47bc-861c-f89ce7155c26");
916
928
  }
@@ -0,0 +1,14 @@
1
+ import { IIcon } from "./Icon";
2
+ import { MultilingualString } from "./MultilingualString";
3
+ export interface RollupMetricSettingsDetails {
4
+ title?: MultilingualString;
5
+ description?: MultilingualString;
6
+ icon?: IIcon;
7
+ color?: string;
8
+ width: number;
9
+ height?: number;
10
+ }
11
+ export interface RollupMetricSettings {
12
+ showMetric?: boolean;
13
+ metricSetting?: RollupMetricSettingsDetails;
14
+ }
@@ -1,4 +1,4 @@
1
- import { GuidValue, FilterEngineSettings } from "@omnia/fx-models";
1
+ import { GuidValue, FilterEngineSettings, RollupMetricSettings } from "@omnia/fx-models";
2
2
  import { EnterprisePropertyDefinition } from "../enterprise-properties/EnterpriseProperty";
3
3
  import { AppInstanceScopedQueryTypes, PropertyIndexedType } from "../Enums";
4
4
  import { MultilingualString } from "../MultilingualString";
@@ -14,7 +14,7 @@ export declare class AppInstanceRollupConstants {
14
14
  Image: string;
15
15
  };
16
16
  }
17
- export interface AppInstanceRollupBlockSettings {
17
+ export interface AppInstanceRollupBlockSettings extends RollupMetricSettings {
18
18
  title: MultilingualString;
19
19
  querySettings: AppInstanceRollupBlockQuerySettings;
20
20
  displaySettings: AppInstanceRollupBlockDisplaySettings;
@@ -14,4 +14,5 @@ export declare class ResolvedDynamicGroupIdentity extends DynamicGroupIdentity i
14
14
  description: PropertyValueBinding<MultilingualTextPropertyDefinition>;
15
15
  externalIdentityMappings: PropertyValueBinding<TextPropertyDefinition>;
16
16
  priorityOrder: number;
17
+ isRemoved: boolean;
17
18
  }
@@ -11,4 +11,5 @@ export declare class ResolvedExtensionIdentity extends ExtensionIdentity impleme
11
11
  displayName: PropertyValueBinding<TextPropertyDefinition>;
12
12
  image: PropertyValueBinding<ImagePropertyDefinition>;
13
13
  description: PropertyValueBinding<TextPropertyDefinition>;
14
+ isRemoved: boolean;
14
15
  }
@@ -15,6 +15,7 @@ export declare class ResolvedGroupIdentity extends GroupIdentity implements IRes
15
15
  image: PropertyValueBinding<TextPropertyDefinition>;
16
16
  description: PropertyValueBinding<TextPropertyDefinition>;
17
17
  ownerId: string;
18
+ isRemoved: boolean;
18
19
  }
19
20
  export declare enum GroupSortColumn {
20
21
  DisplayName = 1,
@@ -9,6 +9,7 @@ export interface IResolvedIdentity extends Partial<IIdentityEqual> {
9
9
  id: GuidValue;
10
10
  type: IdentityTypes;
11
11
  providerId: GuidValue;
12
+ isRemoved: boolean;
12
13
  propertyValues: PropertyValueBinding<any>[];
13
14
  toIdString?: () => string;
14
15
  }
@@ -11,4 +11,5 @@ export declare class ResolvedRoleIdentity extends RoleIdentity implements IResol
11
11
  displayName: PropertyValueBinding<TextPropertyDefinition>;
12
12
  image: PropertyValueBinding<ImagePropertyDefinition>;
13
13
  description: PropertyValueBinding<TextPropertyDefinition>;
14
+ isRemoved: boolean;
14
15
  }
@@ -24,6 +24,7 @@ export declare class ResolvedUserIdentity extends UserIdentity implements IResol
24
24
  uiLanguage: PropertyValueBinding<LanguagePropertyDefinition>;
25
25
  providerIdentity: string;
26
26
  ownerId: string;
27
+ isRemoved: boolean;
27
28
  static create(options: Partial<ResolvedUserIdentity>): ResolvedUserIdentity;
28
29
  static isAzureAdUser(resolvedUser: ResolvedUserIdentity): boolean;
29
30
  static isOmniaUser(resolvedUser: ResolvedUserIdentity): boolean;
@@ -5,11 +5,13 @@ class Future extends Promise {
5
5
  constructor(executor) {
6
6
  let resolveLocal;
7
7
  let rejectLocal;
8
- function onAborted(cb) {
8
+ // Cant have function here since this is undefined in setTimeout
9
+ // eslint-disable-next-line func-style
10
+ const onAborted = (cb) => {
9
11
  setTimeout(() => {
10
12
  this.onAborted = cb;
11
13
  });
12
- }
14
+ };
13
15
  function exec(resolve, reject) {
14
16
  // assign to local to prevent error assignbefore call super;
15
17
  resolveLocal = resolve;
@@ -29,5 +29,4 @@ export interface MediaPickerVideo extends MediaPickerMedia, IVideoMetadata {
29
29
  mute: boolean;
30
30
  graphDriveId?: string;
31
31
  graphDriveItemId?: string;
32
- useJavascriptRendition?: boolean;
33
32
  }
@@ -13,7 +13,7 @@ class MediaPickerDallEProvider {
13
13
  this.id = Constants_1.Constants.ux.components.mediaPicker.providerIds.dalle;
14
14
  this.category = "image";
15
15
  this.name = "Dall-E";
16
- this.icon = new Icon_1.SvgIcon("<svg width=\"24px\" height=\"24px\" style=\"color: white\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>OpenAI</title><path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" fill=\"white\"></path></svg>");
16
+ this.icon = new Icon_1.SvgIcon("<svg width=\"24px\" height=\"24px\" style=\"color: #919191\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>OpenAI</title><path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" fill=\"#919191\"></path></svg>");
17
17
  this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxDallEProvider;
18
18
  this.selectableMediaTypes = [Enums_1.MediaPickerEnums.OmniaMediaTypes.Image];
19
19
  this.sortOrder = 80;
@@ -14,8 +14,8 @@ class MediaPickerPexelProvider {
14
14
  this.category = "image";
15
15
  this.name = "Pexels";
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=\"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=\"#05705a\"></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=\"#fff\" ></path>" +
19
19
  "</svg>");
20
20
  //this.providerElementName = "omfx-media-picker-pexels-provider";
21
21
  this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxPexelProvider;
@@ -0,0 +1,18 @@
1
+ import { MediaPickerProvider } from ".";
2
+ import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
+ import { MediaPickerEnums } from "../../Enums";
4
+ import { IIcon } from "../../Icon";
5
+ import { MediaPickerVideo } from "../MediaPickerMedia";
6
+ import { MediaPickerPersistedImage } from "../Shared";
7
+ export declare class MediaPickerUnsplashProvider implements MediaPickerProvider {
8
+ id: GuidValue;
9
+ category: string;
10
+ name: string;
11
+ icon: IIcon;
12
+ sortOrder?: number;
13
+ selectableMediaTypes: MediaPickerEnums.OmniaMediaTypes[];
14
+ providerComponentId: GuidValue;
15
+ supportGalleryFeature?: boolean;
16
+ constructor();
17
+ hasEditorForMedia: (media: MediaPickerVideo | MediaPickerPersistedImage) => boolean;
18
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MediaPickerUnsplashProvider = void 0;
4
+ const Constants_1 = require("../../Constants");
5
+ const Enums_1 = require("../../Enums");
6
+ const ManifestIds_1 = require("../../ManifestIds");
7
+ const Icon_1 = require("../../Icon");
8
+ class MediaPickerUnsplashProvider {
9
+ constructor() {
10
+ this.hasEditorForMedia = (media) => {
11
+ return false;
12
+ };
13
+ this.id = Constants_1.Constants.ux.components.mediaPicker.providerIds.unsplash;
14
+ this.category = "image";
15
+ this.name = "Unsplash";
16
+ this.icon = new Icon_1.SvgIcon("<svg width='32' height='32' class='UP8CN' viewBox='0 0 32 32' version='1.' aria-labelledby='unsplash-home' aria-hidden='false'><path fill='#919191' d='M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z'></path></svg>");
17
+ this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxUnsplashProvider;
18
+ this.selectableMediaTypes = [Enums_1.MediaPickerEnums.OmniaMediaTypes.Image];
19
+ this.sortOrder = 41;
20
+ this.supportGalleryFeature = true;
21
+ }
22
+ }
23
+ exports.MediaPickerUnsplashProvider = MediaPickerUnsplashProvider;
@@ -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);
@@ -1,5 +1,3 @@
1
1
  export * from "./Constants";
2
- export * from "./MediaflowImage";
3
- export * from "./MediaflowViewInfo";
4
2
  export * from "./MediaflowSettings";
5
3
  export * from "./MediaflowAuthenticationInfo";
@@ -2,7 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Constants"), exports);
5
- tslib_1.__exportStar(require("./MediaflowImage"), exports);
6
- tslib_1.__exportStar(require("./MediaflowViewInfo"), exports);
7
5
  tslib_1.__exportStar(require("./MediaflowSettings"), exports);
8
6
  tslib_1.__exportStar(require("./MediaflowAuthenticationInfo"), exports);
@@ -1,5 +1,7 @@
1
1
  import { ISearchResult } from "./ISearchResult";
2
2
  import { IndexedDocument } from "./IndexedDocument";
3
+ export interface IPagedSearchResultToken {
4
+ }
3
5
  export interface IPagedSearchResult<TIndexedDocument extends IndexedDocument> extends ISearchResult<TIndexedDocument> {
4
6
  totalPages: number;
5
7
  error: string;
@@ -1,8 +1,25 @@
1
+ import { GuidValue } from "../Exposes";
1
2
  import { IndexedDocument } from "./IndexedDocument";
2
3
  import { Index } from "./SearchIndex";
3
4
  import { SearchQuery } from "./SearchQuery";
4
5
  import { SearchQueryPaging } from "./SearchQueryPaging";
5
6
  import { SearchTaskIdentifier } from "./SearchTask";
7
+ export interface SearchRequest {
8
+ index: Index;
9
+ query: SearchQuery;
10
+ documentTypeFilter?: GuidValue;
11
+ }
12
+ export interface PagedSearchRequest extends SearchRequest {
13
+ pageSize: number;
14
+ nextPage?: number;
15
+ }
16
+ export interface NextPagedSearchRequest {
17
+ initialIndex: Index;
18
+ initialSearchQuery: SearchQuery;
19
+ initialPageSize: number;
20
+ nextPage: number;
21
+ initialDocumentTypeFilter?: GuidValue;
22
+ }
6
23
  export interface PagedBatchSearchRequest {
7
24
  index: Index;
8
25
  searchQueries: Array<SearchQueryPaging>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.112-vnext",
4
+ "version": "8.0.114-vnext",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,31 +0,0 @@
1
- export declare class MediaflowBaseType {
2
- static Image: string;
3
- static Video: string;
4
- static ExternalVideo: string;
5
- }
6
- export interface MediaflowInformation {
7
- basetype?: string;
8
- filename?: string;
9
- filetype?: string;
10
- id: number;
11
- mediaId: string;
12
- }
13
- export interface MediaFlowImage extends MediaflowInformation {
14
- height: number;
15
- name: string;
16
- photographer: string;
17
- url: string;
18
- width: number;
19
- }
20
- export interface MediaFlowVideo extends MediaflowInformation {
21
- autoPlay: boolean;
22
- embedCode: any;
23
- embedMethod: string;
24
- startTime: string;
25
- }
26
- export interface MediaflowEventData {
27
- id: number;
28
- name: string;
29
- mediaId?: string;
30
- isSearch?: boolean;
31
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaflowBaseType = void 0;
4
- class MediaflowBaseType {
5
- }
6
- MediaflowBaseType.Image = "image";
7
- MediaflowBaseType.Video = "video";
8
- MediaflowBaseType.ExternalVideo = "extvideo";
9
- exports.MediaflowBaseType = MediaflowBaseType;
@@ -1,27 +0,0 @@
1
- export interface Hlss {
2
- src: string;
3
- }
4
- export interface Mp4s {
5
- size: number;
6
- src: string;
7
- }
8
- export interface MediaflowVideoInfo {
9
- id: number;
10
- title: string;
11
- type: string;
12
- hls: boolean;
13
- hlss: Hlss[];
14
- mp4: boolean;
15
- mp4s: Mp4s[];
16
- sign: any[];
17
- audioTracks: any[];
18
- videoTracks: any[];
19
- vp: boolean;
20
- duration: number;
21
- statsURL: string;
22
- width: number;
23
- height: number;
24
- native: string;
25
- subtitles: any[];
26
- poster: string;
27
- }