@platformatic/db 3.5.0 → 3.6.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 +1 -0
  2. package/package.json +12 -12
  3. package/schema.json +13 -1
package/config.d.ts CHANGED
@@ -484,6 +484,7 @@ export interface PlatformaticDatabaseConfig {
484
484
  [k: string]: unknown;
485
485
  }[];
486
486
  workers?: number | string;
487
+ workersRestartDelay?: number | string;
487
488
  logger?: {
488
489
  level: (
489
490
  | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.5.0",
3
+ "version": "3.6.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.5.0",
70
- "@platformatic/db-authorization": "3.5.0",
71
- "@platformatic/db-core": "3.5.0",
72
- "@platformatic/foundation": "3.5.0",
73
- "@platformatic/service": "3.5.0",
74
- "@platformatic/sql-events": "3.5.0",
75
- "@platformatic/sql-graphql": "3.5.0",
76
- "@platformatic/sql-json-schema-mapper": "3.5.0",
77
- "@platformatic/sql-mapper": "3.5.0",
78
- "@platformatic/telemetry": "3.5.0",
79
- "@platformatic/sql-openapi": "3.5.0"
69
+ "@platformatic/basic": "3.6.0",
70
+ "@platformatic/db-authorization": "3.6.0",
71
+ "@platformatic/db-core": "3.6.0",
72
+ "@platformatic/sql-events": "3.6.0",
73
+ "@platformatic/service": "3.6.0",
74
+ "@platformatic/sql-json-schema-mapper": "3.6.0",
75
+ "@platformatic/foundation": "3.6.0",
76
+ "@platformatic/sql-mapper": "3.6.0",
77
+ "@platformatic/sql-graphql": "3.6.0",
78
+ "@platformatic/sql-openapi": "3.6.0",
79
+ "@platformatic/telemetry": "3.6.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.5.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.6.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -1573,6 +1573,18 @@
1573
1573
  ],
1574
1574
  "default": 1
1575
1575
  },
1576
+ "workersRestartDelay": {
1577
+ "anyOf": [
1578
+ {
1579
+ "type": "number",
1580
+ "minimum": 0
1581
+ },
1582
+ {
1583
+ "type": "string"
1584
+ }
1585
+ ],
1586
+ "default": 0
1587
+ },
1576
1588
  "logger": {
1577
1589
  "type": "object",
1578
1590
  "properties": {