@omnia/fx 7.0.408-dev → 7.0.410-dev

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.
@@ -1,7 +1,11 @@
1
- import { Future, GuidValue } from "../models";
1
+ import { AdProperty, Future, GuidValue } from "../models";
2
2
  export declare class AzureAdUserService {
3
3
  private graphClient;
4
4
  private httpClient;
5
5
  getUserPropertiesValue<T extends Object>(id: GuidValue, selectProperties: string[]): Future<T>;
6
+ updateUserPropertiesValue(id: GuidValue, properties: {
7
+ [name: string]: any;
8
+ }): Future<void>;
6
9
  getUserPropertiesMetadata(): Promise<string[]>;
10
+ getUserSyncProperties(): Promise<AdProperty[]>;
7
11
  }
@@ -1,13 +1,24 @@
1
- import { GuidValue, AzureAdDefaultUserProperties } from "../models";
1
+ import { GuidValue, AzureAdDefaultUserProperties, AdProperty } from "../models";
2
2
  import { Store } from "./Store";
3
3
  export declare class AzureAdUserStore extends Store {
4
4
  private azureAdService;
5
5
  private resolvePropertiesValuePromises;
6
6
  private resolvePropertiesInfoPromise;
7
+ private resolveSyncPropertiesInfoPromise;
7
8
  private defaultSelectUserProperties;
8
9
  actions: {
9
10
  getUserPropertiesValue: import("./Store").StoreAction<unknown, (id: GuidValue, selectMoreProperties?: string[]) => void, (result: AzureAdDefaultUserProperties, id: GuidValue, selectMoreProperties?: string[]) => void, (failureReason: any, id: GuidValue, selectMoreProperties?: string[]) => void, <T extends AzureAdDefaultUserProperties = AzureAdDefaultUserProperties>(id: GuidValue, selectMoreProperties?: string[]) => Promise<T>>;
10
11
  getUserPropertiesMetadata: import("./Store").StoreAction<unknown, () => void, (result: string[]) => void, (failureReason: any) => void, () => Promise<string[]>>;
12
+ updateUserPropertiesValue: import("./Store").StoreAction<unknown, (id: GuidValue, properties: {
13
+ [name: string]: any;
14
+ }) => void, (result: void, id: GuidValue, properties: {
15
+ [name: string]: any;
16
+ }) => void, (failureReason: any, id: GuidValue, properties: {
17
+ [name: string]: any;
18
+ }) => void, (id: GuidValue, properties: {
19
+ [name: string]: any;
20
+ }) => Promise<void>>;
21
+ getUserSyncProperties: import("./Store").StoreAction<unknown, () => void, (result: AdProperty[]) => void, (failureReason: any) => void, () => Promise<AdProperty[]>>;
11
22
  };
12
23
  protected onActivated(): void;
13
24
  protected onDisposing(): void;
@@ -2,18 +2,22 @@ import { GuidValue, IdentityProviderProperty } from "@omnia/fx-models";
2
2
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
3
  providerId: GuidValue;
4
4
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
5
- }, "providerId" | "getSyncPropertiesApi">, any, any, any>> & {
5
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
6
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">, any, any, any>> & {
6
7
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
7
8
  providerId: GuidValue;
8
9
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
9
- }, "providerId" | "getSyncPropertiesApi">;
10
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
11
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">;
10
12
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
11
13
  providerId: GuidValue;
12
14
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
13
- }, "providerId" | "getSyncPropertiesApi">, any, any, any>> & {
15
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
16
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">, any, any, any>> & {
14
17
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
15
18
  providerId: GuidValue;
16
19
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
17
- }, "providerId" | "getSyncPropertiesApi">;
20
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
21
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">;
18
22
  });
19
23
  export default _default;
@@ -3,4 +3,5 @@ export declare const IdentitySyncRuleBlade: import("vue-tsx-support")._TsxCompon
3
3
  data: UserTypeEvaluation;
4
4
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
5
5
  saveChanges: (data: UserTypeEvaluation) => Promise<void>;
6
- }, "data" | "getSyncPropertiesApi" | "saveChanges">, any, any, any>;
6
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
7
+ }, "data" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName" | "saveChanges">, any, any, any>;
@@ -3,18 +3,22 @@ import { GuidValue } from "internal/fx/shared";
3
3
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
4
4
  providerId: GuidValue;
5
5
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
6
- }, "providerId" | "getSyncPropertiesApi">, any, any, any>> & {
6
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
7
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">, any, any, any>> & {
7
8
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
8
9
  providerId: GuidValue;
9
10
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
10
- }, "providerId" | "getSyncPropertiesApi">;
11
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
12
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">;
11
13
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
12
14
  providerId: GuidValue;
13
15
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
14
- }, "providerId" | "getSyncPropertiesApi">, any, any, any>> & {
16
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
17
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">, any, any, any>> & {
15
18
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
16
19
  providerId: GuidValue;
17
20
  getSyncPropertiesApi: () => Promise<IdentityProviderProperty[]>;
18
- }, "providerId" | "getSyncPropertiesApi">;
21
+ getSyncPropertyDisplayName: (property: IdentityProviderProperty) => string;
22
+ }, "providerId" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName">;
19
23
  });
20
24
  export default _default;
@@ -2,28 +2,28 @@ import { PropertyDefinition, PropertyConfiguration } from "@omnia/fx-models";
2
2
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
3
  dataSourceId: import("@omnia/fx-models").GuidValue;
4
4
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
5
- onValueBindChanged: (newValue: any) => void;
5
+ getPropertyValue: (value: any) => void;
6
6
  disabled: boolean;
7
7
  editMode: boolean;
8
8
  }, "configuration" | "dataSourceId">, any, any, any>> & {
9
9
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
10
10
  dataSourceId: import("@omnia/fx-models").GuidValue;
11
11
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
12
- onValueBindChanged: (newValue: any) => void;
12
+ getPropertyValue: (value: any) => void;
13
13
  disabled: boolean;
14
14
  editMode: boolean;
15
15
  }, "configuration" | "dataSourceId">;
16
16
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
17
17
  dataSourceId: import("@omnia/fx-models").GuidValue;
18
18
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
19
- onValueBindChanged: (newValue: any) => void;
19
+ getPropertyValue: (value: any) => void;
20
20
  disabled: boolean;
21
21
  editMode: boolean;
22
22
  }, "configuration" | "dataSourceId">, any, any, any>> & {
23
23
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
24
24
  dataSourceId: import("@omnia/fx-models").GuidValue;
25
25
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
26
- onValueBindChanged: (newValue: any) => void;
26
+ getPropertyValue: (value: any) => void;
27
27
  disabled: boolean;
28
28
  editMode: boolean;
29
29
  }, "configuration" | "dataSourceId">;
@@ -1,29 +1,29 @@
1
- import { PropertyDefinition, PropertyConfiguration } from "@omnia/fx-models";
1
+ import { PropertyDefinition, PropertyConfiguration, PropertyValueBase } from "@omnia/fx-models";
2
2
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
- valueBind: unknown;
3
+ valueBind: PropertyValueBase;
4
4
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
5
- onValueBindChanged: (newValue: any) => void;
5
+ onValueBindChanged: (newValue: PropertyValueBase) => void;
6
6
  disabled: boolean;
7
7
  editMode: boolean;
8
8
  }, "configuration" | "valueBind">, any, any, any>> & {
9
9
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
10
- valueBind: unknown;
10
+ valueBind: PropertyValueBase;
11
11
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
12
- onValueBindChanged: (newValue: any) => void;
12
+ onValueBindChanged: (newValue: PropertyValueBase) => void;
13
13
  disabled: boolean;
14
14
  editMode: boolean;
15
15
  }, "configuration" | "valueBind">;
16
16
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => import("vue").VNode>, {}, import("vue-tsx-support").PropsForOutside<{
17
- valueBind: unknown;
17
+ valueBind: PropertyValueBase;
18
18
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
19
- onValueBindChanged: (newValue: any) => void;
19
+ onValueBindChanged: (newValue: PropertyValueBase) => void;
20
20
  disabled: boolean;
21
21
  editMode: boolean;
22
22
  }, "configuration" | "valueBind">, any, any, any>> & {
23
23
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
24
- valueBind: unknown;
24
+ valueBind: PropertyValueBase;
25
25
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
26
- onValueBindChanged: (newValue: any) => void;
26
+ onValueBindChanged: (newValue: PropertyValueBase) => void;
27
27
  disabled: boolean;
28
28
  editMode: boolean;
29
29
  }, "configuration" | "valueBind">;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.408-dev",
4
+ "version": "7.0.410-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.0.408-dev",
23
+ "@omnia/fx-models": "7.0.410-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",