@twin.org/auditable-item-graph-service 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.
@@ -594,9 +594,8 @@ class AuditableItemGraphService {
594
594
  */
595
595
  constructor(options) {
596
596
  this._immutableProofComponent = core.ComponentFactory.get(options?.immutableProofComponentType ?? "immutable-proof");
597
- this._vertexStorage = entityStorageModels.EntityStorageConnectorFactory.get(options?.vertexEntityStorageType ?? core.StringHelper.kebabCase("AuditableItemGraphVertex"));
598
- this._changesetStorage = entityStorageModels.EntityStorageConnectorFactory.get(options?.changesetEntityStorageType ??
599
- core.StringHelper.kebabCase("AuditableItemGraphChangeset"));
597
+ this._vertexStorage = entityStorageModels.EntityStorageConnectorFactory.get(options?.vertexEntityStorageType ?? "auditable-item-graph-vertex");
598
+ this._changesetStorage = entityStorageModels.EntityStorageConnectorFactory.get(options?.changesetEntityStorageType ?? "auditable-item-graph-changeset");
600
599
  if (core.Is.stringValue(options?.eventBusComponentType)) {
601
600
  this._eventBusComponent = core.ComponentFactory.get(options.eventBusComponentType);
602
601
  }
@@ -1,6 +1,6 @@
1
1
  import { HttpParameterHelper } from '@twin.org/api-models';
2
2
  import { AuditableItemGraphTypes, AuditableItemGraphContexts, AuditableItemGraphTopics, VerifyDepth } from '@twin.org/auditable-item-graph-models';
3
- import { Guards, ComponentFactory, Coerce, StringHelper, Is, Validation, Converter, RandomHelper, ObjectHelper, Urn, GeneralError, NotFoundError, ArrayHelper, JsonHelper } from '@twin.org/core';
3
+ import { Guards, ComponentFactory, Coerce, Is, Validation, Converter, RandomHelper, ObjectHelper, Urn, GeneralError, NotFoundError, StringHelper, ArrayHelper, JsonHelper } from '@twin.org/core';
4
4
  import { SchemaOrgContexts, SchemaOrgTypes, SchemaOrgDataTypes } from '@twin.org/standards-schema-org';
5
5
  import { HttpStatusCode, HeaderTypes, MimeTypes } from '@twin.org/web';
6
6
  import { JsonLdHelper, JsonLdProcessor, JsonLdTypes } from '@twin.org/data-json-ld';
@@ -592,9 +592,8 @@ class AuditableItemGraphService {
592
592
  */
593
593
  constructor(options) {
594
594
  this._immutableProofComponent = ComponentFactory.get(options?.immutableProofComponentType ?? "immutable-proof");
595
- this._vertexStorage = EntityStorageConnectorFactory.get(options?.vertexEntityStorageType ?? StringHelper.kebabCase("AuditableItemGraphVertex"));
596
- this._changesetStorage = EntityStorageConnectorFactory.get(options?.changesetEntityStorageType ??
597
- StringHelper.kebabCase("AuditableItemGraphChangeset"));
595
+ this._vertexStorage = EntityStorageConnectorFactory.get(options?.vertexEntityStorageType ?? "auditable-item-graph-vertex");
596
+ this._changesetStorage = EntityStorageConnectorFactory.get(options?.changesetEntityStorageType ?? "auditable-item-graph-changeset");
598
597
  if (Is.stringValue(options?.eventBusComponentType)) {
599
598
  this._eventBusComponent = ComponentFactory.get(options.eventBusComponentType);
600
599
  }
@@ -92,7 +92,7 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
92
92
  resourceObject?: IJsonLdNodeObject;
93
93
  }[];
94
94
  edges?: {
95
- id: string;
95
+ id?: string;
96
96
  targetId: string;
97
97
  edgeRelationships: string[];
98
98
  annotationObject?: IJsonLdNodeObject;
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @twin.org/auditable-item-graph-service - Changelog
2
2
 
3
+ ## [0.0.2-next.7](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-service-v0.0.2-next.6...auditable-item-graph-service-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
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/auditable-item-graph-models bumped from 0.0.2-next.6 to 0.0.2-next.7
16
+
17
+ ## [0.0.2-next.6](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-service-v0.0.2-next.5...auditable-item-graph-service-v0.0.2-next.6) (2025-09-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * use new nameof operators ([3921c4c](https://github.com/twinfoundation/auditable-item-graph/commit/3921c4c9ac53e42459e45f10d9e702afb2797a23))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/auditable-item-graph-models bumped from 0.0.2-next.5 to 0.0.2-next.6
30
+
3
31
  ## [0.0.2-next.5](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-service-v0.0.2-next.4...auditable-item-graph-service-v0.0.2-next.5) (2025-09-26)
4
32
 
5
33
 
@@ -1028,7 +1028,6 @@
1028
1028
  }
1029
1029
  },
1030
1030
  "required": [
1031
- "id",
1032
1031
  "targetId",
1033
1032
  "edgeRelationships"
1034
1033
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-service",
3
- "version": "0.0.2-next.5",
3
+ "version": "0.0.2-next.7",
4
4
  "description": "Auditable Item Graph contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/api-models": "next",
18
- "@twin.org/auditable-item-graph-models": "0.0.2-next.5",
18
+ "@twin.org/auditable-item-graph-models": "0.0.2-next.7",
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/crypto": "next",
21
21
  "@twin.org/data-json-ld": "next",