@platformatic/gateway 3.8.0 → 3.10.0

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/config.d.ts CHANGED
@@ -595,6 +595,7 @@ export interface PlatformaticGatewayConfig {
595
595
  };
596
596
  };
597
597
  plugins?: string[];
598
+ timeout?: number | string;
598
599
  };
599
600
  telemetry?: {
600
601
  enabled?: boolean | string;
@@ -683,6 +684,7 @@ export interface PlatformaticGatewayConfig {
683
684
  timeWindowSec?: number;
684
685
  cooldownSec?: number;
685
686
  scaleIntervalSec?: number;
687
+ gracePeriod?: number;
686
688
  };
687
689
  inspectorOptions?: {
688
690
  host?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/gateway",
3
- "version": "3.8.0",
3
+ "version": "3.10.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "typescript": "^5.5.4",
34
34
  "why-is-node-running": "2",
35
35
  "ws": "^8.16.0",
36
- "@platformatic/db": "3.8.0"
36
+ "@platformatic/db": "3.10.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "@fastify/error": "^4.0.0",
@@ -64,11 +64,11 @@
64
64
  "rfdc": "^1.3.1",
65
65
  "semgrator": "^0.3.0",
66
66
  "undici": "^7.0.0",
67
- "@platformatic/basic": "3.8.0",
68
- "@platformatic/scalar-theme": "3.8.0",
69
- "@platformatic/foundation": "^3.8.0",
70
- "@platformatic/telemetry": "3.8.0",
71
- "@platformatic/service": "3.8.0"
67
+ "@platformatic/basic": "3.10.0",
68
+ "@platformatic/foundation": "^3.10.0",
69
+ "@platformatic/scalar-theme": "3.10.0",
70
+ "@platformatic/service": "3.10.0",
71
+ "@platformatic/telemetry": "3.10.0"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.8.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.10.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Gateway Config",
5
5
  "type": "object",
@@ -1475,6 +1475,30 @@
1475
1475
  "nodeOptions": {
1476
1476
  "type": "string"
1477
1477
  },
1478
+ "permissions": {
1479
+ "type": "object",
1480
+ "properties": {
1481
+ "fs": {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "read": {
1485
+ "type": "array",
1486
+ "items": {
1487
+ "type": "string"
1488
+ }
1489
+ },
1490
+ "write": {
1491
+ "type": "array",
1492
+ "items": {
1493
+ "type": "string"
1494
+ }
1495
+ }
1496
+ },
1497
+ "additionalProperties": false
1498
+ }
1499
+ },
1500
+ "additionalProperties": false
1501
+ },
1478
1502
  "telemetry": {
1479
1503
  "type": "object",
1480
1504
  "properties": {
@@ -2285,6 +2309,17 @@
2285
2309
  }
2286
2310
  ]
2287
2311
  }
2312
+ },
2313
+ "timeout": {
2314
+ "anyOf": [
2315
+ {
2316
+ "type": "integer"
2317
+ },
2318
+ {
2319
+ "type": "string"
2320
+ }
2321
+ ],
2322
+ "default": 10000
2288
2323
  }
2289
2324
  },
2290
2325
  "additionalProperties": false
@@ -2466,6 +2501,10 @@
2466
2501
  "scaleIntervalSec": {
2467
2502
  "type": "number",
2468
2503
  "minimum": 0
2504
+ },
2505
+ "gracePeriod": {
2506
+ "type": "number",
2507
+ "minimum": 0
2469
2508
  }
2470
2509
  },
2471
2510
  "additionalProperties": false