@twin.org/auditable-item-graph-models 0.0.3-next.2 → 0.0.3-next.21

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.
Files changed (135) hide show
  1. package/README.md +3 -1
  2. package/dist/es/dataTypes/auditableItemGraphDataTypes.js +47 -43
  3. package/dist/es/dataTypes/auditableItemGraphDataTypes.js.map +1 -1
  4. package/dist/es/index.js +15 -0
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/es/models/IAuditableItemGraphAlias.js.map +1 -1
  7. package/dist/es/models/IAuditableItemGraphAuditedElement.js.map +1 -1
  8. package/dist/es/models/IAuditableItemGraphChangeset.js.map +1 -1
  9. package/dist/es/models/IAuditableItemGraphChangesetList.js +2 -0
  10. package/dist/es/models/IAuditableItemGraphChangesetList.js.map +1 -0
  11. package/dist/es/models/IAuditableItemGraphComponent.js.map +1 -1
  12. package/dist/es/models/IAuditableItemGraphEdge.js.map +1 -1
  13. package/dist/es/models/IAuditableItemGraphListPatch.js +2 -0
  14. package/dist/es/models/IAuditableItemGraphListPatch.js.map +1 -0
  15. package/dist/es/models/IAuditableItemGraphPartialVertex.js +2 -0
  16. package/dist/es/models/IAuditableItemGraphPartialVertex.js.map +1 -0
  17. package/dist/es/models/IAuditableItemGraphPatchOperation.js.map +1 -1
  18. package/dist/es/models/IAuditableItemGraphResource.js.map +1 -1
  19. package/dist/es/models/IAuditableItemGraphVertex.js.map +1 -1
  20. package/dist/es/models/IAuditableItemGraphVertexList.js.map +1 -1
  21. package/dist/es/models/IAuditableItemGraphVertexVersionList.js +2 -0
  22. package/dist/es/models/IAuditableItemGraphVertexVersionList.js.map +1 -0
  23. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js +2 -0
  24. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js.map +1 -0
  25. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js +2 -0
  26. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js.map +1 -0
  27. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js +2 -0
  28. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js.map +1 -0
  29. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js +2 -0
  30. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js.map +1 -0
  31. package/dist/es/models/api/IAuditableItemGraphCreateRequest.js.map +1 -1
  32. package/dist/es/models/api/IAuditableItemGraphGetRequest.js.map +1 -1
  33. package/dist/es/models/api/IAuditableItemGraphListResponse.js.map +1 -1
  34. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js +2 -0
  35. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js.map +1 -0
  36. package/dist/es/models/api/IAuditableItemGraphUpdateRequest.js.map +1 -1
  37. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js +2 -0
  38. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js.map +1 -0
  39. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js +2 -0
  40. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js.map +1 -0
  41. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js +2 -0
  42. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js.map +1 -0
  43. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js +2 -0
  44. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js.map +1 -0
  45. package/dist/es/models/auditableItemGraphContexts.js +19 -3
  46. package/dist/es/models/auditableItemGraphContexts.js.map +1 -1
  47. package/dist/es/models/auditableItemGraphMetricIds.js +69 -0
  48. package/dist/es/models/auditableItemGraphMetricIds.js.map +1 -0
  49. package/dist/es/models/auditableItemGraphMetrics.js +82 -0
  50. package/dist/es/models/auditableItemGraphMetrics.js.map +1 -0
  51. package/dist/es/models/auditableItemGraphTypes.js +18 -2
  52. package/dist/es/models/auditableItemGraphTypes.js.map +1 -1
  53. package/dist/es/schemas/AuditableItemGraphAlias.json +16 -23
  54. package/dist/es/schemas/AuditableItemGraphAuditedElement.json +25 -0
  55. package/dist/es/schemas/AuditableItemGraphChangeset.json +9 -9
  56. package/dist/es/schemas/AuditableItemGraphEdge.json +12 -23
  57. package/dist/es/schemas/AuditableItemGraphListPatch.json +33 -0
  58. package/dist/es/schemas/AuditableItemGraphPartialVertex.json +110 -0
  59. package/dist/es/schemas/AuditableItemGraphPatchOperation.json +23 -16
  60. package/dist/es/schemas/AuditableItemGraphResource.json +8 -23
  61. package/dist/es/schemas/AuditableItemGraphVertex.json +33 -30
  62. package/dist/es/schemas/AuditableItemGraphVertexList.json +16 -23
  63. package/dist/types/index.d.ts +15 -0
  64. package/dist/types/models/IAuditableItemGraphAlias.d.ts +8 -1
  65. package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +3 -0
  66. package/dist/types/models/IAuditableItemGraphChangeset.d.ts +14 -3
  67. package/dist/types/models/IAuditableItemGraphChangesetList.d.ts +27 -0
  68. package/dist/types/models/IAuditableItemGraphComponent.d.ts +72 -46
  69. package/dist/types/models/IAuditableItemGraphEdge.d.ts +4 -1
  70. package/dist/types/models/IAuditableItemGraphListPatch.d.ts +18 -0
  71. package/dist/types/models/IAuditableItemGraphPartialVertex.d.ts +45 -0
  72. package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +5 -1
  73. package/dist/types/models/IAuditableItemGraphResource.d.ts +2 -1
  74. package/dist/types/models/IAuditableItemGraphVertex.d.ts +14 -7
  75. package/dist/types/models/IAuditableItemGraphVertexList.d.ts +3 -6
  76. package/dist/types/models/IAuditableItemGraphVertexVersionList.d.ts +29 -0
  77. package/dist/types/models/api/IAuditableItemGraphChangesetGetRequest.d.ts +35 -0
  78. package/dist/types/models/api/IAuditableItemGraphChangesetGetResponse.d.ts +17 -0
  79. package/dist/types/models/api/IAuditableItemGraphChangesetListRequest.d.ts +39 -0
  80. package/dist/types/models/api/IAuditableItemGraphChangesetListResponse.d.ts +18 -0
  81. package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +2 -31
  82. package/dist/types/models/api/IAuditableItemGraphGetRequest.d.ts +0 -4
  83. package/dist/types/models/api/IAuditableItemGraphListResponse.d.ts +1 -0
  84. package/dist/types/models/api/IAuditableItemGraphUpdatePartialRequest.d.ts +20 -0
  85. package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +4 -34
  86. package/dist/types/models/api/IAuditableItemGraphVersionGetRequest.d.ts +25 -0
  87. package/dist/types/models/api/IAuditableItemGraphVersionGetResponse.d.ts +17 -0
  88. package/dist/types/models/api/IAuditableItemGraphVersionListRequest.d.ts +34 -0
  89. package/dist/types/models/api/IAuditableItemGraphVersionListResponse.d.ts +17 -0
  90. package/dist/types/models/auditableItemGraphContexts.d.ts +18 -2
  91. package/dist/types/models/auditableItemGraphMetricIds.d.ts +69 -0
  92. package/dist/types/models/auditableItemGraphMetrics.d.ts +5 -0
  93. package/dist/types/models/auditableItemGraphTypes.d.ts +17 -1
  94. package/docs/changelog.md +231 -69
  95. package/docs/examples.md +22 -1
  96. package/docs/reference/classes/AuditableItemGraphDataTypes.md +1 -1
  97. package/docs/reference/index.md +16 -0
  98. package/docs/reference/interfaces/IAuditableItemGraphAlias.md +22 -14
  99. package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +8 -8
  100. package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +21 -12
  101. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetRequest.md +49 -0
  102. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetResponse.md +23 -0
  103. package/docs/reference/interfaces/IAuditableItemGraphChangesetList.md +27 -0
  104. package/docs/reference/interfaces/IAuditableItemGraphChangesetListRequest.md +55 -0
  105. package/docs/reference/interfaces/IAuditableItemGraphChangesetListResponse.md +27 -0
  106. package/docs/reference/interfaces/IAuditableItemGraphComponent.md +185 -57
  107. package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +2 -26
  108. package/docs/reference/interfaces/IAuditableItemGraphEdge.md +15 -15
  109. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +1 -1
  110. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +2 -2
  111. package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +7 -13
  112. package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +3 -3
  113. package/docs/reference/interfaces/IAuditableItemGraphListPatch.md +25 -0
  114. package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +14 -14
  115. package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +7 -3
  116. package/docs/reference/interfaces/IAuditableItemGraphPartialVertex.md +149 -0
  117. package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +9 -9
  118. package/docs/reference/interfaces/IAuditableItemGraphResource.md +13 -13
  119. package/docs/reference/interfaces/IAuditableItemGraphUpdatePartialRequest.md +26 -0
  120. package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +5 -29
  121. package/docs/reference/interfaces/IAuditableItemGraphVersionGetRequest.md +35 -0
  122. package/docs/reference/interfaces/IAuditableItemGraphVersionGetResponse.md +23 -0
  123. package/docs/reference/interfaces/IAuditableItemGraphVersionListRequest.md +49 -0
  124. package/docs/reference/interfaces/IAuditableItemGraphVersionListResponse.md +23 -0
  125. package/docs/reference/interfaces/IAuditableItemGraphVertex.md +26 -25
  126. package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +3 -11
  127. package/docs/reference/interfaces/IAuditableItemGraphVertexVersionList.md +35 -0
  128. package/docs/reference/type-aliases/AuditableItemGraphMetricIds.md +5 -0
  129. package/docs/reference/variables/AuditableItemGraphContexts.md +28 -4
  130. package/docs/reference/variables/AuditableItemGraphMetricIds.md +97 -0
  131. package/docs/reference/variables/AuditableItemGraphMetrics.md +5 -0
  132. package/docs/reference/variables/AuditableItemGraphTopics.md +2 -2
  133. package/docs/reference/variables/AuditableItemGraphTypes.md +32 -8
  134. package/docs/reference/variables/VerifyDepth.md +3 -3
  135. package/package.json +5 -4
@@ -4,9 +4,9 @@ Get the a list of the vertices with matching ids or aliases.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### headers?
7
+ ### headers? {#headers}
8
8
 
9
- > `optional` **headers**: `object`
9
+ > `optional` **headers?**: `object`
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
@@ -16,68 +16,68 @@ The headers which can be used to determine the response data type.
16
16
 
17
17
  ***
18
18
 
19
- ### query?
19
+ ### query? {#query}
20
20
 
21
- > `optional` **query**: `object`
21
+ > `optional` **query?**: `object`
22
22
 
23
23
  The query parameters.
24
24
 
25
25
  #### id?
26
26
 
27
- > `optional` **id**: `string`
27
+ > `optional` **id?**: `string`
28
28
 
29
29
  The id or alias to try and find.
30
30
 
31
31
  #### idMode?
32
32
 
33
- > `optional` **idMode**: `"id"` \| `"alias"` \| `"both"`
33
+ > `optional` **idMode?**: `"id"` \| `"alias"` \| `"both"`
34
34
 
35
35
  Which field to look in with the id, defaults to both.
36
36
 
37
37
  #### idExact?
38
38
 
39
- > `optional` **idExact**: `string`
39
+ > `optional` **idExact?**: `string`
40
40
 
41
41
  Find only exact matches, default to false meaning partial matching.
42
42
 
43
43
  #### resourceTypes?
44
44
 
45
- > `optional` **resourceTypes**: `string`
45
+ > `optional` **resourceTypes?**: `string`
46
46
 
47
47
  Include vertices with specific resource types, comma separated.
48
48
 
49
49
  #### conditions?
50
50
 
51
- > `optional` **conditions**: `string`
51
+ > `optional` **conditions?**: `string`
52
52
 
53
53
  The conditions to filter the streams, JSON stringified IComparator[].
54
54
 
55
55
  #### orderBy?
56
56
 
57
- > `optional` **orderBy**: `"dateCreated"` \| `"dateModified"`
57
+ > `optional` **orderBy?**: `"dateCreated"` \| `"dateModified"`
58
58
 
59
59
  The order for the results, default to dateCreated.
60
60
 
61
61
  #### orderByDirection?
62
62
 
63
- > `optional` **orderByDirection**: `SortDirection`
63
+ > `optional` **orderByDirection?**: `SortDirection`
64
64
 
65
65
  The direction for the order, defaults to desc.
66
66
 
67
67
  #### properties?
68
68
 
69
- > `optional` **properties**: `string`
69
+ > `optional` **properties?**: `string`
70
70
 
71
71
  The properties to return as a comma separated list, defaults to "id,dateCreated,aliases,annotationObject".
72
72
 
73
73
  #### cursor?
74
74
 
75
- > `optional` **cursor**: `string`
75
+ > `optional` **cursor?**: `string`
76
76
 
77
77
  The optional cursor to get next chunk.
78
78
 
79
79
  #### limit?
80
80
 
81
- > `optional` **limit**: `string`
81
+ > `optional` **limit?**: `string`
82
82
 
83
83
  Limit the number of entities to return.
@@ -4,9 +4,9 @@ The response to getting the a list of the vertices with matching ids or aliases.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### headers?
7
+ ### headers? {#headers}
8
8
 
9
- > `optional` **headers**: `object`
9
+ > `optional` **headers?**: `object`
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
@@ -14,9 +14,13 @@ The headers which can be used to determine the response data type.
14
14
 
15
15
  > **content-type**: `"application/json"` \| `"application/ld+json"`
16
16
 
17
+ #### link?
18
+
19
+ > `optional` **link?**: `string` \| `string`[]
20
+
17
21
  ***
18
22
 
19
- ### body
23
+ ### body {#body}
20
24
 
21
25
  > **body**: [`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)
22
26
 
@@ -0,0 +1,149 @@
1
+ # Interface: IAuditableItemGraphPartialVertex
2
+
3
+ Partial vertex payload for updatePartial (PATCH — requires id).
4
+ Sub-lists use explicit `{ add, remove }` patches; bare arrays are not supported.
5
+
6
+ ## Extends
7
+
8
+ - `Omit`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md), `"type"` \| `"aliases"` \| `"edges"` \| `"resources"`\>
9
+
10
+ ## Properties
11
+
12
+ ### dateCreated? {#datecreated}
13
+
14
+ > `optional` **dateCreated?**: `string`
15
+
16
+ The date/time of when the element was created.
17
+
18
+ #### Inherited from
19
+
20
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
21
+
22
+ ***
23
+
24
+ ### dateModified? {#datemodified}
25
+
26
+ > `optional` **dateModified?**: `string`
27
+
28
+ The date/time of when the element was modified.
29
+
30
+ #### Inherited from
31
+
32
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
33
+
34
+ ***
35
+
36
+ ### dateDeleted? {#datedeleted}
37
+
38
+ > `optional` **dateDeleted?**: `string`
39
+
40
+ The date/time of when the element was deleted, as we never actually remove items.
41
+
42
+ #### Inherited from
43
+
44
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
45
+
46
+ ***
47
+
48
+ ### id {#id}
49
+
50
+ > **id**: `string`
51
+
52
+ The id of the vertex to update.
53
+
54
+ #### Overrides
55
+
56
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`id`](IAuditableItemGraphVertex.md#id)
57
+
58
+ ***
59
+
60
+ ### @context {#context}
61
+
62
+ > **@context**: \[`"https://schema.twindev.org/aig/"`, `"https://schema.twindev.org/common/"`, `...IJsonLdContextDefinitionElement[]`\]
63
+
64
+ JSON-LD Context.
65
+
66
+ #### Overrides
67
+
68
+ `Omit.@context`
69
+
70
+ ***
71
+
72
+ ### type? {#type}
73
+
74
+ > `optional` **type?**: `"AuditableItemGraphVertex"`
75
+
76
+ JSON-LD Type.
77
+
78
+ ***
79
+
80
+ ### aliasPatches? {#aliaspatches}
81
+
82
+ > `optional` **aliasPatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphAlias`](IAuditableItemGraphAlias.md)\>
83
+
84
+ Patch operations for aliases.
85
+
86
+ ***
87
+
88
+ ### resourcePatches? {#resourcepatches}
89
+
90
+ > `optional` **resourcePatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphResource`](IAuditableItemGraphResource.md)\>
91
+
92
+ Patch operations for resources.
93
+
94
+ ***
95
+
96
+ ### edgePatches? {#edgepatches}
97
+
98
+ > `optional` **edgePatches?**: [`IAuditableItemGraphListPatch`](IAuditableItemGraphListPatch.md)\<[`IAuditableItemGraphEdge`](IAuditableItemGraphEdge.md)\>
99
+
100
+ Patch operations for edges.
101
+
102
+ ***
103
+
104
+ ### organizationIdentity? {#organizationidentity}
105
+
106
+ > `optional` **organizationIdentity?**: `string`
107
+
108
+ The identity of the organization which controls the vertex.
109
+
110
+ #### Inherited from
111
+
112
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`organizationIdentity`](IAuditableItemGraphVertex.md#organizationidentity)
113
+
114
+ ***
115
+
116
+ ### annotationObject? {#annotationobject}
117
+
118
+ > `optional` **annotationObject?**: `IJsonLdNodeObject`
119
+
120
+ The JSON-LD annotation object for the vertex.
121
+
122
+ #### Inherited from
123
+
124
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`annotationObject`](IAuditableItemGraphVertex.md#annotationobject)
125
+
126
+ ***
127
+
128
+ ### verified? {#verified}
129
+
130
+ > `optional` **verified?**: `boolean`
131
+
132
+ Is the vertex verified, will only be populated when verification is requested.
133
+
134
+ #### Inherited from
135
+
136
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`verified`](IAuditableItemGraphVertex.md#verified)
137
+
138
+ ***
139
+
140
+ ### version? {#version}
141
+
142
+ > `optional` **version?**: `number`
143
+
144
+ The version of the vertex, populated only when getting a specific version.
145
+ Maps to https://schema.org/version.
146
+
147
+ #### Inherited from
148
+
149
+ [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md).[`version`](IAuditableItemGraphVertex.md#version)
@@ -4,15 +4,15 @@ The patch operation for JSON diffs.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### @context
7
+ ### @context? {#context}
8
8
 
9
- > **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
9
+ > `optional` **@context?**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
13
13
  ***
14
14
 
15
- ### type
15
+ ### type {#type}
16
16
 
17
17
  > **type**: `"AuditableItemGraphPatchOperation"`
18
18
 
@@ -20,7 +20,7 @@ JSON-LD Type.
20
20
 
21
21
  ***
22
22
 
23
- ### patchOperation
23
+ ### patchOperation {#patchoperation}
24
24
 
25
25
  > **patchOperation**: `"add"` \| `"remove"` \| `"replace"` \| `"move"` \| `"copy"` \| `"test"`
26
26
 
@@ -28,7 +28,7 @@ The operation that was performed on the item.
28
28
 
29
29
  ***
30
30
 
31
- ### patchPath
31
+ ### patchPath {#patchpath}
32
32
 
33
33
  > **patchPath**: `string`
34
34
 
@@ -36,16 +36,16 @@ The path to the object that was changed.
36
36
 
37
37
  ***
38
38
 
39
- ### patchFrom?
39
+ ### patchFrom? {#patchfrom}
40
40
 
41
- > `optional` **patchFrom**: `string`
41
+ > `optional` **patchFrom?**: `string`
42
42
 
43
43
  The path the value was copied or moved from.
44
44
 
45
45
  ***
46
46
 
47
- ### patchValue?
47
+ ### patchValue? {#patchvalue}
48
48
 
49
- > `optional` **patchValue**: `unknown`
49
+ > `optional` **patchValue?**: `unknown`
50
50
 
51
51
  The value to add.
@@ -8,9 +8,9 @@ Interface describing an auditable item graph vertex resource.
8
8
 
9
9
  ## Properties
10
10
 
11
- ### id?
11
+ ### id? {#id}
12
12
 
13
- > `optional` **id**: `string`
13
+ > `optional` **id?**: `string`
14
14
 
15
15
  The id of the element.
16
16
 
@@ -20,9 +20,9 @@ The id of the element.
20
20
 
21
21
  ***
22
22
 
23
- ### dateCreated?
23
+ ### dateCreated? {#datecreated}
24
24
 
25
- > `optional` **dateCreated**: `string`
25
+ > `optional` **dateCreated?**: `string`
26
26
 
27
27
  The date/time of when the element was created.
28
28
 
@@ -32,9 +32,9 @@ The date/time of when the element was created.
32
32
 
33
33
  ***
34
34
 
35
- ### dateModified?
35
+ ### dateModified? {#datemodified}
36
36
 
37
- > `optional` **dateModified**: `string`
37
+ > `optional` **dateModified?**: `string`
38
38
 
39
39
  The date/time of when the element was modified.
40
40
 
@@ -44,9 +44,9 @@ The date/time of when the element was modified.
44
44
 
45
45
  ***
46
46
 
47
- ### dateDeleted?
47
+ ### dateDeleted? {#datedeleted}
48
48
 
49
- > `optional` **dateDeleted**: `string`
49
+ > `optional` **dateDeleted?**: `string`
50
50
 
51
51
  The date/time of when the element was deleted, as we never actually remove items.
52
52
 
@@ -56,15 +56,15 @@ The date/time of when the element was deleted, as we never actually remove items
56
56
 
57
57
  ***
58
58
 
59
- ### @context
59
+ ### @context? {#context}
60
60
 
61
- > **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
61
+ > `optional` **@context?**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
62
62
 
63
63
  JSON-LD Context.
64
64
 
65
65
  ***
66
66
 
67
- ### type
67
+ ### type {#type}
68
68
 
69
69
  > **type**: `"AuditableItemGraphResource"`
70
70
 
@@ -72,8 +72,8 @@ JSON-LD Type.
72
72
 
73
73
  ***
74
74
 
75
- ### resourceObject?
75
+ ### resourceObject? {#resourceobject}
76
76
 
77
- > `optional` **resourceObject**: `IJsonLdNodeObject`
77
+ > `optional` **resourceObject?**: `IJsonLdNodeObject`
78
78
 
79
79
  The JSON-LD object for the resource.
@@ -0,0 +1,26 @@
1
+ # Interface: IAuditableItemGraphUpdatePartialRequest
2
+
3
+ Partially update an auditable item graph vertex (PATCH — explicit list patches).
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The path parameters.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the vertex to update.
18
+
19
+ ***
20
+
21
+ ### body {#body}
22
+
23
+ > **body**: `Omit`\<[`IAuditableItemGraphPartialVertex`](IAuditableItemGraphPartialVertex.md), `"id"`\>
24
+
25
+ Partial vertex data; only defined properties are applied.
26
+ Sub-lists use `{ add, remove }` patch objects.
@@ -1,10 +1,10 @@
1
1
  # Interface: IAuditableItemGraphUpdateRequest
2
2
 
3
- Update an auditable item graph vertex.
3
+ Update an auditable item graph vertex (PUT — full replacement of vertex state).
4
4
 
5
5
  ## Properties
6
6
 
7
- ### pathParams
7
+ ### pathParams {#pathparams}
8
8
 
9
9
  > **pathParams**: `object`
10
10
 
@@ -18,32 +18,8 @@ The id of the vertex to update.
18
18
 
19
19
  ***
20
20
 
21
- ### body
21
+ ### body {#body}
22
22
 
23
- > **body**: `object`
23
+ > **body**: `Omit`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md), `"id"`\>
24
24
 
25
- The data to be used in the vertex.
26
-
27
- #### annotationObject?
28
-
29
- > `optional` **annotationObject**: `IJsonLdNodeObject`
30
-
31
- The object to be used in the vertex as JSON-LD.
32
-
33
- #### aliases?
34
-
35
- > `optional` **aliases**: `object`[]
36
-
37
- Alternative aliases that can be used to identify the vertex.
38
-
39
- #### resources?
40
-
41
- > `optional` **resources**: `object`[]
42
-
43
- The resources attached to the vertex.
44
-
45
- #### edges?
46
-
47
- > `optional` **edges**: `object`[]
48
-
49
- The edges connected to the vertex.
25
+ The full vertex payload. Replaces annotation and active sub-lists; omitted collections are cleared.
@@ -0,0 +1,35 @@
1
+ # Interface: IAuditableItemGraphVersionGetRequest
2
+
3
+ Get an auditable item graph vertex at a specific version.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the vertex.
30
+
31
+ #### version
32
+
33
+ > **version**: `string`
34
+
35
+ The version number to get.
@@ -0,0 +1,23 @@
1
+ # Interface: IAuditableItemGraphVersionGetResponse
2
+
3
+ Response to getting an auditable item graph vertex at a specific version.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)
22
+
23
+ The response body.
@@ -0,0 +1,49 @@
1
+ # Interface: IAuditableItemGraphVersionListRequest
2
+
3
+ Get all versions of an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers which can be used to determine the response data type.
12
+
13
+ #### accept
14
+
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The parameters from the path.
24
+
25
+ #### id
26
+
27
+ > **id**: `string`
28
+
29
+ The id of the vertex.
30
+
31
+ ***
32
+
33
+ ### query? {#query}
34
+
35
+ > `optional` **query?**: `object`
36
+
37
+ The query parameters.
38
+
39
+ #### after?
40
+
41
+ > `optional` **after?**: `string`
42
+
43
+ Only return versions created after this ISO 8601 timestamp (exclusive).
44
+
45
+ #### before?
46
+
47
+ > `optional` **before?**: `string`
48
+
49
+ Only return versions created before this ISO 8601 timestamp (exclusive).
@@ -0,0 +1,23 @@
1
+ # Interface: IAuditableItemGraphVersionListResponse
2
+
3
+ Response to getting all versions of an auditable item graph vertex.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The headers.
12
+
13
+ #### content-type
14
+
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: [`IAuditableItemGraphVertexVersionList`](IAuditableItemGraphVertexVersionList.md)
22
+
23
+ The response body.