Skip to content

Commit

Permalink
Add status as emum
Browse files Browse the repository at this point in the history
  • Loading branch information
shirGerasi10 committed Dec 2, 2021
1 parent efbb7e1 commit 4286d7d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<WalletAssetType> {
id: string;
name: string;
Expand Down

0 comments on commit 4286d7d

Please sign in to comment.