@twin.org/auditable-item-graph-service 0.0.2-next.8 → 0.0.3-next.1

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 (42) hide show
  1. package/dist/es/auditableItemGraphRoutes.js +529 -0
  2. package/dist/es/auditableItemGraphRoutes.js.map +1 -0
  3. package/dist/es/auditableItemGraphService.js +919 -0
  4. package/dist/es/auditableItemGraphService.js.map +1 -0
  5. package/dist/es/entities/auditableItemGraphAlias.js +62 -0
  6. package/dist/es/entities/auditableItemGraphAlias.js.map +1 -0
  7. package/dist/es/entities/auditableItemGraphChangeset.js +61 -0
  8. package/dist/es/entities/auditableItemGraphChangeset.js.map +1 -0
  9. package/dist/es/entities/auditableItemGraphEdge.js +70 -0
  10. package/dist/es/entities/auditableItemGraphEdge.js.map +1 -0
  11. package/dist/es/entities/auditableItemGraphPatch.js +45 -0
  12. package/dist/es/entities/auditableItemGraphPatch.js.map +1 -0
  13. package/dist/es/entities/auditableItemGraphResource.js +54 -0
  14. package/dist/es/entities/auditableItemGraphResource.js.map +1 -0
  15. package/dist/es/entities/auditableItemGraphVertex.js +99 -0
  16. package/dist/es/entities/auditableItemGraphVertex.js.map +1 -0
  17. package/dist/es/index.js +15 -0
  18. package/dist/es/index.js.map +1 -0
  19. package/dist/es/models/IAuditableItemGraphServiceConfig.js +4 -0
  20. package/dist/es/models/IAuditableItemGraphServiceConfig.js.map +1 -0
  21. package/dist/es/models/IAuditableItemGraphServiceConstructorOptions.js +2 -0
  22. package/dist/es/models/IAuditableItemGraphServiceConstructorOptions.js.map +1 -0
  23. package/dist/es/models/IAuditableItemGraphServiceContext.js +2 -0
  24. package/dist/es/models/IAuditableItemGraphServiceContext.js.map +1 -0
  25. package/dist/es/restEntryPoints.js +10 -0
  26. package/dist/es/restEntryPoints.js.map +1 -0
  27. package/dist/es/schema.js +21 -0
  28. package/dist/es/schema.js.map +1 -0
  29. package/dist/types/auditableItemGraphService.d.ts +9 -9
  30. package/dist/types/entities/auditableItemGraphChangeset.d.ts +2 -2
  31. package/dist/types/entities/auditableItemGraphVertex.d.ts +5 -5
  32. package/dist/types/index.d.ts +12 -12
  33. package/dist/types/models/IAuditableItemGraphServiceConstructorOptions.d.ts +1 -1
  34. package/dist/types/models/IAuditableItemGraphServiceContext.d.ts +3 -6
  35. package/docs/changelog.md +36 -0
  36. package/docs/open-api/spec.json +112 -136
  37. package/docs/reference/classes/AuditableItemGraphChangeset.md +2 -2
  38. package/docs/reference/classes/AuditableItemGraphService.md +21 -33
  39. package/docs/reference/classes/AuditableItemGraphVertex.md +3 -3
  40. package/package.json +7 -8
  41. package/dist/cjs/index.cjs +0 -1854
  42. package/dist/esm/index.mjs +0 -1844
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IAuditableItemGraphServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphServiceConfig.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceConfig.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Configuration for the auditable item graph service.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface IAuditableItemGraphServiceConfig {}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphServiceConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphServiceConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceConstructorOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphServiceConfig } from \"./IAuditableItemGraphServiceConfig.js\";\n\n/**\n * Options for the constructor of the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceConstructorOptions {\n\t/**\n\t * The immutable proof component type.\n\t * @default immutable-proof\n\t */\n\timmutableProofComponentType?: string;\n\n\t/**\n\t * The entity storage for vertices.\n\t * @default auditable-item-graph-vertex\n\t */\n\tvertexEntityStorageType?: string;\n\n\t/**\n\t * The entity storage for changesets.\n\t * @default auditable-item-graph-changeset\n\t */\n\tchangesetEntityStorageType?: string;\n\n\t/**\n\t * The event bus component type, defaults to no event bus.\n\t */\n\teventBusComponentType?: string;\n\n\t/**\n\t * The configuration for the service.\n\t */\n\tconfig?: IAuditableItemGraphServiceConfig;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphServiceContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphServiceContext.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IContextIds } from \"@twin.org/context\";\n\n/**\n * Context for the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceContext {\n\t/**\n\t * The current date/time.\n\t */\n\tnow: string;\n\n\t/**\n\t * The context ids for the operation.\n\t */\n\tcontextIds?: IContextIds;\n}\n"]}
@@ -0,0 +1,10 @@
1
+ import { generateRestRoutesAuditableItemGraph, tagsAuditableItemGraph } from "./auditableItemGraphRoutes.js";
2
+ export const restEntryPoints = [
3
+ {
4
+ name: "auditable-item-graph",
5
+ defaultBaseRoute: "auditable-item-graph",
6
+ tags: tagsAuditableItemGraph,
7
+ generateRoutes: generateRestRoutesAuditableItemGraph
8
+ }
9
+ ];
10
+ //# sourceMappingURL=restEntryPoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restEntryPoints.js","sourceRoot":"","sources":["../../src/restEntryPoints.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,oCAAoC,EACpC,sBAAsB,EACtB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,eAAe,GAA2B;IACtD;QACC,IAAI,EAAE,sBAAsB;QAC5B,gBAAgB,EAAE,sBAAsB;QACxC,IAAI,EAAE,sBAAsB;QAC5B,cAAc,EAAE,oCAAoC;KACpD;CACD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IRestRouteEntryPoint } from \"@twin.org/api-models\";\nimport {\n\tgenerateRestRoutesAuditableItemGraph,\n\ttagsAuditableItemGraph\n} from \"./auditableItemGraphRoutes.js\";\n\nexport const restEntryPoints: IRestRouteEntryPoint[] = [\n\t{\n\t\tname: \"auditable-item-graph\",\n\t\tdefaultBaseRoute: \"auditable-item-graph\",\n\t\ttags: tagsAuditableItemGraph,\n\t\tgenerateRoutes: generateRestRoutesAuditableItemGraph\n\t}\n];\n"]}
@@ -0,0 +1,21 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { EntitySchemaFactory, EntitySchemaHelper } from "@twin.org/entity";
4
+ import { AuditableItemGraphAlias } from "./entities/auditableItemGraphAlias.js";
5
+ import { AuditableItemGraphChangeset } from "./entities/auditableItemGraphChangeset.js";
6
+ import { AuditableItemGraphEdge } from "./entities/auditableItemGraphEdge.js";
7
+ import { AuditableItemGraphPatch } from "./entities/auditableItemGraphPatch.js";
8
+ import { AuditableItemGraphResource } from "./entities/auditableItemGraphResource.js";
9
+ import { AuditableItemGraphVertex } from "./entities/auditableItemGraphVertex.js";
10
+ /**
11
+ * Initialize the schema for the auditable item graph entity storage connector.
12
+ */
13
+ export function initSchema() {
14
+ EntitySchemaFactory.register("AuditableItemGraphVertex", () => EntitySchemaHelper.getSchema(AuditableItemGraphVertex));
15
+ EntitySchemaFactory.register("AuditableItemGraphAlias", () => EntitySchemaHelper.getSchema(AuditableItemGraphAlias));
16
+ EntitySchemaFactory.register("AuditableItemGraphResource", () => EntitySchemaHelper.getSchema(AuditableItemGraphResource));
17
+ EntitySchemaFactory.register("AuditableItemGraphEdge", () => EntitySchemaHelper.getSchema(AuditableItemGraphEdge));
18
+ EntitySchemaFactory.register("AuditableItemGraphChangeset", () => EntitySchemaHelper.getSchema(AuditableItemGraphChangeset));
19
+ EntitySchemaFactory.register("AuditableItemGraphPatch", () => EntitySchemaHelper.getSchema(AuditableItemGraphPatch));
20
+ }
21
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAElF;;GAEG;AACH,MAAM,UAAU,UAAU;IACzB,mBAAmB,CAAC,QAAQ,6BAAqC,GAAG,EAAE,CACrE,kBAAkB,CAAC,SAAS,CAAC,wBAAwB,CAAC,CACtD,CAAC;IACF,mBAAmB,CAAC,QAAQ,4BAAoC,GAAG,EAAE,CACpE,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,CAAC,CACrD,CAAC;IACF,mBAAmB,CAAC,QAAQ,+BAAuC,GAAG,EAAE,CACvE,kBAAkB,CAAC,SAAS,CAAC,0BAA0B,CAAC,CACxD,CAAC;IACF,mBAAmB,CAAC,QAAQ,2BAAmC,GAAG,EAAE,CACnE,kBAAkB,CAAC,SAAS,CAAC,sBAAsB,CAAC,CACpD,CAAC;IACF,mBAAmB,CAAC,QAAQ,gCAAwC,GAAG,EAAE,CACxE,kBAAkB,CAAC,SAAS,CAAC,2BAA2B,CAAC,CACzD,CAAC;IACF,mBAAmB,CAAC,QAAQ,4BAAoC,GAAG,EAAE,CACpE,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,CAAC,CACrD,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { EntitySchemaFactory, EntitySchemaHelper } from \"@twin.org/entity\";\nimport { nameof } from \"@twin.org/nameof\";\nimport { AuditableItemGraphAlias } from \"./entities/auditableItemGraphAlias.js\";\nimport { AuditableItemGraphChangeset } from \"./entities/auditableItemGraphChangeset.js\";\nimport { AuditableItemGraphEdge } from \"./entities/auditableItemGraphEdge.js\";\nimport { AuditableItemGraphPatch } from \"./entities/auditableItemGraphPatch.js\";\nimport { AuditableItemGraphResource } from \"./entities/auditableItemGraphResource.js\";\nimport { AuditableItemGraphVertex } from \"./entities/auditableItemGraphVertex.js\";\n\n/**\n * Initialize the schema for the auditable item graph entity storage connector.\n */\nexport function initSchema(): void {\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphVertex>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertex)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphAlias>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphAlias)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphResource>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphResource)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphEdge>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphEdge)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphChangeset>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphChangeset)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphPatch>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphPatch)\n\t);\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { VerifyDepth, type IAuditableItemGraphComponent, type IAuditableItemGraphVertex, type IAuditableItemGraphVertexList } from "@twin.org/auditable-item-graph-models";
2
2
  import { type IJsonLdNodeObject } from "@twin.org/data-json-ld";
3
3
  import { SortDirection, type IComparator } from "@twin.org/entity";
4
- import type { IAuditableItemGraphServiceConstructorOptions } from "./models/IAuditableItemGraphServiceConstructorOptions";
4
+ import type { IAuditableItemGraphServiceConstructorOptions } from "./models/IAuditableItemGraphServiceConstructorOptions.js";
5
5
  /**
6
6
  * Class for performing auditable item graph operations.
7
7
  */
@@ -23,6 +23,11 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
23
23
  * @param options The dependencies for the auditable item graph connector.
24
24
  */
25
25
  constructor(options?: IAuditableItemGraphServiceConstructorOptions);
26
+ /**
27
+ * Returns the class name of the component.
28
+ * @returns The class name of the component.
29
+ */
30
+ className(): string;
26
31
  /**
27
32
  * Create a new graph vertex.
28
33
  * @param vertex The vertex to create.
@@ -30,8 +35,6 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
30
35
  * @param vertex.aliases Alternative aliases that can be used to identify the vertex.
31
36
  * @param vertex.resources The resources attached to the vertex.
32
37
  * @param vertex.edges The edges connected to the vertex.
33
- * @param userIdentity The identity to create the auditable item graph operation with.
34
- * @param nodeIdentity The node identity to include in the auditable item graph.
35
38
  * @returns The id of the new graph item.
36
39
  */
37
40
  create(vertex: {
@@ -51,7 +54,7 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
51
54
  edgeRelationships: string[];
52
55
  annotationObject?: IJsonLdNodeObject;
53
56
  }[];
54
- }, userIdentity?: string, nodeIdentity?: string): Promise<string>;
57
+ }): Promise<string>;
55
58
  /**
56
59
  * Get a graph vertex.
57
60
  * @param id The id of the vertex to get.
@@ -75,8 +78,6 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
75
78
  * @param vertex.aliases Alternative aliases that can be used to identify the vertex.
76
79
  * @param vertex.resources The resources attached to the vertex.
77
80
  * @param vertex.edges The edges connected to the vertex.
78
- * @param userIdentity The identity to create the auditable item graph operation with.
79
- * @param nodeIdentity The node identity to include in the auditable item graph.
80
81
  * @returns Nothing.
81
82
  */
82
83
  update(vertex: {
@@ -97,15 +98,14 @@ export declare class AuditableItemGraphService implements IAuditableItemGraphCom
97
98
  edgeRelationships: string[];
98
99
  annotationObject?: IJsonLdNodeObject;
99
100
  }[];
100
- }, userIdentity?: string, nodeIdentity?: string): Promise<void>;
101
+ }): Promise<void>;
101
102
  /**
102
103
  * Remove the verifiable storage for an item.
103
104
  * @param id The id of the vertex to get.
104
- * @param nodeIdentity The node identity to use for vault operations.
105
105
  * @returns Nothing.
106
106
  * @throws NotFoundError if the vertex is not found.
107
107
  */
108
- removeVerifiable(id: string, nodeIdentity?: string): Promise<void>;
108
+ removeVerifiable(id: string): Promise<void>;
109
109
  /**
110
110
  * Query the graph for vertices.
111
111
  * @param options The query options.
@@ -1,4 +1,4 @@
1
- import type { AuditableItemGraphPatch } from "./auditableItemGraphPatch";
1
+ import type { AuditableItemGraphPatch } from "./auditableItemGraphPatch.js";
2
2
  /**
3
3
  * Class describing a set of updates to the vertex.
4
4
  */
@@ -18,7 +18,7 @@ export declare class AuditableItemGraphChangeset {
18
18
  /**
19
19
  * The identity of the user who made the changeset.
20
20
  */
21
- userIdentity: string;
21
+ userIdentity?: string;
22
22
  /**
23
23
  * The patches in the changeset.
24
24
  */
@@ -1,7 +1,7 @@
1
1
  import { type IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
- import type { AuditableItemGraphAlias } from "./auditableItemGraphAlias";
3
- import type { AuditableItemGraphEdge } from "./auditableItemGraphEdge";
4
- import type { AuditableItemGraphResource } from "./auditableItemGraphResource";
2
+ import type { AuditableItemGraphAlias } from "./auditableItemGraphAlias.js";
3
+ import type { AuditableItemGraphEdge } from "./auditableItemGraphEdge.js";
4
+ import type { AuditableItemGraphResource } from "./auditableItemGraphResource.js";
5
5
  /**
6
6
  * Class describing the auditable item graph vertex.
7
7
  */
@@ -11,9 +11,9 @@ export declare class AuditableItemGraphVertex {
11
11
  */
12
12
  id: string;
13
13
  /**
14
- * The identity of the node which controls the vertex.
14
+ * The identity of the organization which controls the vertex.
15
15
  */
16
- nodeIdentity?: string;
16
+ organizationIdentity?: string;
17
17
  /**
18
18
  * The date/time of when the vertex was created.
19
19
  */
@@ -1,12 +1,12 @@
1
- export * from "./auditableItemGraphRoutes";
2
- export * from "./auditableItemGraphService";
3
- export * from "./entities/auditableItemGraphAlias";
4
- export * from "./entities/auditableItemGraphChangeset";
5
- export * from "./entities/auditableItemGraphEdge";
6
- export * from "./entities/auditableItemGraphPatch";
7
- export * from "./entities/auditableItemGraphResource";
8
- export * from "./entities/auditableItemGraphVertex";
9
- export * from "./models/IAuditableItemGraphServiceConfig";
10
- export * from "./models/IAuditableItemGraphServiceConstructorOptions";
11
- export * from "./restEntryPoints";
12
- export * from "./schema";
1
+ export * from "./auditableItemGraphRoutes.js";
2
+ export * from "./auditableItemGraphService.js";
3
+ export * from "./entities/auditableItemGraphAlias.js";
4
+ export * from "./entities/auditableItemGraphChangeset.js";
5
+ export * from "./entities/auditableItemGraphEdge.js";
6
+ export * from "./entities/auditableItemGraphPatch.js";
7
+ export * from "./entities/auditableItemGraphResource.js";
8
+ export * from "./entities/auditableItemGraphVertex.js";
9
+ export * from "./models/IAuditableItemGraphServiceConfig.js";
10
+ export * from "./models/IAuditableItemGraphServiceConstructorOptions.js";
11
+ export * from "./restEntryPoints.js";
12
+ export * from "./schema.js";
@@ -1,4 +1,4 @@
1
- import type { IAuditableItemGraphServiceConfig } from "./IAuditableItemGraphServiceConfig";
1
+ import type { IAuditableItemGraphServiceConfig } from "./IAuditableItemGraphServiceConfig.js";
2
2
  /**
3
3
  * Options for the constructor of the auditable item graph service.
4
4
  */
@@ -1,3 +1,4 @@
1
+ import type { IContextIds } from "@twin.org/context";
1
2
  /**
2
3
  * Context for the auditable item graph service.
3
4
  */
@@ -7,11 +8,7 @@ export interface IAuditableItemGraphServiceContext {
7
8
  */
8
9
  now: string;
9
10
  /**
10
- * The identity of the user.
11
+ * The context ids for the operation.
11
12
  */
12
- userIdentity: string;
13
- /**
14
- * The identity of the node.
15
- */
16
- nodeIdentity: string;
13
+ contextIds?: IContextIds;
17
14
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @twin.org/auditable-item-graph-service - Changelog
2
2
 
3
+ ## [0.0.3-next.1](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-service-v0.0.3-next.0...auditable-item-graph-service-v0.0.3-next.1) (2025-11-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#30](https://github.com/twinfoundation/auditable-item-graph/issues/30)) ([a35d37c](https://github.com/twinfoundation/auditable-item-graph/commit/a35d37c0db62a240adde493965c0a9f7971fec45))
9
+ * add data types with fully qualified name ([93e1ee7](https://github.com/twinfoundation/auditable-item-graph/commit/93e1ee7c0f7bad81f003787f797f363864e201af))
10
+ * add unique flag for alias, and exact match option for id query ([33dbd19](https://github.com/twinfoundation/auditable-item-graph/commit/33dbd19cabd9fbfaba81032f1d1a6527584c3f5a))
11
+ * add validate-locales ([e76e6f6](https://github.com/twinfoundation/auditable-item-graph/commit/e76e6f6b3ec9c447a04315d353442e32233601d3))
12
+ * eslint migration to flat config ([1b42a3a](https://github.com/twinfoundation/auditable-item-graph/commit/1b42a3a27bd6e32d7816de406b92b6332472edf6))
13
+ * id optional in edge updates ([6b63fe3](https://github.com/twinfoundation/auditable-item-graph/commit/6b63fe34553104843ae15aa5066775f5872859e9))
14
+ * improve JSON schemas ([bec8dc1](https://github.com/twinfoundation/auditable-item-graph/commit/bec8dc1f270c6c9710623a192b984cf46f8a5613))
15
+ * only set dateModified after update ([#4](https://github.com/twinfoundation/auditable-item-graph/issues/4)) ([43ea6e5](https://github.com/twinfoundation/auditable-item-graph/commit/43ea6e5f2d0b9181a80f0bf2935db64b3263839a))
16
+ * remove unused namespace ([ff1a3b4](https://github.com/twinfoundation/auditable-item-graph/commit/ff1a3b4e414fe2ee311a03027456ee40fbb580d7))
17
+ * update background task service ([e483ddb](https://github.com/twinfoundation/auditable-item-graph/commit/e483ddbc948f035334f92b8342248caa6abbe441))
18
+ * update dependencies ([6986689](https://github.com/twinfoundation/auditable-item-graph/commit/698668957a1fcb7f85ce2f117914d5980043924f))
19
+ * update edges to use targetId instead of id ([6c5d0e3](https://github.com/twinfoundation/auditable-item-graph/commit/6c5d0e31b6e2ea74bfa2f3344e4be628e5f237af))
20
+ * update framework core ([88ad4e6](https://github.com/twinfoundation/auditable-item-graph/commit/88ad4e6421132c3c6c45579b078d982a26f16990))
21
+ * use new nameof operators ([3921c4c](https://github.com/twinfoundation/auditable-item-graph/commit/3921c4c9ac53e42459e45f10d9e702afb2797a23))
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
+ * use standard list json ld types ([8f53836](https://github.com/twinfoundation/auditable-item-graph/commit/8f53836d4c83a98d64d7f5fe0531bb9af09464ae))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * 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))
29
+ * query params force coercion ([2dd9afe](https://github.com/twinfoundation/auditable-item-graph/commit/2dd9afe9ec37e2a91c110317fe289f7495c187a0))
30
+ * update tests with new deterministic background tasks ([#8](https://github.com/twinfoundation/auditable-item-graph/issues/8)) ([a96721c](https://github.com/twinfoundation/auditable-item-graph/commit/a96721c28128781f9cbd983d013dcf4c5542158c))
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @twin.org/auditable-item-graph-models bumped from 0.0.3-next.0 to 0.0.3-next.1
38
+
3
39
  ## [0.0.2-next.8](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-service-v0.0.2-next.7...auditable-item-graph-service-v0.0.2-next.8) (2025-10-09)
4
40
 
5
41
 
@@ -222,7 +222,7 @@
222
222
  "in": "query",
223
223
  "required": false,
224
224
  "schema": {
225
- "type": "boolean"
225
+ "type": "string"
226
226
  }
227
227
  },
228
228
  {
@@ -496,10 +496,7 @@
496
496
  "in": "query",
497
497
  "required": false,
498
498
  "schema": {
499
- "type": [
500
- "boolean",
501
- "string"
502
- ]
499
+ "type": "string"
503
500
  }
504
501
  },
505
502
  {
@@ -508,10 +505,7 @@
508
505
  "in": "query",
509
506
  "required": false,
510
507
  "schema": {
511
- "type": [
512
- "boolean",
513
- "string"
514
- ]
508
+ "type": "string"
515
509
  }
516
510
  },
517
511
  {
@@ -869,79 +863,70 @@
869
863
  },
870
864
  "aliases": {
871
865
  "type": "array",
872
- "items": false,
873
- "description": "Alternative aliases that can be used to identify the vertex.",
874
- "prefixItems": [
875
- {
876
- "type": "object",
877
- "properties": {
878
- "id": {
879
- "type": "string"
880
- },
881
- "aliasFormat": {
882
- "type": "string"
883
- },
884
- "unique": {
885
- "type": "boolean"
886
- },
887
- "annotationObject": {
888
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
889
- }
866
+ "items": {
867
+ "type": "object",
868
+ "properties": {
869
+ "id": {
870
+ "type": "string"
890
871
  },
891
- "required": [
892
- "id"
893
- ],
894
- "additionalProperties": false
895
- }
896
- ]
872
+ "aliasFormat": {
873
+ "type": "string"
874
+ },
875
+ "unique": {
876
+ "type": "boolean"
877
+ },
878
+ "annotationObject": {
879
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
880
+ }
881
+ },
882
+ "required": [
883
+ "id"
884
+ ],
885
+ "additionalProperties": false
886
+ },
887
+ "description": "Alternative aliases that can be used to identify the vertex."
897
888
  },
898
889
  "resources": {
899
890
  "type": "array",
900
- "items": false,
901
- "description": "The resources attached to the vertex.",
902
- "prefixItems": [
903
- {
904
- "type": "object",
905
- "properties": {
906
- "id": {
907
- "type": "string"
908
- },
909
- "resourceObject": {
910
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
911
- }
891
+ "items": {
892
+ "type": "object",
893
+ "properties": {
894
+ "id": {
895
+ "type": "string"
912
896
  },
913
- "additionalProperties": false
914
- }
915
- ]
897
+ "resourceObject": {
898
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
899
+ }
900
+ },
901
+ "additionalProperties": false
902
+ },
903
+ "description": "The resources attached to the vertex."
916
904
  },
917
905
  "edges": {
918
906
  "type": "array",
919
- "items": false,
920
- "description": "The edges connected to the vertex.",
921
- "prefixItems": [
922
- {
923
- "type": "object",
924
- "properties": {
925
- "targetId": {
907
+ "items": {
908
+ "type": "object",
909
+ "properties": {
910
+ "targetId": {
911
+ "type": "string"
912
+ },
913
+ "edgeRelationships": {
914
+ "type": "array",
915
+ "items": {
926
916
  "type": "string"
927
- },
928
- "edgeRelationships": {
929
- "type": "array",
930
- "items": {
931
- "type": "string"
932
- }
933
- },
934
- "annotationObject": {
935
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
936
917
  }
937
918
  },
938
- "required": [
939
- "targetId",
940
- "edgeRelationships"
941
- ],
942
- "additionalProperties": false
943
- }
944
- ]
919
+ "annotationObject": {
920
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
921
+ }
922
+ },
923
+ "required": [
924
+ "targetId",
925
+ "edgeRelationships"
926
+ ],
927
+ "additionalProperties": false
928
+ },
929
+ "description": "The edges connected to the vertex."
945
930
  }
946
931
  },
947
932
  "additionalProperties": false,
@@ -955,82 +940,73 @@
955
940
  },
956
941
  "aliases": {
957
942
  "type": "array",
958
- "items": false,
959
- "description": "Alternative aliases that can be used to identify the vertex.",
960
- "prefixItems": [
961
- {
962
- "type": "object",
963
- "properties": {
964
- "id": {
965
- "type": "string"
966
- },
967
- "aliasFormat": {
968
- "type": "string"
969
- },
970
- "unique": {
971
- "type": "boolean"
972
- },
973
- "annotationObject": {
974
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
975
- }
943
+ "items": {
944
+ "type": "object",
945
+ "properties": {
946
+ "id": {
947
+ "type": "string"
976
948
  },
977
- "required": [
978
- "id"
979
- ],
980
- "additionalProperties": false
981
- }
982
- ]
949
+ "aliasFormat": {
950
+ "type": "string"
951
+ },
952
+ "unique": {
953
+ "type": "boolean"
954
+ },
955
+ "annotationObject": {
956
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
957
+ }
958
+ },
959
+ "required": [
960
+ "id"
961
+ ],
962
+ "additionalProperties": false
963
+ },
964
+ "description": "Alternative aliases that can be used to identify the vertex."
983
965
  },
984
966
  "resources": {
985
967
  "type": "array",
986
- "items": false,
987
- "description": "The resources attached to the vertex.",
988
- "prefixItems": [
989
- {
990
- "type": "object",
991
- "properties": {
992
- "id": {
993
- "type": "string"
994
- },
995
- "resourceObject": {
996
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
997
- }
968
+ "items": {
969
+ "type": "object",
970
+ "properties": {
971
+ "id": {
972
+ "type": "string"
998
973
  },
999
- "additionalProperties": false
1000
- }
1001
- ]
974
+ "resourceObject": {
975
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
976
+ }
977
+ },
978
+ "additionalProperties": false
979
+ },
980
+ "description": "The resources attached to the vertex."
1002
981
  },
1003
982
  "edges": {
1004
983
  "type": "array",
1005
- "items": false,
1006
- "description": "The edges connected to the vertex.",
1007
- "prefixItems": [
1008
- {
1009
- "type": "object",
1010
- "properties": {
1011
- "id": {
1012
- "type": "string"
1013
- },
1014
- "targetId": {
984
+ "items": {
985
+ "type": "object",
986
+ "properties": {
987
+ "id": {
988
+ "type": "string"
989
+ },
990
+ "targetId": {
991
+ "type": "string"
992
+ },
993
+ "edgeRelationships": {
994
+ "type": "array",
995
+ "items": {
1015
996
  "type": "string"
1016
- },
1017
- "edgeRelationships": {
1018
- "type": "array",
1019
- "items": {
1020
- "type": "string"
1021
- }
1022
- },
1023
- "annotationObject": {
1024
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
1025
997
  }
1026
998
  },
1027
- "required": [
1028
- "targetId",
1029
- "edgeRelationships"
1030
- ],
1031
- "additionalProperties": false
1032
- }
1033
- ]
999
+ "annotationObject": {
1000
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
1001
+ }
1002
+ },
1003
+ "required": [
1004
+ "targetId",
1005
+ "edgeRelationships"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ },
1009
+ "description": "The edges connected to the vertex."
1034
1010
  }
1035
1011
  },
1036
1012
  "additionalProperties": false,
@@ -38,9 +38,9 @@ The date/time of when the changeset was created.
38
38
 
39
39
  ***
40
40
 
41
- ### userIdentity
41
+ ### userIdentity?
42
42
 
43
- > **userIdentity**: `string`
43
+ > `optional` **userIdentity**: `string`
44
44
 
45
45
  The identity of the user who made the changeset.
46
46