@platformatic/nest 3.72.0 → 4.0.0-alpha.1

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.72.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nest/4.0.0-alpha.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic NestJS Config",
5
5
  "type": "object",
@@ -15,7 +15,8 @@
15
15
  "properties": {
16
16
  "level": {
17
17
  "type": "string",
18
- "description": "The log level. It must be one of the standard pino levels (fatal, error, warn, info, debug, trace, silent) or, when customLevels is set, one of the custom levels."
18
+ "minLength": 1,
19
+ "description": "A standard Pino log level or a level defined in customLevels."
19
20
  },
20
21
  "transport": {
21
22
  "anyOf": [
@@ -210,37 +211,9 @@
210
211
  "additionalProperties": false
211
212
  }
212
213
  },
213
- "if": {
214
- "not": {
215
- "required": [
216
- "customLevels"
217
- ]
218
- }
219
- },
220
- "then": {
221
- "properties": {
222
- "level": {
223
- "oneOf": [
224
- {
225
- "enum": [
226
- "fatal",
227
- "error",
228
- "warn",
229
- "info",
230
- "debug",
231
- "trace",
232
- "silent"
233
- ]
234
- },
235
- {
236
- "pattern": "^\\{.+\\}$"
237
- }
238
- ]
239
- }
240
- }
241
- },
242
214
  "default": {},
243
- "additionalProperties": true
215
+ "additionalProperties": true,
216
+ "title": "AppLoggerOptions"
244
217
  },
245
218
  "server": {
246
219
  "type": "object",
@@ -264,7 +237,7 @@
264
237
  "shared",
265
238
  "perWorkerIncrement"
266
239
  ],
267
- "description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
240
+ "description": "Configures how the port is assigned when the application runs multiple workers. When set to shared (the default), all workers listen on the same port (which requires SO_REUSEPORT support). When set to perWorkerIncrement, each worker listens on its own port, starting from port (worker 0) and incrementing by one for each additional worker."
268
241
  },
269
242
  "backlog": {
270
243
  "type": "integer",
@@ -364,10 +337,12 @@
364
337
  "required": [
365
338
  "key",
366
339
  "cert"
367
- ]
340
+ ],
341
+ "title": "HttpsOptions"
368
342
  }
369
343
  },
370
- "additionalProperties": false
344
+ "additionalProperties": false,
345
+ "title": "AppServerOptions"
371
346
  },
372
347
  "watch": {
373
348
  "anyOf": [
@@ -403,7 +378,8 @@
403
378
  "default": null
404
379
  }
405
380
  },
406
- "additionalProperties": false
381
+ "additionalProperties": false,
382
+ "title": "WatchOptions"
407
383
  },
408
384
  {
409
385
  "type": "boolean"
@@ -452,9 +428,6 @@
452
428
  "default": {},
453
429
  "additionalProperties": false
454
430
  },
455
- "entrypointPort": {
456
- "type": "number"
457
- },
458
431
  "changeDirectoryBeforeExecution": {
459
432
  "type": "boolean",
460
433
  "default": false
@@ -469,7 +442,8 @@
469
442
  },
470
443
  "additionalProperties": false,
471
444
  "required": [],
472
- "default": {}
445
+ "default": {},
446
+ "title": "BuildableApplicationOptions"
473
447
  },
474
448
  "runtime": {
475
449
  "type": "object",
@@ -514,7 +488,8 @@
514
488
  "type": "boolean",
515
489
  "default": false
516
490
  }
517
- }
491
+ },
492
+ "title": "ExtensionEntry"
518
493
  },
519
494
  {
520
495
  "type": "array",
@@ -543,7 +518,8 @@
543
518
  "type": "boolean",
544
519
  "default": false
545
520
  }
546
- }
521
+ },
522
+ "title": "ExtensionEntry"
547
523
  }
548
524
  ]
549
525
  }
@@ -598,21 +574,25 @@
598
574
  "resolvePath": true
599
575
  },
600
576
  "config": {
601
- "type": "string"
577
+ "anyOf": [
578
+ {
579
+ "type": "string"
580
+ },
581
+ {
582
+ "type": "object"
583
+ }
584
+ ]
602
585
  },
603
586
  "url": {
604
587
  "type": "string"
605
588
  },
589
+ "module": {
590
+ "type": "string"
591
+ },
606
592
  "gitBranch": {
607
593
  "type": "string",
608
594
  "default": "main"
609
595
  },
610
- "useHttp": {
611
- "type": "boolean"
612
- },
613
- "websocket": {
614
- "type": "boolean"
615
- },
616
596
  "reuseTcpPorts": {
617
597
  "type": "boolean",
618
598
  "default": true
@@ -620,7 +600,8 @@
620
600
  "workers": {
621
601
  "anyOf": [
622
602
  {
623
- "type": "number"
603
+ "type": "integer",
604
+ "minimum": 1
624
605
  },
625
606
  {
626
607
  "type": "string"
@@ -629,28 +610,32 @@
629
610
  "type": "object",
630
611
  "properties": {
631
612
  "static": {
632
- "type": "number",
613
+ "type": "integer",
633
614
  "minimum": 1
634
615
  },
616
+ "dynamic": {
617
+ "type": "boolean"
618
+ },
635
619
  "minimum": {
636
- "type": "number",
620
+ "type": "integer",
637
621
  "minimum": 1
638
622
  },
639
623
  "maximum": {
640
- "type": "number",
624
+ "type": "integer",
641
625
  "minimum": 0
642
626
  },
643
- "scaleUpELU": {
627
+ "eluThreshold": {
644
628
  "type": "number",
645
- "minimum": 0,
629
+ "exclusiveMinimum": 0,
646
630
  "maximum": 1
647
631
  },
648
- "scaleDownELU": {
632
+ "heapThresholdMb": {
649
633
  "type": "number",
650
- "minimum": 0,
651
- "maximum": 1
634
+ "exclusiveMinimum": 0
652
635
  }
653
- }
636
+ },
637
+ "additionalProperties": false,
638
+ "title": "ApplicationWorkersOptions"
654
639
  }
655
640
  ]
656
641
  },
@@ -803,7 +788,8 @@
803
788
  ]
804
789
  }
805
790
  },
806
- "additionalProperties": false
791
+ "additionalProperties": false,
792
+ "title": "ApplicationHealthOptions"
807
793
  },
808
794
  "restartOnError": {
809
795
  "description": "Overrides the runtime-level restartOnError for this application. Set to false or 0 to never restart the application when it crashes, a positive number to wait that amount of milliseconds between restarts, or true to use the default delay.",
@@ -902,14 +888,15 @@
902
888
  "additionalProperties": false
903
889
  }
904
890
  },
905
- "additionalProperties": false
891
+ "additionalProperties": false,
892
+ "title": "PermissionsOptions"
906
893
  },
907
- "telemetry": {
894
+ "tracing": {
908
895
  "type": "object",
909
896
  "properties": {
910
897
  "instrumentations": {
911
898
  "type": "array",
912
- "description": "An array of instrumentations loaded if telemetry is enabled",
899
+ "description": "An array of instrumentations loaded if tracing is enabled",
913
900
  "items": {
914
901
  "oneOf": [
915
902
  {
@@ -936,7 +923,8 @@
936
923
  ]
937
924
  }
938
925
  }
939
- }
926
+ },
927
+ "title": "ApplicationTelemetryOverrides"
940
928
  },
941
929
  "compileCache": {
942
930
  "anyOf": [
@@ -954,9 +942,14 @@
954
942
  "directory": {
955
943
  "type": "string",
956
944
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
945
+ },
946
+ "awaitFirstWorker": {
947
+ "type": "boolean",
948
+ "description": "Wait for the first worker to start before starting the remaining workers"
957
949
  }
958
950
  },
959
- "additionalProperties": false
951
+ "additionalProperties": false,
952
+ "title": "CompileCacheOptions"
960
953
  }
961
954
  ]
962
955
  },
@@ -983,13 +976,14 @@
983
976
  }
984
977
  ]
985
978
  }
986
- }
979
+ },
980
+ "title": "ApplicationEntry"
987
981
  }
988
982
  },
989
983
  "workers": {
990
984
  "anyOf": [
991
985
  {
992
- "type": "number",
986
+ "type": "integer",
993
987
  "minimum": 1
994
988
  },
995
989
  {
@@ -999,48 +993,94 @@
999
993
  "type": "object",
1000
994
  "properties": {
1001
995
  "static": {
1002
- "type": "number",
996
+ "type": "integer",
1003
997
  "minimum": 1
1004
998
  },
1005
999
  "dynamic": {
1006
- "type": "boolean",
1007
- "default": false
1000
+ "type": "boolean"
1008
1001
  },
1009
1002
  "minimum": {
1010
- "type": "number",
1003
+ "type": "integer",
1011
1004
  "minimum": 1
1012
1005
  },
1013
1006
  "maximum": {
1014
- "type": "number",
1007
+ "type": "integer",
1015
1008
  "minimum": 0
1016
1009
  },
1017
1010
  "total": {
1018
- "type": "number",
1011
+ "type": "integer",
1019
1012
  "minimum": 1
1020
1013
  },
1021
1014
  "maxMemory": {
1022
1015
  "type": "number",
1023
1016
  "minimum": 0
1024
1017
  },
1025
- "cooldown": {
1018
+ "eluThreshold": {
1019
+ "type": "number",
1020
+ "exclusiveMinimum": 0,
1021
+ "maximum": 1
1022
+ },
1023
+ "heapThresholdMb": {
1024
+ "type": "number",
1025
+ "exclusiveMinimum": 0
1026
+ },
1027
+ "processIntervalMs": {
1026
1028
  "type": "number",
1027
1029
  "minimum": 0
1028
1030
  },
1029
- "gracePeriod": {
1031
+ "maxScaleUpStep": {
1032
+ "type": "integer",
1033
+ "minimum": 1
1034
+ },
1035
+ "redistributionMs": {
1030
1036
  "type": "number",
1031
1037
  "minimum": 0
1032
1038
  },
1033
- "scaleUpELU": {
1039
+ "alphaUp": {
1040
+ "type": "number",
1041
+ "minimum": 0,
1042
+ "maximum": 1
1043
+ },
1044
+ "alphaDown": {
1034
1045
  "type": "number",
1035
1046
  "minimum": 0,
1036
1047
  "maximum": 1
1037
1048
  },
1038
- "scaleDownELU": {
1049
+ "betaUp": {
1039
1050
  "type": "number",
1040
1051
  "minimum": 0,
1041
1052
  "maximum": 1
1053
+ },
1054
+ "betaDown": {
1055
+ "type": "number",
1056
+ "minimum": 0,
1057
+ "maximum": 1
1058
+ },
1059
+ "cooldowns": {
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "scaleUpAfterScaleUpMs": {
1063
+ "type": "number",
1064
+ "minimum": 0
1065
+ },
1066
+ "scaleUpAfterScaleDownMs": {
1067
+ "type": "number",
1068
+ "minimum": 0
1069
+ },
1070
+ "scaleDownAfterScaleUpMs": {
1071
+ "type": "number",
1072
+ "minimum": 0
1073
+ },
1074
+ "scaleDownAfterScaleDownMs": {
1075
+ "type": "number",
1076
+ "minimum": 0
1077
+ }
1078
+ },
1079
+ "additionalProperties": false
1042
1080
  }
1043
- }
1081
+ },
1082
+ "additionalProperties": false,
1083
+ "title": "WorkersOptions"
1044
1084
  }
1045
1085
  ]
1046
1086
  },
@@ -1061,7 +1101,8 @@
1061
1101
  "properties": {
1062
1102
  "level": {
1063
1103
  "type": "string",
1064
- "description": "The log level. It must be one of the standard pino levels (fatal, error, warn, info, debug, trace, silent) or, when customLevels is set, one of the custom levels."
1104
+ "minLength": 1,
1105
+ "description": "A standard Pino log level or a level defined in customLevels."
1065
1106
  },
1066
1107
  "transport": {
1067
1108
  "anyOf": [
@@ -1256,164 +1297,9 @@
1256
1297
  "additionalProperties": false
1257
1298
  }
1258
1299
  },
1259
- "if": {
1260
- "not": {
1261
- "required": [
1262
- "customLevels"
1263
- ]
1264
- }
1265
- },
1266
- "then": {
1267
- "properties": {
1268
- "level": {
1269
- "oneOf": [
1270
- {
1271
- "enum": [
1272
- "fatal",
1273
- "error",
1274
- "warn",
1275
- "info",
1276
- "debug",
1277
- "trace",
1278
- "silent"
1279
- ]
1280
- },
1281
- {
1282
- "pattern": "^\\{.+\\}$"
1283
- }
1284
- ]
1285
- }
1286
- }
1287
- },
1288
1300
  "default": {},
1289
- "additionalProperties": true
1290
- },
1291
- "server": {
1292
- "type": "object",
1293
- "properties": {
1294
- "hostname": {
1295
- "type": "string"
1296
- },
1297
- "port": {
1298
- "anyOf": [
1299
- {
1300
- "type": "integer"
1301
- },
1302
- {
1303
- "type": "string"
1304
- }
1305
- ]
1306
- },
1307
- "portAssignment": {
1308
- "type": "string",
1309
- "enum": [
1310
- "shared",
1311
- "perWorkerIncrement"
1312
- ],
1313
- "description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
1314
- },
1315
- "backlog": {
1316
- "type": "integer",
1317
- "description": "The maximum length of the queue of pending connections"
1318
- },
1319
- "http2": {
1320
- "type": "boolean"
1321
- },
1322
- "https": {
1323
- "type": "object",
1324
- "properties": {
1325
- "allowHTTP1": {
1326
- "type": "boolean"
1327
- },
1328
- "key": {
1329
- "anyOf": [
1330
- {
1331
- "type": "string"
1332
- },
1333
- {
1334
- "type": "object",
1335
- "properties": {
1336
- "path": {
1337
- "type": "string",
1338
- "resolvePath": true
1339
- }
1340
- },
1341
- "additionalProperties": false
1342
- },
1343
- {
1344
- "type": "array",
1345
- "items": {
1346
- "anyOf": [
1347
- {
1348
- "type": "string"
1349
- },
1350
- {
1351
- "type": "object",
1352
- "properties": {
1353
- "path": {
1354
- "type": "string",
1355
- "resolvePath": true
1356
- }
1357
- },
1358
- "additionalProperties": false
1359
- }
1360
- ]
1361
- }
1362
- }
1363
- ]
1364
- },
1365
- "cert": {
1366
- "anyOf": [
1367
- {
1368
- "type": "string"
1369
- },
1370
- {
1371
- "type": "object",
1372
- "properties": {
1373
- "path": {
1374
- "type": "string",
1375
- "resolvePath": true
1376
- }
1377
- },
1378
- "additionalProperties": false
1379
- },
1380
- {
1381
- "type": "array",
1382
- "items": {
1383
- "anyOf": [
1384
- {
1385
- "type": "string"
1386
- },
1387
- {
1388
- "type": "object",
1389
- "properties": {
1390
- "path": {
1391
- "type": "string",
1392
- "resolvePath": true
1393
- }
1394
- },
1395
- "additionalProperties": false
1396
- }
1397
- ]
1398
- }
1399
- }
1400
- ]
1401
- },
1402
- "requestCert": {
1403
- "type": "boolean"
1404
- },
1405
- "rejectUnauthorized": {
1406
- "type": "boolean"
1407
- }
1408
- },
1409
- "additionalProperties": false,
1410
- "required": [
1411
- "key",
1412
- "cert"
1413
- ]
1414
- }
1415
- },
1416
- "additionalProperties": false
1301
+ "additionalProperties": true,
1302
+ "title": "AppLoggerOptions"
1417
1303
  },
1418
1304
  "reuseTcpPorts": {
1419
1305
  "type": "boolean",
@@ -1485,7 +1371,8 @@
1485
1371
  "runtime",
1486
1372
  "application"
1487
1373
  ],
1488
- "additionalProperties": false
1374
+ "additionalProperties": false,
1375
+ "title": "GracefulShutdownOptions"
1489
1376
  },
1490
1377
  "health": {
1491
1378
  "type": "object",
@@ -1647,7 +1534,8 @@
1647
1534
  "default": 262144
1648
1535
  }
1649
1536
  },
1650
- "additionalProperties": false
1537
+ "additionalProperties": false,
1538
+ "title": "HealthOptions"
1651
1539
  },
1652
1540
  "healthProbes": {
1653
1541
  "anyOf": [
@@ -1764,7 +1652,8 @@
1764
1652
  ]
1765
1653
  }
1766
1654
  },
1767
- "additionalProperties": false
1655
+ "additionalProperties": false,
1656
+ "title": "HealthProbesOptions"
1768
1657
  }
1769
1658
  ],
1770
1659
  "default": true
@@ -1861,7 +1750,8 @@
1861
1750
  }
1862
1751
  ]
1863
1752
  }
1864
- }
1753
+ },
1754
+ "title": "UndiciOptions"
1865
1755
  },
1866
1756
  "httpCache": {
1867
1757
  "oneOf": [
@@ -1917,7 +1807,8 @@
1917
1807
  "default": "shared",
1918
1808
  "description": "Cache type. \"shared\" caches may be shared between users, \"private\" caches are user-specific."
1919
1809
  }
1920
- }
1810
+ },
1811
+ "title": "HttpCacheOptions"
1921
1812
  }
1922
1813
  ]
1923
1814
  },
@@ -1958,7 +1849,8 @@
1958
1849
  "description": "Custom path for the control socket. If not specified, uses the default platform-specific location."
1959
1850
  }
1960
1851
  },
1961
- "additionalProperties": false
1852
+ "additionalProperties": false,
1853
+ "title": "ManagementApiOptions"
1962
1854
  }
1963
1855
  ],
1964
1856
  "default": true
@@ -2111,7 +2003,8 @@
2111
2003
  "required": [
2112
2004
  "key",
2113
2005
  "cert"
2114
- ]
2006
+ ],
2007
+ "title": "HttpsOptions"
2115
2008
  },
2116
2009
  "auth": {
2117
2010
  "type": "object",
@@ -2390,11 +2283,13 @@
2390
2283
  }
2391
2284
  }
2392
2285
  },
2393
- "additionalProperties": false
2286
+ "additionalProperties": false,
2287
+ "title": "MetricsOptions"
2394
2288
  }
2395
- ]
2289
+ ],
2290
+ "default": false
2396
2291
  },
2397
- "telemetry": {
2292
+ "tracing": {
2398
2293
  "type": "object",
2399
2294
  "properties": {
2400
2295
  "enabled": {
@@ -2565,66 +2460,8 @@
2565
2460
  "required": [
2566
2461
  "applicationName"
2567
2462
  ],
2568
- "additionalProperties": false
2569
- },
2570
- "verticalScaler": {
2571
- "type": "object",
2572
- "properties": {
2573
- "enabled": {
2574
- "type": "boolean",
2575
- "default": true
2576
- },
2577
- "maxTotalWorkers": {
2578
- "type": "number",
2579
- "minimum": 1
2580
- },
2581
- "maxTotalMemory": {
2582
- "type": "number",
2583
- "minimum": 0
2584
- },
2585
- "minWorkers": {
2586
- "type": "number",
2587
- "minimum": 1
2588
- },
2589
- "maxWorkers": {
2590
- "type": "number",
2591
- "minimum": 1
2592
- },
2593
- "cooldownSec": {
2594
- "type": "number",
2595
- "minimum": 0
2596
- },
2597
- "gracePeriod": {
2598
- "type": "number",
2599
- "minimum": 0
2600
- },
2601
- "scaleUpELU": {
2602
- "type": "number",
2603
- "minimum": 0,
2604
- "maximum": 1
2605
- },
2606
- "scaleDownELU": {
2607
- "type": "number",
2608
- "minimum": 0,
2609
- "maximum": 1
2610
- },
2611
- "timeWindowSec": {
2612
- "type": "number",
2613
- "minimum": 0,
2614
- "deprecated": true
2615
- },
2616
- "scaleDownTimeWindowSec": {
2617
- "type": "number",
2618
- "minimum": 0,
2619
- "deprecated": true
2620
- },
2621
- "scaleIntervalSec": {
2622
- "type": "number",
2623
- "minimum": 0,
2624
- "deprecated": true
2625
- }
2626
- },
2627
- "additionalProperties": false
2463
+ "additionalProperties": false,
2464
+ "title": "TelemetryOptions"
2628
2465
  },
2629
2466
  "inspectorOptions": {
2630
2467
  "type": "object",
@@ -2709,72 +2546,6 @@
2709
2546
  },
2710
2547
  "default": []
2711
2548
  },
2712
- "scheduler": {
2713
- "type": "array",
2714
- "items": {
2715
- "type": "object",
2716
- "properties": {
2717
- "enabled": {
2718
- "anyOf": [
2719
- {
2720
- "type": "boolean"
2721
- },
2722
- {
2723
- "type": "string"
2724
- }
2725
- ],
2726
- "default": true
2727
- },
2728
- "name": {
2729
- "type": "string"
2730
- },
2731
- "cron": {
2732
- "type": "string"
2733
- },
2734
- "callbackUrl": {
2735
- "type": "string"
2736
- },
2737
- "method": {
2738
- "type": "string",
2739
- "enum": [
2740
- "GET",
2741
- "POST",
2742
- "PUT",
2743
- "PATCH",
2744
- "DELETE"
2745
- ],
2746
- "default": "GET"
2747
- },
2748
- "headers": {
2749
- "type": "object",
2750
- "additionalProperties": {
2751
- "type": "string"
2752
- }
2753
- },
2754
- "body": {
2755
- "anyOf": [
2756
- {
2757
- "type": "string"
2758
- },
2759
- {
2760
- "type": "object",
2761
- "additionalProperties": true
2762
- }
2763
- ]
2764
- },
2765
- "maxRetries": {
2766
- "type": "number",
2767
- "minimum": 0,
2768
- "default": 3
2769
- }
2770
- },
2771
- "required": [
2772
- "name",
2773
- "cron",
2774
- "callbackUrl"
2775
- ]
2776
- }
2777
- },
2778
2549
  "policies": {
2779
2550
  "type": "object",
2780
2551
  "properties": {
@@ -2819,11 +2590,17 @@
2819
2590
  "directory": {
2820
2591
  "type": "string",
2821
2592
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
2593
+ },
2594
+ "awaitFirstWorker": {
2595
+ "type": "boolean",
2596
+ "description": "Wait for the first worker to start before starting the remaining workers"
2822
2597
  }
2823
2598
  },
2824
- "additionalProperties": false
2599
+ "additionalProperties": false,
2600
+ "title": "CompileCacheOptions"
2825
2601
  }
2826
- ]
2602
+ ],
2603
+ "default": true
2827
2604
  },
2828
2605
  "application": {
2829
2606
  "type": "object",
@@ -2835,7 +2612,8 @@
2835
2612
  "workers": {
2836
2613
  "anyOf": [
2837
2614
  {
2838
- "type": "number"
2615
+ "type": "integer",
2616
+ "minimum": 1
2839
2617
  },
2840
2618
  {
2841
2619
  "type": "string"
@@ -2844,28 +2622,32 @@
2844
2622
  "type": "object",
2845
2623
  "properties": {
2846
2624
  "static": {
2847
- "type": "number",
2625
+ "type": "integer",
2848
2626
  "minimum": 1
2849
2627
  },
2628
+ "dynamic": {
2629
+ "type": "boolean"
2630
+ },
2850
2631
  "minimum": {
2851
- "type": "number",
2632
+ "type": "integer",
2852
2633
  "minimum": 1
2853
2634
  },
2854
2635
  "maximum": {
2855
- "type": "number",
2636
+ "type": "integer",
2856
2637
  "minimum": 0
2857
2638
  },
2858
- "scaleUpELU": {
2639
+ "eluThreshold": {
2859
2640
  "type": "number",
2860
- "minimum": 0,
2641
+ "exclusiveMinimum": 0,
2861
2642
  "maximum": 1
2862
2643
  },
2863
- "scaleDownELU": {
2644
+ "heapThresholdMb": {
2864
2645
  "type": "number",
2865
- "minimum": 0,
2866
- "maximum": 1
2646
+ "exclusiveMinimum": 0
2867
2647
  }
2868
- }
2648
+ },
2649
+ "additionalProperties": false,
2650
+ "title": "ApplicationWorkersOptions"
2869
2651
  }
2870
2652
  ]
2871
2653
  },
@@ -3018,7 +2800,8 @@
3018
2800
  ]
3019
2801
  }
3020
2802
  },
3021
- "additionalProperties": false
2803
+ "additionalProperties": false,
2804
+ "title": "ApplicationHealthOptions"
3022
2805
  },
3023
2806
  "restartOnError": {
3024
2807
  "description": "Overrides the runtime-level restartOnError for this application. Set to false or 0 to never restart the application when it crashes, a positive number to wait that amount of milliseconds between restarts, or true to use the default delay.",
@@ -3110,14 +2893,15 @@
3110
2893
  "additionalProperties": false
3111
2894
  }
3112
2895
  },
3113
- "additionalProperties": false
2896
+ "additionalProperties": false,
2897
+ "title": "PermissionsOptions"
3114
2898
  },
3115
- "telemetry": {
2899
+ "tracing": {
3116
2900
  "type": "object",
3117
2901
  "properties": {
3118
2902
  "instrumentations": {
3119
2903
  "type": "array",
3120
- "description": "An array of instrumentations loaded if telemetry is enabled",
2904
+ "description": "An array of instrumentations loaded if tracing is enabled",
3121
2905
  "items": {
3122
2906
  "oneOf": [
3123
2907
  {
@@ -3144,7 +2928,8 @@
3144
2928
  ]
3145
2929
  }
3146
2930
  }
3147
- }
2931
+ },
2932
+ "title": "ApplicationTelemetryOverrides"
3148
2933
  },
3149
2934
  "compileCache": {
3150
2935
  "anyOf": [
@@ -3162,9 +2947,14 @@
3162
2947
  "directory": {
3163
2948
  "type": "string",
3164
2949
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
2950
+ },
2951
+ "awaitFirstWorker": {
2952
+ "type": "boolean",
2953
+ "description": "Wait for the first worker to start before starting the remaining workers"
3165
2954
  }
3166
2955
  },
3167
- "additionalProperties": false
2956
+ "additionalProperties": false,
2957
+ "title": "CompileCacheOptions"
3168
2958
  }
3169
2959
  ]
3170
2960
  }