@platformatic/react-router 3.75.1 → 3.77.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 +50 -0
- package/package.json +9 -9
- package/schema.json +139 -1
package/config.d.ts
CHANGED
|
@@ -241,9 +241,23 @@ export interface PlatformaticReactRouterConfig {
|
|
|
241
241
|
gracePeriod?: number | string;
|
|
242
242
|
maxUnhealthyChecks?: number | string;
|
|
243
243
|
maxELU?: number | string;
|
|
244
|
+
maxELULogLevel?: (
|
|
245
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
246
|
+
| {
|
|
247
|
+
[k: string]: unknown;
|
|
248
|
+
}
|
|
249
|
+
) &
|
|
250
|
+
string;
|
|
244
251
|
maxEventLoopDelay?: number | string;
|
|
245
252
|
maxEventLoopDelayP99?: number | string;
|
|
246
253
|
maxHeapUsed?: number | string;
|
|
254
|
+
maxHeapUsedLogLevel?: (
|
|
255
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
256
|
+
| {
|
|
257
|
+
[k: string]: unknown;
|
|
258
|
+
}
|
|
259
|
+
) &
|
|
260
|
+
string;
|
|
247
261
|
maxHeapTotal?: number | string;
|
|
248
262
|
maxYoungGeneration?: number | string;
|
|
249
263
|
codeRangeSize?: number | string;
|
|
@@ -495,9 +509,23 @@ export interface PlatformaticReactRouterConfig {
|
|
|
495
509
|
gracePeriod?: number | string;
|
|
496
510
|
maxUnhealthyChecks?: number | string;
|
|
497
511
|
maxELU?: number | string;
|
|
512
|
+
maxELULogLevel?: (
|
|
513
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
514
|
+
| {
|
|
515
|
+
[k: string]: unknown;
|
|
516
|
+
}
|
|
517
|
+
) &
|
|
518
|
+
string;
|
|
498
519
|
maxEventLoopDelay?: number | string;
|
|
499
520
|
maxEventLoopDelayP99?: number | string;
|
|
500
521
|
maxHeapUsed?: number | string;
|
|
522
|
+
maxHeapUsedLogLevel?: (
|
|
523
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
524
|
+
| {
|
|
525
|
+
[k: string]: unknown;
|
|
526
|
+
}
|
|
527
|
+
) &
|
|
528
|
+
string;
|
|
501
529
|
maxHeapTotal?: number | string;
|
|
502
530
|
maxYoungGeneration?: number | string;
|
|
503
531
|
codeRangeSize?: number | string;
|
|
@@ -670,6 +698,14 @@ export interface PlatformaticReactRouterConfig {
|
|
|
670
698
|
* Enable outgoing HTTP client request duration metrics
|
|
671
699
|
*/
|
|
672
700
|
httpClientMetrics?: boolean | string;
|
|
701
|
+
/**
|
|
702
|
+
* Merge the metrics of all the workers of each application into a single set of series without the workerId label. Summaries are still reported per worker. Defaults to false.
|
|
703
|
+
*/
|
|
704
|
+
aggregateWorkers?: boolean | string;
|
|
705
|
+
/**
|
|
706
|
+
* Reset the http_request_all_duration_seconds, http_request_all_summary_seconds and http_client_request_duration_seconds metrics after each collection. Set to false to make them cumulative. Defaults to true.
|
|
707
|
+
*/
|
|
708
|
+
resetHttpMetrics?: boolean | string;
|
|
673
709
|
readiness?:
|
|
674
710
|
| boolean
|
|
675
711
|
| {
|
|
@@ -997,9 +1033,23 @@ export interface PlatformaticReactRouterConfig {
|
|
|
997
1033
|
gracePeriod?: number | string;
|
|
998
1034
|
maxUnhealthyChecks?: number | string;
|
|
999
1035
|
maxELU?: number | string;
|
|
1036
|
+
maxELULogLevel?: (
|
|
1037
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
1038
|
+
| {
|
|
1039
|
+
[k: string]: unknown;
|
|
1040
|
+
}
|
|
1041
|
+
) &
|
|
1042
|
+
string;
|
|
1000
1043
|
maxEventLoopDelay?: number | string;
|
|
1001
1044
|
maxEventLoopDelayP99?: number | string;
|
|
1002
1045
|
maxHeapUsed?: number | string;
|
|
1046
|
+
maxHeapUsedLogLevel?: (
|
|
1047
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
1048
|
+
| {
|
|
1049
|
+
[k: string]: unknown;
|
|
1050
|
+
}
|
|
1051
|
+
) &
|
|
1052
|
+
string;
|
|
1003
1053
|
maxHeapTotal?: number | string;
|
|
1004
1054
|
maxYoungGeneration?: number | string;
|
|
1005
1055
|
codeRangeSize?: number | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/react-router",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.77.0",
|
|
4
4
|
"description": "Platformatic React Router Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
},
|
|
16
16
|
"homepage": "https://github.com/platformatic/platformatic#readme",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fastify/static": "^10.
|
|
19
|
-
"@platformatic/basic": "3.
|
|
20
|
-
"@platformatic/foundation": "3.
|
|
21
|
-
"@platformatic/globals": "3.
|
|
22
|
-
"@platformatic/vite": "3.
|
|
18
|
+
"@fastify/static": "^10.1.9",
|
|
19
|
+
"@platformatic/basic": "3.77.0",
|
|
20
|
+
"@platformatic/foundation": "3.77.0",
|
|
21
|
+
"@platformatic/globals": "3.77.0",
|
|
22
|
+
"@platformatic/vite": "3.77.0",
|
|
23
23
|
"fastify": "^5.0.0",
|
|
24
24
|
"semver": "^7.6.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@platformatic/gateway": "3.
|
|
28
|
-
"@platformatic/service": "3.
|
|
27
|
+
"@platformatic/gateway": "3.77.0",
|
|
28
|
+
"@platformatic/service": "3.77.0",
|
|
29
29
|
"@react-router/dev": "^7.10.0",
|
|
30
30
|
"@react-router/node": "^7.10.0",
|
|
31
31
|
"@types/react": "^19.1.11",
|
|
32
32
|
"@types/react-dom": "^19.1.7",
|
|
33
33
|
"cleaner-spec-reporter": "^2.0.0",
|
|
34
|
-
"eslint": "
|
|
34
|
+
"eslint": "10",
|
|
35
35
|
"fastify": "^5.0.0",
|
|
36
36
|
"isbot": "^5.1.17",
|
|
37
37
|
"json-schema-to-typescript": "^16.0.0",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.77.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic React Router Config",
|
|
5
5
|
"type": "object",
|
|
@@ -733,6 +733,25 @@
|
|
|
733
733
|
}
|
|
734
734
|
]
|
|
735
735
|
},
|
|
736
|
+
"maxELULogLevel": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"oneOf": [
|
|
739
|
+
{
|
|
740
|
+
"enum": [
|
|
741
|
+
"fatal",
|
|
742
|
+
"error",
|
|
743
|
+
"warn",
|
|
744
|
+
"info",
|
|
745
|
+
"debug",
|
|
746
|
+
"trace",
|
|
747
|
+
"silent"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"pattern": "^\\{.+\\}$"
|
|
752
|
+
}
|
|
753
|
+
]
|
|
754
|
+
},
|
|
736
755
|
"maxEventLoopDelay": {
|
|
737
756
|
"anyOf": [
|
|
738
757
|
{
|
|
@@ -767,6 +786,25 @@
|
|
|
767
786
|
}
|
|
768
787
|
]
|
|
769
788
|
},
|
|
789
|
+
"maxHeapUsedLogLevel": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"oneOf": [
|
|
792
|
+
{
|
|
793
|
+
"enum": [
|
|
794
|
+
"fatal",
|
|
795
|
+
"error",
|
|
796
|
+
"warn",
|
|
797
|
+
"info",
|
|
798
|
+
"debug",
|
|
799
|
+
"trace",
|
|
800
|
+
"silent"
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"pattern": "^\\{.+\\}$"
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
},
|
|
770
808
|
"maxHeapTotal": {
|
|
771
809
|
"anyOf": [
|
|
772
810
|
{
|
|
@@ -1591,6 +1629,26 @@
|
|
|
1591
1629
|
],
|
|
1592
1630
|
"default": 0.99
|
|
1593
1631
|
},
|
|
1632
|
+
"maxELULogLevel": {
|
|
1633
|
+
"type": "string",
|
|
1634
|
+
"oneOf": [
|
|
1635
|
+
{
|
|
1636
|
+
"enum": [
|
|
1637
|
+
"fatal",
|
|
1638
|
+
"error",
|
|
1639
|
+
"warn",
|
|
1640
|
+
"info",
|
|
1641
|
+
"debug",
|
|
1642
|
+
"trace",
|
|
1643
|
+
"silent"
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"pattern": "^\\{.+\\}$"
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"default": "error"
|
|
1651
|
+
},
|
|
1594
1652
|
"maxEventLoopDelay": {
|
|
1595
1653
|
"anyOf": [
|
|
1596
1654
|
{
|
|
@@ -1626,6 +1684,26 @@
|
|
|
1626
1684
|
],
|
|
1627
1685
|
"default": 0.99
|
|
1628
1686
|
},
|
|
1687
|
+
"maxHeapUsedLogLevel": {
|
|
1688
|
+
"type": "string",
|
|
1689
|
+
"oneOf": [
|
|
1690
|
+
{
|
|
1691
|
+
"enum": [
|
|
1692
|
+
"fatal",
|
|
1693
|
+
"error",
|
|
1694
|
+
"warn",
|
|
1695
|
+
"info",
|
|
1696
|
+
"debug",
|
|
1697
|
+
"trace",
|
|
1698
|
+
"silent"
|
|
1699
|
+
]
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"pattern": "^\\{.+\\}$"
|
|
1703
|
+
}
|
|
1704
|
+
],
|
|
1705
|
+
"default": "error"
|
|
1706
|
+
},
|
|
1629
1707
|
"maxHeapTotal": {
|
|
1630
1708
|
"anyOf": [
|
|
1631
1709
|
{
|
|
@@ -2192,6 +2270,28 @@
|
|
|
2192
2270
|
"default": false,
|
|
2193
2271
|
"description": "Enable outgoing HTTP client request duration metrics"
|
|
2194
2272
|
},
|
|
2273
|
+
"aggregateWorkers": {
|
|
2274
|
+
"anyOf": [
|
|
2275
|
+
{
|
|
2276
|
+
"type": "boolean"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"type": "string"
|
|
2280
|
+
}
|
|
2281
|
+
],
|
|
2282
|
+
"description": "Merge the metrics of all the workers of each application into a single set of series without the workerId label. Summaries are still reported per worker. Defaults to false."
|
|
2283
|
+
},
|
|
2284
|
+
"resetHttpMetrics": {
|
|
2285
|
+
"anyOf": [
|
|
2286
|
+
{
|
|
2287
|
+
"type": "boolean"
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"type": "string"
|
|
2291
|
+
}
|
|
2292
|
+
],
|
|
2293
|
+
"description": "Reset the http_request_all_duration_seconds, http_request_all_summary_seconds and http_client_request_duration_seconds metrics after each collection. Set to false to make them cumulative. Defaults to true."
|
|
2294
|
+
},
|
|
2195
2295
|
"readiness": {
|
|
2196
2296
|
"anyOf": [
|
|
2197
2297
|
{
|
|
@@ -3018,6 +3118,25 @@
|
|
|
3018
3118
|
}
|
|
3019
3119
|
]
|
|
3020
3120
|
},
|
|
3121
|
+
"maxELULogLevel": {
|
|
3122
|
+
"type": "string",
|
|
3123
|
+
"oneOf": [
|
|
3124
|
+
{
|
|
3125
|
+
"enum": [
|
|
3126
|
+
"fatal",
|
|
3127
|
+
"error",
|
|
3128
|
+
"warn",
|
|
3129
|
+
"info",
|
|
3130
|
+
"debug",
|
|
3131
|
+
"trace",
|
|
3132
|
+
"silent"
|
|
3133
|
+
]
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"pattern": "^\\{.+\\}$"
|
|
3137
|
+
}
|
|
3138
|
+
]
|
|
3139
|
+
},
|
|
3021
3140
|
"maxEventLoopDelay": {
|
|
3022
3141
|
"anyOf": [
|
|
3023
3142
|
{
|
|
@@ -3052,6 +3171,25 @@
|
|
|
3052
3171
|
}
|
|
3053
3172
|
]
|
|
3054
3173
|
},
|
|
3174
|
+
"maxHeapUsedLogLevel": {
|
|
3175
|
+
"type": "string",
|
|
3176
|
+
"oneOf": [
|
|
3177
|
+
{
|
|
3178
|
+
"enum": [
|
|
3179
|
+
"fatal",
|
|
3180
|
+
"error",
|
|
3181
|
+
"warn",
|
|
3182
|
+
"info",
|
|
3183
|
+
"debug",
|
|
3184
|
+
"trace",
|
|
3185
|
+
"silent"
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"pattern": "^\\{.+\\}$"
|
|
3190
|
+
}
|
|
3191
|
+
]
|
|
3192
|
+
},
|
|
3055
3193
|
"maxHeapTotal": {
|
|
3056
3194
|
"anyOf": [
|
|
3057
3195
|
{
|