From 65979d4c0b175fe965814859ae207f93eab10303 Mon Sep 17 00:00:00 2001 From: Yulian Kuncheff Date: Mon, 29 Jul 2024 15:43:58 -0700 Subject: [PATCH] Doc update --- doc/enums/Namespace-enum-sidebar.html | 18 ++-- doc/enums/Namespace.html | 102 ++++++++++++++++-- doc/v5/UuidV5/generate.html | 2 +- .../UuidValidation/isValidUUID.html | 2 +- 4 files changed, 110 insertions(+), 14 deletions(-) diff --git a/doc/enums/Namespace-enum-sidebar.html b/doc/enums/Namespace-enum-sidebar.html index a6fe4d3..c9530bb 100644 --- a/doc/enums/Namespace-enum-sidebar.html +++ b/doc/enums/Namespace-enum-sidebar.html @@ -4,12 +4,18 @@
  • Namespace
  • Values
  • -
  • DNS
  • -
  • URL
  • -
  • OID
  • -
  • X500
  • -
  • NIL
  • -
  • MAX
  • +
  • DNS
  • +
  • URL
  • +
  • OID
  • +
  • X500
  • +
  • NIL
  • +
  • MAX
  • +
  • dns
  • +
  • url
  • +
  • oid
  • +
  • x500
  • +
  • nil
  • +
  • max
  • diff --git a/doc/enums/Namespace.html b/doc/enums/Namespace.html index c188181..d4cab93 100644 --- a/doc/enums/Namespace.html +++ b/doc/enums/Namespace.html @@ -111,7 +111,7 @@

    Values

    - DNS + DNS → const Namespace @@ -126,7 +126,7 @@

    Values

    - URL + URL → const Namespace @@ -141,7 +141,7 @@

    Values

    - OID + OID → const Namespace @@ -156,7 +156,7 @@

    Values

    - X500 + X500 → const Namespace @@ -171,7 +171,7 @@

    Values

    - NIL + NIL → const Namespace @@ -186,7 +186,97 @@

    Values

    - MAX + MAX + → const Namespace + + +
    +
    + + + +
    + const Namespace("ffffffff-ffff-ffff-ffff-ffffffffffff") +
    +
    + +
    + dns + → const Namespace + + +
    +
    + + + +
    + const Namespace("6ba7b810-9dad-11d1-80b4-00c04fd430c8") +
    +
    + +
    + url + → const Namespace + + +
    +
    + + + +
    + const Namespace("6ba7b811-9dad-11d1-80b4-00c04fd430c8") +
    +
    + +
    + oid + → const Namespace + + +
    +
    + + + +
    + const Namespace("6ba7b812-9dad-11d1-80b4-00c04fd430c8") +
    +
    + +
    + x500 + → const Namespace + + +
    +
    + + + +
    + const Namespace("6ba7b814-9dad-11d1-80b4-00c04fd430c8") +
    +
    + +
    + nil + → const Namespace + + +
    +
    + + + +
    + const Namespace("00000000-0000-0000-0000-000000000000") +
    +
    + +
    + max → const Namespace diff --git a/doc/v5/UuidV5/generate.html b/doc/v5/UuidV5/generate.html index 5a8f2b3..3c629ee 100644 --- a/doc/v5/UuidV5/generate.html +++ b/doc/v5/UuidV5/generate.html @@ -93,7 +93,7 @@

    Implementation

    // If useRandom is true, generate UUIDv4, else use NIL var blankNS = useRandom ? UuidV4(goptions: goptions).generate(options: options?.v4options) - : Namespace.NIL.value; + : Namespace.nil.value; // Use provided namespace, or use whatever is decided by options. namespace = (namespace != null) ? namespace : blankNS; diff --git a/doc/validation/UuidValidation/isValidUUID.html b/doc/validation/UuidValidation/isValidUUID.html index 2f4af3b..2061b13 100644 --- a/doc/validation/UuidValidation/isValidUUID.html +++ b/doc/validation/UuidValidation/isValidUUID.html @@ -94,7 +94,7 @@

    Implementation

    fromString = UuidParsing.unparse(fromByteList); } // UUID of all 0s is ok. - if (fromString == Namespace.NIL.value) { + if (fromString == Namespace.nil.value) { return true; }