@twin.org/auditable-item-graph-models 0.0.1-next.32 → 0.0.1-next.33

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.
@@ -228,16 +228,19 @@ var properties$4 = {
228
228
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject",
229
229
  description: "The JSON-LD annotation object for the edge."
230
230
  },
231
- edgeRelationship: {
232
- type: "string",
233
- description: "The relationship between the two vertices."
231
+ edgeRelationships: {
232
+ type: "array",
233
+ items: {
234
+ type: "string"
235
+ },
236
+ description: "The relationships between the two vertices."
234
237
  }
235
238
  };
236
239
  var required$4 = [
237
240
  "@context",
238
241
  "id",
239
242
  "type",
240
- "edgeRelationship"
243
+ "edgeRelationships"
241
244
  ];
242
245
  var additionalProperties$4 = false;
243
246
  var description$4 = "Interface describing an edge between two vertices in an auditable item graph.";
@@ -226,16 +226,19 @@ var properties$4 = {
226
226
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject",
227
227
  description: "The JSON-LD annotation object for the edge."
228
228
  },
229
- edgeRelationship: {
230
- type: "string",
231
- description: "The relationship between the two vertices."
229
+ edgeRelationships: {
230
+ type: "array",
231
+ items: {
232
+ type: "string"
233
+ },
234
+ description: "The relationships between the two vertices."
232
235
  }
233
236
  };
234
237
  var required$4 = [
235
238
  "@context",
236
239
  "id",
237
240
  "type",
238
- "edgeRelationship"
241
+ "edgeRelationships"
239
242
  ];
240
243
  var additionalProperties$4 = false;
241
244
  var description$4 = "Interface describing an edge between two vertices in an auditable item graph.";
@@ -32,7 +32,7 @@ export interface IAuditableItemGraphComponent extends IComponent {
32
32
  }[];
33
33
  edges?: {
34
34
  id: string;
35
- edgeRelationship: string;
35
+ edgeRelationships: string[];
36
36
  annotationObject?: IJsonLdNodeObject;
37
37
  }[];
38
38
  }, userIdentity?: string, nodeIdentity?: string): Promise<string>;
@@ -62,7 +62,7 @@ export interface IAuditableItemGraphComponent extends IComponent {
62
62
  }[];
63
63
  edges?: {
64
64
  id: string;
65
- edgeRelationship: string;
65
+ edgeRelationships: string[];
66
66
  annotationObject?: IJsonLdNodeObject;
67
67
  }[];
68
68
  }, userIdentity?: string, nodeIdentity?: string): Promise<void>;
@@ -23,7 +23,7 @@ export interface IAuditableItemGraphEdge extends IAuditableItemGraphAuditedEleme
23
23
  */
24
24
  annotationObject?: IJsonLdNodeObject;
25
25
  /**
26
- * The relationship between the two vertices.
26
+ * The relationships between the two vertices.
27
27
  */
28
- edgeRelationship: string;
28
+ edgeRelationships: string[];
29
29
  }
@@ -31,7 +31,7 @@ export interface IAuditableItemGraphCreateRequest {
31
31
  */
32
32
  edges?: {
33
33
  id: string;
34
- edgeRelationship: string;
34
+ edgeRelationships: string[];
35
35
  annotationObject?: IJsonLdNodeObject;
36
36
  }[];
37
37
  };
@@ -40,7 +40,7 @@ export interface IAuditableItemGraphUpdateRequest {
40
40
  */
41
41
  edges?: {
42
42
  id: string;
43
- edgeRelationship: string;
43
+ edgeRelationships: string[];
44
44
  annotationObject?: IJsonLdNodeObject;
45
45
  }[];
46
46
  };
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
- ## v0.0.1-next.32
3
+ ## v0.0.1-next.33
4
4
 
5
5
  - Initial Release
@@ -80,8 +80,8 @@ The JSON-LD annotation object for the edge.
80
80
 
81
81
  ***
82
82
 
83
- ### edgeRelationship
83
+ ### edgeRelationships
84
84
 
85
- > **edgeRelationship**: `string`
85
+ > **edgeRelationships**: `string`[]
86
86
 
87
- The relationship between the two vertices.
87
+ The relationships between the two vertices.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-models",
3
- "version": "0.0.1-next.32",
3
+ "version": "0.0.1-next.33",
4
4
  "description": "Models which define the structure of the auditable item graph connectors and services",
5
5
  "repository": {
6
6
  "type": "git",