@platformatic/db 3.31.0 → 3.32.0-alpha.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 +4 -26
- package/package.json +12 -12
- package/schema.json +40 -67
package/config.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export interface PlatformaticDatabaseConfig {
|
|
|
49
49
|
logger?:
|
|
50
50
|
| boolean
|
|
51
51
|
| {
|
|
52
|
-
level
|
|
52
|
+
level: (
|
|
53
53
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
54
54
|
| {
|
|
55
55
|
[k: string]: unknown;
|
|
@@ -501,7 +501,7 @@ export interface PlatformaticDatabaseConfig {
|
|
|
501
501
|
};
|
|
502
502
|
workersRestartDelay?: number | string;
|
|
503
503
|
logger?: {
|
|
504
|
-
level
|
|
504
|
+
level: (
|
|
505
505
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
506
506
|
| {
|
|
507
507
|
[k: string]: unknown;
|
|
@@ -604,6 +604,7 @@ export interface PlatformaticDatabaseConfig {
|
|
|
604
604
|
maxHeapTotal?: number | string;
|
|
605
605
|
maxYoungGeneration?: number | string;
|
|
606
606
|
codeRangeSize?: number | string;
|
|
607
|
+
noHeapCheck?: boolean | string;
|
|
607
608
|
};
|
|
608
609
|
undici?: {
|
|
609
610
|
agentOptions?: {
|
|
@@ -884,18 +885,6 @@ export interface PlatformaticDatabaseConfig {
|
|
|
884
885
|
[k: string]: string | [string, ...string[]];
|
|
885
886
|
};
|
|
886
887
|
};
|
|
887
|
-
compileCache?:
|
|
888
|
-
| boolean
|
|
889
|
-
| {
|
|
890
|
-
/**
|
|
891
|
-
* Enable Node.js module compile cache for faster startup
|
|
892
|
-
*/
|
|
893
|
-
enabled?: boolean;
|
|
894
|
-
/**
|
|
895
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
896
|
-
*/
|
|
897
|
-
directory?: string;
|
|
898
|
-
};
|
|
899
888
|
application?: {
|
|
900
889
|
reuseTcpPorts?: boolean;
|
|
901
890
|
workers?:
|
|
@@ -919,6 +908,7 @@ export interface PlatformaticDatabaseConfig {
|
|
|
919
908
|
maxHeapTotal?: number | string;
|
|
920
909
|
maxYoungGeneration?: number | string;
|
|
921
910
|
codeRangeSize?: number | string;
|
|
911
|
+
noHeapCheck?: boolean | string;
|
|
922
912
|
};
|
|
923
913
|
arguments?: string[];
|
|
924
914
|
env?: {
|
|
@@ -954,18 +944,6 @@ export interface PlatformaticDatabaseConfig {
|
|
|
954
944
|
)[];
|
|
955
945
|
[k: string]: unknown;
|
|
956
946
|
};
|
|
957
|
-
compileCache?:
|
|
958
|
-
| boolean
|
|
959
|
-
| {
|
|
960
|
-
/**
|
|
961
|
-
* Enable Node.js module compile cache for faster startup
|
|
962
|
-
*/
|
|
963
|
-
enabled?: boolean;
|
|
964
|
-
/**
|
|
965
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
966
|
-
*/
|
|
967
|
-
directory?: string;
|
|
968
|
-
};
|
|
969
947
|
};
|
|
970
948
|
};
|
|
971
949
|
watch?:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/db",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0-alpha.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.
|
|
70
|
-
"@platformatic/db-core": "3.
|
|
71
|
-
"@platformatic/basic": "3.
|
|
72
|
-
"@platformatic/foundation": "3.
|
|
73
|
-
"@platformatic/service": "3.
|
|
74
|
-
"@platformatic/sql-events": "3.
|
|
75
|
-
"@platformatic/sql-
|
|
76
|
-
"@platformatic/sql-
|
|
77
|
-
"@platformatic/sql-
|
|
78
|
-
"@platformatic/telemetry": "3.
|
|
79
|
-
"@platformatic/sql-openapi": "3.
|
|
69
|
+
"@platformatic/db-authorization": "3.32.0-alpha.0",
|
|
70
|
+
"@platformatic/db-core": "3.32.0-alpha.0",
|
|
71
|
+
"@platformatic/basic": "3.32.0-alpha.0",
|
|
72
|
+
"@platformatic/foundation": "3.32.0-alpha.0",
|
|
73
|
+
"@platformatic/service": "3.32.0-alpha.0",
|
|
74
|
+
"@platformatic/sql-events": "3.32.0-alpha.0",
|
|
75
|
+
"@platformatic/sql-json-schema-mapper": "3.32.0-alpha.0",
|
|
76
|
+
"@platformatic/sql-graphql": "3.32.0-alpha.0",
|
|
77
|
+
"@platformatic/sql-mapper": "3.32.0-alpha.0",
|
|
78
|
+
"@platformatic/telemetry": "3.32.0-alpha.0",
|
|
79
|
+
"@platformatic/sql-openapi": "3.32.0-alpha.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.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.32.0-alpha.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Database Config",
|
|
5
5
|
"type": "object",
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
"properties": {
|
|
99
99
|
"level": {
|
|
100
100
|
"type": "string",
|
|
101
|
+
"default": "info",
|
|
101
102
|
"oneOf": [
|
|
102
103
|
{
|
|
103
104
|
"enum": [
|
|
@@ -240,6 +241,9 @@
|
|
|
240
241
|
"additionalProperties": true
|
|
241
242
|
}
|
|
242
243
|
},
|
|
244
|
+
"required": [
|
|
245
|
+
"level"
|
|
246
|
+
],
|
|
243
247
|
"default": {},
|
|
244
248
|
"additionalProperties": true
|
|
245
249
|
}
|
|
@@ -1505,6 +1509,16 @@
|
|
|
1505
1509
|
"type": "string"
|
|
1506
1510
|
}
|
|
1507
1511
|
]
|
|
1512
|
+
},
|
|
1513
|
+
"noHeapCheck": {
|
|
1514
|
+
"anyOf": [
|
|
1515
|
+
{
|
|
1516
|
+
"type": "boolean"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"type": "string"
|
|
1520
|
+
}
|
|
1521
|
+
]
|
|
1508
1522
|
}
|
|
1509
1523
|
},
|
|
1510
1524
|
"additionalProperties": false
|
|
@@ -1629,28 +1643,6 @@
|
|
|
1629
1643
|
}
|
|
1630
1644
|
}
|
|
1631
1645
|
}
|
|
1632
|
-
},
|
|
1633
|
-
"compileCache": {
|
|
1634
|
-
"anyOf": [
|
|
1635
|
-
{
|
|
1636
|
-
"type": "boolean"
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"type": "object",
|
|
1640
|
-
"properties": {
|
|
1641
|
-
"enabled": {
|
|
1642
|
-
"type": "boolean",
|
|
1643
|
-
"default": true,
|
|
1644
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
1645
|
-
},
|
|
1646
|
-
"directory": {
|
|
1647
|
-
"type": "string",
|
|
1648
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
1649
|
-
}
|
|
1650
|
-
},
|
|
1651
|
-
"additionalProperties": false
|
|
1652
|
-
}
|
|
1653
|
-
]
|
|
1654
1646
|
}
|
|
1655
1647
|
}
|
|
1656
1648
|
}
|
|
@@ -1730,6 +1722,7 @@
|
|
|
1730
1722
|
"properties": {
|
|
1731
1723
|
"level": {
|
|
1732
1724
|
"type": "string",
|
|
1725
|
+
"default": "info",
|
|
1733
1726
|
"oneOf": [
|
|
1734
1727
|
{
|
|
1735
1728
|
"enum": [
|
|
@@ -1872,6 +1865,9 @@
|
|
|
1872
1865
|
"additionalProperties": true
|
|
1873
1866
|
}
|
|
1874
1867
|
},
|
|
1868
|
+
"required": [
|
|
1869
|
+
"level"
|
|
1870
|
+
],
|
|
1875
1871
|
"default": {},
|
|
1876
1872
|
"additionalProperties": true
|
|
1877
1873
|
},
|
|
@@ -2167,6 +2163,17 @@
|
|
|
2167
2163
|
}
|
|
2168
2164
|
],
|
|
2169
2165
|
"default": 268435456
|
|
2166
|
+
},
|
|
2167
|
+
"noHeapCheck": {
|
|
2168
|
+
"anyOf": [
|
|
2169
|
+
{
|
|
2170
|
+
"type": "boolean"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"type": "string"
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"default": false
|
|
2170
2177
|
}
|
|
2171
2178
|
},
|
|
2172
2179
|
"additionalProperties": false
|
|
@@ -2913,28 +2920,6 @@
|
|
|
2913
2920
|
],
|
|
2914
2921
|
"additionalProperties": false
|
|
2915
2922
|
},
|
|
2916
|
-
"compileCache": {
|
|
2917
|
-
"anyOf": [
|
|
2918
|
-
{
|
|
2919
|
-
"type": "boolean"
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"type": "object",
|
|
2923
|
-
"properties": {
|
|
2924
|
-
"enabled": {
|
|
2925
|
-
"type": "boolean",
|
|
2926
|
-
"default": true,
|
|
2927
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2928
|
-
},
|
|
2929
|
-
"directory": {
|
|
2930
|
-
"type": "string",
|
|
2931
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2932
|
-
}
|
|
2933
|
-
},
|
|
2934
|
-
"additionalProperties": false
|
|
2935
|
-
}
|
|
2936
|
-
]
|
|
2937
|
-
},
|
|
2938
2923
|
"application": {
|
|
2939
2924
|
"type": "object",
|
|
2940
2925
|
"properties": {
|
|
@@ -3082,6 +3067,16 @@
|
|
|
3082
3067
|
"type": "string"
|
|
3083
3068
|
}
|
|
3084
3069
|
]
|
|
3070
|
+
},
|
|
3071
|
+
"noHeapCheck": {
|
|
3072
|
+
"anyOf": [
|
|
3073
|
+
{
|
|
3074
|
+
"type": "boolean"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"type": "string"
|
|
3078
|
+
}
|
|
3079
|
+
]
|
|
3085
3080
|
}
|
|
3086
3081
|
},
|
|
3087
3082
|
"additionalProperties": false
|
|
@@ -3199,28 +3194,6 @@
|
|
|
3199
3194
|
}
|
|
3200
3195
|
}
|
|
3201
3196
|
}
|
|
3202
|
-
},
|
|
3203
|
-
"compileCache": {
|
|
3204
|
-
"anyOf": [
|
|
3205
|
-
{
|
|
3206
|
-
"type": "boolean"
|
|
3207
|
-
},
|
|
3208
|
-
{
|
|
3209
|
-
"type": "object",
|
|
3210
|
-
"properties": {
|
|
3211
|
-
"enabled": {
|
|
3212
|
-
"type": "boolean",
|
|
3213
|
-
"default": true,
|
|
3214
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
3215
|
-
},
|
|
3216
|
-
"directory": {
|
|
3217
|
-
"type": "string",
|
|
3218
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
3219
|
-
}
|
|
3220
|
-
},
|
|
3221
|
-
"additionalProperties": false
|
|
3222
|
-
}
|
|
3223
|
-
]
|
|
3224
3197
|
}
|
|
3225
3198
|
},
|
|
3226
3199
|
"additionalProperties": false
|