@platformatic/nitro 3.75.1 → 3.76.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 +42 -0
  2. package/package.json +7 -7
  3. package/schema.json +117 -1
package/config.d.ts CHANGED
@@ -240,9 +240,23 @@ export interface PlatformaticNitroConfig {
240
240
  gracePeriod?: number | string;
241
241
  maxUnhealthyChecks?: number | string;
242
242
  maxELU?: number | string;
243
+ maxELULogLevel?: (
244
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
245
+ | {
246
+ [k: string]: unknown;
247
+ }
248
+ ) &
249
+ string;
243
250
  maxEventLoopDelay?: number | string;
244
251
  maxEventLoopDelayP99?: number | string;
245
252
  maxHeapUsed?: number | string;
253
+ maxHeapUsedLogLevel?: (
254
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
255
+ | {
256
+ [k: string]: unknown;
257
+ }
258
+ ) &
259
+ string;
246
260
  maxHeapTotal?: number | string;
247
261
  maxYoungGeneration?: number | string;
248
262
  codeRangeSize?: number | string;
@@ -494,9 +508,23 @@ export interface PlatformaticNitroConfig {
494
508
  gracePeriod?: number | string;
495
509
  maxUnhealthyChecks?: number | string;
496
510
  maxELU?: number | string;
511
+ maxELULogLevel?: (
512
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
513
+ | {
514
+ [k: string]: unknown;
515
+ }
516
+ ) &
517
+ string;
497
518
  maxEventLoopDelay?: number | string;
498
519
  maxEventLoopDelayP99?: number | string;
499
520
  maxHeapUsed?: number | string;
521
+ maxHeapUsedLogLevel?: (
522
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
523
+ | {
524
+ [k: string]: unknown;
525
+ }
526
+ ) &
527
+ string;
500
528
  maxHeapTotal?: number | string;
501
529
  maxYoungGeneration?: number | string;
502
530
  codeRangeSize?: number | string;
@@ -996,9 +1024,23 @@ export interface PlatformaticNitroConfig {
996
1024
  gracePeriod?: number | string;
997
1025
  maxUnhealthyChecks?: number | string;
998
1026
  maxELU?: number | string;
1027
+ maxELULogLevel?: (
1028
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
1029
+ | {
1030
+ [k: string]: unknown;
1031
+ }
1032
+ ) &
1033
+ string;
999
1034
  maxEventLoopDelay?: number | string;
1000
1035
  maxEventLoopDelayP99?: number | string;
1001
1036
  maxHeapUsed?: number | string;
1037
+ maxHeapUsedLogLevel?: (
1038
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
1039
+ | {
1040
+ [k: string]: unknown;
1041
+ }
1042
+ ) &
1043
+ string;
1002
1044
  maxHeapTotal?: number | string;
1003
1045
  maxYoungGeneration?: number | string;
1004
1046
  codeRangeSize?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/nitro",
3
- "version": "3.75.1",
3
+ "version": "3.76.0",
4
4
  "description": "Platformatic Nitro Capability",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -29,16 +29,16 @@
29
29
  },
30
30
  "homepage": "https://github.com/platformatic/platformatic#readme",
31
31
  "dependencies": {
32
- "@platformatic/basic": "3.75.1",
33
- "@platformatic/foundation": "3.75.1",
34
- "@platformatic/globals": "3.75.1",
35
- "@platformatic/vite": "3.75.1",
32
+ "@platformatic/basic": "3.76.0",
33
+ "@platformatic/foundation": "3.76.0",
34
+ "@platformatic/globals": "3.76.0",
35
+ "@platformatic/vite": "3.76.0",
36
36
  "light-my-request": "^6.6.0",
37
37
  "semver": "^7.6.3"
38
38
  },
39
39
  "devDependencies": {
40
- "@platformatic/gateway": "3.75.1",
41
- "@platformatic/service": "3.75.1",
40
+ "@platformatic/gateway": "3.76.0",
41
+ "@platformatic/service": "3.76.0",
42
42
  "cleaner-spec-reporter": "^2.0.0",
43
43
  "eslint": "9",
44
44
  "json-schema-to-typescript": "^16.0.0",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nitro/3.75.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nitro/3.76.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Nitro Config",
5
5
  "type": "object",
@@ -727,6 +727,25 @@
727
727
  }
728
728
  ]
729
729
  },
730
+ "maxELULogLevel": {
731
+ "type": "string",
732
+ "oneOf": [
733
+ {
734
+ "enum": [
735
+ "fatal",
736
+ "error",
737
+ "warn",
738
+ "info",
739
+ "debug",
740
+ "trace",
741
+ "silent"
742
+ ]
743
+ },
744
+ {
745
+ "pattern": "^\\{.+\\}$"
746
+ }
747
+ ]
748
+ },
730
749
  "maxEventLoopDelay": {
731
750
  "anyOf": [
732
751
  {
@@ -761,6 +780,25 @@
761
780
  }
762
781
  ]
763
782
  },
783
+ "maxHeapUsedLogLevel": {
784
+ "type": "string",
785
+ "oneOf": [
786
+ {
787
+ "enum": [
788
+ "fatal",
789
+ "error",
790
+ "warn",
791
+ "info",
792
+ "debug",
793
+ "trace",
794
+ "silent"
795
+ ]
796
+ },
797
+ {
798
+ "pattern": "^\\{.+\\}$"
799
+ }
800
+ ]
801
+ },
764
802
  "maxHeapTotal": {
765
803
  "anyOf": [
766
804
  {
@@ -1585,6 +1623,26 @@
1585
1623
  ],
1586
1624
  "default": 0.99
1587
1625
  },
1626
+ "maxELULogLevel": {
1627
+ "type": "string",
1628
+ "oneOf": [
1629
+ {
1630
+ "enum": [
1631
+ "fatal",
1632
+ "error",
1633
+ "warn",
1634
+ "info",
1635
+ "debug",
1636
+ "trace",
1637
+ "silent"
1638
+ ]
1639
+ },
1640
+ {
1641
+ "pattern": "^\\{.+\\}$"
1642
+ }
1643
+ ],
1644
+ "default": "error"
1645
+ },
1588
1646
  "maxEventLoopDelay": {
1589
1647
  "anyOf": [
1590
1648
  {
@@ -1620,6 +1678,26 @@
1620
1678
  ],
1621
1679
  "default": 0.99
1622
1680
  },
1681
+ "maxHeapUsedLogLevel": {
1682
+ "type": "string",
1683
+ "oneOf": [
1684
+ {
1685
+ "enum": [
1686
+ "fatal",
1687
+ "error",
1688
+ "warn",
1689
+ "info",
1690
+ "debug",
1691
+ "trace",
1692
+ "silent"
1693
+ ]
1694
+ },
1695
+ {
1696
+ "pattern": "^\\{.+\\}$"
1697
+ }
1698
+ ],
1699
+ "default": "error"
1700
+ },
1623
1701
  "maxHeapTotal": {
1624
1702
  "anyOf": [
1625
1703
  {
@@ -3012,6 +3090,25 @@
3012
3090
  }
3013
3091
  ]
3014
3092
  },
3093
+ "maxELULogLevel": {
3094
+ "type": "string",
3095
+ "oneOf": [
3096
+ {
3097
+ "enum": [
3098
+ "fatal",
3099
+ "error",
3100
+ "warn",
3101
+ "info",
3102
+ "debug",
3103
+ "trace",
3104
+ "silent"
3105
+ ]
3106
+ },
3107
+ {
3108
+ "pattern": "^\\{.+\\}$"
3109
+ }
3110
+ ]
3111
+ },
3015
3112
  "maxEventLoopDelay": {
3016
3113
  "anyOf": [
3017
3114
  {
@@ -3046,6 +3143,25 @@
3046
3143
  }
3047
3144
  ]
3048
3145
  },
3146
+ "maxHeapUsedLogLevel": {
3147
+ "type": "string",
3148
+ "oneOf": [
3149
+ {
3150
+ "enum": [
3151
+ "fatal",
3152
+ "error",
3153
+ "warn",
3154
+ "info",
3155
+ "debug",
3156
+ "trace",
3157
+ "silent"
3158
+ ]
3159
+ },
3160
+ {
3161
+ "pattern": "^\\{.+\\}$"
3162
+ }
3163
+ ]
3164
+ },
3049
3165
  "maxHeapTotal": {
3050
3166
  "anyOf": [
3051
3167
  {