@twin.org/auditable-item-graph-models 0.0.1-next.4 → 0.0.1-next.41

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 (60) hide show
  1. package/dist/cjs/index.cjs +344 -274
  2. package/dist/esm/index.mjs +343 -274
  3. package/dist/types/index.d.ts +5 -3
  4. package/dist/types/models/IAuditableItemGraphAlias.d.ts +21 -3
  5. package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +7 -7
  6. package/dist/types/models/IAuditableItemGraphChangeset.d.ts +27 -11
  7. package/dist/types/models/IAuditableItemGraphComponent.d.ts +59 -61
  8. package/dist/types/models/IAuditableItemGraphEdge.d.ts +22 -4
  9. package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +28 -2
  10. package/dist/types/models/IAuditableItemGraphResource.d.ts +16 -2
  11. package/dist/types/models/IAuditableItemGraphVertex.d.ts +28 -2
  12. package/dist/types/models/IAuditableItemGraphVertexList.d.ts +29 -0
  13. package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +9 -9
  14. package/dist/types/models/api/IAuditableItemGraphGetRequest.d.ts +2 -2
  15. package/dist/types/models/api/IAuditableItemGraphGetResponse.d.ts +2 -13
  16. package/dist/types/models/api/IAuditableItemGraphListRequest.d.ts +14 -5
  17. package/dist/types/models/api/IAuditableItemGraphListResponse.d.ts +2 -12
  18. package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +9 -9
  19. package/dist/types/models/auditableItemGraphContexts.d.ts +17 -0
  20. package/dist/types/models/auditableItemGraphTopics.d.ts +17 -0
  21. package/dist/types/models/auditableItemGraphTypes.d.ts +6 -22
  22. package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexCreated.d.ts +9 -0
  23. package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexUpdated.d.ts +14 -0
  24. package/docs/changelog.md +62 -1
  25. package/docs/reference/classes/AuditableItemGraphDataTypes.md +3 -3
  26. package/docs/reference/index.md +7 -5
  27. package/docs/reference/interfaces/IAuditableItemGraphAlias.md +34 -22
  28. package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +11 -11
  29. package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +34 -18
  30. package/docs/reference/interfaces/IAuditableItemGraphComponent.md +113 -57
  31. package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +5 -5
  32. package/docs/reference/interfaces/IAuditableItemGraphEdge.md +38 -26
  33. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +11 -0
  34. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +19 -0
  35. package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +2 -2
  36. package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +4 -4
  37. package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +17 -5
  38. package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +3 -3
  39. package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +46 -2
  40. package/docs/reference/interfaces/IAuditableItemGraphResource.md +32 -20
  41. package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +5 -5
  42. package/docs/reference/interfaces/IAuditableItemGraphVertex.md +50 -18
  43. package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +35 -0
  44. package/docs/reference/type-aliases/AuditableItemGraphContexts.md +5 -0
  45. package/docs/reference/type-aliases/AuditableItemGraphTopics.md +5 -0
  46. package/docs/reference/type-aliases/AuditableItemGraphTypes.md +1 -1
  47. package/docs/reference/type-aliases/VerifyDepth.md +1 -1
  48. package/docs/reference/variables/AuditableItemGraphContexts.md +19 -0
  49. package/docs/reference/variables/AuditableItemGraphTopics.md +19 -0
  50. package/docs/reference/variables/AuditableItemGraphTypes.md +6 -30
  51. package/package.json +6 -4
  52. package/dist/types/models/IAuditableItemGraphCredential.d.ts +0 -25
  53. package/dist/types/models/IAuditableItemGraphMetadataElement.d.ts +0 -10
  54. package/dist/types/models/IAuditableItemGraphVerification.d.ts +0 -15
  55. package/dist/types/models/auditableItemGraphVerificationState.d.ts +0 -37
  56. package/docs/reference/interfaces/IAuditableItemGraphCredential.md +0 -43
  57. package/docs/reference/interfaces/IAuditableItemGraphVerification.md +0 -23
  58. package/docs/reference/type-aliases/AuditableItemGraphVerificationState.md +0 -5
  59. package/docs/reference/type-aliases/JsonReturnType.md +0 -13
  60. package/docs/reference/variables/AuditableItemGraphVerificationState.md +0 -49
@@ -10,33 +10,49 @@ Interface describing an auditable item graph contract.
10
10
 
11
11
  ### create()
12
12
 
13
- > **create**(`metadata`?, `aliases`?, `resources`?, `edges`?, `userIdentity`?, `nodeIdentity`?): `Promise`\<`string`\>
13
+ > **create**(`vertex`, `userIdentity?`, `nodeIdentity?`): `Promise`\<`string`\>
14
14
 
15
15
  Create a new graph vertex.
16
16
 
17
17
  #### Parameters
18
18
 
19
- **metadata?**: `IJsonLdNodeObject`
19
+ ##### vertex
20
20
 
21
- The metadata for the vertex as JSON-LD.
21
+ The vertex to create.
22
22
 
23
- **aliases?**: `object`[]
23
+ ###### annotationObject?
24
+
25
+ `IJsonLdNodeObject`
26
+
27
+ The annotation object for the vertex as JSON-LD.
28
+
29
+ ###### aliases?
30
+
31
+ `object`[]
24
32
 
25
33
  Alternative aliases that can be used to identify the vertex.
26
34
 
27
- **resources?**: `object`[]
35
+ ###### resources?
36
+
37
+ `object`[]
28
38
 
29
39
  The resources attached to the vertex.
30
40
 
31
- **edges?**: `object`[]
41
+ ###### edges?
42
+
43
+ `object`[]
32
44
 
33
45
  The edges connected to the vertex.
34
46
 
35
- **userIdentity?**: `string`
47
+ ##### userIdentity?
48
+
49
+ `string`
36
50
 
37
51
  The identity to create the auditable item graph operation with.
38
52
 
39
- **nodeIdentity?**: `string`
53
+ ##### nodeIdentity?
54
+
55
+ `string`
40
56
 
41
57
  The node identity to use for vault operations.
42
58
 
@@ -50,37 +66,55 @@ The id of the new graph item.
50
66
 
51
67
  ### update()
52
68
 
53
- > **update**(`id`, `metadata`?, `aliases`?, `resources`?, `edges`?, `userIdentity`?, `nodeIdentity`?): `Promise`\<`void`\>
69
+ > **update**(`vertex`, `userIdentity?`, `nodeIdentity?`): `Promise`\<`void`\>
54
70
 
55
71
  Update a graph vertex.
56
72
 
57
73
  #### Parameters
58
74
 
59
- **id**: `string`
75
+ ##### vertex
76
+
77
+ The vertex to update.
78
+
79
+ ###### id
80
+
81
+ `string`
60
82
 
61
83
  The id of the vertex to update.
62
84
 
63
- **metadata?**: `IJsonLdNodeObject`
85
+ ###### annotationObject?
64
86
 
65
- The metadata for the vertex as JSON-LD.
87
+ `IJsonLdNodeObject`
66
88
 
67
- **aliases?**: `object`[]
89
+ The annotation object for the vertex as JSON-LD.
90
+
91
+ ###### aliases?
92
+
93
+ `object`[]
68
94
 
69
95
  Alternative aliases that can be used to identify the vertex.
70
96
 
71
- **resources?**: `object`[]
97
+ ###### resources?
98
+
99
+ `object`[]
72
100
 
73
101
  The resources attached to the vertex.
74
102
 
75
- **edges?**: `object`[]
103
+ ###### edges?
104
+
105
+ `object`[]
76
106
 
77
107
  The edges connected to the vertex.
78
108
 
79
- **userIdentity?**: `string`
109
+ ##### userIdentity?
110
+
111
+ `string`
80
112
 
81
113
  The identity to create the auditable item graph operation with.
82
114
 
83
- **nodeIdentity?**: `string`
115
+ ##### nodeIdentity?
116
+
117
+ `string`
84
118
 
85
119
  The node identity to use for vault operations.
86
120
 
@@ -94,43 +128,43 @@ Nothing.
94
128
 
95
129
  ### get()
96
130
 
97
- > **get**\<`T`\>(`id`, `options`?, `responseType`?): `Promise`\<[`JsonReturnType`](../type-aliases/JsonReturnType.md)\<`T`, [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md) & `object`, `IJsonLdDocument`\>\>
131
+ > **get**(`id`, `options?`): `Promise`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)\>
98
132
 
99
133
  Get a graph vertex.
100
134
 
101
- #### Type Parameters
102
-
103
- • **T** *extends* `"json"` \| `"jsonld"` = `"json"`
104
-
105
135
  #### Parameters
106
136
 
107
- **id**: `string`
137
+ ##### id
138
+
139
+ `string`
108
140
 
109
141
  The id of the vertex to get.
110
142
 
111
- **options?**
143
+ ##### options?
112
144
 
113
145
  Additional options for the get operation.
114
146
 
115
- **options.includeDeleted?**: `boolean`
147
+ ###### includeDeleted?
148
+
149
+ `boolean`
116
150
 
117
151
  Whether to include deleted aliases, resource, edges, defaults to false.
118
152
 
119
- **options.includeChangesets?**: `boolean`
153
+ ###### includeChangesets?
120
154
 
121
- Whether to include the changesets of the vertex, defaults to false.
155
+ `boolean`
122
156
 
123
- **options.verifySignatureDepth?**: [`VerifyDepth`](../type-aliases/VerifyDepth.md)
157
+ Whether to include the changesets of the vertex, defaults to false.
124
158
 
125
- How many signatures to verify, defaults to "none".
159
+ ###### verifySignatureDepth?
126
160
 
127
- • **responseType?**: `T`
161
+ [`VerifyDepth`](../type-aliases/VerifyDepth.md)
128
162
 
129
- The response type to return, defaults to application/json.
163
+ How many signatures to verify, defaults to "none".
130
164
 
131
165
  #### Returns
132
166
 
133
- `Promise`\<[`JsonReturnType`](../type-aliases/JsonReturnType.md)\<`T`, [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md) & `object`, `IJsonLdDocument`\>\>
167
+ `Promise`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)\>
134
168
 
135
169
  The vertex if found.
136
170
 
@@ -140,19 +174,23 @@ NotFoundError if the vertex is not found.
140
174
 
141
175
  ***
142
176
 
143
- ### removeImmutable()
177
+ ### removeVerifiable()
144
178
 
145
- > **removeImmutable**(`id`, `nodeIdentity`?): `Promise`\<`void`\>
179
+ > **removeVerifiable**(`id`, `nodeIdentity?`): `Promise`\<`void`\>
146
180
 
147
- Remove the immutable storage for an item.
181
+ Remove the verifiable storage for an item.
148
182
 
149
183
  #### Parameters
150
184
 
151
- **id**: `string`
185
+ ##### id
186
+
187
+ `string`
152
188
 
153
189
  The id of the vertex to remove the storage from.
154
190
 
155
- **nodeIdentity?**: `string`
191
+ ##### nodeIdentity?
192
+
193
+ `string`
156
194
 
157
195
  The node identity to use for vault operations.
158
196
 
@@ -170,54 +208,72 @@ NotFoundError if the vertex is not found.
170
208
 
171
209
  ### query()
172
210
 
173
- > **query**\<`T`\>(`options`?, `orderBy`?, `orderByDirection`?, `properties`?, `cursor`?, `pageSize`?, `responseType`?): `Promise`\<[`JsonReturnType`](../type-aliases/JsonReturnType.md)\<`T`, `object`, `IJsonLdDocument`\>\>
211
+ > **query**(`options?`, `conditions?`, `orderBy?`, `orderByDirection?`, `properties?`, `cursor?`, `pageSize?`): `Promise`\<[`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)\>
174
212
 
175
213
  Query the graph for vertices.
176
214
 
177
- #### Type Parameters
178
-
179
- • **T** *extends* `"json"` \| `"jsonld"` = `"json"`
180
-
181
215
  #### Parameters
182
216
 
183
- **options?**
217
+ ##### options?
184
218
 
185
219
  The query options.
186
220
 
187
- **options.id?**: `string`
221
+ ###### id?
222
+
223
+ `string`
188
224
 
189
225
  The optional id to look for.
190
226
 
191
- **options.idMode?**: `"both"` \| `"id"` \| `"alias"`
227
+ ###### idMode?
228
+
229
+ `"both"` \| `"id"` \| `"alias"`
192
230
 
193
231
  Look in id, alias or both, defaults to both.
194
232
 
195
- **orderBy?**: `"created"` \| `"updated"`
233
+ ###### resourceTypes?
234
+
235
+ `string`[]
236
+
237
+ Include vertices with specific resource types.
196
238
 
197
- The order for the results, defaults to created.
239
+ ##### conditions?
198
240
 
199
- • **orderByDirection?**: `SortDirection`
241
+ `IComparator`[]
242
+
243
+ Conditions to use in the query.
244
+
245
+ ##### orderBy?
246
+
247
+ The order for the results, defaults to dateCreated.
248
+
249
+ `"dateCreated"` | `"dateModified"`
250
+
251
+ ##### orderByDirection?
252
+
253
+ `SortDirection`
200
254
 
201
255
  The direction for the order, defaults to descending.
202
256
 
203
- **properties?**: keyof [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)[]
257
+ ##### properties?
204
258
 
205
- The properties to return, if not provided defaults to id, created, aliases and metadata.
259
+ keyof [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)[]
206
260
 
207
- **cursor?**: `string`
261
+ The properties to return, if not provided defaults to id, dateCreated, aliases and object.
208
262
 
209
- The cursor to request the next page of entities.
263
+ ##### cursor?
210
264
 
211
- • **pageSize?**: `number`
265
+ `string`
212
266
 
213
- The maximum number of entities in a page.
267
+ The cursor to request the next page of entities.
214
268
 
215
- **responseType?**: `T`
269
+ ##### pageSize?
216
270
 
217
- The response type to return, defaults to application/json.
271
+ `number`
272
+
273
+ The maximum number of entities in a page.
218
274
 
219
275
  #### Returns
220
276
 
221
- `Promise`\<[`JsonReturnType`](../type-aliases/JsonReturnType.md)\<`T`, `object`, `IJsonLdDocument`\>\>
277
+ `Promise`\<[`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)\>
222
278
 
223
279
  The entities, which can be partial if a limited keys list was provided.
@@ -4,17 +4,17 @@ Create an auditable item graph vertex.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### body?
7
+ ### body
8
8
 
9
- > `optional` **body**: `object`
9
+ > **body**: `object`
10
10
 
11
11
  The data to be used in the vertex.
12
12
 
13
- #### metadata?
13
+ #### annotationObject?
14
14
 
15
- > `optional` **metadata**: `IJsonLdNodeObject`
15
+ > `optional` **annotationObject**: `IJsonLdNodeObject`
16
16
 
17
- The metadata to be used in the vertex as JSON-LD.
17
+ The object to be used in the vertex as JSON-LD.
18
18
 
19
19
  #### aliases?
20
20
 
@@ -4,72 +4,84 @@ Interface describing an edge between two vertices in an auditable item graph.
4
4
 
5
5
  ## Extends
6
6
 
7
- - [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).`IAuditableItemGraphMetadataElement`
7
+ - [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md)
8
8
 
9
9
  ## Properties
10
10
 
11
- ### id
11
+ ### dateCreated?
12
12
 
13
- > **id**: `string`
13
+ > `optional` **dateCreated**: `string`
14
14
 
15
- The id of the element.
15
+ The date/time of when the element was created.
16
16
 
17
17
  #### Inherited from
18
18
 
19
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`id`](IAuditableItemGraphAuditedElement.md#id)
19
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
20
20
 
21
21
  ***
22
22
 
23
- ### created
23
+ ### dateModified?
24
24
 
25
- > **created**: `number`
25
+ > `optional` **dateModified**: `string`
26
26
 
27
- The timestamp of when the element was created.
27
+ The date/time of when the element was modified.
28
28
 
29
29
  #### Inherited from
30
30
 
31
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`created`](IAuditableItemGraphAuditedElement.md#created)
31
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
32
32
 
33
33
  ***
34
34
 
35
- ### updated?
35
+ ### dateDeleted?
36
36
 
37
- > `optional` **updated**: `number`
37
+ > `optional` **dateDeleted**: `string`
38
38
 
39
- The timestamp of when the element was updated.
39
+ The date/time of when the element was deleted, as we never actually remove items.
40
40
 
41
41
  #### Inherited from
42
42
 
43
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`updated`](IAuditableItemGraphAuditedElement.md#updated)
43
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
44
44
 
45
45
  ***
46
46
 
47
- ### deleted?
47
+ ### @context
48
48
 
49
- > `optional` **deleted**: `number`
49
+ > **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
50
50
 
51
- The timestamp of when the element was deleted, as we never actually remove items.
51
+ JSON-LD Context.
52
52
 
53
- #### Inherited from
53
+ ***
54
+
55
+ ### id
56
+
57
+ > **id**: `string`
58
+
59
+ The id of the element.
54
60
 
55
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`deleted`](IAuditableItemGraphAuditedElement.md#deleted)
61
+ #### Overrides
62
+
63
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`id`](IAuditableItemGraphAuditedElement.md#id)
56
64
 
57
65
  ***
58
66
 
59
- ### relationship
67
+ ### type
60
68
 
61
- > **relationship**: `string`
69
+ > **type**: `"AuditableItemGraphEdge"`
62
70
 
63
- The relationship between the two vertices.
71
+ JSON-LD Type.
64
72
 
65
73
  ***
66
74
 
67
- ### metadata?
75
+ ### annotationObject?
68
76
 
69
- > `optional` **metadata**: `IJsonLdNodeObject`
77
+ > `optional` **annotationObject**: `IJsonLdNodeObject`
70
78
 
71
- The metadata to associate with the element as JSON-LD.
79
+ The JSON-LD annotation object for the edge.
72
80
 
73
- #### Inherited from
81
+ ***
82
+
83
+ ### edgeRelationships
84
+
85
+ > **edgeRelationships**: `string`[]
74
86
 
75
- `IAuditableItemGraphMetadataElement.metadata`
87
+ The relationships between the two vertices.
@@ -0,0 +1,11 @@
1
+ # Interface: IAuditableItemGraphEventBusVertexCreated
2
+
3
+ Event bus payload for vertex created.
4
+
5
+ ## Properties
6
+
7
+ ### id
8
+
9
+ > **id**: `string`
10
+
11
+ The id of the vertex created.
@@ -0,0 +1,19 @@
1
+ # Interface: IAuditableItemGraphEventBusVertexUpdated
2
+
3
+ Event bus payload for vertex updated.
4
+
5
+ ## Properties
6
+
7
+ ### id
8
+
9
+ > **id**: `string`
10
+
11
+ The id of the vertex updated.
12
+
13
+ ***
14
+
15
+ ### patches
16
+
17
+ > **patches**: `IPatchOperation`[]
18
+
19
+ The patches in the changeset.
@@ -10,9 +10,9 @@ Get an auditable item graph vertex.
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
13
- #### Accept
13
+ #### accept
14
14
 
15
- > **Accept**: `"application/json"` \| `"application/ld+json"`
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
16
 
17
17
  ***
18
18
 
@@ -10,14 +10,14 @@ Response to getting an auditable item graph vertex.
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
13
- #### Content-Type
13
+ #### content-type
14
14
 
15
- > **Content-Type**: `"application/json"` \| `"application/ld+json"`
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
16
 
17
17
  ***
18
18
 
19
19
  ### body
20
20
 
21
- > **body**: `IJsonLdDocument` \| [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md) & `object`
21
+ > **body**: [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)
22
22
 
23
- The response body, if accept header is set to application/ld+json the return object is JSON-LD document.
23
+ The response body.
@@ -10,9 +10,9 @@ Get the a list of the vertices with matching ids or aliases.
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
13
- #### Accept
13
+ #### accept
14
14
 
15
- > **Accept**: `"application/json"` \| `"application/ld+json"`
15
+ > **accept**: `"application/json"` \| `"application/ld+json"`
16
16
 
17
17
  ***
18
18
 
@@ -34,11 +34,23 @@ The id or alias to try and find.
34
34
 
35
35
  Which field to look in with the id, defaults to both.
36
36
 
37
+ #### resourceTypes?
38
+
39
+ > `optional` **resourceTypes**: `string`
40
+
41
+ Include vertices with specific resource types, comma separated.
42
+
43
+ #### conditions?
44
+
45
+ > `optional` **conditions**: `string`
46
+
47
+ The conditions to filter the streams, JSON stringified IComparator[].
48
+
37
49
  #### orderBy?
38
50
 
39
- > `optional` **orderBy**: `"created"` \| `"updated"`
51
+ > `optional` **orderBy**: `"dateCreated"` \| `"dateModified"`
40
52
 
41
- The order for the results, default to created.
53
+ The order for the results, default to dateCreated.
42
54
 
43
55
  #### orderByDirection?
44
56
 
@@ -50,7 +62,7 @@ The direction for the order, defaults to desc.
50
62
 
51
63
  > `optional` **properties**: `string`
52
64
 
53
- The properties to return as a comma separated list, defaults to "id,created,aliases,metadata".
65
+ The properties to return as a comma separated list, defaults to "id,dateCreated,aliases,annotationObject".
54
66
 
55
67
  #### cursor?
56
68
 
@@ -10,14 +10,14 @@ The response to getting the a list of the vertices with matching ids or aliases.
10
10
 
11
11
  The headers which can be used to determine the response data type.
12
12
 
13
- #### Content-Type
13
+ #### content-type
14
14
 
15
- > **Content-Type**: `"application/json"` \| `"application/ld+json"`
15
+ > **content-type**: `"application/json"` \| `"application/ld+json"`
16
16
 
17
17
  ***
18
18
 
19
19
  ### body
20
20
 
21
- > **body**: `IJsonLdDocument` \| `object`
21
+ > **body**: [`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)
22
22
 
23
23
  The response payload.
@@ -2,6 +2,50 @@
2
2
 
3
3
  The patch operation for JSON diffs.
4
4
 
5
- ## Extends
5
+ ## Properties
6
6
 
7
- - `IPatchOperation`
7
+ ### @context
8
+
9
+ > **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
10
+
11
+ JSON-LD Context.
12
+
13
+ ***
14
+
15
+ ### type
16
+
17
+ > **type**: `"AuditableItemGraphPatchOperation"`
18
+
19
+ JSON-LD Type.
20
+
21
+ ***
22
+
23
+ ### patchOperation
24
+
25
+ > **patchOperation**: `"replace"` \| `"add"` \| `"remove"` \| `"copy"` \| `"move"` \| `"test"`
26
+
27
+ The operation that was performed on the item.
28
+
29
+ ***
30
+
31
+ ### patchPath
32
+
33
+ > **patchPath**: `string`
34
+
35
+ The path to the object that was changed.
36
+
37
+ ***
38
+
39
+ ### patchFrom?
40
+
41
+ > `optional` **patchFrom**: `string`
42
+
43
+ The path the value was copied or moved from.
44
+
45
+ ***
46
+
47
+ ### patchValue?
48
+
49
+ > `optional` **patchValue**: `unknown`
50
+
51
+ The value to add.