@twin.org/auditable-item-graph-models 0.0.1-next.6 → 0.0.1-next.8

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.
@@ -180,6 +180,10 @@ var properties$7 = {
180
180
  immutableStorageId: {
181
181
  type: "string",
182
182
  description: "The immutable storage id containing the signature for the changeset."
183
+ },
184
+ verification: {
185
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphVerification",
186
+ description: "The verification for the changeset."
183
187
  }
184
188
  };
185
189
  var required$7 = [
@@ -635,13 +639,6 @@ var properties$1 = {
635
639
  verified: {
636
640
  type: "boolean",
637
641
  description: "Is the vertex verified, will only be populated when verification is requested."
638
- },
639
- changesetsVerification: {
640
- type: "array",
641
- items: {
642
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphVerification"
643
- },
644
- description: "The verification state of the changesets, will only be populated when changesets are requested."
645
642
  }
646
643
  };
647
644
  var required$1 = [
@@ -178,6 +178,10 @@ var properties$7 = {
178
178
  immutableStorageId: {
179
179
  type: "string",
180
180
  description: "The immutable storage id containing the signature for the changeset."
181
+ },
182
+ verification: {
183
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphVerification",
184
+ description: "The verification for the changeset."
181
185
  }
182
186
  };
183
187
  var required$7 = [
@@ -633,13 +637,6 @@ var properties$1 = {
633
637
  verified: {
634
638
  type: "boolean",
635
639
  description: "Is the vertex verified, will only be populated when verification is requested."
636
- },
637
- changesetsVerification: {
638
- type: "array",
639
- items: {
640
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphVerification"
641
- },
642
- description: "The verification state of the changesets, will only be populated when changesets are requested."
643
640
  }
644
641
  };
645
642
  var required$1 = [
@@ -1,5 +1,6 @@
1
1
  import type { AuditableItemGraphTypes } from "./auditableItemGraphTypes";
2
2
  import type { IAuditableItemGraphPatchOperation } from "./IAuditableItemGraphPatchOperation";
3
+ import type { IAuditableItemGraphVerification } from "./IAuditableItemGraphVerification";
3
4
  /**
4
5
  * Interface describing a set of updates to the vertex.
5
6
  */
@@ -36,4 +37,8 @@ export interface IAuditableItemGraphChangeset {
36
37
  * The immutable storage id containing the signature for the changeset.
37
38
  */
38
39
  immutableStorageId?: string;
40
+ /**
41
+ * The verification for the changeset.
42
+ */
43
+ verification?: IAuditableItemGraphVerification;
39
44
  }
@@ -5,7 +5,6 @@ import type { IAuditableItemGraphAuditedElement } from "./IAuditableItemGraphAud
5
5
  import type { IAuditableItemGraphChangeset } from "./IAuditableItemGraphChangeset";
6
6
  import type { IAuditableItemGraphEdge } from "./IAuditableItemGraphEdge";
7
7
  import type { IAuditableItemGraphResource } from "./IAuditableItemGraphResource";
8
- import type { IAuditableItemGraphVerification } from "./IAuditableItemGraphVerification";
9
8
  /**
10
9
  * Interface describing an auditable item graph vertex.
11
10
  */
@@ -46,8 +45,4 @@ export interface IAuditableItemGraphVertex extends Omit<IAuditableItemGraphAudit
46
45
  * Is the vertex verified, will only be populated when verification is requested.
47
46
  */
48
47
  verified?: boolean;
49
- /**
50
- * The verification state of the changesets, will only be populated when changesets are requested.
51
- */
52
- changesetsVerification?: IAuditableItemGraphVerification[];
53
48
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
- ## v0.0.1-next.6
3
+ ## v0.0.1-next.8
4
4
 
5
5
  - Initial Release
@@ -65,3 +65,11 @@ The signature for the changeset.
65
65
  > `optional` **immutableStorageId**: `string`
66
66
 
67
67
  The immutable storage id containing the signature for the changeset.
68
+
69
+ ***
70
+
71
+ ### verification?
72
+
73
+ > `optional` **verification**: [`IAuditableItemGraphVerification`](IAuditableItemGraphVerification.md)
74
+
75
+ The verification for the changeset.
@@ -125,11 +125,3 @@ Changesets for the vertex.
125
125
  > `optional` **verified**: `boolean`
126
126
 
127
127
  Is the vertex verified, will only be populated when verification is requested.
128
-
129
- ***
130
-
131
- ### changesetsVerification?
132
-
133
- > `optional` **changesetsVerification**: [`IAuditableItemGraphVerification`](IAuditableItemGraphVerification.md)[]
134
-
135
- The verification state of the changesets, will only be populated when changesets are requested.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-models",
3
- "version": "0.0.1-next.6",
3
+ "version": "0.0.1-next.8",
4
4
  "description": "Models which define the structure of the auditable item graph connectors and services",
5
5
  "repository": {
6
6
  "type": "git",