diff options
| author | Sebastian <sebasjm@gmail.com> | 2021-07-08 15:23:53 -0300 |
|---|---|---|
| committer | Sebastian <sebasjm@gmail.com> | 2021-07-08 15:23:58 -0300 |
| commit | 655c5fc18a22ae167160dd93e53d87e130fa9afa (patch) | |
| tree | 1484a9e23b1f1021eba0ea05a6735d3f7141011d /packages/taler-wallet-webextension/src/popup/Backup.stories.tsx | |
| parent | ba995882ba1dcb4f761059065fd32e31c3ff1f8b (diff) | |
add more backup stories, sync by one provider
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/Backup.stories.tsx')
| -rw-r--r-- | packages/taler-wallet-webextension/src/popup/Backup.stories.tsx | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/Backup.stories.tsx b/packages/taler-wallet-webextension/src/popup/Backup.stories.tsx index cd40d69a9..2d28a6ddc 100644 --- a/packages/taler-wallet-webextension/src/popup/Backup.stories.tsx +++ b/packages/taler-wallet-webextension/src/popup/Backup.stories.tsx @@ -20,6 +20,7 @@ */ import { ProviderPaymentType } from '@gnu-taler/taler-wallet-core'; +import { addDays } from 'date-fns'; import { FunctionalComponent } from 'preact'; import { BackupView as TestedComponent } from './BackupPage'; @@ -61,7 +62,27 @@ export const LotOfProviders = createExample(TestedComponent, { "storageLimitInMegabytes": 16, "supportedProtocolVersion": "0.0" } - }, { + },{ + "active": true, + "syncProviderBaseUrl": "http://sync.taler:9967/", + "lastSuccessfulBackupTimestamp": { + "t_ms": 1625063925078 + }, + "paymentProposalIds": [ + "43Q5WWRJPNS4SE9YKS54H9THDS94089EDGXW9EHBPN6E7M184XEG" + ], + "paymentStatus": { + "type": ProviderPaymentType.Paid, + "paidUntil": { + "t_ms": addDays(new Date(), 13).getTime() + } + }, + "terms": { + "annualFee": "ARS:1", + "storageLimitInMegabytes": 16, + "supportedProtocolVersion": "0.0" + } + },{ "active": false, "syncProviderBaseUrl": "http://sync.demo.taler.net/", "paymentProposalIds": [], |
