0.0.16 • Published 6 months ago

@gtsc/building-block-auditable-item-graph v0.0.16

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

building-block-auditable-item-graph

Store items and their associated data, and provide an immutable audit trail for the item. Includes relationships between the items to form a graph.

Features

  • Create/update/retrieve data for an item
    • Properties
    • Primary Identifier
    • Secondary Identifiers (alternative IDs that can be used to find the item e.g. associated document IDs)
    • Relationships to other items (parent/child/inherits)
    • Resources associated with the item(documents, data feeds)
  • Store the hash of the item data in immutable storage
  • Complete immutable audit trail of all the changes to the item
  • Search for the item by its primary or secondary identifiers

Extensions

  • Blobs - create/update binary items resources (e.g. documents)
  • JSON-LD - readable version of the item for interoperability

Use Cases

  • Store the data for a consignment with associated documents
  • Store the data for an item, related to a parent consignment and inheriting a product type

Building

This library was generated with Nx.

Run nx build building-block-auditable-item-graph to build the library.

Running unit tests

Run nx test building-block-auditable-item-graph to execute the unit tests via Jest.

0.0.16

6 months ago

0.0.15

7 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

10 months ago

0.0.1

10 months ago