diff options
author | Sebastian <sebasjm@gmail.com> | 2023-07-21 15:50:53 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-07-21 15:50:53 -0300 |
commit | 7e37b347447b6fc418f11160d439a7596b039680 (patch) | |
tree | 31b57eedb262316264974991a937ca22bfa626b6 /packages/aml-backoffice-ui/src/hooks/useCases.ts | |
parent | e90f1b4206e8843b85655ebe47485c70dbdab3f6 (diff) | |
download | wallet-core-7e37b347447b6fc418f11160d439a7596b039680.tar.xz |
case details and missing decision encryption
Diffstat (limited to 'packages/aml-backoffice-ui/src/hooks/useCases.ts')
-rw-r--r-- | packages/aml-backoffice-ui/src/hooks/useCases.ts | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/aml-backoffice-ui/src/hooks/useCases.ts b/packages/aml-backoffice-ui/src/hooks/useCases.ts index 04b7c383b..c5a0fc489 100644 --- a/packages/aml-backoffice-ui/src/hooks/useCases.ts +++ b/packages/aml-backoffice-ui/src/hooks/useCases.ts @@ -92,3 +92,56 @@ export function useCases( } return { loading: true }; } + +const example1: AmlExchangeBackend.AmlRecords = { + records: [ + { + current_state: 0, + h_payto: "QWEQWEQWEQWEWQE", + rowid: 1, + threshold: "USD 100", + }, + { + current_state: 1, + h_payto: "ASDASDASD", + rowid: 1, + threshold: "USD 100", + }, + { + current_state: 2, + h_payto: "ZXCZXCZXCXZC", + rowid: 1, + threshold: "USD 1000", + }, + { + current_state: 0, + h_payto: "QWEQWEQWEQWEWQE", + rowid: 1, + threshold: "USD 100", + }, + { + current_state: 1, + h_payto: "ASDASDASD", + rowid: 1, + threshold: "USD 100", + }, + { + current_state: 2, + h_payto: "ZXCZXCZXCXZC", + rowid: 1, + threshold: "USD 1000", + }, + ].map((e, idx) => { + e.rowid = idx; + e.threshold = `${e.threshold}${idx}`; + return e; + }), +}; + +export const exampleResponse: HttpResponsePaginated<AmlExchangeBackend.AmlRecords,AmlExchangeBackend.AmlError> = { + ok: true, + data: example1, + loadMore: () => {}, + loadMorePrev: () => {}, +} + |