@twin.org/auditable-item-graph-models 0.0.3-next.2 → 0.0.3-next.21

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 (135) hide show
  1. package/README.md +3 -1
  2. package/dist/es/dataTypes/auditableItemGraphDataTypes.js +47 -43
  3. package/dist/es/dataTypes/auditableItemGraphDataTypes.js.map +1 -1
  4. package/dist/es/index.js +15 -0
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/es/models/IAuditableItemGraphAlias.js.map +1 -1
  7. package/dist/es/models/IAuditableItemGraphAuditedElement.js.map +1 -1
  8. package/dist/es/models/IAuditableItemGraphChangeset.js.map +1 -1
  9. package/dist/es/models/IAuditableItemGraphChangesetList.js +2 -0
  10. package/dist/es/models/IAuditableItemGraphChangesetList.js.map +1 -0
  11. package/dist/es/models/IAuditableItemGraphComponent.js.map +1 -1
  12. package/dist/es/models/IAuditableItemGraphEdge.js.map +1 -1
  13. package/dist/es/models/IAuditableItemGraphListPatch.js +2 -0
  14. package/dist/es/models/IAuditableItemGraphListPatch.js.map +1 -0
  15. package/dist/es/models/IAuditableItemGraphPartialVertex.js +2 -0
  16. package/dist/es/models/IAuditableItemGraphPartialVertex.js.map +1 -0
  17. package/dist/es/models/IAuditableItemGraphPatchOperation.js.map +1 -1
  18. package/dist/es/models/IAuditableItemGraphResource.js.map +1 -1
  19. package/dist/es/models/IAuditableItemGraphVertex.js.map +1 -1
  20. package/dist/es/models/IAuditableItemGraphVertexList.js.map +1 -1
  21. package/dist/es/models/IAuditableItemGraphVertexVersionList.js +2 -0
  22. package/dist/es/models/IAuditableItemGraphVertexVersionList.js.map +1 -0
  23. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js +2 -0
  24. package/dist/es/models/api/IAuditableItemGraphChangesetGetRequest.js.map +1 -0
  25. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js +2 -0
  26. package/dist/es/models/api/IAuditableItemGraphChangesetGetResponse.js.map +1 -0
  27. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js +2 -0
  28. package/dist/es/models/api/IAuditableItemGraphChangesetListRequest.js.map +1 -0
  29. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js +2 -0
  30. package/dist/es/models/api/IAuditableItemGraphChangesetListResponse.js.map +1 -0
  31. package/dist/es/models/api/IAuditableItemGraphCreateRequest.js.map +1 -1
  32. package/dist/es/models/api/IAuditableItemGraphGetRequest.js.map +1 -1
  33. package/dist/es/models/api/IAuditableItemGraphListResponse.js.map +1 -1
  34. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js +2 -0
  35. package/dist/es/models/api/IAuditableItemGraphUpdatePartialRequest.js.map +1 -0
  36. package/dist/es/models/api/IAuditableItemGraphUpdateRequest.js.map +1 -1
  37. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js +2 -0
  38. package/dist/es/models/api/IAuditableItemGraphVersionGetRequest.js.map +1 -0
  39. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js +2 -0
  40. package/dist/es/models/api/IAuditableItemGraphVersionGetResponse.js.map +1 -0
  41. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js +2 -0
  42. package/dist/es/models/api/IAuditableItemGraphVersionListRequest.js.map +1 -0
  43. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js +2 -0
  44. package/dist/es/models/api/IAuditableItemGraphVersionListResponse.js.map +1 -0
  45. package/dist/es/models/auditableItemGraphContexts.js +19 -3
  46. package/dist/es/models/auditableItemGraphContexts.js.map +1 -1
  47. package/dist/es/models/auditableItemGraphMetricIds.js +69 -0
  48. package/dist/es/models/auditableItemGraphMetricIds.js.map +1 -0
  49. package/dist/es/models/auditableItemGraphMetrics.js +82 -0
  50. package/dist/es/models/auditableItemGraphMetrics.js.map +1 -0
  51. package/dist/es/models/auditableItemGraphTypes.js +18 -2
  52. package/dist/es/models/auditableItemGraphTypes.js.map +1 -1
  53. package/dist/es/schemas/AuditableItemGraphAlias.json +16 -23
  54. package/dist/es/schemas/AuditableItemGraphAuditedElement.json +25 -0
  55. package/dist/es/schemas/AuditableItemGraphChangeset.json +9 -9
  56. package/dist/es/schemas/AuditableItemGraphEdge.json +12 -23
  57. package/dist/es/schemas/AuditableItemGraphListPatch.json +33 -0
  58. package/dist/es/schemas/AuditableItemGraphPartialVertex.json +110 -0
  59. package/dist/es/schemas/AuditableItemGraphPatchOperation.json +23 -16
  60. package/dist/es/schemas/AuditableItemGraphResource.json +8 -23
  61. package/dist/es/schemas/AuditableItemGraphVertex.json +33 -30
  62. package/dist/es/schemas/AuditableItemGraphVertexList.json +16 -23
  63. package/dist/types/index.d.ts +15 -0
  64. package/dist/types/models/IAuditableItemGraphAlias.d.ts +8 -1
  65. package/dist/types/models/IAuditableItemGraphAuditedElement.d.ts +3 -0
  66. package/dist/types/models/IAuditableItemGraphChangeset.d.ts +14 -3
  67. package/dist/types/models/IAuditableItemGraphChangesetList.d.ts +27 -0
  68. package/dist/types/models/IAuditableItemGraphComponent.d.ts +72 -46
  69. package/dist/types/models/IAuditableItemGraphEdge.d.ts +4 -1
  70. package/dist/types/models/IAuditableItemGraphListPatch.d.ts +18 -0
  71. package/dist/types/models/IAuditableItemGraphPartialVertex.d.ts +45 -0
  72. package/dist/types/models/IAuditableItemGraphPatchOperation.d.ts +5 -1
  73. package/dist/types/models/IAuditableItemGraphResource.d.ts +2 -1
  74. package/dist/types/models/IAuditableItemGraphVertex.d.ts +14 -7
  75. package/dist/types/models/IAuditableItemGraphVertexList.d.ts +3 -6
  76. package/dist/types/models/IAuditableItemGraphVertexVersionList.d.ts +29 -0
  77. package/dist/types/models/api/IAuditableItemGraphChangesetGetRequest.d.ts +35 -0
  78. package/dist/types/models/api/IAuditableItemGraphChangesetGetResponse.d.ts +17 -0
  79. package/dist/types/models/api/IAuditableItemGraphChangesetListRequest.d.ts +39 -0
  80. package/dist/types/models/api/IAuditableItemGraphChangesetListResponse.d.ts +18 -0
  81. package/dist/types/models/api/IAuditableItemGraphCreateRequest.d.ts +2 -31
  82. package/dist/types/models/api/IAuditableItemGraphGetRequest.d.ts +0 -4
  83. package/dist/types/models/api/IAuditableItemGraphListResponse.d.ts +1 -0
  84. package/dist/types/models/api/IAuditableItemGraphUpdatePartialRequest.d.ts +20 -0
  85. package/dist/types/models/api/IAuditableItemGraphUpdateRequest.d.ts +4 -34
  86. package/dist/types/models/api/IAuditableItemGraphVersionGetRequest.d.ts +25 -0
  87. package/dist/types/models/api/IAuditableItemGraphVersionGetResponse.d.ts +17 -0
  88. package/dist/types/models/api/IAuditableItemGraphVersionListRequest.d.ts +34 -0
  89. package/dist/types/models/api/IAuditableItemGraphVersionListResponse.d.ts +17 -0
  90. package/dist/types/models/auditableItemGraphContexts.d.ts +18 -2
  91. package/dist/types/models/auditableItemGraphMetricIds.d.ts +69 -0
  92. package/dist/types/models/auditableItemGraphMetrics.d.ts +5 -0
  93. package/dist/types/models/auditableItemGraphTypes.d.ts +17 -1
  94. package/docs/changelog.md +231 -69
  95. package/docs/examples.md +22 -1
  96. package/docs/reference/classes/AuditableItemGraphDataTypes.md +1 -1
  97. package/docs/reference/index.md +16 -0
  98. package/docs/reference/interfaces/IAuditableItemGraphAlias.md +22 -14
  99. package/docs/reference/interfaces/IAuditableItemGraphAuditedElement.md +8 -8
  100. package/docs/reference/interfaces/IAuditableItemGraphChangeset.md +21 -12
  101. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetRequest.md +49 -0
  102. package/docs/reference/interfaces/IAuditableItemGraphChangesetGetResponse.md +23 -0
  103. package/docs/reference/interfaces/IAuditableItemGraphChangesetList.md +27 -0
  104. package/docs/reference/interfaces/IAuditableItemGraphChangesetListRequest.md +55 -0
  105. package/docs/reference/interfaces/IAuditableItemGraphChangesetListResponse.md +27 -0
  106. package/docs/reference/interfaces/IAuditableItemGraphComponent.md +185 -57
  107. package/docs/reference/interfaces/IAuditableItemGraphCreateRequest.md +2 -26
  108. package/docs/reference/interfaces/IAuditableItemGraphEdge.md +15 -15
  109. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexCreated.md +1 -1
  110. package/docs/reference/interfaces/IAuditableItemGraphEventBusVertexUpdated.md +2 -2
  111. package/docs/reference/interfaces/IAuditableItemGraphGetRequest.md +7 -13
  112. package/docs/reference/interfaces/IAuditableItemGraphGetResponse.md +3 -3
  113. package/docs/reference/interfaces/IAuditableItemGraphListPatch.md +25 -0
  114. package/docs/reference/interfaces/IAuditableItemGraphListRequest.md +14 -14
  115. package/docs/reference/interfaces/IAuditableItemGraphListResponse.md +7 -3
  116. package/docs/reference/interfaces/IAuditableItemGraphPartialVertex.md +149 -0
  117. package/docs/reference/interfaces/IAuditableItemGraphPatchOperation.md +9 -9
  118. package/docs/reference/interfaces/IAuditableItemGraphResource.md +13 -13
  119. package/docs/reference/interfaces/IAuditableItemGraphUpdatePartialRequest.md +26 -0
  120. package/docs/reference/interfaces/IAuditableItemGraphUpdateRequest.md +5 -29
  121. package/docs/reference/interfaces/IAuditableItemGraphVersionGetRequest.md +35 -0
  122. package/docs/reference/interfaces/IAuditableItemGraphVersionGetResponse.md +23 -0
  123. package/docs/reference/interfaces/IAuditableItemGraphVersionListRequest.md +49 -0
  124. package/docs/reference/interfaces/IAuditableItemGraphVersionListResponse.md +23 -0
  125. package/docs/reference/interfaces/IAuditableItemGraphVertex.md +26 -25
  126. package/docs/reference/interfaces/IAuditableItemGraphVertexList.md +3 -11
  127. package/docs/reference/interfaces/IAuditableItemGraphVertexVersionList.md +35 -0
  128. package/docs/reference/type-aliases/AuditableItemGraphMetricIds.md +5 -0
  129. package/docs/reference/variables/AuditableItemGraphContexts.md +28 -4
  130. package/docs/reference/variables/AuditableItemGraphMetricIds.md +97 -0
  131. package/docs/reference/variables/AuditableItemGraphMetrics.md +5 -0
  132. package/docs/reference/variables/AuditableItemGraphTopics.md +2 -2
  133. package/docs/reference/variables/AuditableItemGraphTypes.md +32 -8
  134. package/docs/reference/variables/VerifyDepth.md +3 -3
  135. package/package.json +5 -4
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # TWIN Auditable Item Graph Models
2
2
 
3
- Models which define the structure of the auditable item graph contracts and connectors.
3
+ This package defines the shared contracts used by the wider graph ecosystem, including typed interfaces, JSON schemas, and JSON-LD contexts.
4
+
5
+ It provides the common data foundation needed to exchange graph items and audit structures reliably across services and clients.
4
6
 
5
7
  ## Installation
6
8
 
@@ -1,11 +1,14 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
- import { DataTypeHandlerFactory } from "@twin.org/data-core";
3
+ import { DataTypeHelper } from "@twin.org/data-core";
4
4
  import { AuditableItemGraphContexts } from "../models/auditableItemGraphContexts.js";
5
5
  import { AuditableItemGraphTypes } from "../models/auditableItemGraphTypes.js";
6
6
  import AuditableItemGraphAliasSchema from "../schemas/AuditableItemGraphAlias.json" with { type: "json" };
7
+ import AuditableItemGraphAuditedElementSchema from "../schemas/AuditableItemGraphAuditedElement.json" with { type: "json" };
7
8
  import AuditableItemGraphChangesetSchema from "../schemas/AuditableItemGraphChangeset.json" with { type: "json" };
8
9
  import AuditableItemGraphEdgeSchema from "../schemas/AuditableItemGraphEdge.json" with { type: "json" };
10
+ import AuditableItemGraphListPatchSchema from "../schemas/AuditableItemGraphListPatch.json" with { type: "json" };
11
+ import AuditableItemGraphPartialVertexSchema from "../schemas/AuditableItemGraphPartialVertex.json" with { type: "json" };
9
12
  import AuditableItemGraphPatchOperationSchema from "../schemas/AuditableItemGraphPatchOperation.json" with { type: "json" };
10
13
  import AuditableItemGraphResourceSchema from "../schemas/AuditableItemGraphResource.json" with { type: "json" };
11
14
  import AuditableItemGraphVertexSchema from "../schemas/AuditableItemGraphVertex.json" with { type: "json" };
@@ -18,48 +21,49 @@ export class AuditableItemGraphDataTypes {
18
21
  * Register all the data types.
19
22
  */
20
23
  static registerTypes() {
21
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Vertex}`, () => ({
22
- namespace: AuditableItemGraphContexts.Namespace,
23
- type: AuditableItemGraphTypes.Vertex,
24
- defaultValue: {},
25
- jsonSchema: async () => AuditableItemGraphVertexSchema
26
- }));
27
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.VertexList}`, () => ({
28
- namespace: AuditableItemGraphContexts.Namespace,
29
- type: AuditableItemGraphTypes.VertexList,
30
- defaultValue: {},
31
- jsonSchema: async () => AuditableItemGraphVertexListSchema
32
- }));
33
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Alias}`, () => ({
34
- namespace: AuditableItemGraphContexts.Namespace,
35
- type: AuditableItemGraphTypes.Alias,
36
- defaultValue: {},
37
- jsonSchema: async () => AuditableItemGraphAliasSchema
38
- }));
39
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Resource}`, () => ({
40
- namespace: AuditableItemGraphContexts.Namespace,
41
- type: AuditableItemGraphTypes.Resource,
42
- defaultValue: {},
43
- jsonSchema: async () => AuditableItemGraphResourceSchema
44
- }));
45
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Edge}`, () => ({
46
- namespace: AuditableItemGraphContexts.Namespace,
47
- type: AuditableItemGraphTypes.Edge,
48
- defaultValue: {},
49
- jsonSchema: async () => AuditableItemGraphEdgeSchema
50
- }));
51
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Changeset}`, () => ({
52
- namespace: AuditableItemGraphContexts.Namespace,
53
- type: AuditableItemGraphTypes.Changeset,
54
- defaultValue: {},
55
- jsonSchema: async () => AuditableItemGraphChangesetSchema
56
- }));
57
- DataTypeHandlerFactory.register(`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.PatchOperation}`, () => ({
58
- namespace: AuditableItemGraphContexts.Namespace,
59
- type: AuditableItemGraphTypes.PatchOperation,
60
- defaultValue: {},
61
- jsonSchema: async () => AuditableItemGraphPatchOperationSchema
62
- }));
24
+ const types = [
25
+ {
26
+ type: AuditableItemGraphTypes.Vertex,
27
+ schema: AuditableItemGraphVertexSchema
28
+ },
29
+ {
30
+ type: AuditableItemGraphTypes.VertexList,
31
+ schema: AuditableItemGraphVertexListSchema
32
+ },
33
+ {
34
+ type: AuditableItemGraphTypes.Alias,
35
+ schema: AuditableItemGraphAliasSchema
36
+ },
37
+ {
38
+ type: AuditableItemGraphTypes.Resource,
39
+ schema: AuditableItemGraphResourceSchema
40
+ },
41
+ {
42
+ type: AuditableItemGraphTypes.Edge,
43
+ schema: AuditableItemGraphEdgeSchema
44
+ },
45
+ {
46
+ type: AuditableItemGraphTypes.Changeset,
47
+ schema: AuditableItemGraphChangesetSchema
48
+ },
49
+ {
50
+ type: AuditableItemGraphTypes.PatchOperation,
51
+ schema: AuditableItemGraphPatchOperationSchema
52
+ },
53
+ {
54
+ type: "AuditableItemGraphAuditedElement",
55
+ schema: AuditableItemGraphAuditedElementSchema
56
+ },
57
+ {
58
+ type: AuditableItemGraphTypes.ListPatch,
59
+ schema: AuditableItemGraphListPatchSchema
60
+ },
61
+ {
62
+ type: AuditableItemGraphTypes.PartialVertex,
63
+ schema: AuditableItemGraphPartialVertexSchema
64
+ }
65
+ ];
66
+ DataTypeHelper.registerTypes(AuditableItemGraphContexts.Namespace, AuditableItemGraphContexts.JsonLdContext, types.map(t => ({ type: t.type, schema: t.schema })));
63
67
  }
64
68
  }
65
69
  //# sourceMappingURL=auditableItemGraphDataTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/auditableItemGraphDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,sBAAsB,EAAoB,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,6BAA6B,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1G,OAAO,iCAAiC,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClH,OAAO,4BAA4B,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxG,OAAO,sCAAsC,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5H,OAAO,gCAAgC,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChH,OAAO,8BAA8B,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5G,OAAO,kCAAkC,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEpH;;GAEG;AACH,MAAM,OAAO,2BAA2B;IACvC;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,MAAM,EAAE,EAC1E,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,MAAM;YACpC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,8BAA6C;SACrE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,UAAU,EAAE,EAC9E,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,UAAU;YACxC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,kCAAiD;SACzE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,KAAK,EAAE,EACzE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,KAAK;YACnC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,6BAA4C;SACpE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,QAAQ,EAAE,EAC5E,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,QAAQ;YACtC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,gCAA+C;SACvE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,IAAI,EAAE,EACxE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,IAAI;YAClC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,4BAA2C;SACnE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,SAAS,EAAE,EAC7E,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,SAAS;YACvC,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,iCAAgD;SACxE,CAAC,CACF,CAAC;QACF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,0BAA0B,CAAC,SAAS,GAAG,uBAAuB,CAAC,cAAc,EAAE,EAClF,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,0BAA0B,CAAC,SAAS;YAC/C,IAAI,EAAE,uBAAuB,CAAC,cAAc;YAC5C,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,sCAAqD;SAC7E,CAAC,CACF,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHandlerFactory, type IJsonSchema } from \"@twin.org/data-core\";\nimport { AuditableItemGraphContexts } from \"../models/auditableItemGraphContexts.js\";\nimport { AuditableItemGraphTypes } from \"../models/auditableItemGraphTypes.js\";\nimport AuditableItemGraphAliasSchema from \"../schemas/AuditableItemGraphAlias.json\" with { type: \"json\" };\nimport AuditableItemGraphChangesetSchema from \"../schemas/AuditableItemGraphChangeset.json\" with { type: \"json\" };\nimport AuditableItemGraphEdgeSchema from \"../schemas/AuditableItemGraphEdge.json\" with { type: \"json\" };\nimport AuditableItemGraphPatchOperationSchema from \"../schemas/AuditableItemGraphPatchOperation.json\" with { type: \"json\" };\nimport AuditableItemGraphResourceSchema from \"../schemas/AuditableItemGraphResource.json\" with { type: \"json\" };\nimport AuditableItemGraphVertexSchema from \"../schemas/AuditableItemGraphVertex.json\" with { type: \"json\" };\nimport AuditableItemGraphVertexListSchema from \"../schemas/AuditableItemGraphVertexList.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for auditable item graph.\n */\nexport class AuditableItemGraphDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Vertex}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.Vertex,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphVertexSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.VertexList}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.VertexList,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphVertexListSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Alias}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.Alias,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphAliasSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Resource}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.Resource,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphResourceSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Edge}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.Edge,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphEdgeSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.Changeset}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.Changeset,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphChangesetSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${AuditableItemGraphContexts.Namespace}${AuditableItemGraphTypes.PatchOperation}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: AuditableItemGraphContexts.Namespace,\n\t\t\t\ttype: AuditableItemGraphTypes.PatchOperation,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tjsonSchema: async () => AuditableItemGraphPatchOperationSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/auditableItemGraphDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,6BAA6B,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1G,OAAO,sCAAsC,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5H,OAAO,iCAAiC,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClH,OAAO,4BAA4B,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxG,OAAO,iCAAiC,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClH,OAAO,qCAAqC,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1H,OAAO,sCAAsC,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5H,OAAO,gCAAgC,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChH,OAAO,8BAA8B,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5G,OAAO,kCAAkC,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEpH;;GAEG;AACH,MAAM,OAAO,2BAA2B;IACvC;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,MAAM,KAAK,GAAG;YACb;gBACC,IAAI,EAAE,uBAAuB,CAAC,MAAM;gBACpC,MAAM,EAAE,8BAA8B;aACtC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,UAAU;gBACxC,MAAM,EAAE,kCAAkC;aAC1C;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,KAAK;gBACnC,MAAM,EAAE,6BAA6B;aACrC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,QAAQ;gBACtC,MAAM,EAAE,gCAAgC;aACxC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,IAAI;gBAClC,MAAM,EAAE,4BAA4B;aACpC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,SAAS;gBACvC,MAAM,EAAE,iCAAiC;aACzC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,cAAc;gBAC5C,MAAM,EAAE,sCAAsC;aAC9C;YACD;gBACC,IAAI,EAAE,kCAAkC;gBACxC,MAAM,EAAE,sCAAsC;aAC9C;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,SAAS;gBACvC,MAAM,EAAE,iCAAiC;aACzC;YACD;gBACC,IAAI,EAAE,uBAAuB,CAAC,aAAa;gBAC3C,MAAM,EAAE,qCAAqC;aAC7C;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAC3B,0BAA0B,CAAC,SAAS,EACpC,0BAA0B,CAAC,aAAa,EACxC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CACpD,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { AuditableItemGraphContexts } from \"../models/auditableItemGraphContexts.js\";\nimport { AuditableItemGraphTypes } from \"../models/auditableItemGraphTypes.js\";\nimport AuditableItemGraphAliasSchema from \"../schemas/AuditableItemGraphAlias.json\" with { type: \"json\" };\nimport AuditableItemGraphAuditedElementSchema from \"../schemas/AuditableItemGraphAuditedElement.json\" with { type: \"json\" };\nimport AuditableItemGraphChangesetSchema from \"../schemas/AuditableItemGraphChangeset.json\" with { type: \"json\" };\nimport AuditableItemGraphEdgeSchema from \"../schemas/AuditableItemGraphEdge.json\" with { type: \"json\" };\nimport AuditableItemGraphListPatchSchema from \"../schemas/AuditableItemGraphListPatch.json\" with { type: \"json\" };\nimport AuditableItemGraphPartialVertexSchema from \"../schemas/AuditableItemGraphPartialVertex.json\" with { type: \"json\" };\nimport AuditableItemGraphPatchOperationSchema from \"../schemas/AuditableItemGraphPatchOperation.json\" with { type: \"json\" };\nimport AuditableItemGraphResourceSchema from \"../schemas/AuditableItemGraphResource.json\" with { type: \"json\" };\nimport AuditableItemGraphVertexSchema from \"../schemas/AuditableItemGraphVertex.json\" with { type: \"json\" };\nimport AuditableItemGraphVertexListSchema from \"../schemas/AuditableItemGraphVertexList.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for auditable item graph.\n */\nexport class AuditableItemGraphDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.Vertex,\n\t\t\t\tschema: AuditableItemGraphVertexSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.VertexList,\n\t\t\t\tschema: AuditableItemGraphVertexListSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.Alias,\n\t\t\t\tschema: AuditableItemGraphAliasSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.Resource,\n\t\t\t\tschema: AuditableItemGraphResourceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.Edge,\n\t\t\t\tschema: AuditableItemGraphEdgeSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.Changeset,\n\t\t\t\tschema: AuditableItemGraphChangesetSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.PatchOperation,\n\t\t\t\tschema: AuditableItemGraphPatchOperationSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"AuditableItemGraphAuditedElement\",\n\t\t\t\tschema: AuditableItemGraphAuditedElementSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.ListPatch,\n\t\t\t\tschema: AuditableItemGraphListPatchSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: AuditableItemGraphTypes.PartialVertex,\n\t\t\t\tschema: AuditableItemGraphPartialVertexSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(\n\t\t\tAuditableItemGraphContexts.Namespace,\n\t\t\tAuditableItemGraphContexts.JsonLdContext,\n\t\t\ttypes.map(t => ({ type: t.type, schema: t.schema }))\n\t\t);\n\t}\n}\n"]}
package/dist/es/index.js CHANGED
@@ -1,13 +1,24 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export * from "./dataTypes/auditableItemGraphDataTypes.js";
4
+ export * from "./models/api/IAuditableItemGraphChangesetGetRequest.js";
5
+ export * from "./models/api/IAuditableItemGraphChangesetGetResponse.js";
6
+ export * from "./models/api/IAuditableItemGraphChangesetListRequest.js";
7
+ export * from "./models/api/IAuditableItemGraphChangesetListResponse.js";
4
8
  export * from "./models/api/IAuditableItemGraphCreateRequest.js";
5
9
  export * from "./models/api/IAuditableItemGraphGetRequest.js";
6
10
  export * from "./models/api/IAuditableItemGraphGetResponse.js";
7
11
  export * from "./models/api/IAuditableItemGraphListRequest.js";
8
12
  export * from "./models/api/IAuditableItemGraphListResponse.js";
9
13
  export * from "./models/api/IAuditableItemGraphUpdateRequest.js";
14
+ export * from "./models/api/IAuditableItemGraphUpdatePartialRequest.js";
15
+ export * from "./models/api/IAuditableItemGraphVersionGetRequest.js";
16
+ export * from "./models/api/IAuditableItemGraphVersionGetResponse.js";
17
+ export * from "./models/api/IAuditableItemGraphVersionListRequest.js";
18
+ export * from "./models/api/IAuditableItemGraphVersionListResponse.js";
10
19
  export * from "./models/auditableItemGraphContexts.js";
20
+ export * from "./models/auditableItemGraphMetricIds.js";
21
+ export * from "./models/auditableItemGraphMetrics.js";
11
22
  export * from "./models/auditableItemGraphTopics.js";
12
23
  export * from "./models/auditableItemGraphTypes.js";
13
24
  export * from "./models/eventBus/IAuditableItemGraphEventBusVertexCreated.js";
@@ -15,11 +26,15 @@ export * from "./models/eventBus/IAuditableItemGraphEventBusVertexUpdated.js";
15
26
  export * from "./models/IAuditableItemGraphAlias.js";
16
27
  export * from "./models/IAuditableItemGraphAuditedElement.js";
17
28
  export * from "./models/IAuditableItemGraphChangeset.js";
29
+ export * from "./models/IAuditableItemGraphChangesetList.js";
18
30
  export * from "./models/IAuditableItemGraphComponent.js";
19
31
  export * from "./models/IAuditableItemGraphEdge.js";
20
32
  export * from "./models/IAuditableItemGraphPatchOperation.js";
33
+ export * from "./models/IAuditableItemGraphListPatch.js";
34
+ export * from "./models/IAuditableItemGraphPartialVertex.js";
21
35
  export * from "./models/IAuditableItemGraphResource.js";
22
36
  export * from "./models/IAuditableItemGraphVertex.js";
23
37
  export * from "./models/IAuditableItemGraphVertexList.js";
38
+ export * from "./models/IAuditableItemGraphVertexVersionList.js";
24
39
  export * from "./models/verifyDepth.js";
25
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AACjE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+DAA+D,CAAC;AAC9E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/auditableItemGraphDataTypes.js\";\nexport * from \"./models/api/IAuditableItemGraphCreateRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphGetRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphGetResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphListRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphListResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphUpdateRequest.js\";\nexport * from \"./models/auditableItemGraphContexts.js\";\nexport * from \"./models/auditableItemGraphTopics.js\";\nexport * from \"./models/auditableItemGraphTypes.js\";\nexport * from \"./models/eventBus/IAuditableItemGraphEventBusVertexCreated.js\";\nexport * from \"./models/eventBus/IAuditableItemGraphEventBusVertexUpdated.js\";\nexport * from \"./models/IAuditableItemGraphAlias.js\";\nexport * from \"./models/IAuditableItemGraphAuditedElement.js\";\nexport * from \"./models/IAuditableItemGraphChangeset.js\";\nexport * from \"./models/IAuditableItemGraphComponent.js\";\nexport * from \"./models/IAuditableItemGraphEdge.js\";\nexport * from \"./models/IAuditableItemGraphPatchOperation.js\";\nexport * from \"./models/IAuditableItemGraphResource.js\";\nexport * from \"./models/IAuditableItemGraphVertex.js\";\nexport * from \"./models/IAuditableItemGraphVertexList.js\";\nexport * from \"./models/verifyDepth.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,0DAA0D,CAAC;AACzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,yDAAyD,CAAC;AACxE,cAAc,sDAAsD,CAAC;AACrE,cAAc,uDAAuD,CAAC;AACtE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+DAA+D,CAAC;AAC9E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kDAAkD,CAAC;AACjE,cAAc,yBAAyB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/auditableItemGraphDataTypes.js\";\nexport * from \"./models/api/IAuditableItemGraphChangesetGetRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphChangesetGetResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphChangesetListRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphChangesetListResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphCreateRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphGetRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphGetResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphListRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphListResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphUpdateRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphUpdatePartialRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphVersionGetRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphVersionGetResponse.js\";\nexport * from \"./models/api/IAuditableItemGraphVersionListRequest.js\";\nexport * from \"./models/api/IAuditableItemGraphVersionListResponse.js\";\nexport * from \"./models/auditableItemGraphContexts.js\";\nexport * from \"./models/auditableItemGraphMetricIds.js\";\nexport * from \"./models/auditableItemGraphMetrics.js\";\nexport * from \"./models/auditableItemGraphTopics.js\";\nexport * from \"./models/auditableItemGraphTypes.js\";\nexport * from \"./models/eventBus/IAuditableItemGraphEventBusVertexCreated.js\";\nexport * from \"./models/eventBus/IAuditableItemGraphEventBusVertexUpdated.js\";\nexport * from \"./models/IAuditableItemGraphAlias.js\";\nexport * from \"./models/IAuditableItemGraphAuditedElement.js\";\nexport * from \"./models/IAuditableItemGraphChangeset.js\";\nexport * from \"./models/IAuditableItemGraphChangesetList.js\";\nexport * from \"./models/IAuditableItemGraphComponent.js\";\nexport * from \"./models/IAuditableItemGraphEdge.js\";\nexport * from \"./models/IAuditableItemGraphPatchOperation.js\";\nexport * from \"./models/IAuditableItemGraphListPatch.js\";\nexport * from \"./models/IAuditableItemGraphPartialVertex.js\";\nexport * from \"./models/IAuditableItemGraphResource.js\";\nexport * from \"./models/IAuditableItemGraphVertex.js\";\nexport * from \"./models/IAuditableItemGraphVertexList.js\";\nexport * from \"./models/IAuditableItemGraphVertexVersionList.js\";\nexport * from \"./models/verifyDepth.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphAlias.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphAlias.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an alias for a vertex.\n */\nexport interface IAuditableItemGraphAlias extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AuditableItemGraphContexts.Namespace\n\t\t| [typeof AuditableItemGraphContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Alias;\n\n\t/**\n\t * The JSON-LD annotation object for the alias.\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * The format of the id in the alias.\n\t */\n\taliasFormat?: string;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphAlias.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphAlias.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an alias for a vertex.\n */\nexport interface IAuditableItemGraphAlias extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?:\n\t\t| typeof AuditableItemGraphContexts.Context\n\t\t| [typeof AuditableItemGraphContexts.Context, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Alias;\n\n\t/**\n\t * The JSON-LD annotation object for the alias.\n\t * @json-ld namespace:twin-common\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * The format of the id in the alias.\n\t * @json-ld type:sch:Text\n\t */\n\taliasFormat?: string;\n\n\t/**\n\t * Whether the alias should be unique across the graph, meaning that no other vertex can have the same alias. Defaults to false.\n\t * @json-ld type:sch:Boolean\n\t */\n\tunique?: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphAuditedElement.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphAuditedElement.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface describing the base properties for auditable elements.\n */\nexport interface IAuditableItemGraphAuditedElement {\n\t/**\n\t * The id of the element.\n\t */\n\tid?: string;\n\n\t/**\n\t * The date/time of when the element was created.\n\t */\n\tdateCreated?: string;\n\n\t/**\n\t * The date/time of when the element was modified.\n\t */\n\tdateModified?: string;\n\n\t/**\n\t * The date/time of when the element was deleted, as we never actually remove items.\n\t */\n\tdateDeleted?: string;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphAuditedElement.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphAuditedElement.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface describing the base properties for auditable elements.\n */\nexport interface IAuditableItemGraphAuditedElement {\n\t/**\n\t * The id of the element.\n\t */\n\tid?: string;\n\n\t/**\n\t * The date/time of when the element was created.\n\t * @json-ld namespace:sch\n\t */\n\tdateCreated?: string;\n\n\t/**\n\t * The date/time of when the element was modified.\n\t * @json-ld namespace:sch\n\t */\n\tdateModified?: string;\n\n\t/**\n\t * The date/time of when the element was deleted, as we never actually remove items.\n\t * @json-ld namespace:sch\n\t */\n\tdateDeleted?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphChangeset.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphChangeset.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { IImmutableProofVerification } from \"@twin.org/immutable-proof-models\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphPatchOperation } from \"./IAuditableItemGraphPatchOperation.js\";\n\n/**\n * Interface describing a set of changes to the vertex.\n */\nexport interface IAuditableItemGraphChangeset {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AuditableItemGraphContexts.Namespace,\n\t\ttypeof AuditableItemGraphContexts.NamespaceCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Changeset;\n\n\t/**\n\t * The id of the changeset.\n\t */\n\tid: string;\n\n\t/**\n\t * The date/time of when the changeset was created.\n\t */\n\tdateCreated: string;\n\n\t/**\n\t * The user identity that created the changes.\n\t */\n\tuserIdentity?: string;\n\n\t/**\n\t * The patches in the changeset.\n\t */\n\tpatches: IAuditableItemGraphPatchOperation[];\n\n\t/**\n\t * The immutable proof id which contains the signature for this changeset.\n\t */\n\tproofId?: string;\n\n\t/**\n\t * The verification for the changeset.\n\t */\n\tverification?: IImmutableProofVerification;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphChangeset.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphChangeset.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { IImmutableProofVerification } from \"@twin.org/immutable-proof-models\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphPatchOperation } from \"./IAuditableItemGraphPatchOperation.js\";\n\n/**\n * Interface describing a set of changes to the vertex.\n */\nexport interface IAuditableItemGraphChangeset {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?: [\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.ContextCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Changeset;\n\n\t/**\n\t * The id of the changeset.\n\t */\n\tid: string;\n\n\t/**\n\t * The date/time of when the changeset was created.\n\t * @json-ld namespace:sch\n\t */\n\tdateCreated: string;\n\n\t/**\n\t * The user identity that created the changes.\n\t * @json-ld namespace:twin-common\n\t */\n\tuserIdentity?: string;\n\n\t/**\n\t * The patches in the changeset.\n\t * @json-ld container:set\n\t */\n\tpatches: IAuditableItemGraphPatchOperation[];\n\n\t/**\n\t * The immutable proof id which contains the signature for this changeset.\n\t * @json-ld type:sch:identifier\n\t */\n\tproofId?: string;\n\n\t/**\n\t * The verification for the changeset.\n\t * @json-ld id\n\t */\n\tverification?: IImmutableProofVerification;\n\n\t/**\n\t * The version number of the vertex after this changeset was applied.\n\t * Maps to https://schema.org/version.\n\t * @json-ld namespace:sch\n\t */\n\tversion?: number;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphChangesetList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphChangesetList.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphChangesetList.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { SchemaOrgContexts, SchemaOrgTypes } from \"@twin.org/standards-schema-org\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphChangeset } from \"./IAuditableItemGraphChangeset.js\";\n\n/**\n * Interface describing an auditable item graph changeset list.\n */\nexport interface IAuditableItemGraphChangesetList {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof SchemaOrgContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: [typeof SchemaOrgTypes.ItemList, typeof AuditableItemGraphTypes.ChangesetList];\n\n\t/**\n\t * The list of changesets.\n\t * @json-ld namespace:sch\n\t */\n\t[SchemaOrgTypes.ItemListElement]: IAuditableItemGraphChangeset[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphComponent.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IComparator, SortDirection } from \"@twin.org/entity\";\nimport type { IAuditableItemGraphVertex } from \"./IAuditableItemGraphVertex.js\";\nimport type { IAuditableItemGraphVertexList } from \"./IAuditableItemGraphVertexList.js\";\nimport type { VerifyDepth } from \"./verifyDepth.js\";\n\n/**\n * Interface describing an auditable item graph contract.\n */\nexport interface IAuditableItemGraphComponent extends IComponent {\n\t/**\n\t * Create a new graph vertex.\n\t * @param vertex The vertex to create.\n\t * @param vertex.annotationObject The annotation object for the vertex as JSON-LD.\n\t * @param vertex.aliases Alternative aliases that can be used to identify the vertex.\n\t * @param vertex.resources The resources attached to the vertex.\n\t * @param vertex.edges The edges connected to the vertex.\n\t * @returns The id of the new graph item.\n\t */\n\tcreate(vertex: {\n\t\tannotationObject?: IJsonLdNodeObject;\n\t\taliases?: {\n\t\t\tid: string;\n\t\t\taliasFormat?: string;\n\t\t\tunique?: boolean;\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t\tresources?: {\n\t\t\tid?: string;\n\t\t\tresourceObject?: IJsonLdNodeObject;\n\t\t}[];\n\t\tedges?: {\n\t\t\ttargetId: string;\n\t\t\tedgeRelationships: string[];\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t}): Promise<string>;\n\n\t/**\n\t * Update a graph vertex.\n\t * @param vertex The vertex to update.\n\t * @param vertex.id The id of the vertex to update.\n\t * @param vertex.annotationObject The annotation object for the vertex as JSON-LD.\n\t * @param vertex.aliases Alternative aliases that can be used to identify the vertex.\n\t * @param vertex.resources The resources attached to the vertex.\n\t * @param vertex.edges The edges connected to the vertex.\n\t * @returns Nothing.\n\t */\n\tupdate(vertex: {\n\t\tid: string;\n\t\tannotationObject?: IJsonLdNodeObject;\n\t\taliases?: {\n\t\t\tid: string;\n\t\t\taliasFormat?: string;\n\t\t\tunique?: boolean;\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t\tresources?: {\n\t\t\tid?: string;\n\t\t\tresourceObject?: IJsonLdNodeObject;\n\t\t}[];\n\t\tedges?: {\n\t\t\tid?: string;\n\t\t\ttargetId: string;\n\t\t\tedgeRelationships: string[];\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t}): Promise<void>;\n\n\t/**\n\t * Get a graph vertex.\n\t * @param id The id of the vertex to get.\n\t * @param options Additional options for the get operation.\n\t * @param options.includeDeleted Whether to include deleted aliases, resource, edges, defaults to false.\n\t * @param options.includeChangesets Whether to include the changesets of the vertex, defaults to false.\n\t * @param options.verifySignatureDepth How many signatures to verify, defaults to \"none\".\n\t * @returns The vertex if found.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tget(\n\t\tid: string,\n\t\toptions?: {\n\t\t\tincludeDeleted?: boolean;\n\t\t\tincludeChangesets?: boolean;\n\t\t\tverifySignatureDepth?: VerifyDepth;\n\t\t}\n\t): Promise<IAuditableItemGraphVertex>;\n\n\t/**\n\t * Remove the verifiable storage for an item.\n\t * @param id The id of the vertex to remove the storage from.\n\t * @returns Nothing.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tremoveVerifiable(id: string): Promise<void>;\n\n\t/**\n\t * Query the graph for vertices.\n\t * @param options The query options.\n\t * @param options.id The optional id to look for.\n\t * @param options.idMode Look in id, alias or both, defaults to both.\n\t * @param options.idExact Find only exact matches, default to false meaning partial matching.\n\t * @param options.resourceTypes Include vertices with specific resource types.\n\t * @param conditions Conditions to use in the query.\n\t * @param orderBy The order for the results, defaults to dateCreated.\n\t * @param orderByDirection The direction for the order, defaults to descending.\n\t * @param properties The properties to return, if not provided defaults to id, dateCreated, aliases and object.\n\t * @param cursor The cursor to request the next chunk of entities.\n\t * @param limit Limit the number of entities to return.\n\t * @returns The entities, which can be partial if a limited keys list was provided.\n\t */\n\tquery(\n\t\toptions?: {\n\t\t\tid?: string;\n\t\t\tidMode?: \"id\" | \"alias\" | \"both\";\n\t\t\tidExact?: boolean;\n\t\t\tresourceTypes?: string[];\n\t\t},\n\t\tconditions?: IComparator[],\n\t\torderBy?: keyof Pick<IAuditableItemGraphVertex, \"dateCreated\" | \"dateModified\">,\n\t\torderByDirection?: SortDirection,\n\t\tproperties?: (keyof IAuditableItemGraphVertex)[],\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<IAuditableItemGraphVertexList>;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphComponent.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IComparator, SortDirection } from \"@twin.org/entity\";\nimport type { IAuditableItemGraphChangeset } from \"./IAuditableItemGraphChangeset.js\";\nimport type { IAuditableItemGraphChangesetList } from \"./IAuditableItemGraphChangesetList.js\";\nimport type { IAuditableItemGraphPartialVertex } from \"./IAuditableItemGraphPartialVertex.js\";\nimport type { IAuditableItemGraphVertex } from \"./IAuditableItemGraphVertex.js\";\nimport type { IAuditableItemGraphVertexList } from \"./IAuditableItemGraphVertexList.js\";\nimport type { IAuditableItemGraphVertexVersionList } from \"./IAuditableItemGraphVertexVersionList.js\";\nimport type { VerifyDepth } from \"./verifyDepth.js\";\n\n/**\n * Interface describing an auditable item graph contract.\n */\nexport interface IAuditableItemGraphComponent extends IComponent {\n\t/**\n\t * Create a new graph vertex.\n\t * @param vertex The vertex to create.\n\t * @param vertex.annotationObject The annotation object for the vertex as JSON-LD.\n\t * @param vertex.aliases Alternative aliases that can be used to identify the vertex.\n\t * @param vertex.resources The resources attached to the vertex.\n\t * @param vertex.edges The edges connected to the vertex.\n\t * @returns The id of the new graph item.\n\t */\n\tcreate(vertex: Omit<IAuditableItemGraphVertex, \"id\">): Promise<string>;\n\n\t/**\n\t * Update a graph vertex (PUT full replacement of vertex state).\n\t * Concurrent updates for the same vertex are serialized via `Mutex` on the vertex id.\n\t * Multi-replica deployments are not coordinated.\n\t * @param vertex The vertex to update.\n\t * @param vertex.id The id of the vertex to update.\n\t * @param vertex.annotationObject The annotation object for the vertex as JSON-LD.\n\t * @param vertex.aliases Alternative aliases that can be used to identify the vertex.\n\t * @param vertex.resources The resources attached to the vertex.\n\t * @param vertex.edges The edges connected to the vertex.\n\t * @returns Nothing.\n\t */\n\tupdate(vertex: IAuditableItemGraphVertex): Promise<void>;\n\n\t/**\n\t * Partially update a graph vertex (PATCH); only properties that are not undefined are applied.\n\t * Sub-lists use explicit `{ add, remove }` patch objects. Serialized with `update()` via `Mutex`\n\t * on the same vertex id.\n\t * @param partial The partial vertex update (must include `id`).\n\t * @returns Nothing.\n\t */\n\tupdatePartial(partial: IAuditableItemGraphPartialVertex): Promise<void>;\n\n\t/**\n\t * Get a graph vertex.\n\t * @param id The id of the vertex to get.\n\t * @param options Additional options for the get operation.\n\t * @param options.includeDeleted Whether to include deleted aliases, resource, edges, defaults to false.\n\t * @param options.verifySignatureDepth How many signatures to verify, defaults to \"none\".\n\t * @returns The vertex if found.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tget(\n\t\tid: string,\n\t\toptions?: {\n\t\t\tincludeDeleted?: boolean;\n\t\t\tverifySignatureDepth?: VerifyDepth;\n\t\t}\n\t): Promise<IAuditableItemGraphVertex>;\n\n\t/**\n\t * Get a graph vertex changeset list.\n\t * @param id The id of the vertex to get.\n\t * @param cursor The optional cursor to get next chunk.\n\t * @param limit Limit the number of entities to return.\n\t * @param options Additional options for the get operation.\n\t * @param options.verifySignatureDepth How many signatures to verify, defaults to \"none\".\n\t * @returns The changeset if found.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tgetChangesets(\n\t\tid: string,\n\t\tcursor?: string,\n\t\tlimit?: number,\n\t\toptions?: {\n\t\t\tverifySignatureDepth?: VerifyDepth;\n\t\t}\n\t): Promise<{\n\t\tchangesets: IAuditableItemGraphChangesetList;\n\t\tcursor?: string;\n\t}>;\n\n\t/**\n\t * Get a graph vertex changeset.\n\t * @param id The id of the vertex to get.\n\t * @param options Additional options for the get operation.\n\t * @param options.verifySignatureDepth How many signatures to verify, defaults to \"none\".\n\t * @returns The changeset if found.\n\t * @throws NotFoundError if the vertex or changeset is not found.\n\t */\n\tgetChangeset(\n\t\tid: string,\n\t\toptions?: { verifySignatureDepth?: VerifyDepth }\n\t): Promise<IAuditableItemGraphChangeset>;\n\n\t/**\n\t * Get a graph vertex at a specific version.\n\t * @param id The id of the vertex.\n\t * @param version The version number to retrieve.\n\t * @returns The vertex reconstructed at that version.\n\t * @throws NotFoundError if the vertex or version is not found.\n\t */\n\tgetVersion(id: string, version: number): Promise<IAuditableItemGraphVertex>;\n\n\t/**\n\t * Get all versions of a graph vertex.\n\t * @param id The id of the vertex.\n\t * @param options Additional options for the operation.\n\t * @param options.after Only return versions created after this ISO 8601 timestamp (exclusive).\n\t * @param options.before Only return versions created before this ISO 8601 timestamp (exclusive).\n\t * @returns The list of vertex versions.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tgetVersions(\n\t\tid: string,\n\t\toptions?: {\n\t\t\tafter?: string;\n\t\t\tbefore?: string;\n\t\t}\n\t): Promise<IAuditableItemGraphVertexVersionList>;\n\n\t/**\n\t * Remove the proof for an item.\n\t * @param id The id of the vertex to remove the proof from.\n\t * @returns Nothing.\n\t * @throws NotFoundError if the vertex is not found.\n\t */\n\tremoveProof(id: string): Promise<void>;\n\n\t/**\n\t * Query the graph for vertices.\n\t * @param options The query options.\n\t * @param options.id The optional id to look for.\n\t * @param options.idMode Look in id, alias or both, defaults to both.\n\t * @param options.idExact Find only exact matches, default to false meaning partial matching.\n\t * @param options.resourceTypes Include vertices with specific resource types.\n\t * @param conditions Conditions to use in the query.\n\t * @param orderBy The order for the results, defaults to dateCreated.\n\t * @param orderByDirection The direction for the order, defaults to descending.\n\t * @param properties The properties to return, if not provided defaults to id, dateCreated, aliases and object.\n\t * @param cursor The cursor to request the next chunk of entities.\n\t * @param limit Limit the number of entities to return.\n\t * @returns The entities, which can be partial if a limited keys list was provided.\n\t */\n\tquery(\n\t\toptions?: {\n\t\t\tid?: string;\n\t\t\tidMode?: \"id\" | \"alias\" | \"both\";\n\t\t\tidExact?: boolean;\n\t\t\tresourceTypes?: string[];\n\t\t},\n\t\tconditions?: IComparator[],\n\t\torderBy?: keyof Pick<IAuditableItemGraphVertex, \"dateCreated\" | \"dateModified\">,\n\t\torderByDirection?: SortDirection,\n\t\tproperties?: (keyof IAuditableItemGraphVertex)[],\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{\n\t\tentries: IAuditableItemGraphVertexList;\n\t\tcursor?: string;\n\t}>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphEdge.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphEdge.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an edge between two vertices in an auditable item graph.\n */\nexport interface IAuditableItemGraphEdge extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AuditableItemGraphContexts.Namespace\n\t\t| [typeof AuditableItemGraphContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid?: string;\n\n\t/**\n\t * The target vertex id the edge connects to.\n\t */\n\ttargetId: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Edge;\n\n\t/**\n\t * The JSON-LD annotation object for the edge.\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * The relationships between the two vertices.\n\t */\n\tedgeRelationships: string[];\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphEdge.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphEdge.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an edge between two vertices in an auditable item graph.\n */\nexport interface IAuditableItemGraphEdge extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?:\n\t\t| typeof AuditableItemGraphContexts.Context\n\t\t| [typeof AuditableItemGraphContexts.Context, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid?: string;\n\n\t/**\n\t * The target vertex id the edge connects to.\n\t * @json-ld type:@id\n\t */\n\ttargetId: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Edge;\n\n\t/**\n\t * The JSON-LD annotation object for the edge.\n\t * @json-ld namespace:twin-common\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * The relationships between the two vertices.\n\t * @json-ld container:set\n\t */\n\tedgeRelationships: string[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphListPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphListPatch.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphListPatch.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphAlias } from \"./IAuditableItemGraphAlias.js\";\nimport type { IAuditableItemGraphEdge } from \"./IAuditableItemGraphEdge.js\";\nimport type { IAuditableItemGraphResource } from \"./IAuditableItemGraphResource.js\";\n\n/**\n * PATCH operations for a sub-list on a vertex.\n */\nexport interface IAuditableItemGraphListPatch<\n\tTItem = IAuditableItemGraphEdge | IAuditableItemGraphAlias | IAuditableItemGraphResource\n> {\n\t/**\n\t * Items to add or update in the active set.\n\t * @json-ld container:set\n\t */\n\tadd?: TItem[];\n\n\t/**\n\t * Identifiers of items to remove from the active set (soft-delete).\n\t * @json-ld container:set\n\t */\n\tremove?: string[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphPartialVertex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphPartialVertex.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphPartialVertex.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAlias } from \"./IAuditableItemGraphAlias.js\";\nimport type { IAuditableItemGraphEdge } from \"./IAuditableItemGraphEdge.js\";\nimport type { IAuditableItemGraphListPatch } from \"./IAuditableItemGraphListPatch.js\";\nimport type { IAuditableItemGraphResource } from \"./IAuditableItemGraphResource.js\";\nimport type { IAuditableItemGraphVertex } from \"./IAuditableItemGraphVertex.js\";\n\n/**\n * Partial vertex payload for updatePartial (PATCH — requires id).\n * Sub-lists use explicit `{ add, remove }` patches; bare arrays are not supported.\n */\nexport interface IAuditableItemGraphPartialVertex extends Omit<\n\tIAuditableItemGraphVertex,\n\t\"type\" | \"aliases\" | \"edges\" | \"resources\"\n> {\n\t/**\n\t * The id of the vertex to update.\n\t */\n\tid: string;\n\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.ContextCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype?: typeof AuditableItemGraphTypes.Vertex;\n\n\t/**\n\t * Patch operations for aliases.\n\t * @json-ld id\n\t */\n\taliasPatches?: IAuditableItemGraphListPatch<IAuditableItemGraphAlias>;\n\n\t/**\n\t * Patch operations for resources.\n\t * @json-ld id\n\t */\n\tresourcePatches?: IAuditableItemGraphListPatch<IAuditableItemGraphResource>;\n\n\t/**\n\t * Patch operations for edges.\n\t * @json-ld id\n\t */\n\tedgePatches?: IAuditableItemGraphListPatch<IAuditableItemGraphEdge>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphPatchOperation.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphPatchOperation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\n\n/**\n * The patch operation for JSON diffs.\n */\nexport interface IAuditableItemGraphPatchOperation {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AuditableItemGraphContexts.Namespace\n\t\t| [typeof AuditableItemGraphContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.PatchOperation;\n\n\t/**\n\t * The operation that was performed on the item.\n\t */\n\tpatchOperation: \"add\" | \"remove\" | \"replace\" | \"move\" | \"copy\" | \"test\";\n\n\t/**\n\t * The path to the object that was changed.\n\t */\n\tpatchPath: string;\n\n\t/**\n\t * The path the value was copied or moved from.\n\t */\n\tpatchFrom?: string;\n\n\t/**\n\t * The value to add.\n\t */\n\tpatchValue?: unknown;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphPatchOperation.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphPatchOperation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\n\n/**\n * The patch operation for JSON diffs.\n */\nexport interface IAuditableItemGraphPatchOperation {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?:\n\t\t| typeof AuditableItemGraphContexts.Context\n\t\t| [typeof AuditableItemGraphContexts.Context, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.PatchOperation;\n\n\t/**\n\t * The operation that was performed on the item.\n\t * @json-ld type:sch:Text\n\t */\n\tpatchOperation: \"add\" | \"remove\" | \"replace\" | \"move\" | \"copy\" | \"test\";\n\n\t/**\n\t * The path to the object that was changed.\n\t * @json-ld type:sch:Text\n\t */\n\tpatchPath: string;\n\n\t/**\n\t * The path the value was copied or moved from.\n\t * @json-ld type:sch:Text\n\t */\n\tpatchFrom?: string;\n\n\t/**\n\t * The value to add.\n\t * @json-ld type:json\n\t */\n\tpatchValue?: unknown;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphResource.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphResource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an auditable item graph vertex resource.\n */\nexport interface IAuditableItemGraphResource extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AuditableItemGraphContexts.Namespace\n\t\t| [typeof AuditableItemGraphContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Resource;\n\n\t/**\n\t * The JSON-LD object for the resource.\n\t */\n\tresourceObject?: IJsonLdNodeObject;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphResource.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphResource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\n\n/**\n * Interface describing an auditable item graph vertex resource.\n */\nexport interface IAuditableItemGraphResource extends IAuditableItemGraphAuditedElement {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?:\n\t\t| typeof AuditableItemGraphContexts.Context\n\t\t| [typeof AuditableItemGraphContexts.Context, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Resource;\n\n\t/**\n\t * The JSON-LD object for the resource.\n\t * @json-ld type:json\n\t */\n\tresourceObject?: IJsonLdNodeObject;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphVertex.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphVertex.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAlias } from \"./IAuditableItemGraphAlias.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\nimport type { IAuditableItemGraphChangeset } from \"./IAuditableItemGraphChangeset.js\";\nimport type { IAuditableItemGraphEdge } from \"./IAuditableItemGraphEdge.js\";\nimport type { IAuditableItemGraphResource } from \"./IAuditableItemGraphResource.js\";\n\n/**\n * Interface describing an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphVertex\n\textends Omit<IAuditableItemGraphAuditedElement, \"deleted\"> {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AuditableItemGraphContexts.Namespace,\n\t\ttypeof AuditableItemGraphContexts.NamespaceCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Vertex;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\torganizationIdentity?: string;\n\n\t/**\n\t * The JSON-LD annotation object for the vertex.\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\taliases?: IAuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\tresources?: IAuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\tedges?: IAuditableItemGraphEdge[];\n\n\t/**\n\t * Changesets for the vertex.\n\t */\n\tchangesets?: IAuditableItemGraphChangeset[];\n\n\t/**\n\t * Is the vertex verified, will only be populated when verification is requested.\n\t */\n\tverified?: boolean;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphVertex.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphVertex.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphAlias } from \"./IAuditableItemGraphAlias.js\";\nimport type { IAuditableItemGraphAuditedElement } from \"./IAuditableItemGraphAuditedElement.js\";\nimport type { IAuditableItemGraphEdge } from \"./IAuditableItemGraphEdge.js\";\nimport type { IAuditableItemGraphResource } from \"./IAuditableItemGraphResource.js\";\n\n/**\n * Interface describing an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphVertex extends Omit<\n\tIAuditableItemGraphAuditedElement,\n\t\"deleted\"\n> {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.ContextCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * The id of the element.\n\t */\n\tid: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AuditableItemGraphTypes.Vertex;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t * @json-ld namespace:twin-common\n\t */\n\torganizationIdentity?: string;\n\n\t/**\n\t * The JSON-LD annotation object for the vertex.\n\t * @json-ld namespace:twin-common\n\t */\n\tannotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t * @json-ld container:set\n\t */\n\taliases?: IAuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t * @json-ld container:set\n\t */\n\tresources?: IAuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t * @json-ld container:set\n\t */\n\tedges?: IAuditableItemGraphEdge[];\n\n\t/**\n\t * Is the vertex verified, will only be populated when verification is requested.\n\t * @json-ld namespace:twin-common\n\t */\n\tverified?: boolean;\n\n\t/**\n\t * The version of the vertex, populated only when getting a specific version.\n\t * Maps to https://schema.org/version.\n\t * @json-ld namespace:sch\n\t */\n\tversion?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphVertexList.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphVertexList.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { SchemaOrgContexts, SchemaOrgTypes } from \"@twin.org/standards-schema-org\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphVertex } from \"./IAuditableItemGraphVertex.js\";\n\n/**\n * Interface describing an auditable item graph vertex list.\n */\nexport interface IAuditableItemGraphVertexList {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof SchemaOrgContexts.Namespace,\n\t\ttypeof AuditableItemGraphContexts.Namespace,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: [typeof SchemaOrgTypes.ItemList, typeof AuditableItemGraphTypes.VertexList];\n\n\t/**\n\t * The list of vertices.\n\t */\n\t[SchemaOrgTypes.ItemListElement]: IAuditableItemGraphVertex[];\n\n\t/**\n\t * The cursor to get the next chunk of vertices.\n\t */\n\t[SchemaOrgTypes.NextItem]?: string;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphVertexList.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphVertexList.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { SchemaOrgContexts, SchemaOrgTypes } from \"@twin.org/standards-schema-org\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\nimport type { IAuditableItemGraphVertex } from \"./IAuditableItemGraphVertex.js\";\n\n/**\n * Interface describing an auditable item graph vertex list.\n */\nexport interface IAuditableItemGraphVertexList {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof SchemaOrgContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: [typeof SchemaOrgTypes.ItemList, typeof AuditableItemGraphTypes.VertexList];\n\n\t/**\n\t * The list of vertices.\n\t * @json-ld namespace:sch\n\t */\n\t[SchemaOrgTypes.ItemListElement]: IAuditableItemGraphVertex[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphVertexVersionList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphVertexVersionList.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphVertexVersionList.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { SchemaOrgContexts, SchemaOrgTypes } from \"@twin.org/standards-schema-org\";\nimport type { AuditableItemGraphContexts } from \"./auditableItemGraphContexts.js\";\nimport type { AuditableItemGraphTypes } from \"./auditableItemGraphTypes.js\";\n\n/**\n * Interface describing a list of auditable item graph vertex version numbers.\n */\nexport interface IAuditableItemGraphVertexVersionList {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof SchemaOrgContexts.Context,\n\t\ttypeof AuditableItemGraphContexts.Context,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: [typeof SchemaOrgTypes.ItemList, typeof AuditableItemGraphTypes.VertexVersionList];\n\n\t/**\n\t * The list of versions.\n\t * @json-ld namespace:sch\n\t */\n\t[SchemaOrgTypes.ItemListElement]: { version: number; dateCreated: string }[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphChangesetGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphChangesetGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphChangesetGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { VerifyDepth } from \"../verifyDepth.js\";\n\n/**\n * Get an auditable item graph vertex changeset.\n */\nexport interface IAuditableItemGraphChangesetGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to get the changeset from.\n\t\t */\n\t\tid: string;\n\n\t\t/**\n\t\t * The id of the changeset to get.\n\t\t */\n\t\tchangesetId: string;\n\t};\n\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * How many signatures to verify, none, current or all, defaults to \"none\".\n\t\t */\n\t\tverifySignatureDepth?: VerifyDepth;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphChangesetGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphChangesetGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphChangesetGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphChangeset } from \"../IAuditableItemGraphChangeset.js\";\n\n/**\n * Response to getting an auditable item graph vertex changeset.\n */\nexport interface IAuditableItemGraphChangesetGetResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IAuditableItemGraphChangeset;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphChangesetListRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphChangesetListRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphChangesetListRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { VerifyDepth } from \"../verifyDepth.js\";\n\n/**\n * Get an auditable item graph changeset.\n */\nexport interface IAuditableItemGraphChangesetListRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the changeset to get.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * The optional cursor to get next chunk.\n\t\t */\n\t\tcursor?: string;\n\n\t\t/**\n\t\t * Limit the number of entities to return.\n\t\t */\n\t\tlimit?: string;\n\n\t\t/**\n\t\t * How many signatures to verify, none, current or all, defaults to \"none\".\n\t\t */\n\t\tverifySignatureDepth?: VerifyDepth;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphChangesetListResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphChangesetListResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphChangesetListResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphChangesetList } from \"../IAuditableItemGraphChangesetList.js\";\n\n/**\n * Response to getting an auditable item graph changeset list.\n */\nexport interface IAuditableItemGraphChangesetListResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t\t[HeaderTypes.Link]?: string | string[];\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IAuditableItemGraphChangesetList;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphCreateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphCreateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\n\n/**\n * Create an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphCreateRequest {\n\t/**\n\t * The data to be used in the vertex.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The object to be used in the vertex as JSON-LD.\n\t\t */\n\t\tannotationObject?: IJsonLdNodeObject;\n\n\t\t/**\n\t\t * Alternative aliases that can be used to identify the vertex.\n\t\t */\n\t\taliases?: {\n\t\t\tid: string;\n\t\t\taliasFormat?: string;\n\t\t\tunique?: boolean;\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\n\t\t/**\n\t\t * The resources attached to the vertex.\n\t\t */\n\t\tresources?: {\n\t\t\tid?: string;\n\t\t\tresourceObject?: IJsonLdNodeObject;\n\t\t}[];\n\n\t\t/**\n\t\t * The edges connected to the vertex.\n\t\t */\n\t\tedges?: {\n\t\t\ttargetId: string;\n\t\t\tedgeRelationships: string[];\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t};\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphCreateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphCreateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphVertex } from \"../IAuditableItemGraphVertex.js\";\n\n/**\n * Create an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphCreateRequest {\n\t/**\n\t * The data to be used in the vertex.\n\t */\n\tbody: Omit<IAuditableItemGraphVertex, \"id\">;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { VerifyDepth } from \"../verifyDepth.js\";\n\n/**\n * Get an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to get.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Whether to include deleted aliases, resource, edges, defaults to false.\n\t\t */\n\t\tincludeDeleted?: string;\n\n\t\t/**\n\t\t * Whether to include the changesets of the vertex, defaults to false.\n\t\t */\n\t\tincludeChangesets?: string;\n\n\t\t/**\n\t\t * How many signatures to verify, none, current or all, defaults to \"none\".\n\t\t */\n\t\tverifySignatureDepth?: VerifyDepth;\n\t};\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { VerifyDepth } from \"../verifyDepth.js\";\n\n/**\n * Get an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to get.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Whether to include deleted aliases, resource, edges, defaults to false.\n\t\t */\n\t\tincludeDeleted?: string;\n\n\t\t/**\n\t\t * How many signatures to verify, none, current or all, defaults to \"none\".\n\t\t */\n\t\tverifySignatureDepth?: VerifyDepth;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphListResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphListResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphVertexList } from \"../IAuditableItemGraphVertexList.js\";\n\n/**\n * The response to getting the a list of the vertices with matching ids or aliases.\n */\nexport interface IAuditableItemGraphListResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response payload.\n\t */\n\tbody: IAuditableItemGraphVertexList;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphListResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphListResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphVertexList } from \"../IAuditableItemGraphVertexList.js\";\n\n/**\n * The response to getting the a list of the vertices with matching ids or aliases.\n */\nexport interface IAuditableItemGraphListResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t\t[HeaderTypes.Link]?: string | string[];\n\t};\n\n\t/**\n\t * The response payload.\n\t */\n\tbody: IAuditableItemGraphVertexList;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphUpdatePartialRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphUpdatePartialRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphUpdatePartialRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphPartialVertex } from \"../IAuditableItemGraphPartialVertex.js\";\n\n/**\n * Partially update an auditable item graph vertex (PATCH — explicit list patches).\n */\nexport interface IAuditableItemGraphUpdatePartialRequest {\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to update.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * Partial vertex data; only defined properties are applied.\n\t * Sub-lists use `{ add, remove }` patch objects.\n\t */\n\tbody: Omit<IAuditableItemGraphPartialVertex, \"id\">;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphUpdateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphUpdateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\n\n/**\n * Update an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphUpdateRequest {\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to update.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The data to be used in the vertex.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The object to be used in the vertex as JSON-LD.\n\t\t */\n\t\tannotationObject?: IJsonLdNodeObject;\n\n\t\t/**\n\t\t * Alternative aliases that can be used to identify the vertex.\n\t\t */\n\t\taliases?: {\n\t\t\tid: string;\n\t\t\taliasFormat?: string;\n\t\t\tunique?: boolean;\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\n\t\t/**\n\t\t * The resources attached to the vertex.\n\t\t */\n\t\tresources?: {\n\t\t\tid?: string;\n\t\t\tresourceObject?: IJsonLdNodeObject;\n\t\t}[];\n\n\t\t/**\n\t\t * The edges connected to the vertex.\n\t\t */\n\t\tedges?: {\n\t\t\tid?: string;\n\t\t\ttargetId: string;\n\t\t\tedgeRelationships: string[];\n\t\t\tannotationObject?: IJsonLdNodeObject;\n\t\t}[];\n\t};\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphUpdateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphUpdateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphVertex } from \"../IAuditableItemGraphVertex.js\";\n\n/**\n * Update an auditable item graph vertex (PUT — full replacement of vertex state).\n */\nexport interface IAuditableItemGraphUpdateRequest {\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex to update.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The full vertex payload. Replaces annotation and active sub-lists; omitted collections are cleared.\n\t */\n\tbody: Omit<IAuditableItemGraphVertex, \"id\">;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphVersionGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphVersionGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphVersionGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\n\n/**\n * Get an auditable item graph vertex at a specific version.\n */\nexport interface IAuditableItemGraphVersionGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex.\n\t\t */\n\t\tid: string;\n\n\t\t/**\n\t\t * The version number to get.\n\t\t */\n\t\tversion: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphVersionGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphVersionGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphVersionGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphVertex } from \"../IAuditableItemGraphVertex.js\";\n\n/**\n * Response to getting an auditable item graph vertex at a specific version.\n */\nexport interface IAuditableItemGraphVersionGetResponse {\n\t/**\n\t * The headers.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IAuditableItemGraphVertex;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphVersionListRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphVersionListRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphVersionListRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\n\n/**\n * Get all versions of an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphVersionListRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the vertex.\n\t\t */\n\t\tid: string;\n\t};\n\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Only return versions created after this ISO 8601 timestamp (exclusive).\n\t\t */\n\t\tafter?: string;\n\n\t\t/**\n\t\t * Only return versions created before this ISO 8601 timestamp (exclusive).\n\t\t */\n\t\tbefore?: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAuditableItemGraphVersionListResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAuditableItemGraphVersionListResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IAuditableItemGraphVersionListResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IAuditableItemGraphVertexVersionList } from \"../IAuditableItemGraphVertexVersionList.js\";\n\n/**\n * Response to getting all versions of an auditable item graph vertex.\n */\nexport interface IAuditableItemGraphVersionListResponse {\n\t/**\n\t * The headers.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IAuditableItemGraphVertexVersionList;\n}\n"]}
@@ -6,12 +6,28 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const AuditableItemGraphContexts = {
8
8
  /**
9
- * The namespace for the auditable item graph types.
9
+ * The canonical RDF namespace URI for Auditable Item Graph.
10
10
  */
11
11
  Namespace: "https://schema.twindev.org/aig/",
12
12
  /**
13
- * The namespace for the common types.
13
+ * The value to use in context for Auditable Item Graph.
14
14
  */
15
- NamespaceCommon: "https://schema.twindev.org/common/"
15
+ Context: "https://schema.twindev.org/aig/",
16
+ /**
17
+ * The JSON-LD Context URL for Auditable Item Graph.
18
+ */
19
+ JsonLdContext: "https://schema.twindev.org/aig/types.jsonld",
20
+ /**
21
+ * The canonical RDF namespace URI for TWIN Common.
22
+ */
23
+ NamespaceCommon: "https://schema.twindev.org/common/",
24
+ /**
25
+ * The value to use in JSON-LD context for TWIN Common.
26
+ */
27
+ ContextCommon: "https://schema.twindev.org/common/",
28
+ /**
29
+ * The JSON-LD Context URL for TWIN Common.
30
+ */
31
+ JsonLdContextCommon: "https://schema.twindev.org/common/types.jsonld"
16
32
  };
17
33
  //# sourceMappingURL=auditableItemGraphContexts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphContexts.js","sourceRoot":"","sources":["../../../src/models/auditableItemGraphContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,SAAS,EAAE,iCAAiC;IAE5C;;OAEG;IACH,eAAe,EAAE,oCAAoC;CAC5C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of auditable item graph data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const AuditableItemGraphContexts = {\n\t/**\n\t * The namespace for the auditable item graph types.\n\t */\n\tNamespace: \"https://schema.twindev.org/aig/\",\n\n\t/**\n\t * The namespace for the common types.\n\t */\n\tNamespaceCommon: \"https://schema.twindev.org/common/\"\n} as const;\n\n/**\n * The contexts of auditable item graph data.\n */\nexport type AuditableItemGraphContexts =\n\t(typeof AuditableItemGraphContexts)[keyof typeof AuditableItemGraphContexts];\n"]}
1
+ {"version":3,"file":"auditableItemGraphContexts.js","sourceRoot":"","sources":["../../../src/models/auditableItemGraphContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,SAAS,EAAE,iCAAiC;IAE5C;;OAEG;IACH,OAAO,EAAE,iCAAiC;IAE1C;;OAEG;IACH,aAAa,EAAE,6CAA6C;IAE5D;;OAEG;IACH,eAAe,EAAE,oCAAoC;IAErD;;OAEG;IACH,aAAa,EAAE,oCAAoC;IAEnD;;OAEG;IACH,mBAAmB,EAAE,gDAAgD;CAC5D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of auditable item graph data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const AuditableItemGraphContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Auditable Item Graph.\n\t */\n\tNamespace: \"https://schema.twindev.org/aig/\",\n\n\t/**\n\t * The value to use in context for Auditable Item Graph.\n\t */\n\tContext: \"https://schema.twindev.org/aig/\",\n\n\t/**\n\t * The JSON-LD Context URL for Auditable Item Graph.\n\t */\n\tJsonLdContext: \"https://schema.twindev.org/aig/types.jsonld\",\n\n\t/**\n\t * The canonical RDF namespace URI for TWIN Common.\n\t */\n\tNamespaceCommon: \"https://schema.twindev.org/common/\",\n\n\t/**\n\t * The value to use in JSON-LD context for TWIN Common.\n\t */\n\tContextCommon: \"https://schema.twindev.org/common/\",\n\n\t/**\n\t * The JSON-LD Context URL for TWIN Common.\n\t */\n\tJsonLdContextCommon: \"https://schema.twindev.org/common/types.jsonld\"\n} as const;\n\n/**\n * The contexts of auditable item graph data.\n */\nexport type AuditableItemGraphContexts =\n\t(typeof AuditableItemGraphContexts)[keyof typeof AuditableItemGraphContexts];\n"]}