@platformatic/gateway 3.39.0 → 3.40.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
@@ -604,6 +604,12 @@ export interface PlatformaticGatewayConfig {
604
604
  */
605
605
  socket?: string;
606
606
  };
607
+ management?:
608
+ | boolean
609
+ | {
610
+ enabled?: boolean;
611
+ operations?: string[];
612
+ };
607
613
  metrics?:
608
614
  | boolean
609
615
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/gateway",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.5.4",
33
33
  "why-is-node-running": "2",
34
34
  "ws": "^8.16.0",
35
- "@platformatic/db": "3.39.0"
35
+ "@platformatic/db": "3.40.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@fastify/error": "^4.0.0",
@@ -63,11 +63,11 @@
63
63
  "rfdc": "^1.3.1",
64
64
  "semgrator": "^0.3.0",
65
65
  "undici": "^7.0.0",
66
- "@platformatic/basic": "3.39.0",
67
- "@platformatic/scalar-theme": "3.39.0",
68
- "@platformatic/service": "3.39.0",
69
- "@platformatic/telemetry": "3.39.0",
70
- "@platformatic/foundation": "^3.39.0"
66
+ "@platformatic/basic": "3.40.0",
67
+ "@platformatic/foundation": "^3.40.0",
68
+ "@platformatic/scalar-theme": "3.40.0",
69
+ "@platformatic/telemetry": "3.40.0",
70
+ "@platformatic/service": "3.40.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.39.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.40.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Gateway Config",
5
5
  "type": "object",
@@ -1666,6 +1666,29 @@
1666
1666
  "additionalProperties": false
1667
1667
  }
1668
1668
  ]
1669
+ },
1670
+ "management": {
1671
+ "anyOf": [
1672
+ {
1673
+ "type": "boolean"
1674
+ },
1675
+ {
1676
+ "type": "object",
1677
+ "properties": {
1678
+ "enabled": {
1679
+ "type": "boolean",
1680
+ "default": true
1681
+ },
1682
+ "operations": {
1683
+ "type": "array",
1684
+ "items": {
1685
+ "type": "string"
1686
+ }
1687
+ }
1688
+ },
1689
+ "additionalProperties": false
1690
+ }
1691
+ ]
1669
1692
  }
1670
1693
  }
1671
1694
  }
@@ -2405,6 +2428,29 @@
2405
2428
  ],
2406
2429
  "default": true
2407
2430
  },
2431
+ "management": {
2432
+ "anyOf": [
2433
+ {
2434
+ "type": "boolean"
2435
+ },
2436
+ {
2437
+ "type": "object",
2438
+ "properties": {
2439
+ "enabled": {
2440
+ "type": "boolean",
2441
+ "default": true
2442
+ },
2443
+ "operations": {
2444
+ "type": "array",
2445
+ "items": {
2446
+ "type": "string"
2447
+ }
2448
+ }
2449
+ },
2450
+ "additionalProperties": false
2451
+ }
2452
+ ]
2453
+ },
2408
2454
  "metrics": {
2409
2455
  "anyOf": [
2410
2456
  {