@omnia/fx-models 8.0.112-vnext → 8.0.113-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/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
@@ -251,6 +251,7 @@ export declare class OmniaWebComponentManifests {
251
251
  static get FxUxImageGrid(): Guid;
252
252
  static get FxUxPexelProvider(): Guid;
253
253
  static get FxUxMediaflowProvider(): Guid;
254
+ static get FxUxMediaflowProviderVideoPlayer(): Guid;
254
255
  static get FxUxMyComputerProvider(): Guid;
255
256
  static get FxUxFileUploader(): Guid;
256
257
  static get FxUxBingProvider(): Guid;
@@ -297,6 +298,8 @@ export declare class OmniaWebComponentManifests {
297
298
  static get FxUxAppInstanceRollup(): Guid;
298
299
  static get FxUxAppInstanceRollupSettings(): Guid;
299
300
  static get FxUxAppInstanceRollupListView(): Guid;
301
+ static get FxUxAppInstanceRollupRenderer(): Guid;
302
+ static get FxUxAppInstanceRollupMetricDetail(): Guid;
300
303
  static get FxUxAppInstanceRollupListViewSettings(): Guid;
301
304
  static get FxUxAppInstanceRollupCardView(): Guid;
302
305
  static get FxUxAppInstanceRollupCardViewSettings(): Guid;
package/ManifestIds.js CHANGED
@@ -766,6 +766,9 @@ class OmniaWebComponentManifests {
766
766
  static get FxUxMediaflowProvider() {
767
767
  return new models_1.Guid("E4C4594D-5285-45A2-9EDF-1DCA20F92D69");
768
768
  }
769
+ static get FxUxMediaflowProviderVideoPlayer() {
770
+ return new models_1.Guid("29DE1787-7BBB-49B1-961E-75210D865A1B");
771
+ }
769
772
  //public static get FxUxPexelProviderRegistration(): Guid { return new Guid("994741e0-aa57-4ed0-b4a1-251fb1cfbf9a"); }
770
773
  static get FxUxMyComputerProvider() {
771
774
  return new models_1.Guid("781b7e99-53cf-4f5b-9a40-2cad1a0cc654");
@@ -911,6 +914,12 @@ class OmniaWebComponentManifests {
911
914
  static get FxUxAppInstanceRollupListView() {
912
915
  return new models_1.Guid("56f44aa4-881c-425b-8661-bff20129bc6d");
913
916
  }
917
+ static get FxUxAppInstanceRollupRenderer() {
918
+ return new models_1.Guid("99576CFE-7550-4D4B-ABC4-575E968F3F9C");
919
+ }
920
+ static get FxUxAppInstanceRollupMetricDetail() {
921
+ return new models_1.Guid("FB44F129-DE80-4ADB-B2F1-34176C1C17A5");
922
+ }
914
923
  static get FxUxAppInstanceRollupListViewSettings() {
915
924
  return new models_1.Guid("5011d68d-4428-47bc-861c-f89ce7155c26");
916
925
  }
@@ -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
  }
@@ -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.113-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
- }