@twin.org/auditable-item-graph-models 0.0.1-next.4 → 0.0.1-next.40
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.
- package/dist/cjs/index.cjs +344 -274
- package/dist/esm/index.mjs +343 -274
- package/dist/types/index.d.ts +5 -3
- package/dist/types/models/IAuditableItemGraphAlias.d.ts +21 -3
- package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +7 -7
- package/dist/types/models/IAuditableItemGraphChangeset.d.ts +27 -11
- package/dist/types/models/IAuditableItemGraphComponent.d.ts +59 -61
- package/dist/types/models/IAuditableItemGraphEdge.d.ts +22 -4
- package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +28 -2
- package/dist/types/models/IAuditableItemGraphResource.d.ts +16 -2
- package/dist/types/models/IAuditableItemGraphVertex.d.ts +28 -2
- package/dist/types/models/IAuditableItemGraphVertexList.d.ts +29 -0
- package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +9 -9
- package/dist/types/models/api/IAuditableItemGraphGetRequest.d.ts +2 -2
- package/dist/types/models/api/IAuditableItemGraphGetResponse.d.ts +2 -13
- package/dist/types/models/api/IAuditableItemGraphListRequest.d.ts +14 -5
- package/dist/types/models/api/IAuditableItemGraphListResponse.d.ts +2 -12
- package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +9 -9
- package/dist/types/models/auditableItemGraphContexts.d.ts +17 -0
- package/dist/types/models/auditableItemGraphTopics.d.ts +17 -0
- package/dist/types/models/auditableItemGraphTypes.d.ts +6 -22
- package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexCreated.d.ts +9 -0
- package/dist/types/models/eventBus/IAuditableItemGraphEventBusVertexUpdated.d.ts +14 -0
- package/docs/changelog.md +55 -1
- package/docs/reference/classes/AuditableItemGraphDataTypes.md +3 -3
- package/docs/reference/index.md +7 -5
- package/docs/reference/interfaces/IAuditableItemGraphAlias.md +34 -22
- package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +11 -11
- package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +34 -18
- package/docs/reference/interfaces/IAuditableItemGraphComponent.md +113 -57
- package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +5 -5
- package/docs/reference/interfaces/IAuditableItemGraphEdge.md +38 -26
- package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +11 -0
- package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +19 -0
- package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +2 -2
- package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +4 -4
- package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +17 -5
- package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +3 -3
- package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +46 -2
- package/docs/reference/interfaces/IAuditableItemGraphResource.md +32 -20
- package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +5 -5
- package/docs/reference/interfaces/IAuditableItemGraphVertex.md +50 -18
- package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +35 -0
- package/docs/reference/type-aliases/AuditableItemGraphContexts.md +5 -0
- package/docs/reference/type-aliases/AuditableItemGraphTopics.md +5 -0
- package/docs/reference/type-aliases/AuditableItemGraphTypes.md +1 -1
- package/docs/reference/type-aliases/VerifyDepth.md +1 -1
- package/docs/reference/variables/AuditableItemGraphContexts.md +19 -0
- package/docs/reference/variables/AuditableItemGraphTopics.md +19 -0
- package/docs/reference/variables/AuditableItemGraphTypes.md +6 -30
- package/package.json +6 -4
- package/dist/types/models/IAuditableItemGraphCredential.d.ts +0 -25
- package/dist/types/models/IAuditableItemGraphMetadataElement.d.ts +0 -10
- package/dist/types/models/IAuditableItemGraphVerification.d.ts +0 -15
- package/dist/types/models/auditableItemGraphVerificationState.d.ts +0 -37
- package/docs/reference/interfaces/IAuditableItemGraphCredential.md +0 -43
- package/docs/reference/interfaces/IAuditableItemGraphVerification.md +0 -23
- package/docs/reference/type-aliases/AuditableItemGraphVerificationState.md +0 -5
- package/docs/reference/type-aliases/JsonReturnType.md +0 -13
- 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**(`
|
|
13
|
+
> **create**(`vertex`, `userIdentity?`, `nodeIdentity?`): `Promise`\<`string`\>
|
|
14
14
|
|
|
15
15
|
Create a new graph vertex.
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
##### vertex
|
|
20
20
|
|
|
21
|
-
The
|
|
21
|
+
The vertex to create.
|
|
22
22
|
|
|
23
|
-
|
|
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
|
-
|
|
35
|
+
###### resources?
|
|
36
|
+
|
|
37
|
+
`object`[]
|
|
28
38
|
|
|
29
39
|
The resources attached to the vertex.
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
###### edges?
|
|
42
|
+
|
|
43
|
+
`object`[]
|
|
32
44
|
|
|
33
45
|
The edges connected to the vertex.
|
|
34
46
|
|
|
35
|
-
|
|
47
|
+
##### userIdentity?
|
|
48
|
+
|
|
49
|
+
`string`
|
|
36
50
|
|
|
37
51
|
The identity to create the auditable item graph operation with.
|
|
38
52
|
|
|
39
|
-
|
|
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**(`
|
|
69
|
+
> **update**(`vertex`, `userIdentity?`, `nodeIdentity?`): `Promise`\<`void`\>
|
|
54
70
|
|
|
55
71
|
Update a graph vertex.
|
|
56
72
|
|
|
57
73
|
#### Parameters
|
|
58
74
|
|
|
59
|
-
|
|
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
|
-
|
|
85
|
+
###### annotationObject?
|
|
64
86
|
|
|
65
|
-
|
|
87
|
+
`IJsonLdNodeObject`
|
|
66
88
|
|
|
67
|
-
|
|
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
|
-
|
|
97
|
+
###### resources?
|
|
98
|
+
|
|
99
|
+
`object`[]
|
|
72
100
|
|
|
73
101
|
The resources attached to the vertex.
|
|
74
102
|
|
|
75
|
-
|
|
103
|
+
###### edges?
|
|
104
|
+
|
|
105
|
+
`object`[]
|
|
76
106
|
|
|
77
107
|
The edges connected to the vertex.
|
|
78
108
|
|
|
79
|
-
|
|
109
|
+
##### userIdentity?
|
|
110
|
+
|
|
111
|
+
`string`
|
|
80
112
|
|
|
81
113
|
The identity to create the auditable item graph operation with.
|
|
82
114
|
|
|
83
|
-
|
|
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
|
|
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
|
-
|
|
137
|
+
##### id
|
|
138
|
+
|
|
139
|
+
`string`
|
|
108
140
|
|
|
109
141
|
The id of the vertex to get.
|
|
110
142
|
|
|
111
|
-
|
|
143
|
+
##### options?
|
|
112
144
|
|
|
113
145
|
Additional options for the get operation.
|
|
114
146
|
|
|
115
|
-
|
|
147
|
+
###### includeDeleted?
|
|
148
|
+
|
|
149
|
+
`boolean`
|
|
116
150
|
|
|
117
151
|
Whether to include deleted aliases, resource, edges, defaults to false.
|
|
118
152
|
|
|
119
|
-
|
|
153
|
+
###### includeChangesets?
|
|
120
154
|
|
|
121
|
-
|
|
155
|
+
`boolean`
|
|
122
156
|
|
|
123
|
-
|
|
157
|
+
Whether to include the changesets of the vertex, defaults to false.
|
|
124
158
|
|
|
125
|
-
|
|
159
|
+
###### verifySignatureDepth?
|
|
126
160
|
|
|
127
|
-
|
|
161
|
+
[`VerifyDepth`](../type-aliases/VerifyDepth.md)
|
|
128
162
|
|
|
129
|
-
|
|
163
|
+
How many signatures to verify, defaults to "none".
|
|
130
164
|
|
|
131
165
|
#### Returns
|
|
132
166
|
|
|
133
|
-
`Promise`\<[`
|
|
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
|
-
###
|
|
177
|
+
### removeVerifiable()
|
|
144
178
|
|
|
145
|
-
> **
|
|
179
|
+
> **removeVerifiable**(`id`, `nodeIdentity?`): `Promise`\<`void`\>
|
|
146
180
|
|
|
147
|
-
Remove the
|
|
181
|
+
Remove the verifiable storage for an item.
|
|
148
182
|
|
|
149
183
|
#### Parameters
|
|
150
184
|
|
|
151
|
-
|
|
185
|
+
##### id
|
|
186
|
+
|
|
187
|
+
`string`
|
|
152
188
|
|
|
153
189
|
The id of the vertex to remove the storage from.
|
|
154
190
|
|
|
155
|
-
|
|
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
|
|
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
|
-
|
|
217
|
+
##### options?
|
|
184
218
|
|
|
185
219
|
The query options.
|
|
186
220
|
|
|
187
|
-
|
|
221
|
+
###### id?
|
|
222
|
+
|
|
223
|
+
`string`
|
|
188
224
|
|
|
189
225
|
The optional id to look for.
|
|
190
226
|
|
|
191
|
-
|
|
227
|
+
###### idMode?
|
|
228
|
+
|
|
229
|
+
`"both"` \| `"id"` \| `"alias"`
|
|
192
230
|
|
|
193
231
|
Look in id, alias or both, defaults to both.
|
|
194
232
|
|
|
195
|
-
|
|
233
|
+
###### resourceTypes?
|
|
234
|
+
|
|
235
|
+
`string`[]
|
|
236
|
+
|
|
237
|
+
Include vertices with specific resource types.
|
|
196
238
|
|
|
197
|
-
|
|
239
|
+
##### conditions?
|
|
198
240
|
|
|
199
|
-
|
|
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
|
-
|
|
257
|
+
##### properties?
|
|
204
258
|
|
|
205
|
-
|
|
259
|
+
keyof [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)[]
|
|
206
260
|
|
|
207
|
-
|
|
261
|
+
The properties to return, if not provided defaults to id, dateCreated, aliases and object.
|
|
208
262
|
|
|
209
|
-
|
|
263
|
+
##### cursor?
|
|
210
264
|
|
|
211
|
-
|
|
265
|
+
`string`
|
|
212
266
|
|
|
213
|
-
The
|
|
267
|
+
The cursor to request the next page of entities.
|
|
214
268
|
|
|
215
|
-
|
|
269
|
+
##### pageSize?
|
|
216
270
|
|
|
217
|
-
|
|
271
|
+
`number`
|
|
272
|
+
|
|
273
|
+
The maximum number of entities in a page.
|
|
218
274
|
|
|
219
275
|
#### Returns
|
|
220
276
|
|
|
221
|
-
`Promise`\<[`
|
|
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
|
-
>
|
|
9
|
+
> **body**: `object`
|
|
10
10
|
|
|
11
11
|
The data to be used in the vertex.
|
|
12
12
|
|
|
13
|
-
####
|
|
13
|
+
#### annotationObject?
|
|
14
14
|
|
|
15
|
-
> `optional` **
|
|
15
|
+
> `optional` **annotationObject**: `IJsonLdNodeObject`
|
|
16
16
|
|
|
17
|
-
The
|
|
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)
|
|
7
|
+
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md)
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### dateCreated?
|
|
12
12
|
|
|
13
|
-
> **
|
|
13
|
+
> `optional` **dateCreated**: `string`
|
|
14
14
|
|
|
15
|
-
The
|
|
15
|
+
The date/time of when the element was created.
|
|
16
16
|
|
|
17
17
|
#### Inherited from
|
|
18
18
|
|
|
19
|
-
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`
|
|
19
|
+
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### dateModified?
|
|
24
24
|
|
|
25
|
-
> **
|
|
25
|
+
> `optional` **dateModified**: `string`
|
|
26
26
|
|
|
27
|
-
The
|
|
27
|
+
The date/time of when the element was modified.
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`
|
|
31
|
+
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### dateDeleted?
|
|
36
36
|
|
|
37
|
-
> `optional` **
|
|
37
|
+
> `optional` **dateDeleted**: `string`
|
|
38
38
|
|
|
39
|
-
The
|
|
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).[`
|
|
43
|
+
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
###
|
|
47
|
+
### @context
|
|
48
48
|
|
|
49
|
-
> `
|
|
49
|
+
> **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
JSON-LD Context.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### id
|
|
56
|
+
|
|
57
|
+
> **id**: `string`
|
|
58
|
+
|
|
59
|
+
The id of the element.
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
#### Overrides
|
|
62
|
+
|
|
63
|
+
[`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`id`](IAuditableItemGraphAuditedElement.md#id)
|
|
56
64
|
|
|
57
65
|
***
|
|
58
66
|
|
|
59
|
-
###
|
|
67
|
+
### type
|
|
60
68
|
|
|
61
|
-
> **
|
|
69
|
+
> **type**: `"AuditableItemGraphEdge"`
|
|
62
70
|
|
|
63
|
-
|
|
71
|
+
JSON-LD Type.
|
|
64
72
|
|
|
65
73
|
***
|
|
66
74
|
|
|
67
|
-
###
|
|
75
|
+
### annotationObject?
|
|
68
76
|
|
|
69
|
-
> `optional` **
|
|
77
|
+
> `optional` **annotationObject**: `IJsonLdNodeObject`
|
|
70
78
|
|
|
71
|
-
The
|
|
79
|
+
The JSON-LD annotation object for the edge.
|
|
72
80
|
|
|
73
|
-
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### edgeRelationships
|
|
84
|
+
|
|
85
|
+
> **edgeRelationships**: `string`[]
|
|
74
86
|
|
|
75
|
-
|
|
87
|
+
The relationships between the two vertices.
|
|
@@ -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
|
-
####
|
|
13
|
+
#### accept
|
|
14
14
|
|
|
15
|
-
> **
|
|
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
|
-
####
|
|
13
|
+
#### content-type
|
|
14
14
|
|
|
15
|
-
> **
|
|
15
|
+
> **content-type**: `"application/json"` \| `"application/ld+json"`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### body
|
|
20
20
|
|
|
21
|
-
> **body**:
|
|
21
|
+
> **body**: [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)
|
|
22
22
|
|
|
23
|
-
The response body
|
|
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
|
-
####
|
|
13
|
+
#### accept
|
|
14
14
|
|
|
15
|
-
> **
|
|
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**: `"
|
|
51
|
+
> `optional` **orderBy**: `"dateCreated"` \| `"dateModified"`
|
|
40
52
|
|
|
41
|
-
The order for the results, default to
|
|
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,
|
|
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
|
-
####
|
|
13
|
+
#### content-type
|
|
14
14
|
|
|
15
|
-
> **
|
|
15
|
+
> **content-type**: `"application/json"` \| `"application/ld+json"`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### body
|
|
20
20
|
|
|
21
|
-
> **body**: `
|
|
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
|
-
##
|
|
5
|
+
## Properties
|
|
6
6
|
|
|
7
|
-
|
|
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.
|