gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: added Age and Version types


From: gnunet
Subject: [taler-docs] branch master updated: added Age and Version types
Date: Wed, 20 Oct 2021 10:58:18 +0200

This is an automated email from the git hooks/post-receive script.

oec pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 4b2bbd5  added Age and Version types
4b2bbd5 is described below

commit 4b2bbd5e6b32b6cf92867f9ed5d9f66a4564f03e
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Wed Oct 20 10:58:14 2021 +0200

    added Age and Version types
---
 core/api-common.rst | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/core/api-common.rst b/core/api-common.rst
index 7ee4769..155857c 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -275,6 +275,37 @@ Integers
   // JavaScript numbers restricted to integers.
   type Integer = number;
 
+Ages
+^^^^
+
+.. ts:def:: Age
+
+   // An age is an integer between 0 and 255 measured in years.
+   type Age = number;
+
+Versions
+^^^^^^^^
+
+We use the type ``LibtoolVersion`` in the design documents to refer to a string
+that represents a version with the semantic as defined by
+`libtool 
<https://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html>`__.
+
+.. ts:def:: LibtoolVersion
+
+   // Version information in libtool version format and semantics
+   // current[:revision[:age]], f.e. "1", "2:0" or "3:1:2".
+   // see 
https://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html.
+   type LibtoolVersion = string;
+
+We use the type ``SemVer`` to refer to a string that represents a version with
+the semantic as defined by `semantic versioning <https://semver.org/>`__.
+
+.. ts:def:: SemVer
+
+   // Version information in semantic versioning format and semantics,
+   // like "X.Z.Y", see https://semver.org/.
+   type SemVer = string;
+
 Objects
 ^^^^^^^
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]