@platformatic/db 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.
Files changed (3) hide show
  1. package/config.d.ts +6 -0
  2. package/package.json +12 -12
  3. package/schema.json +47 -1
package/config.d.ts CHANGED
@@ -694,6 +694,12 @@ export interface PlatformaticDatabaseConfig {
694
694
  */
695
695
  socket?: string;
696
696
  };
697
+ management?:
698
+ | boolean
699
+ | {
700
+ enabled?: boolean;
701
+ operations?: string[];
702
+ };
697
703
  metrics?:
698
704
  | boolean
699
705
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -66,17 +66,17 @@
66
66
  "rfdc": "^1.3.1",
67
67
  "rimraf": "^4.4.1",
68
68
  "semgrator": "^0.3.0",
69
- "@platformatic/db-authorization": "3.39.0",
70
- "@platformatic/basic": "3.39.0",
71
- "@platformatic/db-core": "3.39.0",
72
- "@platformatic/sql-events": "3.39.0",
73
- "@platformatic/foundation": "3.39.0",
74
- "@platformatic/sql-graphql": "3.39.0",
75
- "@platformatic/sql-json-schema-mapper": "3.39.0",
76
- "@platformatic/service": "3.39.0",
77
- "@platformatic/sql-openapi": "3.39.0",
78
- "@platformatic/telemetry": "3.39.0",
79
- "@platformatic/sql-mapper": "3.39.0"
69
+ "@platformatic/basic": "3.40.0",
70
+ "@platformatic/db-authorization": "3.40.0",
71
+ "@platformatic/db-core": "3.40.0",
72
+ "@platformatic/foundation": "3.40.0",
73
+ "@platformatic/service": "3.40.0",
74
+ "@platformatic/sql-events": "3.40.0",
75
+ "@platformatic/sql-json-schema-mapper": "3.40.0",
76
+ "@platformatic/sql-graphql": "3.40.0",
77
+ "@platformatic/sql-mapper": "3.40.0",
78
+ "@platformatic/sql-openapi": "3.40.0",
79
+ "@platformatic/telemetry": "3.40.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/db/3.39.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.40.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -1671,6 +1671,29 @@
1671
1671
  "additionalProperties": false
1672
1672
  }
1673
1673
  ]
1674
+ },
1675
+ "management": {
1676
+ "anyOf": [
1677
+ {
1678
+ "type": "boolean"
1679
+ },
1680
+ {
1681
+ "type": "object",
1682
+ "properties": {
1683
+ "enabled": {
1684
+ "type": "boolean",
1685
+ "default": true
1686
+ },
1687
+ "operations": {
1688
+ "type": "array",
1689
+ "items": {
1690
+ "type": "string"
1691
+ }
1692
+ }
1693
+ },
1694
+ "additionalProperties": false
1695
+ }
1696
+ ]
1674
1697
  }
1675
1698
  }
1676
1699
  }
@@ -2410,6 +2433,29 @@
2410
2433
  ],
2411
2434
  "default": true
2412
2435
  },
2436
+ "management": {
2437
+ "anyOf": [
2438
+ {
2439
+ "type": "boolean"
2440
+ },
2441
+ {
2442
+ "type": "object",
2443
+ "properties": {
2444
+ "enabled": {
2445
+ "type": "boolean",
2446
+ "default": true
2447
+ },
2448
+ "operations": {
2449
+ "type": "array",
2450
+ "items": {
2451
+ "type": "string"
2452
+ }
2453
+ }
2454
+ },
2455
+ "additionalProperties": false
2456
+ }
2457
+ ]
2458
+ },
2413
2459
  "metrics": {
2414
2460
  "anyOf": [
2415
2461
  {