taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 53f86de37210a8816550ed9763f0df8a818faf64
parent 4ebd658c7d22dcbb72d19d0246a938c57a36f934
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 24 Apr 2024 07:57:30 +0200

fix build issues

Diffstat:
Mcore/api-challenger.rst | 14++++++++++----
Mcore/api-terminal.rst | 4++--
2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/core/api-challenger.rst b/core/api-challenger.rst @@ -318,17 +318,21 @@ Challenge code, hint and detail. Since protocol **v1**. Otherwise, the body contains information using the template :ref:`internal-error <challenger_internal-error>`. - .. ts:def:: ChallengeCreateResponse + .. ts:def:: ChallengeResponse interface ChallengeResponse = ChallengeRedirect | ChallengeCreateResponse + .. ts:def:: ChallengeRedirect + // @since v2 interface ChallengeRedirect { // challenge is completed, use should redirect here redirect_url: string; } - interface ChallengeCreateResponse { + .. ts:def:: ChallengeCreateResponse + + interface ChallengeCreateResponse { // how many more attempts are allowed, might be shown to the user, // highlighting might be appropriate for low values such as 1 or 2 (the @@ -405,9 +409,11 @@ Solve code, hint and detail. Since protocol **v1**. Otherwise, the body contains information using the template :ref:`internal-error <challenger_internal-error>`. - .. ts:def:: InvalidPinResponse + .. ts:def:: ChallengeSolveResponse + + type ChallengeSolveResponse = ChallengeRedirect | InvalidPinResponse; - type ChallengeSolveResponse = ChallengerRedirect | InvalidPinResponse; + .. ts:def:: InvalidPinResponse interface InvalidPinResponse { // numeric Taler error code, should be shown to indicate the error diff --git a/core/api-terminal.rst b/core/api-terminal.rst @@ -16,7 +16,7 @@ .. target audience: developer, core developer -.. _corebank-api: +.. _terminal-api: ============ Terminal API @@ -136,7 +136,7 @@ Config limit: Amount; // ID for the lock. FIXME: could also be 32-byte nonce? - lock: String; + lock: string; // How long should the lock be held? expiration: Timestamp;