@platformatic/tanstack 0.0.1 → 3.27.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,2285 @@
1
+ {
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/tanstack/3.27.0.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Platformatic TanStack 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
+ "packageManager": {
597
+ "type": "string",
598
+ "enum": [
599
+ "npm",
600
+ "pnpm",
601
+ "yarn"
602
+ ]
603
+ },
604
+ "preload": {
605
+ "anyOf": [
606
+ {
607
+ "type": "string",
608
+ "resolvePath": true
609
+ },
610
+ {
611
+ "type": "array",
612
+ "items": {
613
+ "type": "string",
614
+ "resolvePath": true
615
+ }
616
+ }
617
+ ]
618
+ },
619
+ "nodeOptions": {
620
+ "type": "string"
621
+ },
622
+ "execArgv": {
623
+ "type": "array",
624
+ "items": {
625
+ "type": "string"
626
+ }
627
+ },
628
+ "permissions": {
629
+ "type": "object",
630
+ "properties": {
631
+ "fs": {
632
+ "type": "object",
633
+ "properties": {
634
+ "read": {
635
+ "type": "array",
636
+ "items": {
637
+ "type": "string"
638
+ }
639
+ },
640
+ "write": {
641
+ "type": "array",
642
+ "items": {
643
+ "type": "string"
644
+ }
645
+ }
646
+ },
647
+ "additionalProperties": false
648
+ }
649
+ },
650
+ "additionalProperties": false
651
+ },
652
+ "telemetry": {
653
+ "type": "object",
654
+ "properties": {
655
+ "instrumentations": {
656
+ "type": "array",
657
+ "description": "An array of instrumentations loaded if telemetry is enabled",
658
+ "items": {
659
+ "oneOf": [
660
+ {
661
+ "type": "string"
662
+ },
663
+ {
664
+ "type": "object",
665
+ "properties": {
666
+ "package": {
667
+ "type": "string"
668
+ },
669
+ "exportName": {
670
+ "type": "string"
671
+ },
672
+ "options": {
673
+ "type": "object",
674
+ "additionalProperties": true
675
+ }
676
+ },
677
+ "required": [
678
+ "package"
679
+ ]
680
+ }
681
+ ]
682
+ }
683
+ }
684
+ }
685
+ }
686
+ }
687
+ }
688
+ },
689
+ "workers": {
690
+ "anyOf": [
691
+ {
692
+ "type": "number",
693
+ "minimum": 1
694
+ },
695
+ {
696
+ "type": "string"
697
+ },
698
+ {
699
+ "type": "object",
700
+ "properties": {
701
+ "static": {
702
+ "type": "number",
703
+ "minimum": 1
704
+ },
705
+ "dynamic": {
706
+ "type": "boolean",
707
+ "default": false
708
+ },
709
+ "minimum": {
710
+ "type": "number",
711
+ "minimum": 1
712
+ },
713
+ "maximum": {
714
+ "type": "number",
715
+ "minimum": 0
716
+ },
717
+ "total": {
718
+ "type": "number",
719
+ "minimum": 1
720
+ },
721
+ "maxMemory": {
722
+ "type": "number",
723
+ "minimum": 0
724
+ },
725
+ "cooldown": {
726
+ "type": "number",
727
+ "minimum": 0
728
+ },
729
+ "gracePeriod": {
730
+ "type": "number",
731
+ "minimum": 0
732
+ }
733
+ }
734
+ }
735
+ ]
736
+ },
737
+ "workersRestartDelay": {
738
+ "anyOf": [
739
+ {
740
+ "type": "number",
741
+ "minimum": 0
742
+ },
743
+ {
744
+ "type": "string"
745
+ }
746
+ ],
747
+ "default": 0
748
+ },
749
+ "logger": {
750
+ "type": "object",
751
+ "properties": {
752
+ "level": {
753
+ "type": "string",
754
+ "default": "info",
755
+ "oneOf": [
756
+ {
757
+ "enum": [
758
+ "fatal",
759
+ "error",
760
+ "warn",
761
+ "info",
762
+ "debug",
763
+ "trace",
764
+ "silent"
765
+ ]
766
+ },
767
+ {
768
+ "pattern": "^\\{.+\\}$"
769
+ }
770
+ ]
771
+ },
772
+ "transport": {
773
+ "anyOf": [
774
+ {
775
+ "type": "object",
776
+ "properties": {
777
+ "target": {
778
+ "type": "string",
779
+ "resolveModule": true
780
+ },
781
+ "options": {
782
+ "type": "object"
783
+ }
784
+ },
785
+ "additionalProperties": false
786
+ },
787
+ {
788
+ "type": "object",
789
+ "properties": {
790
+ "targets": {
791
+ "type": "array",
792
+ "items": {
793
+ "type": "object",
794
+ "properties": {
795
+ "target": {
796
+ "anyOf": [
797
+ {
798
+ "type": "string",
799
+ "resolveModule": true
800
+ },
801
+ {
802
+ "type": "string",
803
+ "resolvePath": true
804
+ }
805
+ ]
806
+ },
807
+ "options": {
808
+ "type": "object"
809
+ },
810
+ "level": {
811
+ "type": "string"
812
+ }
813
+ },
814
+ "additionalProperties": false
815
+ }
816
+ },
817
+ "options": {
818
+ "type": "object"
819
+ }
820
+ },
821
+ "additionalProperties": false
822
+ }
823
+ ]
824
+ },
825
+ "pipeline": {
826
+ "type": "object",
827
+ "properties": {
828
+ "target": {
829
+ "type": "string",
830
+ "resolveModule": true
831
+ },
832
+ "options": {
833
+ "type": "object"
834
+ }
835
+ },
836
+ "additionalProperties": false
837
+ },
838
+ "formatters": {
839
+ "type": "object",
840
+ "properties": {
841
+ "path": {
842
+ "type": "string",
843
+ "resolvePath": true
844
+ }
845
+ },
846
+ "required": [
847
+ "path"
848
+ ],
849
+ "additionalProperties": false
850
+ },
851
+ "timestamp": {
852
+ "enum": [
853
+ "epochTime",
854
+ "unixTime",
855
+ "nullTime",
856
+ "isoTime"
857
+ ]
858
+ },
859
+ "redact": {
860
+ "type": "object",
861
+ "properties": {
862
+ "paths": {
863
+ "type": "array",
864
+ "items": {
865
+ "type": "string"
866
+ }
867
+ },
868
+ "censor": {
869
+ "type": "string",
870
+ "default": "[redacted]"
871
+ }
872
+ },
873
+ "required": [
874
+ "paths"
875
+ ],
876
+ "additionalProperties": false
877
+ },
878
+ "base": {
879
+ "anyOf": [
880
+ {
881
+ "type": "object",
882
+ "additionalProperties": true
883
+ },
884
+ {
885
+ "type": "null"
886
+ }
887
+ ]
888
+ },
889
+ "messageKey": {
890
+ "type": "string"
891
+ },
892
+ "customLevels": {
893
+ "type": "object",
894
+ "additionalProperties": true
895
+ }
896
+ },
897
+ "required": [
898
+ "level"
899
+ ],
900
+ "default": {},
901
+ "additionalProperties": true
902
+ },
903
+ "server": {
904
+ "type": "object",
905
+ "properties": {
906
+ "hostname": {
907
+ "type": "string",
908
+ "default": "127.0.0.1"
909
+ },
910
+ "port": {
911
+ "anyOf": [
912
+ {
913
+ "type": "integer"
914
+ },
915
+ {
916
+ "type": "string"
917
+ }
918
+ ]
919
+ },
920
+ "backlog": {
921
+ "type": "integer",
922
+ "description": "The maximum length of the queue of pending connections"
923
+ },
924
+ "http2": {
925
+ "type": "boolean"
926
+ },
927
+ "https": {
928
+ "type": "object",
929
+ "properties": {
930
+ "allowHTTP1": {
931
+ "type": "boolean"
932
+ },
933
+ "key": {
934
+ "anyOf": [
935
+ {
936
+ "type": "string"
937
+ },
938
+ {
939
+ "type": "object",
940
+ "properties": {
941
+ "path": {
942
+ "type": "string",
943
+ "resolvePath": true
944
+ }
945
+ },
946
+ "additionalProperties": false
947
+ },
948
+ {
949
+ "type": "array",
950
+ "items": {
951
+ "anyOf": [
952
+ {
953
+ "type": "string"
954
+ },
955
+ {
956
+ "type": "object",
957
+ "properties": {
958
+ "path": {
959
+ "type": "string",
960
+ "resolvePath": true
961
+ }
962
+ },
963
+ "additionalProperties": false
964
+ }
965
+ ]
966
+ }
967
+ }
968
+ ]
969
+ },
970
+ "cert": {
971
+ "anyOf": [
972
+ {
973
+ "type": "string"
974
+ },
975
+ {
976
+ "type": "object",
977
+ "properties": {
978
+ "path": {
979
+ "type": "string",
980
+ "resolvePath": true
981
+ }
982
+ },
983
+ "additionalProperties": false
984
+ },
985
+ {
986
+ "type": "array",
987
+ "items": {
988
+ "anyOf": [
989
+ {
990
+ "type": "string"
991
+ },
992
+ {
993
+ "type": "object",
994
+ "properties": {
995
+ "path": {
996
+ "type": "string",
997
+ "resolvePath": true
998
+ }
999
+ },
1000
+ "additionalProperties": false
1001
+ }
1002
+ ]
1003
+ }
1004
+ }
1005
+ ]
1006
+ },
1007
+ "requestCert": {
1008
+ "type": "boolean"
1009
+ },
1010
+ "rejectUnauthorized": {
1011
+ "type": "boolean"
1012
+ }
1013
+ },
1014
+ "additionalProperties": false,
1015
+ "required": [
1016
+ "key",
1017
+ "cert"
1018
+ ]
1019
+ }
1020
+ },
1021
+ "additionalProperties": false
1022
+ },
1023
+ "reuseTcpPorts": {
1024
+ "type": "boolean",
1025
+ "default": true
1026
+ },
1027
+ "startTimeout": {
1028
+ "default": 30000,
1029
+ "type": "number",
1030
+ "minimum": 0
1031
+ },
1032
+ "restartOnError": {
1033
+ "default": true,
1034
+ "anyOf": [
1035
+ {
1036
+ "type": "boolean"
1037
+ },
1038
+ {
1039
+ "type": "number",
1040
+ "minimum": 0
1041
+ }
1042
+ ]
1043
+ },
1044
+ "exitOnUnhandledErrors": {
1045
+ "default": true,
1046
+ "type": "boolean"
1047
+ },
1048
+ "gracefulShutdown": {
1049
+ "type": "object",
1050
+ "properties": {
1051
+ "runtime": {
1052
+ "anyOf": [
1053
+ {
1054
+ "type": "number",
1055
+ "minimum": 1
1056
+ },
1057
+ {
1058
+ "type": "string"
1059
+ }
1060
+ ],
1061
+ "default": 10000
1062
+ },
1063
+ "application": {
1064
+ "anyOf": [
1065
+ {
1066
+ "type": "number",
1067
+ "minimum": 1
1068
+ },
1069
+ {
1070
+ "type": "string"
1071
+ }
1072
+ ],
1073
+ "default": 10000
1074
+ }
1075
+ },
1076
+ "default": {},
1077
+ "required": [
1078
+ "runtime",
1079
+ "application"
1080
+ ],
1081
+ "additionalProperties": false
1082
+ },
1083
+ "health": {
1084
+ "type": "object",
1085
+ "default": {},
1086
+ "properties": {
1087
+ "enabled": {
1088
+ "anyOf": [
1089
+ {
1090
+ "type": "boolean"
1091
+ },
1092
+ {
1093
+ "type": "string"
1094
+ }
1095
+ ],
1096
+ "default": true
1097
+ },
1098
+ "interval": {
1099
+ "anyOf": [
1100
+ {
1101
+ "type": "number",
1102
+ "minimum": 0
1103
+ },
1104
+ {
1105
+ "type": "string"
1106
+ }
1107
+ ],
1108
+ "default": 30000
1109
+ },
1110
+ "gracePeriod": {
1111
+ "anyOf": [
1112
+ {
1113
+ "type": "number",
1114
+ "minimum": 0
1115
+ },
1116
+ {
1117
+ "type": "string"
1118
+ }
1119
+ ],
1120
+ "default": 30000
1121
+ },
1122
+ "maxUnhealthyChecks": {
1123
+ "anyOf": [
1124
+ {
1125
+ "type": "number",
1126
+ "minimum": 1
1127
+ },
1128
+ {
1129
+ "type": "string"
1130
+ }
1131
+ ],
1132
+ "default": 10
1133
+ },
1134
+ "maxELU": {
1135
+ "anyOf": [
1136
+ {
1137
+ "type": "number",
1138
+ "minimum": 0,
1139
+ "maximum": 1
1140
+ },
1141
+ {
1142
+ "type": "string"
1143
+ }
1144
+ ],
1145
+ "default": 0.99
1146
+ },
1147
+ "maxHeapUsed": {
1148
+ "anyOf": [
1149
+ {
1150
+ "type": "number",
1151
+ "minimum": 0,
1152
+ "maximum": 1
1153
+ },
1154
+ {
1155
+ "type": "string"
1156
+ }
1157
+ ],
1158
+ "default": 0.99
1159
+ },
1160
+ "maxHeapTotal": {
1161
+ "anyOf": [
1162
+ {
1163
+ "type": "number",
1164
+ "minimum": 0
1165
+ },
1166
+ {
1167
+ "type": "string"
1168
+ }
1169
+ ],
1170
+ "default": 4294967296
1171
+ },
1172
+ "maxYoungGeneration": {
1173
+ "anyOf": [
1174
+ {
1175
+ "type": "number",
1176
+ "minimum": 0
1177
+ },
1178
+ {
1179
+ "type": "string"
1180
+ }
1181
+ ],
1182
+ "default": 134217728
1183
+ },
1184
+ "codeRangeSize": {
1185
+ "anyOf": [
1186
+ {
1187
+ "type": "number",
1188
+ "minimum": 0
1189
+ },
1190
+ {
1191
+ "type": "string"
1192
+ }
1193
+ ],
1194
+ "default": 268435456
1195
+ }
1196
+ },
1197
+ "additionalProperties": false
1198
+ },
1199
+ "undici": {
1200
+ "type": "object",
1201
+ "properties": {
1202
+ "agentOptions": {
1203
+ "type": "object",
1204
+ "additionalProperties": true
1205
+ },
1206
+ "interceptors": {
1207
+ "anyOf": [
1208
+ {
1209
+ "type": "array",
1210
+ "items": {
1211
+ "type": "object",
1212
+ "properties": {
1213
+ "module": {
1214
+ "type": "string"
1215
+ },
1216
+ "options": {
1217
+ "type": "object",
1218
+ "additionalProperties": true
1219
+ }
1220
+ },
1221
+ "required": [
1222
+ "module",
1223
+ "options"
1224
+ ]
1225
+ }
1226
+ },
1227
+ {
1228
+ "type": "object",
1229
+ "properties": {
1230
+ "Client": {
1231
+ "type": "array",
1232
+ "items": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "module": {
1236
+ "type": "string"
1237
+ },
1238
+ "options": {
1239
+ "type": "object",
1240
+ "additionalProperties": true
1241
+ }
1242
+ },
1243
+ "required": [
1244
+ "module",
1245
+ "options"
1246
+ ]
1247
+ }
1248
+ },
1249
+ "Pool": {
1250
+ "type": "array",
1251
+ "items": {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "module": {
1255
+ "type": "string"
1256
+ },
1257
+ "options": {
1258
+ "type": "object",
1259
+ "additionalProperties": true
1260
+ }
1261
+ },
1262
+ "required": [
1263
+ "module",
1264
+ "options"
1265
+ ]
1266
+ }
1267
+ },
1268
+ "Agent": {
1269
+ "type": "array",
1270
+ "items": {
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "module": {
1274
+ "type": "string"
1275
+ },
1276
+ "options": {
1277
+ "type": "object",
1278
+ "additionalProperties": true
1279
+ }
1280
+ },
1281
+ "required": [
1282
+ "module",
1283
+ "options"
1284
+ ]
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+ ]
1290
+ }
1291
+ }
1292
+ },
1293
+ "httpCache": {
1294
+ "oneOf": [
1295
+ {
1296
+ "type": "boolean"
1297
+ },
1298
+ {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "store": {
1302
+ "type": "string"
1303
+ },
1304
+ "methods": {
1305
+ "type": "array",
1306
+ "items": {
1307
+ "type": "string"
1308
+ },
1309
+ "default": [
1310
+ "GET",
1311
+ "HEAD"
1312
+ ],
1313
+ "minItems": 1
1314
+ },
1315
+ "cacheTagsHeader": {
1316
+ "type": "string"
1317
+ },
1318
+ "maxSize": {
1319
+ "type": "integer"
1320
+ },
1321
+ "maxEntrySize": {
1322
+ "type": "integer"
1323
+ },
1324
+ "maxCount": {
1325
+ "type": "integer"
1326
+ }
1327
+ }
1328
+ }
1329
+ ]
1330
+ },
1331
+ "watch": {
1332
+ "anyOf": [
1333
+ {
1334
+ "type": "boolean"
1335
+ },
1336
+ {
1337
+ "type": "string"
1338
+ }
1339
+ ]
1340
+ },
1341
+ "managementApi": {
1342
+ "anyOf": [
1343
+ {
1344
+ "type": "boolean"
1345
+ },
1346
+ {
1347
+ "type": "string"
1348
+ },
1349
+ {
1350
+ "type": "object",
1351
+ "properties": {
1352
+ "logs": {
1353
+ "type": "object",
1354
+ "properties": {
1355
+ "maxSize": {
1356
+ "type": "number",
1357
+ "minimum": 5,
1358
+ "default": 200
1359
+ }
1360
+ },
1361
+ "additionalProperties": false
1362
+ }
1363
+ },
1364
+ "additionalProperties": false
1365
+ }
1366
+ ],
1367
+ "default": true
1368
+ },
1369
+ "metrics": {
1370
+ "anyOf": [
1371
+ {
1372
+ "type": "boolean"
1373
+ },
1374
+ {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "port": {
1378
+ "anyOf": [
1379
+ {
1380
+ "type": "integer"
1381
+ },
1382
+ {
1383
+ "type": "string"
1384
+ }
1385
+ ]
1386
+ },
1387
+ "enabled": {
1388
+ "anyOf": [
1389
+ {
1390
+ "type": "boolean"
1391
+ },
1392
+ {
1393
+ "type": "string"
1394
+ }
1395
+ ]
1396
+ },
1397
+ "hostname": {
1398
+ "type": "string"
1399
+ },
1400
+ "endpoint": {
1401
+ "type": "string"
1402
+ },
1403
+ "auth": {
1404
+ "type": "object",
1405
+ "properties": {
1406
+ "username": {
1407
+ "type": "string"
1408
+ },
1409
+ "password": {
1410
+ "type": "string"
1411
+ }
1412
+ },
1413
+ "additionalProperties": false,
1414
+ "required": [
1415
+ "username",
1416
+ "password"
1417
+ ]
1418
+ },
1419
+ "labels": {
1420
+ "type": "object",
1421
+ "additionalProperties": {
1422
+ "type": "string"
1423
+ }
1424
+ },
1425
+ "applicationLabel": {
1426
+ "type": "string",
1427
+ "default": "applicationId",
1428
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
1429
+ },
1430
+ "readiness": {
1431
+ "anyOf": [
1432
+ {
1433
+ "type": "boolean"
1434
+ },
1435
+ {
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "endpoint": {
1439
+ "type": "string"
1440
+ },
1441
+ "success": {
1442
+ "type": "object",
1443
+ "properties": {
1444
+ "statusCode": {
1445
+ "type": "number"
1446
+ },
1447
+ "body": {
1448
+ "type": "string"
1449
+ }
1450
+ },
1451
+ "additionalProperties": false
1452
+ },
1453
+ "fail": {
1454
+ "type": "object",
1455
+ "properties": {
1456
+ "statusCode": {
1457
+ "type": "number"
1458
+ },
1459
+ "body": {
1460
+ "type": "string"
1461
+ }
1462
+ },
1463
+ "additionalProperties": false
1464
+ }
1465
+ },
1466
+ "additionalProperties": false
1467
+ }
1468
+ ]
1469
+ },
1470
+ "liveness": {
1471
+ "anyOf": [
1472
+ {
1473
+ "type": "boolean"
1474
+ },
1475
+ {
1476
+ "type": "object",
1477
+ "properties": {
1478
+ "endpoint": {
1479
+ "type": "string"
1480
+ },
1481
+ "success": {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "statusCode": {
1485
+ "type": "number"
1486
+ },
1487
+ "body": {
1488
+ "type": "string"
1489
+ }
1490
+ },
1491
+ "additionalProperties": false
1492
+ },
1493
+ "fail": {
1494
+ "type": "object",
1495
+ "properties": {
1496
+ "statusCode": {
1497
+ "type": "number"
1498
+ },
1499
+ "body": {
1500
+ "type": "string"
1501
+ }
1502
+ },
1503
+ "additionalProperties": false
1504
+ }
1505
+ },
1506
+ "additionalProperties": false
1507
+ }
1508
+ ]
1509
+ },
1510
+ "healthChecksTimeouts": {
1511
+ "anyOf": [
1512
+ {
1513
+ "type": "integer"
1514
+ },
1515
+ {
1516
+ "type": "string"
1517
+ }
1518
+ ],
1519
+ "default": 5000
1520
+ },
1521
+ "plugins": {
1522
+ "type": "array",
1523
+ "items": {
1524
+ "anyOf": [
1525
+ {
1526
+ "type": "string",
1527
+ "resolvePath": true
1528
+ }
1529
+ ]
1530
+ }
1531
+ },
1532
+ "timeout": {
1533
+ "anyOf": [
1534
+ {
1535
+ "type": "integer"
1536
+ },
1537
+ {
1538
+ "type": "string"
1539
+ }
1540
+ ],
1541
+ "default": 10000
1542
+ },
1543
+ "otlpExporter": {
1544
+ "type": "object",
1545
+ "description": "Configuration for exporting metrics to an OTLP endpoint",
1546
+ "properties": {
1547
+ "enabled": {
1548
+ "anyOf": [
1549
+ {
1550
+ "type": "boolean"
1551
+ },
1552
+ {
1553
+ "type": "string"
1554
+ }
1555
+ ],
1556
+ "description": "Enable or disable OTLP metrics export"
1557
+ },
1558
+ "endpoint": {
1559
+ "type": "string",
1560
+ "description": "OTLP endpoint URL (e.g., http://collector:4318/v1/metrics)"
1561
+ },
1562
+ "interval": {
1563
+ "anyOf": [
1564
+ {
1565
+ "type": "integer"
1566
+ },
1567
+ {
1568
+ "type": "string"
1569
+ }
1570
+ ],
1571
+ "default": 60000,
1572
+ "description": "Interval in milliseconds between metric pushes"
1573
+ },
1574
+ "headers": {
1575
+ "type": "object",
1576
+ "additionalProperties": {
1577
+ "type": "string"
1578
+ },
1579
+ "description": "Additional HTTP headers for authentication"
1580
+ },
1581
+ "serviceName": {
1582
+ "type": "string",
1583
+ "description": "Service name for OTLP resource attributes"
1584
+ },
1585
+ "serviceVersion": {
1586
+ "type": "string",
1587
+ "description": "Service version for OTLP resource attributes"
1588
+ }
1589
+ },
1590
+ "required": [
1591
+ "endpoint"
1592
+ ],
1593
+ "additionalProperties": false
1594
+ }
1595
+ },
1596
+ "additionalProperties": false
1597
+ }
1598
+ ]
1599
+ },
1600
+ "telemetry": {
1601
+ "type": "object",
1602
+ "properties": {
1603
+ "enabled": {
1604
+ "anyOf": [
1605
+ {
1606
+ "type": "boolean"
1607
+ },
1608
+ {
1609
+ "type": "string"
1610
+ }
1611
+ ]
1612
+ },
1613
+ "applicationName": {
1614
+ "type": "string",
1615
+ "description": "The name of the application. Defaults to the folder name if not specified."
1616
+ },
1617
+ "version": {
1618
+ "type": "string",
1619
+ "description": "The version of the application (optional)"
1620
+ },
1621
+ "skip": {
1622
+ "type": "array",
1623
+ "description": "An array of paths to skip when creating spans. Useful for health checks and other endpoints that do not need to be traced.",
1624
+ "items": {
1625
+ "type": "object",
1626
+ "properties": {
1627
+ "path": {
1628
+ "type": "string",
1629
+ "description": "The path to skip. Can be a string or a regex."
1630
+ },
1631
+ "method": {
1632
+ "description": "HTTP method to skip",
1633
+ "type": "string",
1634
+ "enum": [
1635
+ "GET",
1636
+ "POST",
1637
+ "PUT",
1638
+ "DELETE",
1639
+ "PATCH",
1640
+ "HEAD",
1641
+ "OPTIONS"
1642
+ ]
1643
+ }
1644
+ }
1645
+ }
1646
+ },
1647
+ "exporter": {
1648
+ "anyOf": [
1649
+ {
1650
+ "type": "array",
1651
+ "items": {
1652
+ "type": "object",
1653
+ "properties": {
1654
+ "type": {
1655
+ "type": "string",
1656
+ "enum": [
1657
+ "console",
1658
+ "otlp",
1659
+ "zipkin",
1660
+ "memory",
1661
+ "file"
1662
+ ],
1663
+ "default": "console"
1664
+ },
1665
+ "options": {
1666
+ "type": "object",
1667
+ "description": "Options for the exporter. These are passed directly to the exporter.",
1668
+ "properties": {
1669
+ "url": {
1670
+ "type": "string",
1671
+ "description": "The URL to send the traces to. Not used for console or memory exporters."
1672
+ },
1673
+ "headers": {
1674
+ "type": "object",
1675
+ "description": "Headers to send to the exporter. Not used for console or memory exporters."
1676
+ },
1677
+ "path": {
1678
+ "type": "string",
1679
+ "description": "The path to write the traces to. Only for file exporter."
1680
+ }
1681
+ }
1682
+ },
1683
+ "additionalProperties": false
1684
+ }
1685
+ }
1686
+ },
1687
+ {
1688
+ "type": "object",
1689
+ "properties": {
1690
+ "type": {
1691
+ "type": "string",
1692
+ "enum": [
1693
+ "console",
1694
+ "otlp",
1695
+ "zipkin",
1696
+ "memory",
1697
+ "file"
1698
+ ],
1699
+ "default": "console"
1700
+ },
1701
+ "options": {
1702
+ "type": "object",
1703
+ "description": "Options for the exporter. These are passed directly to the exporter.",
1704
+ "properties": {
1705
+ "url": {
1706
+ "type": "string",
1707
+ "description": "The URL to send the traces to. Not used for console or memory exporters."
1708
+ },
1709
+ "headers": {
1710
+ "type": "object",
1711
+ "description": "Headers to send to the exporter. Not used for console or memory exporters."
1712
+ },
1713
+ "path": {
1714
+ "type": "string",
1715
+ "description": "The path to write the traces to. Only for file exporter."
1716
+ }
1717
+ }
1718
+ },
1719
+ "additionalProperties": false
1720
+ }
1721
+ }
1722
+ ]
1723
+ }
1724
+ },
1725
+ "required": [
1726
+ "applicationName"
1727
+ ],
1728
+ "additionalProperties": false
1729
+ },
1730
+ "verticalScaler": {
1731
+ "type": "object",
1732
+ "properties": {
1733
+ "enabled": {
1734
+ "type": "boolean",
1735
+ "default": true
1736
+ },
1737
+ "maxTotalWorkers": {
1738
+ "type": "number",
1739
+ "minimum": 1
1740
+ },
1741
+ "maxTotalMemory": {
1742
+ "type": "number",
1743
+ "minimum": 0
1744
+ },
1745
+ "minWorkers": {
1746
+ "type": "number",
1747
+ "minimum": 1
1748
+ },
1749
+ "maxWorkers": {
1750
+ "type": "number",
1751
+ "minimum": 1
1752
+ },
1753
+ "cooldownSec": {
1754
+ "type": "number",
1755
+ "minimum": 0
1756
+ },
1757
+ "gracePeriod": {
1758
+ "type": "number",
1759
+ "minimum": 0
1760
+ },
1761
+ "scaleUpELU": {
1762
+ "type": "number",
1763
+ "minimum": 0,
1764
+ "maximum": 1,
1765
+ "deprecated": true
1766
+ },
1767
+ "scaleDownELU": {
1768
+ "type": "number",
1769
+ "minimum": 0,
1770
+ "maximum": 1,
1771
+ "deprecated": true
1772
+ },
1773
+ "timeWindowSec": {
1774
+ "type": "number",
1775
+ "minimum": 0,
1776
+ "deprecated": true
1777
+ },
1778
+ "scaleDownTimeWindowSec": {
1779
+ "type": "number",
1780
+ "minimum": 0,
1781
+ "deprecated": true
1782
+ },
1783
+ "scaleIntervalSec": {
1784
+ "type": "number",
1785
+ "minimum": 0,
1786
+ "deprecated": true
1787
+ }
1788
+ },
1789
+ "additionalProperties": false
1790
+ },
1791
+ "inspectorOptions": {
1792
+ "type": "object",
1793
+ "properties": {
1794
+ "host": {
1795
+ "type": "string"
1796
+ },
1797
+ "port": {
1798
+ "type": "number"
1799
+ },
1800
+ "breakFirstLine": {
1801
+ "type": "boolean"
1802
+ },
1803
+ "watchDisabled": {
1804
+ "type": "boolean"
1805
+ }
1806
+ }
1807
+ },
1808
+ "applicationTimeout": {
1809
+ "anyOf": [
1810
+ {
1811
+ "type": "number",
1812
+ "minimum": 1
1813
+ },
1814
+ {
1815
+ "type": "string"
1816
+ }
1817
+ ],
1818
+ "default": 300000
1819
+ },
1820
+ "messagingTimeout": {
1821
+ "anyOf": [
1822
+ {
1823
+ "type": "number",
1824
+ "minimum": 1
1825
+ },
1826
+ {
1827
+ "type": "string"
1828
+ }
1829
+ ],
1830
+ "default": 30000
1831
+ },
1832
+ "env": {
1833
+ "type": "object",
1834
+ "additionalProperties": {
1835
+ "type": "string"
1836
+ }
1837
+ },
1838
+ "sourceMaps": {
1839
+ "type": "boolean",
1840
+ "default": false
1841
+ },
1842
+ "scheduler": {
1843
+ "type": "array",
1844
+ "items": {
1845
+ "type": "object",
1846
+ "properties": {
1847
+ "enabled": {
1848
+ "anyOf": [
1849
+ {
1850
+ "type": "boolean"
1851
+ },
1852
+ {
1853
+ "type": "string"
1854
+ }
1855
+ ],
1856
+ "default": true
1857
+ },
1858
+ "name": {
1859
+ "type": "string"
1860
+ },
1861
+ "cron": {
1862
+ "type": "string"
1863
+ },
1864
+ "callbackUrl": {
1865
+ "type": "string"
1866
+ },
1867
+ "method": {
1868
+ "type": "string",
1869
+ "enum": [
1870
+ "GET",
1871
+ "POST",
1872
+ "PUT",
1873
+ "PATCH",
1874
+ "DELETE"
1875
+ ],
1876
+ "default": "GET"
1877
+ },
1878
+ "headers": {
1879
+ "type": "object",
1880
+ "additionalProperties": {
1881
+ "type": "string"
1882
+ }
1883
+ },
1884
+ "body": {
1885
+ "anyOf": [
1886
+ {
1887
+ "type": "string"
1888
+ },
1889
+ {
1890
+ "type": "object",
1891
+ "additionalProperties": true
1892
+ }
1893
+ ]
1894
+ },
1895
+ "maxRetries": {
1896
+ "type": "number",
1897
+ "minimum": 0,
1898
+ "default": 3
1899
+ }
1900
+ },
1901
+ "required": [
1902
+ "name",
1903
+ "cron",
1904
+ "callbackUrl"
1905
+ ]
1906
+ }
1907
+ },
1908
+ "policies": {
1909
+ "type": "object",
1910
+ "properties": {
1911
+ "deny": {
1912
+ "type": "object",
1913
+ "patternProperties": {
1914
+ "^.*$": {
1915
+ "oneOf": [
1916
+ {
1917
+ "type": "string"
1918
+ },
1919
+ {
1920
+ "type": "array",
1921
+ "items": {
1922
+ "type": "string"
1923
+ },
1924
+ "minItems": 1
1925
+ }
1926
+ ]
1927
+ }
1928
+ }
1929
+ }
1930
+ },
1931
+ "required": [
1932
+ "deny"
1933
+ ],
1934
+ "additionalProperties": false
1935
+ },
1936
+ "application": {
1937
+ "type": "object",
1938
+ "properties": {
1939
+ "reuseTcpPorts": {
1940
+ "type": "boolean",
1941
+ "default": true
1942
+ },
1943
+ "workers": {
1944
+ "anyOf": [
1945
+ {
1946
+ "type": "number"
1947
+ },
1948
+ {
1949
+ "type": "string"
1950
+ },
1951
+ {
1952
+ "type": "object",
1953
+ "properties": {
1954
+ "static": {
1955
+ "type": "number",
1956
+ "minimum": 1
1957
+ },
1958
+ "minimum": {
1959
+ "type": "number",
1960
+ "minimum": 1
1961
+ },
1962
+ "maximum": {
1963
+ "type": "number",
1964
+ "minimum": 0
1965
+ }
1966
+ }
1967
+ }
1968
+ ]
1969
+ },
1970
+ "health": {
1971
+ "type": "object",
1972
+ "default": {},
1973
+ "properties": {
1974
+ "enabled": {
1975
+ "anyOf": [
1976
+ {
1977
+ "type": "boolean"
1978
+ },
1979
+ {
1980
+ "type": "string"
1981
+ }
1982
+ ]
1983
+ },
1984
+ "interval": {
1985
+ "anyOf": [
1986
+ {
1987
+ "type": "number",
1988
+ "minimum": 0
1989
+ },
1990
+ {
1991
+ "type": "string"
1992
+ }
1993
+ ]
1994
+ },
1995
+ "gracePeriod": {
1996
+ "anyOf": [
1997
+ {
1998
+ "type": "number",
1999
+ "minimum": 0
2000
+ },
2001
+ {
2002
+ "type": "string"
2003
+ }
2004
+ ]
2005
+ },
2006
+ "maxUnhealthyChecks": {
2007
+ "anyOf": [
2008
+ {
2009
+ "type": "number",
2010
+ "minimum": 1
2011
+ },
2012
+ {
2013
+ "type": "string"
2014
+ }
2015
+ ]
2016
+ },
2017
+ "maxELU": {
2018
+ "anyOf": [
2019
+ {
2020
+ "type": "number",
2021
+ "minimum": 0,
2022
+ "maximum": 1
2023
+ },
2024
+ {
2025
+ "type": "string"
2026
+ }
2027
+ ]
2028
+ },
2029
+ "maxHeapUsed": {
2030
+ "anyOf": [
2031
+ {
2032
+ "type": "number",
2033
+ "minimum": 0,
2034
+ "maximum": 1
2035
+ },
2036
+ {
2037
+ "type": "string"
2038
+ }
2039
+ ]
2040
+ },
2041
+ "maxHeapTotal": {
2042
+ "anyOf": [
2043
+ {
2044
+ "type": "number",
2045
+ "minimum": 0
2046
+ },
2047
+ {
2048
+ "type": "string"
2049
+ }
2050
+ ]
2051
+ },
2052
+ "maxYoungGeneration": {
2053
+ "anyOf": [
2054
+ {
2055
+ "type": "number",
2056
+ "minimum": 0
2057
+ },
2058
+ {
2059
+ "type": "string"
2060
+ }
2061
+ ]
2062
+ },
2063
+ "codeRangeSize": {
2064
+ "anyOf": [
2065
+ {
2066
+ "type": "number",
2067
+ "minimum": 0
2068
+ },
2069
+ {
2070
+ "type": "string"
2071
+ }
2072
+ ]
2073
+ }
2074
+ },
2075
+ "additionalProperties": false
2076
+ },
2077
+ "arguments": {
2078
+ "type": "array",
2079
+ "items": {
2080
+ "type": "string"
2081
+ }
2082
+ },
2083
+ "env": {
2084
+ "type": "object",
2085
+ "additionalProperties": {
2086
+ "type": "string"
2087
+ }
2088
+ },
2089
+ "envfile": {
2090
+ "type": "string"
2091
+ },
2092
+ "sourceMaps": {
2093
+ "type": "boolean"
2094
+ },
2095
+ "packageManager": {
2096
+ "type": "string",
2097
+ "enum": [
2098
+ "npm",
2099
+ "pnpm",
2100
+ "yarn"
2101
+ ]
2102
+ },
2103
+ "preload": {
2104
+ "anyOf": [
2105
+ {
2106
+ "type": "string",
2107
+ "resolvePath": true
2108
+ },
2109
+ {
2110
+ "type": "array",
2111
+ "items": {
2112
+ "type": "string",
2113
+ "resolvePath": true
2114
+ }
2115
+ }
2116
+ ]
2117
+ },
2118
+ "nodeOptions": {
2119
+ "type": "string"
2120
+ },
2121
+ "execArgv": {
2122
+ "type": "array",
2123
+ "items": {
2124
+ "type": "string"
2125
+ }
2126
+ },
2127
+ "permissions": {
2128
+ "type": "object",
2129
+ "properties": {
2130
+ "fs": {
2131
+ "type": "object",
2132
+ "properties": {
2133
+ "read": {
2134
+ "type": "array",
2135
+ "items": {
2136
+ "type": "string"
2137
+ }
2138
+ },
2139
+ "write": {
2140
+ "type": "array",
2141
+ "items": {
2142
+ "type": "string"
2143
+ }
2144
+ }
2145
+ },
2146
+ "additionalProperties": false
2147
+ }
2148
+ },
2149
+ "additionalProperties": false
2150
+ },
2151
+ "telemetry": {
2152
+ "type": "object",
2153
+ "properties": {
2154
+ "instrumentations": {
2155
+ "type": "array",
2156
+ "description": "An array of instrumentations loaded if telemetry is enabled",
2157
+ "items": {
2158
+ "oneOf": [
2159
+ {
2160
+ "type": "string"
2161
+ },
2162
+ {
2163
+ "type": "object",
2164
+ "properties": {
2165
+ "package": {
2166
+ "type": "string"
2167
+ },
2168
+ "exportName": {
2169
+ "type": "string"
2170
+ },
2171
+ "options": {
2172
+ "type": "object",
2173
+ "additionalProperties": true
2174
+ }
2175
+ },
2176
+ "required": [
2177
+ "package"
2178
+ ]
2179
+ }
2180
+ ]
2181
+ }
2182
+ }
2183
+ }
2184
+ }
2185
+ },
2186
+ "additionalProperties": false
2187
+ }
2188
+ },
2189
+ "additionalProperties": false
2190
+ },
2191
+ "vite": {
2192
+ "type": "object",
2193
+ "properties": {
2194
+ "configFile": {
2195
+ "oneOf": [
2196
+ {
2197
+ "type": "string"
2198
+ },
2199
+ {
2200
+ "type": "boolean"
2201
+ }
2202
+ ]
2203
+ },
2204
+ "devServer": {
2205
+ "type": "object",
2206
+ "properties": {
2207
+ "strict": {
2208
+ "type": "boolean",
2209
+ "default": false
2210
+ }
2211
+ },
2212
+ "additionalProperties": false,
2213
+ "default": {}
2214
+ },
2215
+ "ssr": {
2216
+ "anyOf": [
2217
+ {
2218
+ "type": "object",
2219
+ "properties": {
2220
+ "enabled": {
2221
+ "type": "boolean"
2222
+ },
2223
+ "entrypoint": {
2224
+ "type": "string",
2225
+ "default": "server.js"
2226
+ },
2227
+ "clientDirectory": {
2228
+ "type": "string",
2229
+ "default": "client"
2230
+ },
2231
+ "serverDirectory": {
2232
+ "type": "string",
2233
+ "default": "server"
2234
+ }
2235
+ },
2236
+ "required": [
2237
+ "entrypoint"
2238
+ ],
2239
+ "additionalProperties": false
2240
+ },
2241
+ {
2242
+ "type": "boolean"
2243
+ }
2244
+ ],
2245
+ "default": false
2246
+ },
2247
+ "notFoundHandler": {
2248
+ "anyOf": [
2249
+ {
2250
+ "type": "boolean"
2251
+ },
2252
+ {
2253
+ "type": "string"
2254
+ },
2255
+ {
2256
+ "type": "object",
2257
+ "properties": {
2258
+ "enabled": {
2259
+ "type": "boolean"
2260
+ },
2261
+ "path": {
2262
+ "type": "string",
2263
+ "default": "index.html"
2264
+ },
2265
+ "contentType": {
2266
+ "type": "string",
2267
+ "default": "text/html; charset=utf-8"
2268
+ },
2269
+ "statusCode": {
2270
+ "type": "number",
2271
+ "default": 200
2272
+ }
2273
+ },
2274
+ "additionalProperties": false
2275
+ }
2276
+ ],
2277
+ "default": false
2278
+ }
2279
+ },
2280
+ "default": {},
2281
+ "additionalProperties": false
2282
+ }
2283
+ },
2284
+ "additionalProperties": false
2285
+ }