diff options
author | Sebastian <sebasjm@gmail.com> | 2023-03-06 15:12:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-03-06 15:18:25 -0300 |
commit | 8f32ad272dd319b74e0a4a3d3ecc1472884c87e2 (patch) | |
tree | bf6fac4c0dc696dff1364fee94e2256aad593c47 /packages/demobank-ui/src/declaration.d.ts | |
parent | 8743db9e4056dbb656ef269737313ac24c870dff (diff) | |
download | wallet-core-8f32ad272dd319b74e0a4a3d3ecc1472884c87e2.tar.xz |
centered forms, show balance in accont info
Diffstat (limited to 'packages/demobank-ui/src/declaration.d.ts')
-rw-r--r-- | packages/demobank-ui/src/declaration.d.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/declaration.d.ts b/packages/demobank-ui/src/declaration.d.ts index 03ab8f2a8..8dc5fd8b2 100644 --- a/packages/demobank-ui/src/declaration.d.ts +++ b/packages/demobank-ui/src/declaration.d.ts @@ -99,6 +99,11 @@ type Amount = string; type UUID = string; type Integer = number; +interface Balance { + amount: Amount; + credit_debit_indicator: "credit" | "debit"; +} + namespace SandboxBackend { export interface Config { // Name of this API, always "circuit". @@ -161,10 +166,7 @@ namespace SandboxBackend { interface BankAccountBalanceResponse { // Available balance on the account. - balance: { - amount: Amount; - credit_debit_indicator: "credit" | "debit"; - }; + balance: Balance; // payto://-URI of the account. (New) paytoUri: string; } @@ -304,6 +306,9 @@ namespace SandboxBackend { // Legal subject owning the account. name: string; + + // current balance of the account + balance: Balance; } interface CircuitAccountData { |