aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-core/src/reducer-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-15 12:56:16 +0200
committerFlorian Dold <florian@dold.me>2022-04-15 12:56:16 +0200
commitd1b4cc994bd287af5c8a3114eab70ee01f92b4ec (patch)
treef0b3c36540bd8a8f6ecb3cdb359b18e97170fc5a /packages/anastasis-core/src/reducer-types.ts
parent098d1eb7ebfcd2d4b460758772d42367a61dc5b2 (diff)
downloadwallet-core-d1b4cc994bd287af5c8a3114eab70ee01f92b4ec.tar.xz
anastasis-core: async provider synchronization
Diffstat (limited to 'packages/anastasis-core/src/reducer-types.ts')
-rw-r--r--packages/anastasis-core/src/reducer-types.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/anastasis-core/src/reducer-types.ts b/packages/anastasis-core/src/reducer-types.ts
index a0af2f86e..2e03a6ec4 100644
--- a/packages/anastasis-core/src/reducer-types.ts
+++ b/packages/anastasis-core/src/reducer-types.ts
@@ -186,6 +186,10 @@ export interface RecoveryInformation {
}[][];
}
+export interface AuthenticationProviderStatusMap {
+ [url: string]: AuthenticationProviderStatus;
+}
+
export interface ReducerStateRecovery {
reducer_type: "recovery";
@@ -231,7 +235,7 @@ export interface ReducerStateRecovery {
value: string;
};
- authentication_providers?: { [url: string]: AuthenticationProviderStatus };
+ authentication_providers?: AuthenticationProviderStatusMap;
}
/**
@@ -342,7 +346,7 @@ export interface ReducerStateBackupUserAttributesCollecting
selected_country: string;
currencies: string[];
required_attributes: UserAttributeSpec[];
- authentication_providers: { [url: string]: AuthenticationProviderStatus };
+ authentication_providers: AuthenticationProviderStatusMap;
}
export interface ActionArgsEnterUserAttributes {