From 4286d7d05b7443a8c0b6de2e9902efd5e2eef43c Mon Sep 17 00:00:00 2001 From: Shir Gerasi Date: Thu, 2 Dec 2021 14:51:07 +0200 Subject: [PATCH] Add status as emum --- src/types.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 1b58c9d0..02d896f5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -54,10 +54,16 @@ export interface VaultAssetResponse { enterpriseAddress?: string; tag: string; eosAccountName: string; - status?: string; + status?: VaultAssetActivationStatus; activationTxId?: string; } +export enum VaultAssetActivationStatus { + PENDING_ACTIVATION = "PENDING_ACTIVATION", + ACTIVATION_FAILED = "ACTIVATION_FAILED", + READY = "READY" +} + export interface WalletContainerResponse { id: string; name: string;