@blockchaincommons/provenance-mark - v1.0.0-beta.3
    Preparing search index...

    Class ProvenanceMarkInfo

    A mark with its UR and identifiers rendered once, plus a comment, for display. Frozen.

    Index
    • get bytewords(): string

      The 🅟-prefixed bytewords identifier.

      Returns string

    • get bytemoji(): string

      The 🅟-prefixed bytemoji identifier.

      Returns string

    • get comment(): string

      The comment, possibly empty.

      Returns string

    • A Markdown block: rule, date, the UR and bytewords as headings, the bytemoji, the comment.

      Returns string

    • ur, bytewords, bytemoji[, comment], mark, as the reference serialises.

      Returns Record<string, unknown>

    • The JSON shape, read strictly: ur, bytewords and bytemoji required strings, comment optional, the mark taken from the UR. Any fault is Json.

      Parameters

      • json: unknown

      Returns ProvenanceMarkInfo