@abtnode/constant 1.16.25-beta-e3dbef52 → 1.16.25-beta-44800645
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/index.js +48 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -341,6 +341,53 @@ const FEDERATED = {
|
|
|
341
341
|
SYNC_LIMIT: 3,
|
|
342
342
|
};
|
|
343
343
|
|
|
344
|
+
const ROUTING_RESPONSE_TYPES = [
|
|
345
|
+
{
|
|
346
|
+
text: 'Plain Text',
|
|
347
|
+
value: 'text/plain',
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
text: 'JSON',
|
|
351
|
+
value: 'application/json',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
text: 'XML',
|
|
355
|
+
value: 'application/xml',
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
text: 'HTML Document',
|
|
359
|
+
value: 'text/html',
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
text: 'YAML',
|
|
363
|
+
value: 'application/x-yaml',
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
text: 'TOML',
|
|
367
|
+
value: 'application/toml',
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
text: 'CSS',
|
|
371
|
+
value: 'text/css',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
text: 'JavaScript',
|
|
375
|
+
value: 'application/javascript',
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
text: 'CSV',
|
|
379
|
+
value: 'text/csv',
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
text: 'Markdown',
|
|
383
|
+
value: 'text/markdown',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
text: 'SVG',
|
|
387
|
+
value: 'image/svg+xml',
|
|
388
|
+
},
|
|
389
|
+
];
|
|
390
|
+
|
|
344
391
|
module.exports = Object.freeze({
|
|
345
392
|
// Blocklet Server
|
|
346
393
|
NODE_MODES: Object.freeze({
|
|
@@ -473,6 +520,7 @@ module.exports = Object.freeze({
|
|
|
473
520
|
PROXY_MAX_MEM_LIMIT_IN_MB: 800,
|
|
474
521
|
BLOCKLET_MAX_MEM_LIMIT_IN_MB: 800,
|
|
475
522
|
CERTIFICATE_EXPIRES_OFFSET: 10 * DAY_IN_MS,
|
|
523
|
+
ROUTING_RESPONSE_TYPES,
|
|
476
524
|
ROUTING_RULE_TYPES: Object.freeze({
|
|
477
525
|
NONE: 'none',
|
|
478
526
|
DAEMON: 'daemon',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.25-beta-
|
|
6
|
+
"version": "1.16.25-beta-44800645",
|
|
7
7
|
"description": "ABT Node constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"jest": "^29.7.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "1352ebbd41c052c8d369f95570e97b30ecb5f4f0"
|
|
24
24
|
}
|