@omnia/fx 7.0.424-dev → 7.0.425-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.
@@ -2,6 +2,7 @@ export declare module IdentityPickerLocalization {
2
2
  const namespace = "Omnia.Ux.IdentityPicker";
3
3
  interface locInterface {
4
4
  AllUserTypes: string;
5
+ ExtensionType: string;
5
6
  AllGroupTypes: string;
6
7
  DynamicGroup: string;
7
8
  SpecialIdentities: {
@@ -1,3 +1,6 @@
1
- export interface AuthMethodExecution {
2
- (userName: string, next: (userName: string) => Promise<boolean>): Promise<() => JSX.Element>;
1
+ export interface AuthMethodExecution<T extends AuthMethodMetadata = AuthMethodMetadata> {
2
+ (metadata: AuthMethodMetadata, next: (metadata: T) => Promise<boolean>): Promise<() => JSX.Element>;
3
+ }
4
+ export interface AuthMethodMetadata {
5
+ userName: string;
3
6
  }
@@ -1,5 +1,5 @@
1
- import { AuthMethodExecution } from "../Shared";
1
+ import { AuthMethodExecution, AuthMethodMetadata } from "../Shared";
2
2
  export declare const magicLinkMethod: AuthMethodExecution;
3
3
  export declare const MagicLinkMethod: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- userName: string;
5
- }, never>, any, any, any>;
4
+ metadata: AuthMethodMetadata;
5
+ }, "metadata">, any, any, any>;
@@ -1,6 +1,6 @@
1
- import { AuthMethodExecution } from "../Shared";
1
+ import { AuthMethodExecution, AuthMethodMetadata } from "../Shared";
2
2
  export declare const optMethod: AuthMethodExecution;
3
3
  export declare const OtpMethod: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- userName: string;
5
- next: (userName: string) => Promise<boolean>;
6
- }, "next">, any, any, any>;
4
+ metadata: AuthMethodMetadata;
5
+ next: (metadata: AuthMethodMetadata) => Promise<boolean>;
6
+ }, "metadata" | "next">, any, any, any>;
@@ -1,6 +1,6 @@
1
- import { AuthMethodExecution } from "../Shared";
1
+ import { AuthMethodExecution, AuthMethodMetadata } from "../Shared";
2
2
  export declare const passwordMethod: AuthMethodExecution;
3
3
  export declare const PasswordMethod: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- userName: string;
5
- next: (userName: string) => Promise<boolean>;
6
- }, "next">, any, any, any>;
4
+ metadata: AuthMethodMetadata;
5
+ next: (metadata: AuthMethodMetadata) => Promise<boolean>;
6
+ }, "metadata" | "next">, any, any, any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.424-dev",
4
+ "version": "7.0.425-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.424-dev",
23
+ "@omnia/fx-models": "7.0.425-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",