@webda/amqp 3.1.3 → 3.1.5
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.
- package/package.json +4 -4
- package/webda.module.json +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/amqp",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
4
4
|
"description": "Implements AMQP on webda",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"activemq",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"test": "c8 mocha --recursive --exit --timeout=100000 src/**/*.spec.ts src/*.spec.ts"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@webda/core": "^3.
|
|
22
|
+
"@webda/core": "^3.10.0",
|
|
23
23
|
"amqplib": "^0.10.0"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@testdeck/mocha": "^0.3.3",
|
|
51
51
|
"@types/amqplib": "^0.10.0",
|
|
52
52
|
"@types/node": "14.6.0",
|
|
53
|
-
"@webda/shell": "^3.
|
|
53
|
+
"@webda/shell": "^3.7.0",
|
|
54
54
|
"sinon": "^17.0.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=18.0.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "cda1b0e6e957d27b3d9e8bf9d387687a490f7145"
|
|
67
67
|
}
|
package/webda.module.json
CHANGED
|
@@ -126,6 +126,46 @@
|
|
|
126
126
|
],
|
|
127
127
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
128
128
|
"title": "AMQPQueue"
|
|
129
|
+
},
|
|
130
|
+
"Webda/BinaryFile": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"hash": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "Will be computed by the service\n\nhash of the content"
|
|
136
|
+
},
|
|
137
|
+
"challenge": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'"
|
|
140
|
+
},
|
|
141
|
+
"size": {
|
|
142
|
+
"type": "number",
|
|
143
|
+
"description": "Size of the binary"
|
|
144
|
+
},
|
|
145
|
+
"name": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Current name"
|
|
148
|
+
},
|
|
149
|
+
"mimetype": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Mimetype of the binary"
|
|
152
|
+
},
|
|
153
|
+
"metadata": {
|
|
154
|
+
"description": "Metadatas stored along with the binary"
|
|
155
|
+
},
|
|
156
|
+
"originalname": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "Original name"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": [
|
|
162
|
+
"mimetype",
|
|
163
|
+
"name",
|
|
164
|
+
"size"
|
|
165
|
+
],
|
|
166
|
+
"description": "Represent a file to store",
|
|
167
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
168
|
+
"title": "BinaryFile"
|
|
129
169
|
}
|
|
130
170
|
}
|
|
131
171
|
}
|