@platformatic/db 3.18.0 → 3.20.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 +39 -3
package/config.d.ts CHANGED
@@ -597,6 +597,7 @@ export interface PlatformaticDatabaseConfig {
597
597
  maxHeapUsed?: number | string;
598
598
  maxHeapTotal?: number | string;
599
599
  maxYoungGeneration?: number | string;
600
+ codeRangeSize?: number | string;
600
601
  };
601
602
  undici?: {
602
603
  agentOptions?: {
@@ -703,6 +704,7 @@ export interface PlatformaticDatabaseConfig {
703
704
  body?: string;
704
705
  };
705
706
  };
707
+ healthChecksTimeouts?: number | string;
706
708
  plugins?: string[];
707
709
  timeout?: number | string;
708
710
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.18.0",
3
+ "version": "3.20.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.18.0",
70
- "@platformatic/basic": "3.18.0",
71
- "@platformatic/db-core": "3.18.0",
72
- "@platformatic/foundation": "3.18.0",
73
- "@platformatic/service": "3.18.0",
74
- "@platformatic/sql-events": "3.18.0",
75
- "@platformatic/sql-graphql": "3.18.0",
76
- "@platformatic/sql-json-schema-mapper": "3.18.0",
77
- "@platformatic/sql-mapper": "3.18.0",
78
- "@platformatic/sql-openapi": "3.18.0",
79
- "@platformatic/telemetry": "3.18.0"
69
+ "@platformatic/basic": "3.20.0",
70
+ "@platformatic/db-authorization": "3.20.0",
71
+ "@platformatic/foundation": "3.20.0",
72
+ "@platformatic/service": "3.20.0",
73
+ "@platformatic/db-core": "3.20.0",
74
+ "@platformatic/sql-graphql": "3.20.0",
75
+ "@platformatic/sql-events": "3.20.0",
76
+ "@platformatic/sql-json-schema-mapper": "3.20.0",
77
+ "@platformatic/sql-mapper": "3.20.0",
78
+ "@platformatic/sql-openapi": "3.20.0",
79
+ "@platformatic/telemetry": "3.20.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.18.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.20.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -1488,6 +1488,17 @@
1488
1488
  "type": "string"
1489
1489
  }
1490
1490
  ]
1491
+ },
1492
+ "codeRangeSize": {
1493
+ "anyOf": [
1494
+ {
1495
+ "type": "number",
1496
+ "minimum": 0
1497
+ },
1498
+ {
1499
+ "type": "string"
1500
+ }
1501
+ ]
1491
1502
  }
1492
1503
  },
1493
1504
  "additionalProperties": false
@@ -2081,7 +2092,8 @@
2081
2092
  {
2082
2093
  "type": "string"
2083
2094
  }
2084
- ]
2095
+ ],
2096
+ "default": 4294967296
2085
2097
  },
2086
2098
  "maxYoungGeneration": {
2087
2099
  "anyOf": [
@@ -2092,7 +2104,20 @@
2092
2104
  {
2093
2105
  "type": "string"
2094
2106
  }
2095
- ]
2107
+ ],
2108
+ "default": 134217728
2109
+ },
2110
+ "codeRangeSize": {
2111
+ "anyOf": [
2112
+ {
2113
+ "type": "number",
2114
+ "minimum": 0
2115
+ },
2116
+ {
2117
+ "type": "string"
2118
+ }
2119
+ ],
2120
+ "default": 268435456
2096
2121
  }
2097
2122
  },
2098
2123
  "additionalProperties": false
@@ -2408,6 +2433,17 @@
2408
2433
  }
2409
2434
  ]
2410
2435
  },
2436
+ "healthChecksTimeouts": {
2437
+ "anyOf": [
2438
+ {
2439
+ "type": "integer"
2440
+ },
2441
+ {
2442
+ "type": "string"
2443
+ }
2444
+ ],
2445
+ "default": 5000
2446
+ },
2411
2447
  "plugins": {
2412
2448
  "type": "array",
2413
2449
  "items": {