@twin.org/auditable-item-graph-models 0.0.2-next.5 → 0.0.2-next.7

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.
@@ -276,7 +276,6 @@ var properties$4 = {
276
276
  };
277
277
  var required$4 = [
278
278
  "@context",
279
- "id",
280
279
  "targetId",
281
280
  "type",
282
281
  "edgeRelationships"
@@ -274,7 +274,6 @@ var properties$4 = {
274
274
  };
275
275
  var required$4 = [
276
276
  "@context",
277
- "id",
278
277
  "targetId",
279
278
  "type",
280
279
  "edgeRelationships"
@@ -63,7 +63,7 @@ export interface IAuditableItemGraphComponent extends IComponent {
63
63
  resourceObject?: IJsonLdNodeObject;
64
64
  }[];
65
65
  edges?: {
66
- id: string;
66
+ id?: string;
67
67
  targetId: string;
68
68
  edgeRelationships: string[];
69
69
  annotationObject?: IJsonLdNodeObject;
@@ -13,7 +13,7 @@ export interface IAuditableItemGraphEdge extends IAuditableItemGraphAuditedEleme
13
13
  /**
14
14
  * The id of the element.
15
15
  */
16
- id: string;
16
+ id?: string;
17
17
  /**
18
18
  * The target vertex id the edge connects to.
19
19
  */
@@ -40,7 +40,7 @@ export interface IAuditableItemGraphUpdateRequest {
40
40
  * The edges connected to the vertex.
41
41
  */
42
42
  edges?: {
43
- id: string;
43
+ id?: string;
44
44
  targetId: string;
45
45
  edgeRelationships: string[];
46
46
  annotationObject?: IJsonLdNodeObject;
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
+ ## [0.0.2-next.7](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.2-next.6...auditable-item-graph-models-v0.0.2-next.7) (2025-09-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * id optional in edge updates ([6b63fe3](https://github.com/twinfoundation/auditable-item-graph/commit/6b63fe34553104843ae15aa5066775f5872859e9))
9
+
10
+ ## [0.0.2-next.6](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.2-next.5...auditable-item-graph-models-v0.0.2-next.6) (2025-09-29)
11
+
12
+
13
+ ### Features
14
+
15
+ * use new nameof operators ([3921c4c](https://github.com/twinfoundation/auditable-item-graph/commit/3921c4c9ac53e42459e45f10d9e702afb2797a23))
16
+
3
17
  ## [0.0.2-next.5](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.2-next.4...auditable-item-graph-models-v0.0.2-next.5) (2025-09-26)
4
18
 
5
19
 
@@ -52,9 +52,9 @@ JSON-LD Context.
52
52
 
53
53
  ***
54
54
 
55
- ### id
55
+ ### id?
56
56
 
57
- > **id**: `string`
57
+ > `optional` **id**: `string`
58
58
 
59
59
  The id of the element.
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-models",
3
- "version": "0.0.2-next.5",
3
+ "version": "0.0.2-next.7",
4
4
  "description": "Models which define the structure of the auditable item graph connectors and services",
5
5
  "repository": {
6
6
  "type": "git",