0.0.16 • Published 8 months ago

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

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 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

8 months ago

0.0.15

9 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

12 months ago