@twin.org/auditable-item-graph-service 0.9.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,101 @@
1
+ # Class: AuditableItemGraphVertexV0
2
+
3
+ Class describing the auditable item graph vertex, version 0.
4
+
5
+ ## Constructors
6
+
7
+ ### Constructor
8
+
9
+ > **new AuditableItemGraphVertexV0**(): `AuditableItemGraphVertexV0`
10
+
11
+ #### Returns
12
+
13
+ `AuditableItemGraphVertexV0`
14
+
15
+ ## Properties
16
+
17
+ ### id {#id}
18
+
19
+ > **id**: `string`
20
+
21
+ The id of the vertex.
22
+
23
+ ***
24
+
25
+ ### organizationIdentity {#organizationidentity}
26
+
27
+ > **organizationIdentity**: `string`
28
+
29
+ The identity of the organization which controls the vertex.
30
+
31
+ ***
32
+
33
+ ### dateCreated {#datecreated}
34
+
35
+ > **dateCreated**: `string`
36
+
37
+ The date/time of when the vertex was created.
38
+
39
+ ***
40
+
41
+ ### dateModified? {#datemodified}
42
+
43
+ > `optional` **dateModified?**: `string`
44
+
45
+ The date/time of when the vertex was last modified.
46
+
47
+ ***
48
+
49
+ ### aliasIndex? {#aliasindex}
50
+
51
+ > `optional` **aliasIndex?**: `string`
52
+
53
+ Combined alias index for the vertex used for querying.
54
+
55
+ ***
56
+
57
+ ### resourceTypeIndex? {#resourcetypeindex}
58
+
59
+ > `optional` **resourceTypeIndex?**: `string`
60
+
61
+ Combined resource type index for the vertex used for querying.
62
+
63
+ ***
64
+
65
+ ### annotationObject? {#annotationobject}
66
+
67
+ > `optional` **annotationObject?**: `IJsonLdNodeObject`
68
+
69
+ Object to associate with the vertex as JSON-LD.
70
+
71
+ ***
72
+
73
+ ### aliases? {#aliases}
74
+
75
+ > `optional` **aliases?**: [`AuditableItemGraphAlias`](AuditableItemGraphAlias.md)[]
76
+
77
+ Alternative aliases that can be used to identify the vertex.
78
+
79
+ ***
80
+
81
+ ### resources? {#resources}
82
+
83
+ > `optional` **resources?**: [`AuditableItemGraphResource`](AuditableItemGraphResource.md)[]
84
+
85
+ The resources attached to the vertex.
86
+
87
+ ***
88
+
89
+ ### edges? {#edges}
90
+
91
+ > `optional` **edges?**: [`AuditableItemGraphEdge`](AuditableItemGraphEdge.md)[]
92
+
93
+ Edges connected to the vertex.
94
+
95
+ ***
96
+
97
+ ### version? {#version}
98
+
99
+ > `optional` **version?**: `number`
100
+
101
+ The current version of the vertex, incremented on each changeset.
@@ -9,6 +9,7 @@
9
9
  - [AuditableItemGraphPatch](classes/AuditableItemGraphPatch.md)
10
10
  - [AuditableItemGraphResource](classes/AuditableItemGraphResource.md)
11
11
  - [AuditableItemGraphVertex](classes/AuditableItemGraphVertex.md)
12
+ - [AuditableItemGraphVertexV0](classes/AuditableItemGraphVertexV0.md)
12
13
 
13
14
  ## Interfaces
14
15
 
package/locales/en.json CHANGED
@@ -15,7 +15,8 @@
15
15
  "resourceIdMissing": "You must provide either the id, or the resourceObject must contain an id property for index \"{index}\"",
16
16
  "aliasNotUnique": "The alias id \"{aliasId}\" is already in use on another vertex and the unique flag was set",
17
17
  "invalidEdgeId": "The edge id \"{edgeId}\" is not valid",
18
- "listPatchInvalidFormat": "The property \"{property}\" must be a list patch object with add and/or remove, not a bare array"
18
+ "listPatchInvalidFormat": "The property \"{property}\" must be a list patch object with add and/or remove, not a bare array",
19
+ "auditModeTransitionNotAllowed": "The vertex audit mode can not be changed from \"{currentMode}\" to \"{requestedMode}\", bypass is a terminal mode"
19
20
  },
20
21
  "validation": {
21
22
  "auditableItemGraphService": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-service",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "Implements graph lifecycle operations and audited change tracking with API route definitions.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,21 +14,21 @@
14
14
  "node": ">=24.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/api-models": "^0.9.2",
18
- "@twin.org/auditable-item-graph-models": "^0.9.2",
19
- "@twin.org/context": "^0.9.2",
20
- "@twin.org/core": "^0.9.2",
21
- "@twin.org/data-core": "^0.9.2",
22
- "@twin.org/data-json-ld": "^0.9.2",
23
- "@twin.org/entity": "^0.9.2",
24
- "@twin.org/entity-storage-models": "^0.9.2",
25
- "@twin.org/event-bus-models": "^0.9.2",
26
- "@twin.org/immutable-proof-models": "^0.9.2",
27
- "@twin.org/nameof": "^0.9.2",
28
- "@twin.org/standards-schema-org": "^0.9.2",
29
- "@twin.org/standards-w3c-did": "^0.9.2",
30
- "@twin.org/telemetry-models": "^0.9.2",
31
- "@twin.org/web": "^0.9.2"
17
+ "@twin.org/api-models": "^0.10.0",
18
+ "@twin.org/auditable-item-graph-models": "^0.10.0",
19
+ "@twin.org/context": "^0.10.0",
20
+ "@twin.org/core": "^0.10.0",
21
+ "@twin.org/data-core": "^0.10.0",
22
+ "@twin.org/data-json-ld": "^0.10.0",
23
+ "@twin.org/entity": "^0.10.0",
24
+ "@twin.org/entity-storage-models": "^0.10.0",
25
+ "@twin.org/event-bus-models": "^0.10.0",
26
+ "@twin.org/immutable-proof-models": "^0.10.0",
27
+ "@twin.org/nameof": "^0.10.0",
28
+ "@twin.org/standards-schema-org": "^0.10.0",
29
+ "@twin.org/standards-w3c-did": "^0.10.0",
30
+ "@twin.org/telemetry-models": "^0.10.0",
31
+ "@twin.org/web": "^0.10.0"
32
32
  },
33
33
  "main": "./dist/es/index.js",
34
34
  "types": "./dist/types/index.d.ts",