@twin.org/auditable-item-graph-models 0.0.3-next.11 → 0.0.3-next.13
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/README.md +3 -1
- package/dist/es/dataTypes/auditableItemGraphDataTypes.js +37 -43
- package/dist/es/dataTypes/auditableItemGraphDataTypes.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphAlias.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphAuditedElement.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphChangeset.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphChangesetList.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphComponent.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphEdge.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphPatchOperation.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphResource.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphVertex.js.map +1 -1
- package/dist/es/models/IAuditableItemGraphVertexList.js.map +1 -1
- package/dist/es/models/api/IAuditableItemGraphCreateRequest.js.map +1 -1
- package/dist/es/models/api/IAuditableItemGraphUpdateRequest.js.map +1 -1
- package/dist/es/schemas/AuditableItemGraphAlias.json +18 -24
- package/dist/es/schemas/AuditableItemGraphAuditedElement.json +25 -0
- package/dist/es/schemas/AuditableItemGraphChangeset.json +9 -11
- package/dist/es/schemas/AuditableItemGraphEdge.json +15 -25
- package/dist/es/schemas/AuditableItemGraphPatchOperation.json +26 -17
- package/dist/es/schemas/AuditableItemGraphResource.json +9 -23
- package/dist/es/schemas/AuditableItemGraphVertex.json +35 -28
- package/dist/es/schemas/AuditableItemGraphVertexList.json +16 -18
- package/dist/types/models/IAuditableItemGraphAlias.d.ts +8 -3
- package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +3 -3
- package/dist/types/models/IAuditableItemGraphChangeset.d.ts +5 -5
- package/dist/types/models/IAuditableItemGraphChangesetList.d.ts +1 -1
- package/dist/types/models/IAuditableItemGraphComponent.d.ts +2 -39
- package/dist/types/models/IAuditableItemGraphEdge.d.ts +4 -4
- package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +4 -4
- package/dist/types/models/IAuditableItemGraphResource.d.ts +2 -2
- package/dist/types/models/IAuditableItemGraphVertex.d.ts +6 -6
- package/dist/types/models/IAuditableItemGraphVertexList.d.ts +1 -1
- package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +2 -31
- package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +2 -32
- package/docs/changelog.md +122 -108
- package/docs/examples.md +22 -1
- package/docs/reference/classes/AuditableItemGraphDataTypes.md +1 -1
- package/docs/reference/interfaces/IAuditableItemGraphAlias.md +22 -19
- package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +8 -11
- package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +12 -17
- package/docs/reference/interfaces/IAuditableItemGraphChangesetGetRequest.md +6 -6
- package/docs/reference/interfaces/IAuditableItemGraphChangesetGetResponse.md +3 -3
- package/docs/reference/interfaces/IAuditableItemGraphChangesetList.md +3 -4
- package/docs/reference/interfaces/IAuditableItemGraphChangesetListRequest.md +8 -8
- package/docs/reference/interfaces/IAuditableItemGraphChangesetListResponse.md +4 -4
- package/docs/reference/interfaces/IAuditableItemGraphComponent.md +13 -63
- package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +2 -26
- package/docs/reference/interfaces/IAuditableItemGraphEdge.md +15 -21
- package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +1 -1
- package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +2 -2
- package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +7 -7
- package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +3 -3
- package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +14 -14
- package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +4 -4
- package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +9 -13
- package/docs/reference/interfaces/IAuditableItemGraphResource.md +13 -17
- package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +3 -27
- package/docs/reference/interfaces/IAuditableItemGraphVertex.md +21 -30
- package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +3 -4
- package/docs/reference/variables/AuditableItemGraphContexts.md +6 -6
- package/docs/reference/variables/AuditableItemGraphTopics.md +2 -2
- package/docs/reference/variables/AuditableItemGraphTypes.md +8 -8
- package/docs/reference/variables/VerifyDepth.md +3 -3
- package/package.json +4 -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
|
|
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
|
|
21
|
+
> `optional` **query?**: `object`
|
|
22
22
|
|
|
23
23
|
The query parameters.
|
|
24
24
|
|
|
25
25
|
#### id?
|
|
26
26
|
|
|
27
|
-
> `optional` **id
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
10
|
|
|
11
11
|
The headers which can be used to determine the response data type.
|
|
12
12
|
|
|
@@ -16,11 +16,11 @@ The headers which can be used to determine the response data type.
|
|
|
16
16
|
|
|
17
17
|
#### link?
|
|
18
18
|
|
|
19
|
-
> `optional` **link
|
|
19
|
+
> `optional` **link?**: `string` \| `string`[]
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### body
|
|
23
|
+
### body {#body}
|
|
24
24
|
|
|
25
25
|
> **body**: [`IAuditableItemGraphVertexList`](IAuditableItemGraphVertexList.md)
|
|
26
26
|
|
|
@@ -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
|
-
> `optional` **@context
|
|
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,36 +20,32 @@ 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
|
|
|
27
27
|
The operation that was performed on the item.
|
|
28
|
-
json-ld type:sch:Text
|
|
29
28
|
|
|
30
29
|
***
|
|
31
30
|
|
|
32
|
-
### patchPath
|
|
31
|
+
### patchPath {#patchpath}
|
|
33
32
|
|
|
34
33
|
> **patchPath**: `string`
|
|
35
34
|
|
|
36
35
|
The path to the object that was changed.
|
|
37
|
-
json-ld type:sch:Text
|
|
38
36
|
|
|
39
37
|
***
|
|
40
38
|
|
|
41
|
-
### patchFrom?
|
|
39
|
+
### patchFrom? {#patchfrom}
|
|
42
40
|
|
|
43
|
-
> `optional` **patchFrom
|
|
41
|
+
> `optional` **patchFrom?**: `string`
|
|
44
42
|
|
|
45
43
|
The path the value was copied or moved from.
|
|
46
|
-
json-ld type:sch:Text
|
|
47
44
|
|
|
48
45
|
***
|
|
49
46
|
|
|
50
|
-
### patchValue?
|
|
47
|
+
### patchValue? {#patchvalue}
|
|
51
48
|
|
|
52
|
-
> `optional` **patchValue
|
|
49
|
+
> `optional` **patchValue?**: `unknown`
|
|
53
50
|
|
|
54
51
|
The value to add.
|
|
55
|
-
json-ld type:json
|
|
@@ -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
|
|
13
|
+
> `optional` **id?**: `string`
|
|
14
14
|
|
|
15
15
|
The id of the element.
|
|
16
16
|
|
|
@@ -20,12 +20,11 @@ The id of the element.
|
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### dateCreated?
|
|
23
|
+
### dateCreated? {#datecreated}
|
|
24
24
|
|
|
25
|
-
> `optional` **dateCreated
|
|
25
|
+
> `optional` **dateCreated?**: `string`
|
|
26
26
|
|
|
27
27
|
The date/time of when the element was created.
|
|
28
|
-
json-ld namespace:sch
|
|
29
28
|
|
|
30
29
|
#### Inherited from
|
|
31
30
|
|
|
@@ -33,12 +32,11 @@ json-ld namespace:sch
|
|
|
33
32
|
|
|
34
33
|
***
|
|
35
34
|
|
|
36
|
-
### dateModified?
|
|
35
|
+
### dateModified? {#datemodified}
|
|
37
36
|
|
|
38
|
-
> `optional` **dateModified
|
|
37
|
+
> `optional` **dateModified?**: `string`
|
|
39
38
|
|
|
40
39
|
The date/time of when the element was modified.
|
|
41
|
-
json-ld namespace:sch
|
|
42
40
|
|
|
43
41
|
#### Inherited from
|
|
44
42
|
|
|
@@ -46,12 +44,11 @@ json-ld namespace:sch
|
|
|
46
44
|
|
|
47
45
|
***
|
|
48
46
|
|
|
49
|
-
### dateDeleted?
|
|
47
|
+
### dateDeleted? {#datedeleted}
|
|
50
48
|
|
|
51
|
-
> `optional` **dateDeleted
|
|
49
|
+
> `optional` **dateDeleted?**: `string`
|
|
52
50
|
|
|
53
51
|
The date/time of when the element was deleted, as we never actually remove items.
|
|
54
|
-
json-ld namespace:sch
|
|
55
52
|
|
|
56
53
|
#### Inherited from
|
|
57
54
|
|
|
@@ -59,15 +56,15 @@ json-ld namespace:sch
|
|
|
59
56
|
|
|
60
57
|
***
|
|
61
58
|
|
|
62
|
-
### @context
|
|
59
|
+
### @context? {#context}
|
|
63
60
|
|
|
64
|
-
> **@context
|
|
61
|
+
> `optional` **@context?**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
65
62
|
|
|
66
63
|
JSON-LD Context.
|
|
67
64
|
|
|
68
65
|
***
|
|
69
66
|
|
|
70
|
-
### type
|
|
67
|
+
### type {#type}
|
|
71
68
|
|
|
72
69
|
> **type**: `"AuditableItemGraphResource"`
|
|
73
70
|
|
|
@@ -75,9 +72,8 @@ JSON-LD Type.
|
|
|
75
72
|
|
|
76
73
|
***
|
|
77
74
|
|
|
78
|
-
### resourceObject?
|
|
75
|
+
### resourceObject? {#resourceobject}
|
|
79
76
|
|
|
80
|
-
> `optional` **resourceObject
|
|
77
|
+
> `optional` **resourceObject?**: `IJsonLdNodeObject`
|
|
81
78
|
|
|
82
79
|
The JSON-LD object for the resource.
|
|
83
|
-
json-ld type:json
|
|
@@ -4,7 +4,7 @@ Update an auditable item graph vertex.
|
|
|
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**: `
|
|
23
|
+
> **body**: `Omit`\<[`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md), `"id"`\>
|
|
24
24
|
|
|
25
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.
|
|
@@ -8,12 +8,11 @@ Interface describing an auditable item graph vertex.
|
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
### dateCreated?
|
|
11
|
+
### dateCreated? {#datecreated}
|
|
12
12
|
|
|
13
|
-
> `optional` **dateCreated
|
|
13
|
+
> `optional` **dateCreated?**: `string`
|
|
14
14
|
|
|
15
15
|
The date/time of when the element was created.
|
|
16
|
-
json-ld namespace:sch
|
|
17
16
|
|
|
18
17
|
#### Inherited from
|
|
19
18
|
|
|
@@ -21,12 +20,11 @@ json-ld namespace:sch
|
|
|
21
20
|
|
|
22
21
|
***
|
|
23
22
|
|
|
24
|
-
### dateModified?
|
|
23
|
+
### dateModified? {#datemodified}
|
|
25
24
|
|
|
26
|
-
> `optional` **dateModified
|
|
25
|
+
> `optional` **dateModified?**: `string`
|
|
27
26
|
|
|
28
27
|
The date/time of when the element was modified.
|
|
29
|
-
json-ld namespace:sch
|
|
30
28
|
|
|
31
29
|
#### Inherited from
|
|
32
30
|
|
|
@@ -34,12 +32,11 @@ json-ld namespace:sch
|
|
|
34
32
|
|
|
35
33
|
***
|
|
36
34
|
|
|
37
|
-
### dateDeleted?
|
|
35
|
+
### dateDeleted? {#datedeleted}
|
|
38
36
|
|
|
39
|
-
> `optional` **dateDeleted
|
|
37
|
+
> `optional` **dateDeleted?**: `string`
|
|
40
38
|
|
|
41
39
|
The date/time of when the element was deleted, as we never actually remove items.
|
|
42
|
-
json-ld namespace:sch
|
|
43
40
|
|
|
44
41
|
#### Inherited from
|
|
45
42
|
|
|
@@ -47,7 +44,7 @@ json-ld namespace:sch
|
|
|
47
44
|
|
|
48
45
|
***
|
|
49
46
|
|
|
50
|
-
### @context
|
|
47
|
+
### @context {#context}
|
|
51
48
|
|
|
52
49
|
> **@context**: \[`"https://schema.twindev.org/aig/"`, `"https://schema.twindev.org/common/"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
53
50
|
|
|
@@ -55,7 +52,7 @@ JSON-LD Context.
|
|
|
55
52
|
|
|
56
53
|
***
|
|
57
54
|
|
|
58
|
-
### id
|
|
55
|
+
### id {#id}
|
|
59
56
|
|
|
60
57
|
> **id**: `string`
|
|
61
58
|
|
|
@@ -67,7 +64,7 @@ The id of the element.
|
|
|
67
64
|
|
|
68
65
|
***
|
|
69
66
|
|
|
70
|
-
### type
|
|
67
|
+
### type {#type}
|
|
71
68
|
|
|
72
69
|
> **type**: `"AuditableItemGraphVertex"`
|
|
73
70
|
|
|
@@ -75,54 +72,48 @@ JSON-LD Type.
|
|
|
75
72
|
|
|
76
73
|
***
|
|
77
74
|
|
|
78
|
-
### organizationIdentity?
|
|
75
|
+
### organizationIdentity? {#organizationidentity}
|
|
79
76
|
|
|
80
|
-
> `optional` **organizationIdentity
|
|
77
|
+
> `optional` **organizationIdentity?**: `string`
|
|
81
78
|
|
|
82
79
|
The identity of the organization which controls the vertex.
|
|
83
|
-
json-ld namespace:twin-common
|
|
84
80
|
|
|
85
81
|
***
|
|
86
82
|
|
|
87
|
-
### annotationObject?
|
|
83
|
+
### annotationObject? {#annotationobject}
|
|
88
84
|
|
|
89
|
-
> `optional` **annotationObject
|
|
85
|
+
> `optional` **annotationObject?**: `IJsonLdNodeObject`
|
|
90
86
|
|
|
91
87
|
The JSON-LD annotation object for the vertex.
|
|
92
|
-
json-ld namespace:twin-common
|
|
93
88
|
|
|
94
89
|
***
|
|
95
90
|
|
|
96
|
-
### aliases?
|
|
91
|
+
### aliases? {#aliases}
|
|
97
92
|
|
|
98
|
-
> `optional` **aliases
|
|
93
|
+
> `optional` **aliases?**: [`IAuditableItemGraphAlias`](IAuditableItemGraphAlias.md)[]
|
|
99
94
|
|
|
100
95
|
Alternative aliases that can be used to identify the vertex.
|
|
101
|
-
json-ld container:set
|
|
102
96
|
|
|
103
97
|
***
|
|
104
98
|
|
|
105
|
-
### resources?
|
|
99
|
+
### resources? {#resources}
|
|
106
100
|
|
|
107
|
-
> `optional` **resources
|
|
101
|
+
> `optional` **resources?**: [`IAuditableItemGraphResource`](IAuditableItemGraphResource.md)[]
|
|
108
102
|
|
|
109
103
|
The resources attached to the vertex.
|
|
110
|
-
json-ld container:set
|
|
111
104
|
|
|
112
105
|
***
|
|
113
106
|
|
|
114
|
-
### edges?
|
|
107
|
+
### edges? {#edges}
|
|
115
108
|
|
|
116
|
-
> `optional` **edges
|
|
109
|
+
> `optional` **edges?**: [`IAuditableItemGraphEdge`](IAuditableItemGraphEdge.md)[]
|
|
117
110
|
|
|
118
111
|
Edges connected to the vertex.
|
|
119
|
-
json-ld container:set
|
|
120
112
|
|
|
121
113
|
***
|
|
122
114
|
|
|
123
|
-
### verified?
|
|
115
|
+
### verified? {#verified}
|
|
124
116
|
|
|
125
|
-
> `optional` **verified
|
|
117
|
+
> `optional` **verified?**: `boolean`
|
|
126
118
|
|
|
127
119
|
Is the vertex verified, will only be populated when verification is requested.
|
|
128
|
-
json-ld namespace:twin-common
|
|
@@ -4,7 +4,7 @@ Interface describing an auditable item graph vertex list.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### @context
|
|
7
|
+
### @context {#context}
|
|
8
8
|
|
|
9
9
|
> **@context**: \[`"https://schema.org"`, `"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ JSON-LD Context.
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### type
|
|
15
|
+
### type {#type}
|
|
16
16
|
|
|
17
17
|
> **type**: \[`"ItemList"`, `"AuditableItemGraphVertexList"`\]
|
|
18
18
|
|
|
@@ -20,9 +20,8 @@ JSON-LD Type.
|
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### itemListElement
|
|
23
|
+
### itemListElement {#itemlistelement}
|
|
24
24
|
|
|
25
25
|
> **itemListElement**: [`IAuditableItemGraphVertex`](IAuditableItemGraphVertex.md)[]
|
|
26
26
|
|
|
27
27
|
The list of vertices.
|
|
28
|
-
json-ld namespace:sch
|
|
@@ -6,37 +6,37 @@ The contexts of auditable item graph data.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### Namespace
|
|
9
|
+
### Namespace {#namespace}
|
|
10
10
|
|
|
11
11
|
> `readonly` **Namespace**: `"https://schema.twindev.org/aig/"` = `"https://schema.twindev.org/aig/"`
|
|
12
12
|
|
|
13
13
|
The canonical RDF namespace URI for Auditable Item Graph.
|
|
14
14
|
|
|
15
|
-
### Context
|
|
15
|
+
### Context {#context}
|
|
16
16
|
|
|
17
17
|
> `readonly` **Context**: `"https://schema.twindev.org/aig/"` = `"https://schema.twindev.org/aig/"`
|
|
18
18
|
|
|
19
19
|
The value to use in context for Auditable Item Graph.
|
|
20
20
|
|
|
21
|
-
### JsonLdContext
|
|
21
|
+
### JsonLdContext {#jsonldcontext}
|
|
22
22
|
|
|
23
23
|
> `readonly` **JsonLdContext**: `"https://schema.twindev.org/aig/types.jsonld"` = `"https://schema.twindev.org/aig/types.jsonld"`
|
|
24
24
|
|
|
25
25
|
The JSON-LD Context URL for Auditable Item Graph.
|
|
26
26
|
|
|
27
|
-
### NamespaceCommon
|
|
27
|
+
### NamespaceCommon {#namespacecommon}
|
|
28
28
|
|
|
29
29
|
> `readonly` **NamespaceCommon**: `"https://schema.twindev.org/common/"` = `"https://schema.twindev.org/common/"`
|
|
30
30
|
|
|
31
31
|
The canonical RDF namespace URI for TWIN Common.
|
|
32
32
|
|
|
33
|
-
### ContextCommon
|
|
33
|
+
### ContextCommon {#contextcommon}
|
|
34
34
|
|
|
35
35
|
> `readonly` **ContextCommon**: `"https://schema.twindev.org/common/"` = `"https://schema.twindev.org/common/"`
|
|
36
36
|
|
|
37
37
|
The value to use in JSON-LD context for TWIN Common.
|
|
38
38
|
|
|
39
|
-
### JsonLdContextCommon
|
|
39
|
+
### JsonLdContextCommon {#jsonldcontextcommon}
|
|
40
40
|
|
|
41
41
|
> `readonly` **JsonLdContextCommon**: `"https://schema.twindev.org/common/types.jsonld"` = `"https://schema.twindev.org/common/types.jsonld"`
|
|
42
42
|
|
|
@@ -6,13 +6,13 @@ The topics for auditable item graph event bus notifications.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### VertexCreated
|
|
9
|
+
### VertexCreated {#vertexcreated}
|
|
10
10
|
|
|
11
11
|
> `readonly` **VertexCreated**: `"auditable-item-graph:vertex-created"` = `"auditable-item-graph:vertex-created"`
|
|
12
12
|
|
|
13
13
|
A vertex was created.
|
|
14
14
|
|
|
15
|
-
### VertexUpdated
|
|
15
|
+
### VertexUpdated {#vertexupdated}
|
|
16
16
|
|
|
17
17
|
> `readonly` **VertexUpdated**: `"auditable-item-graph:vertex-updated"` = `"auditable-item-graph:vertex-updated"`
|
|
18
18
|
|
|
@@ -6,49 +6,49 @@ The types of auditable item graph data.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### Vertex
|
|
9
|
+
### Vertex {#vertex}
|
|
10
10
|
|
|
11
11
|
> `readonly` **Vertex**: `"AuditableItemGraphVertex"` = `"AuditableItemGraphVertex"`
|
|
12
12
|
|
|
13
13
|
Represents auditable item graph vertex.
|
|
14
14
|
|
|
15
|
-
### VertexList
|
|
15
|
+
### VertexList {#vertexlist}
|
|
16
16
|
|
|
17
17
|
> `readonly` **VertexList**: `"AuditableItemGraphVertexList"` = `"AuditableItemGraphVertexList"`
|
|
18
18
|
|
|
19
19
|
Represents auditable item graph vertex list.
|
|
20
20
|
|
|
21
|
-
### Alias
|
|
21
|
+
### Alias {#alias}
|
|
22
22
|
|
|
23
23
|
> `readonly` **Alias**: `"AuditableItemGraphAlias"` = `"AuditableItemGraphAlias"`
|
|
24
24
|
|
|
25
25
|
Represents auditable item graph alias.
|
|
26
26
|
|
|
27
|
-
### Resource
|
|
27
|
+
### Resource {#resource}
|
|
28
28
|
|
|
29
29
|
> `readonly` **Resource**: `"AuditableItemGraphResource"` = `"AuditableItemGraphResource"`
|
|
30
30
|
|
|
31
31
|
Represents auditable item graph resource.
|
|
32
32
|
|
|
33
|
-
### Edge
|
|
33
|
+
### Edge {#edge}
|
|
34
34
|
|
|
35
35
|
> `readonly` **Edge**: `"AuditableItemGraphEdge"` = `"AuditableItemGraphEdge"`
|
|
36
36
|
|
|
37
37
|
Represents auditable item graph edge.
|
|
38
38
|
|
|
39
|
-
### Changeset
|
|
39
|
+
### Changeset {#changeset}
|
|
40
40
|
|
|
41
41
|
> `readonly` **Changeset**: `"AuditableItemGraphChangeset"` = `"AuditableItemGraphChangeset"`
|
|
42
42
|
|
|
43
43
|
Represents auditable item graph changeset.
|
|
44
44
|
|
|
45
|
-
### ChangesetList
|
|
45
|
+
### ChangesetList {#changesetlist}
|
|
46
46
|
|
|
47
47
|
> `readonly` **ChangesetList**: `"AuditableItemGraphChangesetList"` = `"AuditableItemGraphChangesetList"`
|
|
48
48
|
|
|
49
49
|
Represents auditable item graph changeset list.
|
|
50
50
|
|
|
51
|
-
### PatchOperation
|
|
51
|
+
### PatchOperation {#patchoperation}
|
|
52
52
|
|
|
53
53
|
> `readonly` **PatchOperation**: `"AuditableItemGraphPatchOperation"` = `"AuditableItemGraphPatchOperation"`
|
|
54
54
|
|
|
@@ -6,19 +6,19 @@ How deep to verify the signatures.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### None
|
|
9
|
+
### None {#none}
|
|
10
10
|
|
|
11
11
|
> `readonly` **None**: `"none"` = `"none"`
|
|
12
12
|
|
|
13
13
|
Do not verify any signatures.
|
|
14
14
|
|
|
15
|
-
### Current
|
|
15
|
+
### Current {#current}
|
|
16
16
|
|
|
17
17
|
> `readonly` **Current**: `"current"` = `"current"`
|
|
18
18
|
|
|
19
19
|
Verify only the most recent signature.
|
|
20
20
|
|
|
21
|
-
### All
|
|
21
|
+
### All {#all}
|
|
22
22
|
|
|
23
23
|
> `readonly` **All**: `"all"` = `"all"`
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/auditable-item-graph-models",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3-next.13",
|
|
4
|
+
"description": "Defines shared graph data contracts, JSON schemas, and JSON-LD contexts for consistent interoperability.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/iotaledger/auditable-item-graph.git",
|
|
8
8
|
"directory": "packages/auditable-item-graph-models"
|
|
9
9
|
},
|
|
10
10
|
"author": "martyn.janes@iota.org",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"schemas"
|
|
52
52
|
],
|
|
53
53
|
"bugs": {
|
|
54
|
-
"url": "git+https://github.com/
|
|
54
|
+
"url": "git+https://github.com/iotaledger/auditable-item-graph/issues"
|
|
55
55
|
},
|
|
56
56
|
"homepage": "https://twindev.org"
|
|
57
57
|
}
|