@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.
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 +55 -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
@@ -15,33 +15,33 @@ export interface IAuditableItemGraphUpdateRequest {
15
15
  /**
16
16
  * The data to be used in the vertex.
17
17
  */
18
- body?: {
18
+ body: {
19
19
  /**
20
- * The metadata to be used in the vertex as JSON-LD.
20
+ * The object to be used in the vertex as JSON-LD.
21
21
  */
22
- metadata?: IJsonLdNodeObject;
22
+ annotationObject?: IJsonLdNodeObject;
23
23
  /**
24
24
  * Alternative aliases that can be used to identify the vertex.
25
25
  */
26
26
  aliases?: {
27
27
  id: string;
28
- format?: string;
29
- metadata?: IJsonLdNodeObject;
28
+ aliasFormat?: string;
29
+ annotationObject?: IJsonLdNodeObject;
30
30
  }[];
31
31
  /**
32
32
  * The resources attached to the vertex.
33
33
  */
34
34
  resources?: {
35
- id: string;
36
- metadata?: IJsonLdNodeObject;
35
+ id?: string;
36
+ resourceObject?: IJsonLdNodeObject;
37
37
  }[];
38
38
  /**
39
39
  * The edges connected to the vertex.
40
40
  */
41
41
  edges?: {
42
42
  id: string;
43
- relationship: string;
44
- metadata?: IJsonLdNodeObject;
43
+ edgeRelationships: string[];
44
+ annotationObject?: IJsonLdNodeObject;
45
45
  }[];
46
46
  };
47
47
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The contexts of auditable item graph data.
3
+ */
4
+ export declare const AuditableItemGraphContexts: {
5
+ /**
6
+ * The context root for the auditable item graph types.
7
+ */
8
+ readonly ContextRoot: "https://schema.twindev.org/aig/";
9
+ /**
10
+ * The context root for the common types.
11
+ */
12
+ readonly ContextRootCommon: "https://schema.twindev.org/common/";
13
+ };
14
+ /**
15
+ * The contexts of auditable item graph data.
16
+ */
17
+ export type AuditableItemGraphContexts = (typeof AuditableItemGraphContexts)[keyof typeof AuditableItemGraphContexts];
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The topics for auditable item graph event bus notifications.
3
+ */
4
+ export declare const AuditableItemGraphTopics: {
5
+ /**
6
+ * A vertex was created.
7
+ */
8
+ readonly VertexCreated: "auditable-item-graph:vertex-created";
9
+ /**
10
+ * A vertex was updated.
11
+ */
12
+ readonly VertexUpdated: "auditable-item-graph:vertex-updated";
13
+ };
14
+ /**
15
+ * The topics for auditable item graph event bus notifications.
16
+ */
17
+ export type AuditableItemGraphTopics = (typeof AuditableItemGraphTopics)[keyof typeof AuditableItemGraphTopics];
@@ -2,46 +2,30 @@
2
2
  * The types of auditable item graph data.
3
3
  */
4
4
  export declare const AuditableItemGraphTypes: {
5
- /**
6
- * The context root for the auditable item graph types.
7
- */
8
- readonly ContextRoot: "https://schema.twindev.org/aig/";
9
5
  /**
10
6
  * Represents auditable item graph vertex.
11
7
  */
12
- readonly Vertex: "https://schema.twindev.org/aig/AuditableItemGraphVertex";
8
+ readonly Vertex: "AuditableItemGraphVertex";
13
9
  /**
14
10
  * Represents auditable item graph alias.
15
11
  */
16
- readonly Alias: "https://schema.twindev.org/aig/AuditableItemGraphAlias";
12
+ readonly Alias: "AuditableItemGraphAlias";
17
13
  /**
18
14
  * Represents auditable item graph resource.
19
15
  */
20
- readonly Resource: "https://schema.twindev.org/aig/AuditableItemGraphResource";
16
+ readonly Resource: "AuditableItemGraphResource";
21
17
  /**
22
18
  * Represents auditable item graph edge.
23
19
  */
24
- readonly Edge: "https://schema.twindev.org/aig/AuditableItemGraphEdge";
20
+ readonly Edge: "AuditableItemGraphEdge";
25
21
  /**
26
22
  * Represents auditable item graph changeset.
27
23
  */
28
- readonly Changeset: "https://schema.twindev.org/aig/AuditableItemGraphChangeset";
24
+ readonly Changeset: "AuditableItemGraphChangeset";
29
25
  /**
30
26
  * Represents patch operation.
31
27
  */
32
- readonly PatchOperation: "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation";
33
- /**
34
- * Represents the immutable credential payload.
35
- */
36
- readonly Credential: "https://schema.twindev.org/aig/AuditableItemGraphPatchCredential";
37
- /**
38
- * Represents auditable item stream verification.
39
- */
40
- readonly Verification: "https://schema.twindev.org/aig/AuditableItemGraphVerification";
41
- /**
42
- * Represents auditable item stream verification state.
43
- */
44
- readonly VerificationState: "https://schema.twindev.org/aig/AuditableItemGraphVerificationState";
28
+ readonly PatchOperation: "AuditableItemGraphPatchOperation";
45
29
  };
46
30
  /**
47
31
  * The types of auditable item graph data.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Event bus payload for vertex created.
3
+ */
4
+ export interface IAuditableItemGraphEventBusVertexCreated {
5
+ /**
6
+ * The id of the vertex created.
7
+ */
8
+ id: string;
9
+ }
@@ -0,0 +1,14 @@
1
+ import type { IPatchOperation } from "@twin.org/core";
2
+ /**
3
+ * Event bus payload for vertex updated.
4
+ */
5
+ export interface IAuditableItemGraphEventBusVertexUpdated {
6
+ /**
7
+ * The id of the vertex updated.
8
+ */
9
+ id: string;
10
+ /**
11
+ * The patches in the changeset.
12
+ */
13
+ patches: IPatchOperation[];
14
+ }
package/docs/changelog.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
- ## v0.0.1-next.4
3
+ ## [0.0.1-next.40](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.39...auditable-item-graph-models-v0.0.1-next.40) (2025-05-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * add data types with fully qualified name ([93e1ee7](https://github.com/twinfoundation/auditable-item-graph/commit/93e1ee7c0f7bad81f003787f797f363864e201af))
9
+
10
+ ## [0.0.1-next.39](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.38...auditable-item-graph-models-v0.0.1-next.39) (2025-05-08)
11
+
12
+
13
+ ### Features
14
+
15
+ * use standard list json ld types ([8f53836](https://github.com/twinfoundation/auditable-item-graph/commit/8f53836d4c83a98d64d7f5fe0531bb9af09464ae))
16
+
17
+ ## [0.0.1-next.38](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.37...auditable-item-graph-models-v0.0.1-next.38) (2025-04-17)
18
+
19
+
20
+ ### Features
21
+
22
+ * use shared store mechanism ([#10](https://github.com/twinfoundation/auditable-item-graph/issues/10)) ([da035e5](https://github.com/twinfoundation/auditable-item-graph/commit/da035e5eb8f157482b4eb2bdbc689c6c0647ff7d))
23
+
24
+ ## [0.0.1-next.37](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.36...auditable-item-graph-models-v0.0.1-next.37) (2025-04-11)
25
+
26
+
27
+ ### Features
28
+
29
+ * improve comments ([97f311a](https://github.com/twinfoundation/auditable-item-graph/commit/97f311a9cc4353b5020a48a44420c97a2fa0c8d7))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * only include alias in index if not deleted ([#6](https://github.com/twinfoundation/auditable-item-graph/issues/6)) ([5da3c41](https://github.com/twinfoundation/auditable-item-graph/commit/5da3c419fafa2afefd34b1c570d103012b888a75))
35
+
36
+ ## [0.0.1-next.36](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.35...auditable-item-graph-models-v0.0.1-next.36) (2025-04-11)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * only include alias in index if not deleted ([#6](https://github.com/twinfoundation/auditable-item-graph/issues/6)) ([5da3c41](https://github.com/twinfoundation/auditable-item-graph/commit/5da3c419fafa2afefd34b1c570d103012b888a75))
42
+
43
+ ## [0.0.1-next.35](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.34...auditable-item-graph-models-v0.0.1-next.35) (2025-04-10)
44
+
45
+
46
+ ### Miscellaneous Chores
47
+
48
+ * **auditable-item-graph-models:** Synchronize repo versions
49
+
50
+ ## [0.0.1-next.34](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.33...auditable-item-graph-models-v0.0.1-next.34) (2025-03-28)
51
+
52
+
53
+ ### Features
54
+
55
+ * improve comments ([97f311a](https://github.com/twinfoundation/auditable-item-graph/commit/97f311a9cc4353b5020a48a44420c97a2fa0c8d7))
56
+
57
+ ## v0.0.1-next.33
4
58
 
5
59
  - Initial Release
@@ -4,13 +4,13 @@ Handle all the data types for auditable item graph.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new AuditableItemGraphDataTypes()
7
+ ### Constructor
8
8
 
9
- > **new AuditableItemGraphDataTypes**(): [`AuditableItemGraphDataTypes`](AuditableItemGraphDataTypes.md)
9
+ > **new AuditableItemGraphDataTypes**(): `AuditableItemGraphDataTypes`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`AuditableItemGraphDataTypes`](AuditableItemGraphDataTypes.md)
13
+ `AuditableItemGraphDataTypes`
14
14
 
15
15
  ## Methods
16
16
 
@@ -10,28 +10,30 @@
10
10
  - [IAuditableItemGraphAuditedElement](interfaces/IAuditableItemGraphAuditedElement.md)
11
11
  - [IAuditableItemGraphChangeset](interfaces/IAuditableItemGraphChangeset.md)
12
12
  - [IAuditableItemGraphComponent](interfaces/IAuditableItemGraphComponent.md)
13
- - [IAuditableItemGraphCredential](interfaces/IAuditableItemGraphCredential.md)
14
13
  - [IAuditableItemGraphEdge](interfaces/IAuditableItemGraphEdge.md)
15
14
  - [IAuditableItemGraphPatchOperation](interfaces/IAuditableItemGraphPatchOperation.md)
16
15
  - [IAuditableItemGraphResource](interfaces/IAuditableItemGraphResource.md)
17
- - [IAuditableItemGraphVerification](interfaces/IAuditableItemGraphVerification.md)
18
16
  - [IAuditableItemGraphVertex](interfaces/IAuditableItemGraphVertex.md)
17
+ - [IAuditableItemGraphVertexList](interfaces/IAuditableItemGraphVertexList.md)
19
18
  - [IAuditableItemGraphCreateRequest](interfaces/IAuditableItemGraphCreateRequest.md)
20
19
  - [IAuditableItemGraphGetRequest](interfaces/IAuditableItemGraphGetRequest.md)
21
20
  - [IAuditableItemGraphGetResponse](interfaces/IAuditableItemGraphGetResponse.md)
22
21
  - [IAuditableItemGraphListRequest](interfaces/IAuditableItemGraphListRequest.md)
23
22
  - [IAuditableItemGraphListResponse](interfaces/IAuditableItemGraphListResponse.md)
24
23
  - [IAuditableItemGraphUpdateRequest](interfaces/IAuditableItemGraphUpdateRequest.md)
24
+ - [IAuditableItemGraphEventBusVertexCreated](interfaces/IAuditableItemGraphEventBusVertexCreated.md)
25
+ - [IAuditableItemGraphEventBusVertexUpdated](interfaces/IAuditableItemGraphEventBusVertexUpdated.md)
25
26
 
26
27
  ## Type Aliases
27
28
 
28
- - [JsonReturnType](type-aliases/JsonReturnType.md)
29
+ - [AuditableItemGraphContexts](type-aliases/AuditableItemGraphContexts.md)
30
+ - [AuditableItemGraphTopics](type-aliases/AuditableItemGraphTopics.md)
29
31
  - [AuditableItemGraphTypes](type-aliases/AuditableItemGraphTypes.md)
30
- - [AuditableItemGraphVerificationState](type-aliases/AuditableItemGraphVerificationState.md)
31
32
  - [VerifyDepth](type-aliases/VerifyDepth.md)
32
33
 
33
34
  ## Variables
34
35
 
36
+ - [AuditableItemGraphContexts](variables/AuditableItemGraphContexts.md)
37
+ - [AuditableItemGraphTopics](variables/AuditableItemGraphTopics.md)
35
38
  - [AuditableItemGraphTypes](variables/AuditableItemGraphTypes.md)
36
- - [AuditableItemGraphVerificationState](variables/AuditableItemGraphVerificationState.md)
37
39
  - [VerifyDepth](variables/VerifyDepth.md)
@@ -4,15 +4,15 @@ Interface describing an alias for a vertex.
4
4
 
5
5
  ## Extends
6
6
 
7
- - [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).`IAuditableItemGraphMetadataElement`
7
+ - [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md)
8
8
 
9
9
  ## Properties
10
10
 
11
- ### format?
11
+ ### @context
12
12
 
13
- > `optional` **format**: `string`
13
+ > **@context**: `"https://schema.twindev.org/aig/"` \| \[`"https://schema.twindev.org/aig/"`, `...IJsonLdContextDefinitionElement[]`\]
14
14
 
15
- The format of the id in the alias.
15
+ JSON-LD Context.
16
16
 
17
17
  ***
18
18
 
@@ -22,54 +22,66 @@ The format of the id in the alias.
22
22
 
23
23
  The id of the element.
24
24
 
25
- #### Inherited from
25
+ #### Overrides
26
26
 
27
27
  [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`id`](IAuditableItemGraphAuditedElement.md#id)
28
28
 
29
29
  ***
30
30
 
31
- ### created
31
+ ### type
32
32
 
33
- > **created**: `number`
33
+ > **type**: `"AuditableItemGraphAlias"`
34
34
 
35
- The timestamp of when the element was created.
35
+ JSON-LD Type.
36
36
 
37
- #### Inherited from
37
+ ***
38
+
39
+ ### annotationObject?
40
+
41
+ > `optional` **annotationObject**: `IJsonLdNodeObject`
38
42
 
39
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`created`](IAuditableItemGraphAuditedElement.md#created)
43
+ The JSON-LD annotation object for the alias.
44
+
45
+ ***
46
+
47
+ ### aliasFormat?
48
+
49
+ > `optional` **aliasFormat**: `string`
50
+
51
+ The format of the id in the alias.
40
52
 
41
53
  ***
42
54
 
43
- ### updated?
55
+ ### dateCreated?
44
56
 
45
- > `optional` **updated**: `number`
57
+ > `optional` **dateCreated**: `string`
46
58
 
47
- The timestamp of when the element was updated.
59
+ The date/time of when the element was created.
48
60
 
49
61
  #### Inherited from
50
62
 
51
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`updated`](IAuditableItemGraphAuditedElement.md#updated)
63
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateCreated`](IAuditableItemGraphAuditedElement.md#datecreated)
52
64
 
53
65
  ***
54
66
 
55
- ### deleted?
67
+ ### dateModified?
56
68
 
57
- > `optional` **deleted**: `number`
69
+ > `optional` **dateModified**: `string`
58
70
 
59
- The timestamp of when the element was deleted, as we never actually remove items.
71
+ The date/time of when the element was modified.
60
72
 
61
73
  #### Inherited from
62
74
 
63
- [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`deleted`](IAuditableItemGraphAuditedElement.md#deleted)
75
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateModified`](IAuditableItemGraphAuditedElement.md#datemodified)
64
76
 
65
77
  ***
66
78
 
67
- ### metadata?
79
+ ### dateDeleted?
68
80
 
69
- > `optional` **metadata**: `IJsonLdNodeObject`
81
+ > `optional` **dateDeleted**: `string`
70
82
 
71
- The metadata to associate with the element as JSON-LD.
83
+ The date/time of when the element was deleted, as we never actually remove items.
72
84
 
73
85
  #### Inherited from
74
86
 
75
- `IAuditableItemGraphMetadataElement.metadata`
87
+ [`IAuditableItemGraphAuditedElement`](IAuditableItemGraphAuditedElement.md).[`dateDeleted`](IAuditableItemGraphAuditedElement.md#datedeleted)
@@ -10,32 +10,32 @@ Interface describing the base properties for auditable elements.
10
10
 
11
11
  ## Properties
12
12
 
13
- ### id
13
+ ### id?
14
14
 
15
- > **id**: `string`
15
+ > `optional` **id**: `string`
16
16
 
17
17
  The id of the element.
18
18
 
19
19
  ***
20
20
 
21
- ### created
21
+ ### dateCreated?
22
22
 
23
- > **created**: `number`
23
+ > `optional` **dateCreated**: `string`
24
24
 
25
- The timestamp of when the element was created.
25
+ The date/time of when the element was created.
26
26
 
27
27
  ***
28
28
 
29
- ### updated?
29
+ ### dateModified?
30
30
 
31
- > `optional` **updated**: `number`
31
+ > `optional` **dateModified**: `string`
32
32
 
33
- The timestamp of when the element was updated.
33
+ The date/time of when the element was modified.
34
34
 
35
35
  ***
36
36
 
37
- ### deleted?
37
+ ### dateDeleted?
38
38
 
39
- > `optional` **deleted**: `number`
39
+ > `optional` **dateDeleted**: `string`
40
40
 
41
- The timestamp of when the element was deleted, as we never actually remove items.
41
+ The date/time of when the element was deleted, as we never actually remove items.
@@ -1,14 +1,38 @@
1
1
  # Interface: IAuditableItemGraphChangeset
2
2
 
3
- Interface describing a set of updates to the vertex.
3
+ Interface describing a set of changes to the vertex.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### created
7
+ ### @context
8
8
 
9
- > **created**: `number`
9
+ > **@context**: \[`"https://schema.twindev.org/aig/"`, `"https://schema.twindev.org/common/"`, `...IJsonLdContextDefinitionElement[]`\]
10
10
 
11
- The timestamp of when the changeset was created.
11
+ JSON-LD Context.
12
+
13
+ ***
14
+
15
+ ### type
16
+
17
+ > **type**: `"AuditableItemGraphChangeset"`
18
+
19
+ JSON-LD Type.
20
+
21
+ ***
22
+
23
+ ### id
24
+
25
+ > **id**: `string`
26
+
27
+ The id of the changeset.
28
+
29
+ ***
30
+
31
+ ### dateCreated
32
+
33
+ > **dateCreated**: `string`
34
+
35
+ The date/time of when the changeset was created.
12
36
 
13
37
  ***
14
38
 
@@ -28,24 +52,16 @@ The patches in the changeset.
28
52
 
29
53
  ***
30
54
 
31
- ### hash
32
-
33
- > **hash**: `string`
34
-
35
- The hash for the changeset.
36
-
37
- ***
38
-
39
- ### signature
55
+ ### proofId?
40
56
 
41
- > **signature**: `string`
57
+ > `optional` **proofId**: `string`
42
58
 
43
- The signature for the changeset.
59
+ The immutable proof id which contains the signature for this changeset.
44
60
 
45
61
  ***
46
62
 
47
- ### immutableStorageId?
63
+ ### verification?
48
64
 
49
- > `optional` **immutableStorageId**: `string`
65
+ > `optional` **verification**: `IImmutableProofVerification`
50
66
 
51
- The immutable storage id containing the signature for the changeset.
67
+ The verification for the changeset.