@platformatic/react-router 0.0.1 → 3.29.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/schema.json ADDED
@@ -0,0 +1,2315 @@
1
+ {
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.29.0.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Platformatic React Router Config",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string"
9
+ },
10
+ "logger": {
11
+ "type": "object",
12
+ "properties": {
13
+ "level": {
14
+ "type": "string",
15
+ "default": "info",
16
+ "oneOf": [
17
+ {
18
+ "enum": [
19
+ "fatal",
20
+ "error",
21
+ "warn",
22
+ "info",
23
+ "debug",
24
+ "trace",
25
+ "silent"
26
+ ]
27
+ },
28
+ {
29
+ "pattern": "^\\{.+\\}$"
30
+ }
31
+ ]
32
+ },
33
+ "transport": {
34
+ "anyOf": [
35
+ {
36
+ "type": "object",
37
+ "properties": {
38
+ "target": {
39
+ "type": "string",
40
+ "resolveModule": true
41
+ },
42
+ "options": {
43
+ "type": "object"
44
+ }
45
+ },
46
+ "additionalProperties": false
47
+ },
48
+ {
49
+ "type": "object",
50
+ "properties": {
51
+ "targets": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "object",
55
+ "properties": {
56
+ "target": {
57
+ "anyOf": [
58
+ {
59
+ "type": "string",
60
+ "resolveModule": true
61
+ },
62
+ {
63
+ "type": "string",
64
+ "resolvePath": true
65
+ }
66
+ ]
67
+ },
68
+ "options": {
69
+ "type": "object"
70
+ },
71
+ "level": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "additionalProperties": false
76
+ }
77
+ },
78
+ "options": {
79
+ "type": "object"
80
+ }
81
+ },
82
+ "additionalProperties": false
83
+ }
84
+ ]
85
+ },
86
+ "pipeline": {
87
+ "type": "object",
88
+ "properties": {
89
+ "target": {
90
+ "type": "string",
91
+ "resolveModule": true
92
+ },
93
+ "options": {
94
+ "type": "object"
95
+ }
96
+ },
97
+ "additionalProperties": false
98
+ },
99
+ "formatters": {
100
+ "type": "object",
101
+ "properties": {
102
+ "path": {
103
+ "type": "string",
104
+ "resolvePath": true
105
+ }
106
+ },
107
+ "required": [
108
+ "path"
109
+ ],
110
+ "additionalProperties": false
111
+ },
112
+ "timestamp": {
113
+ "enum": [
114
+ "epochTime",
115
+ "unixTime",
116
+ "nullTime",
117
+ "isoTime"
118
+ ]
119
+ },
120
+ "redact": {
121
+ "type": "object",
122
+ "properties": {
123
+ "paths": {
124
+ "type": "array",
125
+ "items": {
126
+ "type": "string"
127
+ }
128
+ },
129
+ "censor": {
130
+ "type": "string",
131
+ "default": "[redacted]"
132
+ }
133
+ },
134
+ "required": [
135
+ "paths"
136
+ ],
137
+ "additionalProperties": false
138
+ },
139
+ "base": {
140
+ "anyOf": [
141
+ {
142
+ "type": "object",
143
+ "additionalProperties": true
144
+ },
145
+ {
146
+ "type": "null"
147
+ }
148
+ ]
149
+ },
150
+ "messageKey": {
151
+ "type": "string"
152
+ },
153
+ "customLevels": {
154
+ "type": "object",
155
+ "additionalProperties": true
156
+ }
157
+ },
158
+ "required": [
159
+ "level"
160
+ ],
161
+ "default": {},
162
+ "additionalProperties": true
163
+ },
164
+ "server": {
165
+ "type": "object",
166
+ "properties": {
167
+ "hostname": {
168
+ "type": "string",
169
+ "default": "127.0.0.1"
170
+ },
171
+ "port": {
172
+ "anyOf": [
173
+ {
174
+ "type": "integer"
175
+ },
176
+ {
177
+ "type": "string"
178
+ }
179
+ ]
180
+ },
181
+ "backlog": {
182
+ "type": "integer",
183
+ "description": "The maximum length of the queue of pending connections"
184
+ },
185
+ "http2": {
186
+ "type": "boolean"
187
+ },
188
+ "https": {
189
+ "type": "object",
190
+ "properties": {
191
+ "allowHTTP1": {
192
+ "type": "boolean"
193
+ },
194
+ "key": {
195
+ "anyOf": [
196
+ {
197
+ "type": "string"
198
+ },
199
+ {
200
+ "type": "object",
201
+ "properties": {
202
+ "path": {
203
+ "type": "string",
204
+ "resolvePath": true
205
+ }
206
+ },
207
+ "additionalProperties": false
208
+ },
209
+ {
210
+ "type": "array",
211
+ "items": {
212
+ "anyOf": [
213
+ {
214
+ "type": "string"
215
+ },
216
+ {
217
+ "type": "object",
218
+ "properties": {
219
+ "path": {
220
+ "type": "string",
221
+ "resolvePath": true
222
+ }
223
+ },
224
+ "additionalProperties": false
225
+ }
226
+ ]
227
+ }
228
+ }
229
+ ]
230
+ },
231
+ "cert": {
232
+ "anyOf": [
233
+ {
234
+ "type": "string"
235
+ },
236
+ {
237
+ "type": "object",
238
+ "properties": {
239
+ "path": {
240
+ "type": "string",
241
+ "resolvePath": true
242
+ }
243
+ },
244
+ "additionalProperties": false
245
+ },
246
+ {
247
+ "type": "array",
248
+ "items": {
249
+ "anyOf": [
250
+ {
251
+ "type": "string"
252
+ },
253
+ {
254
+ "type": "object",
255
+ "properties": {
256
+ "path": {
257
+ "type": "string",
258
+ "resolvePath": true
259
+ }
260
+ },
261
+ "additionalProperties": false
262
+ }
263
+ ]
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ "requestCert": {
269
+ "type": "boolean"
270
+ },
271
+ "rejectUnauthorized": {
272
+ "type": "boolean"
273
+ }
274
+ },
275
+ "additionalProperties": false,
276
+ "required": [
277
+ "key",
278
+ "cert"
279
+ ]
280
+ }
281
+ },
282
+ "additionalProperties": false
283
+ },
284
+ "watch": {
285
+ "anyOf": [
286
+ {
287
+ "type": "object",
288
+ "properties": {
289
+ "enabled": {
290
+ "default": true,
291
+ "anyOf": [
292
+ {
293
+ "type": "boolean"
294
+ },
295
+ {
296
+ "type": "string"
297
+ }
298
+ ]
299
+ },
300
+ "allow": {
301
+ "type": "array",
302
+ "items": {
303
+ "type": "string"
304
+ },
305
+ "minItems": 1,
306
+ "nullable": true,
307
+ "default": null
308
+ },
309
+ "ignore": {
310
+ "type": "array",
311
+ "items": {
312
+ "type": "string"
313
+ },
314
+ "nullable": true,
315
+ "default": null
316
+ }
317
+ },
318
+ "additionalProperties": false
319
+ },
320
+ {
321
+ "type": "boolean"
322
+ },
323
+ {
324
+ "type": "string"
325
+ }
326
+ ]
327
+ },
328
+ "application": {
329
+ "type": "object",
330
+ "properties": {
331
+ "basePath": {
332
+ "type": "string"
333
+ },
334
+ "outputDirectory": {
335
+ "type": "string",
336
+ "default": "dist"
337
+ },
338
+ "include": {
339
+ "type": "array",
340
+ "items": {
341
+ "type": "string"
342
+ },
343
+ "default": [
344
+ "dist"
345
+ ]
346
+ },
347
+ "commands": {
348
+ "type": "object",
349
+ "properties": {
350
+ "install": {
351
+ "type": "string",
352
+ "default": "npm ci --omit-dev"
353
+ },
354
+ "build": {
355
+ "type": "string"
356
+ },
357
+ "development": {
358
+ "type": "string"
359
+ },
360
+ "production": {
361
+ "type": "string"
362
+ }
363
+ },
364
+ "default": {},
365
+ "additionalProperties": false
366
+ }
367
+ },
368
+ "additionalProperties": false,
369
+ "required": [],
370
+ "default": {}
371
+ },
372
+ "runtime": {
373
+ "type": "object",
374
+ "properties": {
375
+ "preload": {
376
+ "anyOf": [
377
+ {
378
+ "type": "string",
379
+ "resolvePath": true
380
+ },
381
+ {
382
+ "type": "array",
383
+ "items": {
384
+ "type": "string",
385
+ "resolvePath": true
386
+ }
387
+ }
388
+ ]
389
+ },
390
+ "basePath": {
391
+ "type": "string"
392
+ },
393
+ "services": {
394
+ "type": "array",
395
+ "items": {
396
+ "type": "object",
397
+ "anyOf": [
398
+ {
399
+ "required": [
400
+ "id",
401
+ "path"
402
+ ]
403
+ },
404
+ {
405
+ "required": [
406
+ "id",
407
+ "url"
408
+ ]
409
+ }
410
+ ],
411
+ "properties": {
412
+ "id": {
413
+ "type": "string"
414
+ },
415
+ "path": {
416
+ "type": "string",
417
+ "allowEmptyPaths": true,
418
+ "resolvePath": true
419
+ },
420
+ "config": {
421
+ "type": "string"
422
+ },
423
+ "url": {
424
+ "type": "string"
425
+ },
426
+ "gitBranch": {
427
+ "type": "string",
428
+ "default": "main"
429
+ },
430
+ "useHttp": {
431
+ "type": "boolean"
432
+ },
433
+ "reuseTcpPorts": {
434
+ "type": "boolean",
435
+ "default": true
436
+ },
437
+ "workers": {
438
+ "anyOf": [
439
+ {
440
+ "type": "number"
441
+ },
442
+ {
443
+ "type": "string"
444
+ },
445
+ {
446
+ "type": "object",
447
+ "properties": {
448
+ "static": {
449
+ "type": "number",
450
+ "minimum": 1
451
+ },
452
+ "minimum": {
453
+ "type": "number",
454
+ "minimum": 1
455
+ },
456
+ "maximum": {
457
+ "type": "number",
458
+ "minimum": 0
459
+ }
460
+ }
461
+ }
462
+ ]
463
+ },
464
+ "health": {
465
+ "type": "object",
466
+ "default": {},
467
+ "properties": {
468
+ "enabled": {
469
+ "anyOf": [
470
+ {
471
+ "type": "boolean"
472
+ },
473
+ {
474
+ "type": "string"
475
+ }
476
+ ]
477
+ },
478
+ "interval": {
479
+ "anyOf": [
480
+ {
481
+ "type": "number",
482
+ "minimum": 0
483
+ },
484
+ {
485
+ "type": "string"
486
+ }
487
+ ]
488
+ },
489
+ "gracePeriod": {
490
+ "anyOf": [
491
+ {
492
+ "type": "number",
493
+ "minimum": 0
494
+ },
495
+ {
496
+ "type": "string"
497
+ }
498
+ ]
499
+ },
500
+ "maxUnhealthyChecks": {
501
+ "anyOf": [
502
+ {
503
+ "type": "number",
504
+ "minimum": 1
505
+ },
506
+ {
507
+ "type": "string"
508
+ }
509
+ ]
510
+ },
511
+ "maxELU": {
512
+ "anyOf": [
513
+ {
514
+ "type": "number",
515
+ "minimum": 0,
516
+ "maximum": 1
517
+ },
518
+ {
519
+ "type": "string"
520
+ }
521
+ ]
522
+ },
523
+ "maxHeapUsed": {
524
+ "anyOf": [
525
+ {
526
+ "type": "number",
527
+ "minimum": 0,
528
+ "maximum": 1
529
+ },
530
+ {
531
+ "type": "string"
532
+ }
533
+ ]
534
+ },
535
+ "maxHeapTotal": {
536
+ "anyOf": [
537
+ {
538
+ "type": "number",
539
+ "minimum": 0
540
+ },
541
+ {
542
+ "type": "string"
543
+ }
544
+ ]
545
+ },
546
+ "maxYoungGeneration": {
547
+ "anyOf": [
548
+ {
549
+ "type": "number",
550
+ "minimum": 0
551
+ },
552
+ {
553
+ "type": "string"
554
+ }
555
+ ]
556
+ },
557
+ "codeRangeSize": {
558
+ "anyOf": [
559
+ {
560
+ "type": "number",
561
+ "minimum": 0
562
+ },
563
+ {
564
+ "type": "string"
565
+ }
566
+ ]
567
+ }
568
+ },
569
+ "additionalProperties": false
570
+ },
571
+ "dependencies": {
572
+ "type": "array",
573
+ "items": {
574
+ "type": "string"
575
+ },
576
+ "default": []
577
+ },
578
+ "arguments": {
579
+ "type": "array",
580
+ "items": {
581
+ "type": "string"
582
+ }
583
+ },
584
+ "env": {
585
+ "type": "object",
586
+ "additionalProperties": {
587
+ "type": "string"
588
+ }
589
+ },
590
+ "envfile": {
591
+ "type": "string"
592
+ },
593
+ "sourceMaps": {
594
+ "type": "boolean"
595
+ },
596
+ "nodeModulesSourceMaps": {
597
+ "type": "array",
598
+ "items": {
599
+ "type": "string"
600
+ }
601
+ },
602
+ "packageManager": {
603
+ "type": "string",
604
+ "enum": [
605
+ "npm",
606
+ "pnpm",
607
+ "yarn"
608
+ ]
609
+ },
610
+ "preload": {
611
+ "anyOf": [
612
+ {
613
+ "type": "string",
614
+ "resolvePath": true
615
+ },
616
+ {
617
+ "type": "array",
618
+ "items": {
619
+ "type": "string",
620
+ "resolvePath": true
621
+ }
622
+ }
623
+ ]
624
+ },
625
+ "nodeOptions": {
626
+ "type": "string"
627
+ },
628
+ "execArgv": {
629
+ "type": "array",
630
+ "items": {
631
+ "type": "string"
632
+ }
633
+ },
634
+ "permissions": {
635
+ "type": "object",
636
+ "properties": {
637
+ "fs": {
638
+ "type": "object",
639
+ "properties": {
640
+ "read": {
641
+ "type": "array",
642
+ "items": {
643
+ "type": "string"
644
+ }
645
+ },
646
+ "write": {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "string"
650
+ }
651
+ }
652
+ },
653
+ "additionalProperties": false
654
+ }
655
+ },
656
+ "additionalProperties": false
657
+ },
658
+ "telemetry": {
659
+ "type": "object",
660
+ "properties": {
661
+ "instrumentations": {
662
+ "type": "array",
663
+ "description": "An array of instrumentations loaded if telemetry is enabled",
664
+ "items": {
665
+ "oneOf": [
666
+ {
667
+ "type": "string"
668
+ },
669
+ {
670
+ "type": "object",
671
+ "properties": {
672
+ "package": {
673
+ "type": "string"
674
+ },
675
+ "exportName": {
676
+ "type": "string"
677
+ },
678
+ "options": {
679
+ "type": "object",
680
+ "additionalProperties": true
681
+ }
682
+ },
683
+ "required": [
684
+ "package"
685
+ ]
686
+ }
687
+ ]
688
+ }
689
+ }
690
+ }
691
+ }
692
+ }
693
+ }
694
+ },
695
+ "workers": {
696
+ "anyOf": [
697
+ {
698
+ "type": "number",
699
+ "minimum": 1
700
+ },
701
+ {
702
+ "type": "string"
703
+ },
704
+ {
705
+ "type": "object",
706
+ "properties": {
707
+ "static": {
708
+ "type": "number",
709
+ "minimum": 1
710
+ },
711
+ "dynamic": {
712
+ "type": "boolean",
713
+ "default": false
714
+ },
715
+ "minimum": {
716
+ "type": "number",
717
+ "minimum": 1
718
+ },
719
+ "maximum": {
720
+ "type": "number",
721
+ "minimum": 0
722
+ },
723
+ "total": {
724
+ "type": "number",
725
+ "minimum": 1
726
+ },
727
+ "maxMemory": {
728
+ "type": "number",
729
+ "minimum": 0
730
+ },
731
+ "cooldown": {
732
+ "type": "number",
733
+ "minimum": 0
734
+ },
735
+ "gracePeriod": {
736
+ "type": "number",
737
+ "minimum": 0
738
+ }
739
+ }
740
+ }
741
+ ]
742
+ },
743
+ "workersRestartDelay": {
744
+ "anyOf": [
745
+ {
746
+ "type": "number",
747
+ "minimum": 0
748
+ },
749
+ {
750
+ "type": "string"
751
+ }
752
+ ],
753
+ "default": 0
754
+ },
755
+ "logger": {
756
+ "type": "object",
757
+ "properties": {
758
+ "level": {
759
+ "type": "string",
760
+ "default": "info",
761
+ "oneOf": [
762
+ {
763
+ "enum": [
764
+ "fatal",
765
+ "error",
766
+ "warn",
767
+ "info",
768
+ "debug",
769
+ "trace",
770
+ "silent"
771
+ ]
772
+ },
773
+ {
774
+ "pattern": "^\\{.+\\}$"
775
+ }
776
+ ]
777
+ },
778
+ "transport": {
779
+ "anyOf": [
780
+ {
781
+ "type": "object",
782
+ "properties": {
783
+ "target": {
784
+ "type": "string",
785
+ "resolveModule": true
786
+ },
787
+ "options": {
788
+ "type": "object"
789
+ }
790
+ },
791
+ "additionalProperties": false
792
+ },
793
+ {
794
+ "type": "object",
795
+ "properties": {
796
+ "targets": {
797
+ "type": "array",
798
+ "items": {
799
+ "type": "object",
800
+ "properties": {
801
+ "target": {
802
+ "anyOf": [
803
+ {
804
+ "type": "string",
805
+ "resolveModule": true
806
+ },
807
+ {
808
+ "type": "string",
809
+ "resolvePath": true
810
+ }
811
+ ]
812
+ },
813
+ "options": {
814
+ "type": "object"
815
+ },
816
+ "level": {
817
+ "type": "string"
818
+ }
819
+ },
820
+ "additionalProperties": false
821
+ }
822
+ },
823
+ "options": {
824
+ "type": "object"
825
+ }
826
+ },
827
+ "additionalProperties": false
828
+ }
829
+ ]
830
+ },
831
+ "pipeline": {
832
+ "type": "object",
833
+ "properties": {
834
+ "target": {
835
+ "type": "string",
836
+ "resolveModule": true
837
+ },
838
+ "options": {
839
+ "type": "object"
840
+ }
841
+ },
842
+ "additionalProperties": false
843
+ },
844
+ "formatters": {
845
+ "type": "object",
846
+ "properties": {
847
+ "path": {
848
+ "type": "string",
849
+ "resolvePath": true
850
+ }
851
+ },
852
+ "required": [
853
+ "path"
854
+ ],
855
+ "additionalProperties": false
856
+ },
857
+ "timestamp": {
858
+ "enum": [
859
+ "epochTime",
860
+ "unixTime",
861
+ "nullTime",
862
+ "isoTime"
863
+ ]
864
+ },
865
+ "redact": {
866
+ "type": "object",
867
+ "properties": {
868
+ "paths": {
869
+ "type": "array",
870
+ "items": {
871
+ "type": "string"
872
+ }
873
+ },
874
+ "censor": {
875
+ "type": "string",
876
+ "default": "[redacted]"
877
+ }
878
+ },
879
+ "required": [
880
+ "paths"
881
+ ],
882
+ "additionalProperties": false
883
+ },
884
+ "base": {
885
+ "anyOf": [
886
+ {
887
+ "type": "object",
888
+ "additionalProperties": true
889
+ },
890
+ {
891
+ "type": "null"
892
+ }
893
+ ]
894
+ },
895
+ "messageKey": {
896
+ "type": "string"
897
+ },
898
+ "customLevels": {
899
+ "type": "object",
900
+ "additionalProperties": true
901
+ }
902
+ },
903
+ "required": [
904
+ "level"
905
+ ],
906
+ "default": {},
907
+ "additionalProperties": true
908
+ },
909
+ "server": {
910
+ "type": "object",
911
+ "properties": {
912
+ "hostname": {
913
+ "type": "string",
914
+ "default": "127.0.0.1"
915
+ },
916
+ "port": {
917
+ "anyOf": [
918
+ {
919
+ "type": "integer"
920
+ },
921
+ {
922
+ "type": "string"
923
+ }
924
+ ]
925
+ },
926
+ "backlog": {
927
+ "type": "integer",
928
+ "description": "The maximum length of the queue of pending connections"
929
+ },
930
+ "http2": {
931
+ "type": "boolean"
932
+ },
933
+ "https": {
934
+ "type": "object",
935
+ "properties": {
936
+ "allowHTTP1": {
937
+ "type": "boolean"
938
+ },
939
+ "key": {
940
+ "anyOf": [
941
+ {
942
+ "type": "string"
943
+ },
944
+ {
945
+ "type": "object",
946
+ "properties": {
947
+ "path": {
948
+ "type": "string",
949
+ "resolvePath": true
950
+ }
951
+ },
952
+ "additionalProperties": false
953
+ },
954
+ {
955
+ "type": "array",
956
+ "items": {
957
+ "anyOf": [
958
+ {
959
+ "type": "string"
960
+ },
961
+ {
962
+ "type": "object",
963
+ "properties": {
964
+ "path": {
965
+ "type": "string",
966
+ "resolvePath": true
967
+ }
968
+ },
969
+ "additionalProperties": false
970
+ }
971
+ ]
972
+ }
973
+ }
974
+ ]
975
+ },
976
+ "cert": {
977
+ "anyOf": [
978
+ {
979
+ "type": "string"
980
+ },
981
+ {
982
+ "type": "object",
983
+ "properties": {
984
+ "path": {
985
+ "type": "string",
986
+ "resolvePath": true
987
+ }
988
+ },
989
+ "additionalProperties": false
990
+ },
991
+ {
992
+ "type": "array",
993
+ "items": {
994
+ "anyOf": [
995
+ {
996
+ "type": "string"
997
+ },
998
+ {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "path": {
1002
+ "type": "string",
1003
+ "resolvePath": true
1004
+ }
1005
+ },
1006
+ "additionalProperties": false
1007
+ }
1008
+ ]
1009
+ }
1010
+ }
1011
+ ]
1012
+ },
1013
+ "requestCert": {
1014
+ "type": "boolean"
1015
+ },
1016
+ "rejectUnauthorized": {
1017
+ "type": "boolean"
1018
+ }
1019
+ },
1020
+ "additionalProperties": false,
1021
+ "required": [
1022
+ "key",
1023
+ "cert"
1024
+ ]
1025
+ }
1026
+ },
1027
+ "additionalProperties": false
1028
+ },
1029
+ "reuseTcpPorts": {
1030
+ "type": "boolean",
1031
+ "default": true
1032
+ },
1033
+ "startTimeout": {
1034
+ "default": 30000,
1035
+ "type": "number",
1036
+ "minimum": 0
1037
+ },
1038
+ "restartOnError": {
1039
+ "default": true,
1040
+ "anyOf": [
1041
+ {
1042
+ "type": "boolean"
1043
+ },
1044
+ {
1045
+ "type": "number",
1046
+ "minimum": 0
1047
+ }
1048
+ ]
1049
+ },
1050
+ "exitOnUnhandledErrors": {
1051
+ "default": true,
1052
+ "type": "boolean"
1053
+ },
1054
+ "gracefulShutdown": {
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "runtime": {
1058
+ "anyOf": [
1059
+ {
1060
+ "type": "number",
1061
+ "minimum": 1
1062
+ },
1063
+ {
1064
+ "type": "string"
1065
+ }
1066
+ ],
1067
+ "default": 10000
1068
+ },
1069
+ "application": {
1070
+ "anyOf": [
1071
+ {
1072
+ "type": "number",
1073
+ "minimum": 1
1074
+ },
1075
+ {
1076
+ "type": "string"
1077
+ }
1078
+ ],
1079
+ "default": 10000
1080
+ }
1081
+ },
1082
+ "default": {},
1083
+ "required": [
1084
+ "runtime",
1085
+ "application"
1086
+ ],
1087
+ "additionalProperties": false
1088
+ },
1089
+ "health": {
1090
+ "type": "object",
1091
+ "default": {},
1092
+ "properties": {
1093
+ "enabled": {
1094
+ "anyOf": [
1095
+ {
1096
+ "type": "boolean"
1097
+ },
1098
+ {
1099
+ "type": "string"
1100
+ }
1101
+ ],
1102
+ "default": true
1103
+ },
1104
+ "interval": {
1105
+ "anyOf": [
1106
+ {
1107
+ "type": "number",
1108
+ "minimum": 0
1109
+ },
1110
+ {
1111
+ "type": "string"
1112
+ }
1113
+ ],
1114
+ "default": 30000
1115
+ },
1116
+ "gracePeriod": {
1117
+ "anyOf": [
1118
+ {
1119
+ "type": "number",
1120
+ "minimum": 0
1121
+ },
1122
+ {
1123
+ "type": "string"
1124
+ }
1125
+ ],
1126
+ "default": 30000
1127
+ },
1128
+ "maxUnhealthyChecks": {
1129
+ "anyOf": [
1130
+ {
1131
+ "type": "number",
1132
+ "minimum": 1
1133
+ },
1134
+ {
1135
+ "type": "string"
1136
+ }
1137
+ ],
1138
+ "default": 10
1139
+ },
1140
+ "maxELU": {
1141
+ "anyOf": [
1142
+ {
1143
+ "type": "number",
1144
+ "minimum": 0,
1145
+ "maximum": 1
1146
+ },
1147
+ {
1148
+ "type": "string"
1149
+ }
1150
+ ],
1151
+ "default": 0.99
1152
+ },
1153
+ "maxHeapUsed": {
1154
+ "anyOf": [
1155
+ {
1156
+ "type": "number",
1157
+ "minimum": 0,
1158
+ "maximum": 1
1159
+ },
1160
+ {
1161
+ "type": "string"
1162
+ }
1163
+ ],
1164
+ "default": 0.99
1165
+ },
1166
+ "maxHeapTotal": {
1167
+ "anyOf": [
1168
+ {
1169
+ "type": "number",
1170
+ "minimum": 0
1171
+ },
1172
+ {
1173
+ "type": "string"
1174
+ }
1175
+ ],
1176
+ "default": 4294967296
1177
+ },
1178
+ "maxYoungGeneration": {
1179
+ "anyOf": [
1180
+ {
1181
+ "type": "number",
1182
+ "minimum": 0
1183
+ },
1184
+ {
1185
+ "type": "string"
1186
+ }
1187
+ ],
1188
+ "default": 134217728
1189
+ },
1190
+ "codeRangeSize": {
1191
+ "anyOf": [
1192
+ {
1193
+ "type": "number",
1194
+ "minimum": 0
1195
+ },
1196
+ {
1197
+ "type": "string"
1198
+ }
1199
+ ],
1200
+ "default": 268435456
1201
+ }
1202
+ },
1203
+ "additionalProperties": false
1204
+ },
1205
+ "undici": {
1206
+ "type": "object",
1207
+ "properties": {
1208
+ "agentOptions": {
1209
+ "type": "object",
1210
+ "additionalProperties": true
1211
+ },
1212
+ "interceptors": {
1213
+ "anyOf": [
1214
+ {
1215
+ "type": "array",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "module": {
1220
+ "type": "string"
1221
+ },
1222
+ "options": {
1223
+ "type": "object",
1224
+ "additionalProperties": true
1225
+ }
1226
+ },
1227
+ "required": [
1228
+ "module",
1229
+ "options"
1230
+ ]
1231
+ }
1232
+ },
1233
+ {
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "Client": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "type": "object",
1240
+ "properties": {
1241
+ "module": {
1242
+ "type": "string"
1243
+ },
1244
+ "options": {
1245
+ "type": "object",
1246
+ "additionalProperties": true
1247
+ }
1248
+ },
1249
+ "required": [
1250
+ "module",
1251
+ "options"
1252
+ ]
1253
+ }
1254
+ },
1255
+ "Pool": {
1256
+ "type": "array",
1257
+ "items": {
1258
+ "type": "object",
1259
+ "properties": {
1260
+ "module": {
1261
+ "type": "string"
1262
+ },
1263
+ "options": {
1264
+ "type": "object",
1265
+ "additionalProperties": true
1266
+ }
1267
+ },
1268
+ "required": [
1269
+ "module",
1270
+ "options"
1271
+ ]
1272
+ }
1273
+ },
1274
+ "Agent": {
1275
+ "type": "array",
1276
+ "items": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "module": {
1280
+ "type": "string"
1281
+ },
1282
+ "options": {
1283
+ "type": "object",
1284
+ "additionalProperties": true
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "module",
1289
+ "options"
1290
+ ]
1291
+ }
1292
+ }
1293
+ }
1294
+ }
1295
+ ]
1296
+ }
1297
+ }
1298
+ },
1299
+ "httpCache": {
1300
+ "oneOf": [
1301
+ {
1302
+ "type": "boolean"
1303
+ },
1304
+ {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "store": {
1308
+ "type": "string"
1309
+ },
1310
+ "methods": {
1311
+ "type": "array",
1312
+ "items": {
1313
+ "type": "string"
1314
+ },
1315
+ "default": [
1316
+ "GET",
1317
+ "HEAD"
1318
+ ],
1319
+ "minItems": 1
1320
+ },
1321
+ "cacheTagsHeader": {
1322
+ "type": "string"
1323
+ },
1324
+ "maxSize": {
1325
+ "type": "integer"
1326
+ },
1327
+ "maxEntrySize": {
1328
+ "type": "integer"
1329
+ },
1330
+ "maxCount": {
1331
+ "type": "integer"
1332
+ }
1333
+ }
1334
+ }
1335
+ ]
1336
+ },
1337
+ "watch": {
1338
+ "anyOf": [
1339
+ {
1340
+ "type": "boolean"
1341
+ },
1342
+ {
1343
+ "type": "string"
1344
+ }
1345
+ ]
1346
+ },
1347
+ "managementApi": {
1348
+ "anyOf": [
1349
+ {
1350
+ "type": "boolean"
1351
+ },
1352
+ {
1353
+ "type": "string"
1354
+ },
1355
+ {
1356
+ "type": "object",
1357
+ "properties": {
1358
+ "logs": {
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "maxSize": {
1362
+ "type": "number",
1363
+ "minimum": 5,
1364
+ "default": 200
1365
+ }
1366
+ },
1367
+ "additionalProperties": false
1368
+ }
1369
+ },
1370
+ "additionalProperties": false
1371
+ }
1372
+ ],
1373
+ "default": true
1374
+ },
1375
+ "metrics": {
1376
+ "anyOf": [
1377
+ {
1378
+ "type": "boolean"
1379
+ },
1380
+ {
1381
+ "type": "object",
1382
+ "properties": {
1383
+ "port": {
1384
+ "anyOf": [
1385
+ {
1386
+ "type": "integer"
1387
+ },
1388
+ {
1389
+ "type": "string"
1390
+ }
1391
+ ]
1392
+ },
1393
+ "enabled": {
1394
+ "anyOf": [
1395
+ {
1396
+ "type": "boolean"
1397
+ },
1398
+ {
1399
+ "type": "string"
1400
+ }
1401
+ ]
1402
+ },
1403
+ "hostname": {
1404
+ "type": "string"
1405
+ },
1406
+ "endpoint": {
1407
+ "type": "string"
1408
+ },
1409
+ "auth": {
1410
+ "type": "object",
1411
+ "properties": {
1412
+ "username": {
1413
+ "type": "string"
1414
+ },
1415
+ "password": {
1416
+ "type": "string"
1417
+ }
1418
+ },
1419
+ "additionalProperties": false,
1420
+ "required": [
1421
+ "username",
1422
+ "password"
1423
+ ]
1424
+ },
1425
+ "labels": {
1426
+ "type": "object",
1427
+ "additionalProperties": {
1428
+ "type": "string"
1429
+ }
1430
+ },
1431
+ "applicationLabel": {
1432
+ "type": "string",
1433
+ "default": "applicationId",
1434
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
1435
+ },
1436
+ "readiness": {
1437
+ "anyOf": [
1438
+ {
1439
+ "type": "boolean"
1440
+ },
1441
+ {
1442
+ "type": "object",
1443
+ "properties": {
1444
+ "endpoint": {
1445
+ "type": "string"
1446
+ },
1447
+ "success": {
1448
+ "type": "object",
1449
+ "properties": {
1450
+ "statusCode": {
1451
+ "type": "number"
1452
+ },
1453
+ "body": {
1454
+ "type": "string"
1455
+ }
1456
+ },
1457
+ "additionalProperties": false
1458
+ },
1459
+ "fail": {
1460
+ "type": "object",
1461
+ "properties": {
1462
+ "statusCode": {
1463
+ "type": "number"
1464
+ },
1465
+ "body": {
1466
+ "type": "string"
1467
+ }
1468
+ },
1469
+ "additionalProperties": false
1470
+ }
1471
+ },
1472
+ "additionalProperties": false
1473
+ }
1474
+ ]
1475
+ },
1476
+ "liveness": {
1477
+ "anyOf": [
1478
+ {
1479
+ "type": "boolean"
1480
+ },
1481
+ {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "endpoint": {
1485
+ "type": "string"
1486
+ },
1487
+ "success": {
1488
+ "type": "object",
1489
+ "properties": {
1490
+ "statusCode": {
1491
+ "type": "number"
1492
+ },
1493
+ "body": {
1494
+ "type": "string"
1495
+ }
1496
+ },
1497
+ "additionalProperties": false
1498
+ },
1499
+ "fail": {
1500
+ "type": "object",
1501
+ "properties": {
1502
+ "statusCode": {
1503
+ "type": "number"
1504
+ },
1505
+ "body": {
1506
+ "type": "string"
1507
+ }
1508
+ },
1509
+ "additionalProperties": false
1510
+ }
1511
+ },
1512
+ "additionalProperties": false
1513
+ }
1514
+ ]
1515
+ },
1516
+ "healthChecksTimeouts": {
1517
+ "anyOf": [
1518
+ {
1519
+ "type": "integer"
1520
+ },
1521
+ {
1522
+ "type": "string"
1523
+ }
1524
+ ],
1525
+ "default": 5000
1526
+ },
1527
+ "plugins": {
1528
+ "type": "array",
1529
+ "items": {
1530
+ "anyOf": [
1531
+ {
1532
+ "type": "string",
1533
+ "resolvePath": true
1534
+ }
1535
+ ]
1536
+ }
1537
+ },
1538
+ "timeout": {
1539
+ "anyOf": [
1540
+ {
1541
+ "type": "integer"
1542
+ },
1543
+ {
1544
+ "type": "string"
1545
+ }
1546
+ ],
1547
+ "default": 10000
1548
+ },
1549
+ "otlpExporter": {
1550
+ "type": "object",
1551
+ "description": "Configuration for exporting metrics to an OTLP endpoint",
1552
+ "properties": {
1553
+ "enabled": {
1554
+ "anyOf": [
1555
+ {
1556
+ "type": "boolean"
1557
+ },
1558
+ {
1559
+ "type": "string"
1560
+ }
1561
+ ],
1562
+ "description": "Enable or disable OTLP metrics export"
1563
+ },
1564
+ "endpoint": {
1565
+ "type": "string",
1566
+ "description": "OTLP endpoint URL (e.g., http://collector:4318/v1/metrics)"
1567
+ },
1568
+ "interval": {
1569
+ "anyOf": [
1570
+ {
1571
+ "type": "integer"
1572
+ },
1573
+ {
1574
+ "type": "string"
1575
+ }
1576
+ ],
1577
+ "default": 60000,
1578
+ "description": "Interval in milliseconds between metric pushes"
1579
+ },
1580
+ "headers": {
1581
+ "type": "object",
1582
+ "additionalProperties": {
1583
+ "type": "string"
1584
+ },
1585
+ "description": "Additional HTTP headers for authentication"
1586
+ },
1587
+ "serviceName": {
1588
+ "type": "string",
1589
+ "description": "Service name for OTLP resource attributes"
1590
+ },
1591
+ "serviceVersion": {
1592
+ "type": "string",
1593
+ "description": "Service version for OTLP resource attributes"
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "endpoint"
1598
+ ],
1599
+ "additionalProperties": false
1600
+ }
1601
+ },
1602
+ "additionalProperties": false
1603
+ }
1604
+ ]
1605
+ },
1606
+ "telemetry": {
1607
+ "type": "object",
1608
+ "properties": {
1609
+ "enabled": {
1610
+ "anyOf": [
1611
+ {
1612
+ "type": "boolean"
1613
+ },
1614
+ {
1615
+ "type": "string"
1616
+ }
1617
+ ]
1618
+ },
1619
+ "applicationName": {
1620
+ "type": "string",
1621
+ "description": "The name of the application. Defaults to the folder name if not specified."
1622
+ },
1623
+ "version": {
1624
+ "type": "string",
1625
+ "description": "The version of the application (optional)"
1626
+ },
1627
+ "skip": {
1628
+ "type": "array",
1629
+ "description": "An array of paths to skip when creating spans. Useful for health checks and other endpoints that do not need to be traced.",
1630
+ "items": {
1631
+ "type": "object",
1632
+ "properties": {
1633
+ "path": {
1634
+ "type": "string",
1635
+ "description": "The path to skip. Can be a string or a regex."
1636
+ },
1637
+ "method": {
1638
+ "description": "HTTP method to skip",
1639
+ "type": "string",
1640
+ "enum": [
1641
+ "GET",
1642
+ "POST",
1643
+ "PUT",
1644
+ "DELETE",
1645
+ "PATCH",
1646
+ "HEAD",
1647
+ "OPTIONS"
1648
+ ]
1649
+ }
1650
+ }
1651
+ }
1652
+ },
1653
+ "exporter": {
1654
+ "anyOf": [
1655
+ {
1656
+ "type": "array",
1657
+ "items": {
1658
+ "type": "object",
1659
+ "properties": {
1660
+ "type": {
1661
+ "type": "string",
1662
+ "enum": [
1663
+ "console",
1664
+ "otlp",
1665
+ "zipkin",
1666
+ "memory",
1667
+ "file"
1668
+ ],
1669
+ "default": "console"
1670
+ },
1671
+ "options": {
1672
+ "type": "object",
1673
+ "description": "Options for the exporter. These are passed directly to the exporter.",
1674
+ "properties": {
1675
+ "url": {
1676
+ "type": "string",
1677
+ "description": "The URL to send the traces to. Not used for console or memory exporters."
1678
+ },
1679
+ "headers": {
1680
+ "type": "object",
1681
+ "description": "Headers to send to the exporter. Not used for console or memory exporters."
1682
+ },
1683
+ "path": {
1684
+ "type": "string",
1685
+ "description": "The path to write the traces to. Only for file exporter."
1686
+ }
1687
+ }
1688
+ },
1689
+ "additionalProperties": false
1690
+ }
1691
+ }
1692
+ },
1693
+ {
1694
+ "type": "object",
1695
+ "properties": {
1696
+ "type": {
1697
+ "type": "string",
1698
+ "enum": [
1699
+ "console",
1700
+ "otlp",
1701
+ "zipkin",
1702
+ "memory",
1703
+ "file"
1704
+ ],
1705
+ "default": "console"
1706
+ },
1707
+ "options": {
1708
+ "type": "object",
1709
+ "description": "Options for the exporter. These are passed directly to the exporter.",
1710
+ "properties": {
1711
+ "url": {
1712
+ "type": "string",
1713
+ "description": "The URL to send the traces to. Not used for console or memory exporters."
1714
+ },
1715
+ "headers": {
1716
+ "type": "object",
1717
+ "description": "Headers to send to the exporter. Not used for console or memory exporters."
1718
+ },
1719
+ "path": {
1720
+ "type": "string",
1721
+ "description": "The path to write the traces to. Only for file exporter."
1722
+ }
1723
+ }
1724
+ },
1725
+ "additionalProperties": false
1726
+ }
1727
+ }
1728
+ ]
1729
+ }
1730
+ },
1731
+ "required": [
1732
+ "applicationName"
1733
+ ],
1734
+ "additionalProperties": false
1735
+ },
1736
+ "verticalScaler": {
1737
+ "type": "object",
1738
+ "properties": {
1739
+ "enabled": {
1740
+ "type": "boolean",
1741
+ "default": true
1742
+ },
1743
+ "maxTotalWorkers": {
1744
+ "type": "number",
1745
+ "minimum": 1
1746
+ },
1747
+ "maxTotalMemory": {
1748
+ "type": "number",
1749
+ "minimum": 0
1750
+ },
1751
+ "minWorkers": {
1752
+ "type": "number",
1753
+ "minimum": 1
1754
+ },
1755
+ "maxWorkers": {
1756
+ "type": "number",
1757
+ "minimum": 1
1758
+ },
1759
+ "cooldownSec": {
1760
+ "type": "number",
1761
+ "minimum": 0
1762
+ },
1763
+ "gracePeriod": {
1764
+ "type": "number",
1765
+ "minimum": 0
1766
+ },
1767
+ "scaleUpELU": {
1768
+ "type": "number",
1769
+ "minimum": 0,
1770
+ "maximum": 1,
1771
+ "deprecated": true
1772
+ },
1773
+ "scaleDownELU": {
1774
+ "type": "number",
1775
+ "minimum": 0,
1776
+ "maximum": 1,
1777
+ "deprecated": true
1778
+ },
1779
+ "timeWindowSec": {
1780
+ "type": "number",
1781
+ "minimum": 0,
1782
+ "deprecated": true
1783
+ },
1784
+ "scaleDownTimeWindowSec": {
1785
+ "type": "number",
1786
+ "minimum": 0,
1787
+ "deprecated": true
1788
+ },
1789
+ "scaleIntervalSec": {
1790
+ "type": "number",
1791
+ "minimum": 0,
1792
+ "deprecated": true
1793
+ }
1794
+ },
1795
+ "additionalProperties": false
1796
+ },
1797
+ "inspectorOptions": {
1798
+ "type": "object",
1799
+ "properties": {
1800
+ "host": {
1801
+ "type": "string"
1802
+ },
1803
+ "port": {
1804
+ "type": "number"
1805
+ },
1806
+ "breakFirstLine": {
1807
+ "type": "boolean"
1808
+ },
1809
+ "watchDisabled": {
1810
+ "type": "boolean"
1811
+ }
1812
+ }
1813
+ },
1814
+ "applicationTimeout": {
1815
+ "anyOf": [
1816
+ {
1817
+ "type": "number",
1818
+ "minimum": 1
1819
+ },
1820
+ {
1821
+ "type": "string"
1822
+ }
1823
+ ],
1824
+ "default": 300000
1825
+ },
1826
+ "messagingTimeout": {
1827
+ "anyOf": [
1828
+ {
1829
+ "type": "number",
1830
+ "minimum": 1
1831
+ },
1832
+ {
1833
+ "type": "string"
1834
+ }
1835
+ ],
1836
+ "default": 30000
1837
+ },
1838
+ "env": {
1839
+ "type": "object",
1840
+ "additionalProperties": {
1841
+ "type": "string"
1842
+ }
1843
+ },
1844
+ "sourceMaps": {
1845
+ "type": "boolean",
1846
+ "default": false
1847
+ },
1848
+ "nodeModulesSourceMaps": {
1849
+ "type": "array",
1850
+ "items": {
1851
+ "type": "string"
1852
+ },
1853
+ "default": []
1854
+ },
1855
+ "scheduler": {
1856
+ "type": "array",
1857
+ "items": {
1858
+ "type": "object",
1859
+ "properties": {
1860
+ "enabled": {
1861
+ "anyOf": [
1862
+ {
1863
+ "type": "boolean"
1864
+ },
1865
+ {
1866
+ "type": "string"
1867
+ }
1868
+ ],
1869
+ "default": true
1870
+ },
1871
+ "name": {
1872
+ "type": "string"
1873
+ },
1874
+ "cron": {
1875
+ "type": "string"
1876
+ },
1877
+ "callbackUrl": {
1878
+ "type": "string"
1879
+ },
1880
+ "method": {
1881
+ "type": "string",
1882
+ "enum": [
1883
+ "GET",
1884
+ "POST",
1885
+ "PUT",
1886
+ "PATCH",
1887
+ "DELETE"
1888
+ ],
1889
+ "default": "GET"
1890
+ },
1891
+ "headers": {
1892
+ "type": "object",
1893
+ "additionalProperties": {
1894
+ "type": "string"
1895
+ }
1896
+ },
1897
+ "body": {
1898
+ "anyOf": [
1899
+ {
1900
+ "type": "string"
1901
+ },
1902
+ {
1903
+ "type": "object",
1904
+ "additionalProperties": true
1905
+ }
1906
+ ]
1907
+ },
1908
+ "maxRetries": {
1909
+ "type": "number",
1910
+ "minimum": 0,
1911
+ "default": 3
1912
+ }
1913
+ },
1914
+ "required": [
1915
+ "name",
1916
+ "cron",
1917
+ "callbackUrl"
1918
+ ]
1919
+ }
1920
+ },
1921
+ "policies": {
1922
+ "type": "object",
1923
+ "properties": {
1924
+ "deny": {
1925
+ "type": "object",
1926
+ "patternProperties": {
1927
+ "^.*$": {
1928
+ "oneOf": [
1929
+ {
1930
+ "type": "string"
1931
+ },
1932
+ {
1933
+ "type": "array",
1934
+ "items": {
1935
+ "type": "string"
1936
+ },
1937
+ "minItems": 1
1938
+ }
1939
+ ]
1940
+ }
1941
+ }
1942
+ }
1943
+ },
1944
+ "required": [
1945
+ "deny"
1946
+ ],
1947
+ "additionalProperties": false
1948
+ },
1949
+ "application": {
1950
+ "type": "object",
1951
+ "properties": {
1952
+ "reuseTcpPorts": {
1953
+ "type": "boolean",
1954
+ "default": true
1955
+ },
1956
+ "workers": {
1957
+ "anyOf": [
1958
+ {
1959
+ "type": "number"
1960
+ },
1961
+ {
1962
+ "type": "string"
1963
+ },
1964
+ {
1965
+ "type": "object",
1966
+ "properties": {
1967
+ "static": {
1968
+ "type": "number",
1969
+ "minimum": 1
1970
+ },
1971
+ "minimum": {
1972
+ "type": "number",
1973
+ "minimum": 1
1974
+ },
1975
+ "maximum": {
1976
+ "type": "number",
1977
+ "minimum": 0
1978
+ }
1979
+ }
1980
+ }
1981
+ ]
1982
+ },
1983
+ "health": {
1984
+ "type": "object",
1985
+ "default": {},
1986
+ "properties": {
1987
+ "enabled": {
1988
+ "anyOf": [
1989
+ {
1990
+ "type": "boolean"
1991
+ },
1992
+ {
1993
+ "type": "string"
1994
+ }
1995
+ ]
1996
+ },
1997
+ "interval": {
1998
+ "anyOf": [
1999
+ {
2000
+ "type": "number",
2001
+ "minimum": 0
2002
+ },
2003
+ {
2004
+ "type": "string"
2005
+ }
2006
+ ]
2007
+ },
2008
+ "gracePeriod": {
2009
+ "anyOf": [
2010
+ {
2011
+ "type": "number",
2012
+ "minimum": 0
2013
+ },
2014
+ {
2015
+ "type": "string"
2016
+ }
2017
+ ]
2018
+ },
2019
+ "maxUnhealthyChecks": {
2020
+ "anyOf": [
2021
+ {
2022
+ "type": "number",
2023
+ "minimum": 1
2024
+ },
2025
+ {
2026
+ "type": "string"
2027
+ }
2028
+ ]
2029
+ },
2030
+ "maxELU": {
2031
+ "anyOf": [
2032
+ {
2033
+ "type": "number",
2034
+ "minimum": 0,
2035
+ "maximum": 1
2036
+ },
2037
+ {
2038
+ "type": "string"
2039
+ }
2040
+ ]
2041
+ },
2042
+ "maxHeapUsed": {
2043
+ "anyOf": [
2044
+ {
2045
+ "type": "number",
2046
+ "minimum": 0,
2047
+ "maximum": 1
2048
+ },
2049
+ {
2050
+ "type": "string"
2051
+ }
2052
+ ]
2053
+ },
2054
+ "maxHeapTotal": {
2055
+ "anyOf": [
2056
+ {
2057
+ "type": "number",
2058
+ "minimum": 0
2059
+ },
2060
+ {
2061
+ "type": "string"
2062
+ }
2063
+ ]
2064
+ },
2065
+ "maxYoungGeneration": {
2066
+ "anyOf": [
2067
+ {
2068
+ "type": "number",
2069
+ "minimum": 0
2070
+ },
2071
+ {
2072
+ "type": "string"
2073
+ }
2074
+ ]
2075
+ },
2076
+ "codeRangeSize": {
2077
+ "anyOf": [
2078
+ {
2079
+ "type": "number",
2080
+ "minimum": 0
2081
+ },
2082
+ {
2083
+ "type": "string"
2084
+ }
2085
+ ]
2086
+ }
2087
+ },
2088
+ "additionalProperties": false
2089
+ },
2090
+ "arguments": {
2091
+ "type": "array",
2092
+ "items": {
2093
+ "type": "string"
2094
+ }
2095
+ },
2096
+ "env": {
2097
+ "type": "object",
2098
+ "additionalProperties": {
2099
+ "type": "string"
2100
+ }
2101
+ },
2102
+ "envfile": {
2103
+ "type": "string"
2104
+ },
2105
+ "sourceMaps": {
2106
+ "type": "boolean"
2107
+ },
2108
+ "nodeModulesSourceMaps": {
2109
+ "type": "array",
2110
+ "items": {
2111
+ "type": "string"
2112
+ }
2113
+ },
2114
+ "packageManager": {
2115
+ "type": "string",
2116
+ "enum": [
2117
+ "npm",
2118
+ "pnpm",
2119
+ "yarn"
2120
+ ]
2121
+ },
2122
+ "preload": {
2123
+ "anyOf": [
2124
+ {
2125
+ "type": "string",
2126
+ "resolvePath": true
2127
+ },
2128
+ {
2129
+ "type": "array",
2130
+ "items": {
2131
+ "type": "string",
2132
+ "resolvePath": true
2133
+ }
2134
+ }
2135
+ ]
2136
+ },
2137
+ "nodeOptions": {
2138
+ "type": "string"
2139
+ },
2140
+ "execArgv": {
2141
+ "type": "array",
2142
+ "items": {
2143
+ "type": "string"
2144
+ }
2145
+ },
2146
+ "permissions": {
2147
+ "type": "object",
2148
+ "properties": {
2149
+ "fs": {
2150
+ "type": "object",
2151
+ "properties": {
2152
+ "read": {
2153
+ "type": "array",
2154
+ "items": {
2155
+ "type": "string"
2156
+ }
2157
+ },
2158
+ "write": {
2159
+ "type": "array",
2160
+ "items": {
2161
+ "type": "string"
2162
+ }
2163
+ }
2164
+ },
2165
+ "additionalProperties": false
2166
+ }
2167
+ },
2168
+ "additionalProperties": false
2169
+ },
2170
+ "telemetry": {
2171
+ "type": "object",
2172
+ "properties": {
2173
+ "instrumentations": {
2174
+ "type": "array",
2175
+ "description": "An array of instrumentations loaded if telemetry is enabled",
2176
+ "items": {
2177
+ "oneOf": [
2178
+ {
2179
+ "type": "string"
2180
+ },
2181
+ {
2182
+ "type": "object",
2183
+ "properties": {
2184
+ "package": {
2185
+ "type": "string"
2186
+ },
2187
+ "exportName": {
2188
+ "type": "string"
2189
+ },
2190
+ "options": {
2191
+ "type": "object",
2192
+ "additionalProperties": true
2193
+ }
2194
+ },
2195
+ "required": [
2196
+ "package"
2197
+ ]
2198
+ }
2199
+ ]
2200
+ }
2201
+ }
2202
+ }
2203
+ }
2204
+ },
2205
+ "additionalProperties": false
2206
+ }
2207
+ },
2208
+ "additionalProperties": false
2209
+ },
2210
+ "vite": {
2211
+ "type": "object",
2212
+ "properties": {
2213
+ "configFile": {
2214
+ "oneOf": [
2215
+ {
2216
+ "type": "string"
2217
+ },
2218
+ {
2219
+ "type": "boolean"
2220
+ }
2221
+ ]
2222
+ },
2223
+ "devServer": {
2224
+ "type": "object",
2225
+ "properties": {
2226
+ "strict": {
2227
+ "type": "boolean",
2228
+ "default": false
2229
+ }
2230
+ },
2231
+ "additionalProperties": false,
2232
+ "default": {}
2233
+ },
2234
+ "ssr": {
2235
+ "anyOf": [
2236
+ {
2237
+ "type": "object",
2238
+ "properties": {
2239
+ "enabled": {
2240
+ "type": "boolean"
2241
+ },
2242
+ "entrypoint": {
2243
+ "type": "string",
2244
+ "default": "server.js"
2245
+ },
2246
+ "clientDirectory": {
2247
+ "type": "string",
2248
+ "default": "client"
2249
+ },
2250
+ "serverDirectory": {
2251
+ "type": "string",
2252
+ "default": "server"
2253
+ }
2254
+ },
2255
+ "required": [
2256
+ "entrypoint"
2257
+ ],
2258
+ "additionalProperties": false
2259
+ },
2260
+ {
2261
+ "type": "boolean"
2262
+ }
2263
+ ],
2264
+ "default": false
2265
+ },
2266
+ "notFoundHandler": {
2267
+ "anyOf": [
2268
+ {
2269
+ "type": "boolean"
2270
+ },
2271
+ {
2272
+ "type": "string"
2273
+ },
2274
+ {
2275
+ "type": "object",
2276
+ "properties": {
2277
+ "enabled": {
2278
+ "type": "boolean"
2279
+ },
2280
+ "path": {
2281
+ "type": "string",
2282
+ "default": "index.html"
2283
+ },
2284
+ "contentType": {
2285
+ "type": "string",
2286
+ "default": "text/html; charset=utf-8"
2287
+ },
2288
+ "statusCode": {
2289
+ "type": "number",
2290
+ "default": 200
2291
+ }
2292
+ },
2293
+ "additionalProperties": false
2294
+ }
2295
+ ],
2296
+ "default": false
2297
+ }
2298
+ },
2299
+ "default": {},
2300
+ "additionalProperties": false
2301
+ },
2302
+ "reactRouter": {
2303
+ "type": "object",
2304
+ "properties": {
2305
+ "outputDirectory": {
2306
+ "type": "string",
2307
+ "default": "build"
2308
+ }
2309
+ },
2310
+ "default": {},
2311
+ "additionalProperties": false
2312
+ }
2313
+ },
2314
+ "additionalProperties": false
2315
+ }