diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-11-28 00:46:34 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-11-28 00:46:34 +0100 |
commit | 706c07fa1d069290992bd31d53b0c89324992f9c (patch) | |
tree | 8114c23cda7547f8475c7d8d579f51f968a97f9d /src/dbTypes.ts | |
parent | c3ca556affe2f514aeb7fd052fe6d626d9319e99 (diff) | |
download | wallet-core-706c07fa1d069290992bd31d53b0c89324992f9c.tar.xz |
implement JS-only Taler, remove emscripten
Diffstat (limited to 'src/dbTypes.ts')
-rw-r--r-- | src/dbTypes.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dbTypes.ts b/src/dbTypes.ts index 22d98ffac..bb4f5dbdf 100644 --- a/src/dbTypes.ts +++ b/src/dbTypes.ts @@ -283,26 +283,26 @@ export class DenominationRecord { /** * Validity start date of the denomination. */ - @Checkable.String() - stampStart: string; + @Checkable.Value(() => Timestamp) + stampStart: Timestamp; /** * Date after which the currency can't be withdrawn anymore. */ - @Checkable.String() - stampExpireWithdraw: string; + @Checkable.Value(() => Timestamp) + stampExpireWithdraw: Timestamp; /** * Date after the denomination officially doesn't exist anymore. */ - @Checkable.String() - stampExpireLegal: string; + @Checkable.Value(() => Timestamp) + stampExpireLegal: Timestamp; /** * Data after which coins of this denomination can't be deposited anymore. */ - @Checkable.String() - stampExpireDeposit: string; + @Checkable.Value(() => Timestamp) + stampExpireDeposit: Timestamp; /** * Signature by the exchange's master key over the denomination |