@platformatic/db 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.
Files changed (3) hide show
  1. package/config.d.ts +2 -0
  2. package/package.json +12 -12
  3. package/schema.json +40 -1
package/config.d.ts CHANGED
@@ -690,6 +690,7 @@ export interface PlatformaticDatabaseConfig {
690
690
  };
691
691
  };
692
692
  plugins?: string[];
693
+ timeout?: number | string;
693
694
  };
694
695
  telemetry?: {
695
696
  enabled?: boolean | string;
@@ -778,6 +779,7 @@ export interface PlatformaticDatabaseConfig {
778
779
  timeWindowSec?: number;
779
780
  cooldownSec?: number;
780
781
  scaleIntervalSec?: number;
782
+ gracePeriod?: number;
781
783
  };
782
784
  inspectorOptions?: {
783
785
  host?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.8.0",
3
+ "version": "3.10.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/basic": "3.8.0",
70
- "@platformatic/db-authorization": "3.8.0",
71
- "@platformatic/db-core": "3.8.0",
72
- "@platformatic/foundation": "3.8.0",
73
- "@platformatic/service": "3.8.0",
74
- "@platformatic/sql-events": "3.8.0",
75
- "@platformatic/sql-graphql": "3.8.0",
76
- "@platformatic/sql-json-schema-mapper": "3.8.0",
77
- "@platformatic/sql-mapper": "3.8.0",
78
- "@platformatic/sql-openapi": "3.8.0",
79
- "@platformatic/telemetry": "3.8.0"
69
+ "@platformatic/basic": "3.10.0",
70
+ "@platformatic/db-core": "3.10.0",
71
+ "@platformatic/db-authorization": "3.10.0",
72
+ "@platformatic/service": "3.10.0",
73
+ "@platformatic/sql-events": "3.10.0",
74
+ "@platformatic/sql-json-schema-mapper": "3.10.0",
75
+ "@platformatic/foundation": "3.10.0",
76
+ "@platformatic/sql-mapper": "3.10.0",
77
+ "@platformatic/sql-graphql": "3.10.0",
78
+ "@platformatic/telemetry": "3.10.0",
79
+ "@platformatic/sql-openapi": "3.10.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.8.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.10.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -1524,6 +1524,30 @@
1524
1524
  "nodeOptions": {
1525
1525
  "type": "string"
1526
1526
  },
1527
+ "permissions": {
1528
+ "type": "object",
1529
+ "properties": {
1530
+ "fs": {
1531
+ "type": "object",
1532
+ "properties": {
1533
+ "read": {
1534
+ "type": "array",
1535
+ "items": {
1536
+ "type": "string"
1537
+ }
1538
+ },
1539
+ "write": {
1540
+ "type": "array",
1541
+ "items": {
1542
+ "type": "string"
1543
+ }
1544
+ }
1545
+ },
1546
+ "additionalProperties": false
1547
+ }
1548
+ },
1549
+ "additionalProperties": false
1550
+ },
1527
1551
  "telemetry": {
1528
1552
  "type": "object",
1529
1553
  "properties": {
@@ -2334,6 +2358,17 @@
2334
2358
  }
2335
2359
  ]
2336
2360
  }
2361
+ },
2362
+ "timeout": {
2363
+ "anyOf": [
2364
+ {
2365
+ "type": "integer"
2366
+ },
2367
+ {
2368
+ "type": "string"
2369
+ }
2370
+ ],
2371
+ "default": 10000
2337
2372
  }
2338
2373
  },
2339
2374
  "additionalProperties": false
@@ -2515,6 +2550,10 @@
2515
2550
  "scaleIntervalSec": {
2516
2551
  "type": "number",
2517
2552
  "minimum": 0
2553
+ },
2554
+ "gracePeriod": {
2555
+ "type": "number",
2556
+ "minimum": 0
2518
2557
  }
2519
2558
  },
2520
2559
  "additionalProperties": false