@twin.org/blob-storage-models 0.0.1-next.33 → 0.0.1-next.34

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.
@@ -33,12 +33,19 @@ const BlobStorageTypes = {
33
33
  Entry: "BlobStorageEntry"
34
34
  };
35
35
 
36
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
37
+ var $id = "https://schema.twindev.org/blob-storage/BlobStorageEntry";
38
+ var description = "Interface describing a blob storage entry.";
36
39
  var type = "object";
37
40
  var properties = {
38
41
  "@context": {
39
42
  type: "array",
40
43
  minItems: 2,
41
- items: [
44
+ items: {
45
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
46
+ },
47
+ description: "JSON-LD Context.",
48
+ prefixItems: [
42
49
  {
43
50
  type: "string",
44
51
  "const": "https://schema.twindev.org/blob-storage/"
@@ -47,11 +54,7 @@ var properties = {
47
54
  type: "string",
48
55
  "const": "https://schema.twindev.org/common/"
49
56
  }
50
- ],
51
- additionalItems: {
52
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
53
- },
54
- description: "JSON-LD Context."
57
+ ]
55
58
  },
56
59
  type: {
57
60
  type: "string",
@@ -104,13 +107,14 @@ var required = [
104
107
  "blobHash"
105
108
  ];
106
109
  var additionalProperties = false;
107
- var description = "Interface describing a blob storage entry.";
108
110
  var BlobStorageEntrySchema = {
111
+ $schema: $schema,
112
+ $id: $id,
113
+ description: description,
109
114
  type: type,
110
115
  properties: properties,
111
116
  required: required,
112
- additionalProperties: additionalProperties,
113
- description: description
117
+ additionalProperties: additionalProperties
114
118
  };
115
119
 
116
120
  // Copyright 2024 IOTA Stiftung.
@@ -31,12 +31,19 @@ const BlobStorageTypes = {
31
31
  Entry: "BlobStorageEntry"
32
32
  };
33
33
 
34
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
35
+ var $id = "https://schema.twindev.org/blob-storage/BlobStorageEntry";
36
+ var description = "Interface describing a blob storage entry.";
34
37
  var type = "object";
35
38
  var properties = {
36
39
  "@context": {
37
40
  type: "array",
38
41
  minItems: 2,
39
- items: [
42
+ items: {
43
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
44
+ },
45
+ description: "JSON-LD Context.",
46
+ prefixItems: [
40
47
  {
41
48
  type: "string",
42
49
  "const": "https://schema.twindev.org/blob-storage/"
@@ -45,11 +52,7 @@ var properties = {
45
52
  type: "string",
46
53
  "const": "https://schema.twindev.org/common/"
47
54
  }
48
- ],
49
- additionalItems: {
50
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
51
- },
52
- description: "JSON-LD Context."
55
+ ]
53
56
  },
54
57
  type: {
55
58
  type: "string",
@@ -102,13 +105,14 @@ var required = [
102
105
  "blobHash"
103
106
  ];
104
107
  var additionalProperties = false;
105
- var description = "Interface describing a blob storage entry.";
106
108
  var BlobStorageEntrySchema = {
109
+ $schema: $schema,
110
+ $id: $id,
111
+ description: description,
107
112
  type: type,
108
113
  properties: properties,
109
114
  required: required,
110
- additionalProperties: additionalProperties,
111
- description: description
115
+ additionalProperties: additionalProperties
112
116
  };
113
117
 
114
118
  // Copyright 2024 IOTA Stiftung.
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/blob-storage-models - Changelog
2
2
 
3
+ ## [0.0.1-next.34](https://github.com/twinfoundation/blob-storage/compare/blob-storage-models-v0.0.1-next.33...blob-storage-models-v0.0.1-next.34) (2025-06-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * update dependencies ([56f0094](https://github.com/twinfoundation/blob-storage/commit/56f0094b68d8bd22864cd899ac1b61d95540f719))
9
+
3
10
  ## [0.0.1-next.33](https://github.com/twinfoundation/blob-storage/compare/blob-storage-models-v0.0.1-next.32...blob-storage-models-v0.0.1-next.33) (2025-06-03)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/blob-storage-models",
3
- "version": "0.0.1-next.33",
3
+ "version": "0.0.1-next.34",
4
4
  "description": "Models which define the structure of the blob storage contracts and connectors",
5
5
  "repository": {
6
6
  "type": "git",