@platformatic/runtime 4.0.0-new-config.2 → 4.0.0-new-config.5

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/runtime/4.0.0-new-config.2.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/runtime/4.0.0-new-config.5.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Runtime Config",
5
5
  "type": "object",
@@ -47,7 +47,8 @@
47
47
  "type": "boolean",
48
48
  "default": false
49
49
  }
50
- }
50
+ },
51
+ "title": "ExtensionEntry"
51
52
  },
52
53
  {
53
54
  "type": "array",
@@ -76,7 +77,8 @@
76
77
  "type": "boolean",
77
78
  "default": false
78
79
  }
79
- }
80
+ },
81
+ "title": "ExtensionEntry"
80
82
  }
81
83
  ]
82
84
  }
@@ -434,12 +436,12 @@
434
436
  },
435
437
  "additionalProperties": false
436
438
  },
437
- "telemetry": {
439
+ "tracing": {
438
440
  "type": "object",
439
441
  "properties": {
440
442
  "instrumentations": {
441
443
  "type": "array",
442
- "description": "An array of instrumentations loaded if telemetry is enabled",
444
+ "description": "An array of instrumentations loaded if tracing is enabled",
443
445
  "items": {
444
446
  "oneOf": [
445
447
  {
@@ -513,7 +515,8 @@
513
515
  }
514
516
  ]
515
517
  }
516
- }
518
+ },
519
+ "title": "ApplicationEntryOverrides"
517
520
  }
518
521
  }
519
522
  }
@@ -575,6 +578,9 @@
575
578
  "url": {
576
579
  "type": "string"
577
580
  },
581
+ "module": {
582
+ "type": "string"
583
+ },
578
584
  "gitBranch": {
579
585
  "type": "string",
580
586
  "default": "main"
@@ -616,7 +622,8 @@
616
622
  "minimum": 0,
617
623
  "maximum": 1
618
624
  }
619
- }
625
+ },
626
+ "title": "ApplicationWorkersOptions"
620
627
  }
621
628
  ]
622
629
  },
@@ -769,7 +776,8 @@
769
776
  ]
770
777
  }
771
778
  },
772
- "additionalProperties": false
779
+ "additionalProperties": false,
780
+ "title": "ApplicationHealthOptions"
773
781
  },
774
782
  "restartOnError": {
775
783
  "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.",
@@ -868,14 +876,15 @@
868
876
  "additionalProperties": false
869
877
  }
870
878
  },
871
- "additionalProperties": false
879
+ "additionalProperties": false,
880
+ "title": "PermissionsOptions"
872
881
  },
873
- "telemetry": {
882
+ "tracing": {
874
883
  "type": "object",
875
884
  "properties": {
876
885
  "instrumentations": {
877
886
  "type": "array",
878
- "description": "An array of instrumentations loaded if telemetry is enabled",
887
+ "description": "An array of instrumentations loaded if tracing is enabled",
879
888
  "items": {
880
889
  "oneOf": [
881
890
  {
@@ -902,7 +911,8 @@
902
911
  ]
903
912
  }
904
913
  }
905
- }
914
+ },
915
+ "title": "ApplicationTelemetryOverrides"
906
916
  },
907
917
  "compileCache": {
908
918
  "anyOf": [
@@ -922,7 +932,8 @@
922
932
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
923
933
  }
924
934
  },
925
- "additionalProperties": false
935
+ "additionalProperties": false,
936
+ "title": "CompileCacheOptions"
926
937
  }
927
938
  ]
928
939
  },
@@ -949,7 +960,8 @@
949
960
  }
950
961
  ]
951
962
  }
952
- }
963
+ },
964
+ "title": "ApplicationEntry"
953
965
  }
954
966
  },
955
967
  "services": {
@@ -1009,6 +1021,9 @@
1009
1021
  "url": {
1010
1022
  "type": "string"
1011
1023
  },
1024
+ "module": {
1025
+ "type": "string"
1026
+ },
1012
1027
  "gitBranch": {
1013
1028
  "type": "string",
1014
1029
  "default": "main"
@@ -1050,7 +1065,8 @@
1050
1065
  "minimum": 0,
1051
1066
  "maximum": 1
1052
1067
  }
1053
- }
1068
+ },
1069
+ "title": "ApplicationWorkersOptions"
1054
1070
  }
1055
1071
  ]
1056
1072
  },
@@ -1203,7 +1219,8 @@
1203
1219
  ]
1204
1220
  }
1205
1221
  },
1206
- "additionalProperties": false
1222
+ "additionalProperties": false,
1223
+ "title": "ApplicationHealthOptions"
1207
1224
  },
1208
1225
  "restartOnError": {
1209
1226
  "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.",
@@ -1302,14 +1319,15 @@
1302
1319
  "additionalProperties": false
1303
1320
  }
1304
1321
  },
1305
- "additionalProperties": false
1322
+ "additionalProperties": false,
1323
+ "title": "PermissionsOptions"
1306
1324
  },
1307
- "telemetry": {
1325
+ "tracing": {
1308
1326
  "type": "object",
1309
1327
  "properties": {
1310
1328
  "instrumentations": {
1311
1329
  "type": "array",
1312
- "description": "An array of instrumentations loaded if telemetry is enabled",
1330
+ "description": "An array of instrumentations loaded if tracing is enabled",
1313
1331
  "items": {
1314
1332
  "oneOf": [
1315
1333
  {
@@ -1336,7 +1354,8 @@
1336
1354
  ]
1337
1355
  }
1338
1356
  }
1339
- }
1357
+ },
1358
+ "title": "ApplicationTelemetryOverrides"
1340
1359
  },
1341
1360
  "compileCache": {
1342
1361
  "anyOf": [
@@ -1356,7 +1375,8 @@
1356
1375
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
1357
1376
  }
1358
1377
  },
1359
- "additionalProperties": false
1378
+ "additionalProperties": false,
1379
+ "title": "CompileCacheOptions"
1360
1380
  }
1361
1381
  ]
1362
1382
  },
@@ -1383,7 +1403,8 @@
1383
1403
  }
1384
1404
  ]
1385
1405
  }
1386
- }
1406
+ },
1407
+ "title": "ApplicationEntry"
1387
1408
  }
1388
1409
  },
1389
1410
  "web": {
@@ -1443,6 +1464,9 @@
1443
1464
  "url": {
1444
1465
  "type": "string"
1445
1466
  },
1467
+ "module": {
1468
+ "type": "string"
1469
+ },
1446
1470
  "gitBranch": {
1447
1471
  "type": "string",
1448
1472
  "default": "main"
@@ -1484,7 +1508,8 @@
1484
1508
  "minimum": 0,
1485
1509
  "maximum": 1
1486
1510
  }
1487
- }
1511
+ },
1512
+ "title": "ApplicationWorkersOptions"
1488
1513
  }
1489
1514
  ]
1490
1515
  },
@@ -1637,7 +1662,8 @@
1637
1662
  ]
1638
1663
  }
1639
1664
  },
1640
- "additionalProperties": false
1665
+ "additionalProperties": false,
1666
+ "title": "ApplicationHealthOptions"
1641
1667
  },
1642
1668
  "restartOnError": {
1643
1669
  "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.",
@@ -1736,14 +1762,15 @@
1736
1762
  "additionalProperties": false
1737
1763
  }
1738
1764
  },
1739
- "additionalProperties": false
1765
+ "additionalProperties": false,
1766
+ "title": "PermissionsOptions"
1740
1767
  },
1741
- "telemetry": {
1768
+ "tracing": {
1742
1769
  "type": "object",
1743
1770
  "properties": {
1744
1771
  "instrumentations": {
1745
1772
  "type": "array",
1746
- "description": "An array of instrumentations loaded if telemetry is enabled",
1773
+ "description": "An array of instrumentations loaded if tracing is enabled",
1747
1774
  "items": {
1748
1775
  "oneOf": [
1749
1776
  {
@@ -1770,7 +1797,8 @@
1770
1797
  ]
1771
1798
  }
1772
1799
  }
1773
- }
1800
+ },
1801
+ "title": "ApplicationTelemetryOverrides"
1774
1802
  },
1775
1803
  "compileCache": {
1776
1804
  "anyOf": [
@@ -1790,7 +1818,8 @@
1790
1818
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
1791
1819
  }
1792
1820
  },
1793
- "additionalProperties": false
1821
+ "additionalProperties": false,
1822
+ "title": "CompileCacheOptions"
1794
1823
  }
1795
1824
  ]
1796
1825
  },
@@ -1817,7 +1846,8 @@
1817
1846
  }
1818
1847
  ]
1819
1848
  }
1820
- }
1849
+ },
1850
+ "title": "ApplicationEntry"
1821
1851
  }
1822
1852
  },
1823
1853
  "workers": {
@@ -1874,7 +1904,8 @@
1874
1904
  "minimum": 0,
1875
1905
  "maximum": 1
1876
1906
  }
1877
- }
1907
+ },
1908
+ "title": "WorkersOptions"
1878
1909
  }
1879
1910
  ]
1880
1911
  },
@@ -2081,7 +2112,8 @@
2081
2112
  }
2082
2113
  },
2083
2114
  "default": {},
2084
- "additionalProperties": true
2115
+ "additionalProperties": true,
2116
+ "title": "RuntimeLoggerOptions"
2085
2117
  },
2086
2118
  "reuseTcpPorts": {
2087
2119
  "type": "boolean",
@@ -2153,7 +2185,8 @@
2153
2185
  "runtime",
2154
2186
  "application"
2155
2187
  ],
2156
- "additionalProperties": false
2188
+ "additionalProperties": false,
2189
+ "title": "GracefulShutdownOptions"
2157
2190
  },
2158
2191
  "health": {
2159
2192
  "type": "object",
@@ -2315,7 +2348,8 @@
2315
2348
  "default": 262144
2316
2349
  }
2317
2350
  },
2318
- "additionalProperties": false
2351
+ "additionalProperties": false,
2352
+ "title": "HealthOptions"
2319
2353
  },
2320
2354
  "healthProbes": {
2321
2355
  "anyOf": [
@@ -2432,7 +2466,8 @@
2432
2466
  ]
2433
2467
  }
2434
2468
  },
2435
- "additionalProperties": false
2469
+ "additionalProperties": false,
2470
+ "title": "HealthProbesOptions"
2436
2471
  }
2437
2472
  ],
2438
2473
  "default": true
@@ -2529,7 +2564,8 @@
2529
2564
  }
2530
2565
  ]
2531
2566
  }
2532
- }
2567
+ },
2568
+ "title": "UndiciOptions"
2533
2569
  },
2534
2570
  "httpCache": {
2535
2571
  "oneOf": [
@@ -2585,7 +2621,8 @@
2585
2621
  "default": "shared",
2586
2622
  "description": "Cache type. \"shared\" caches may be shared between users, \"private\" caches are user-specific."
2587
2623
  }
2588
- }
2624
+ },
2625
+ "title": "HttpCacheOptions"
2589
2626
  }
2590
2627
  ]
2591
2628
  },
@@ -2626,7 +2663,8 @@
2626
2663
  "description": "Custom path for the control socket. If not specified, uses the default platform-specific location."
2627
2664
  }
2628
2665
  },
2629
- "additionalProperties": false
2666
+ "additionalProperties": false,
2667
+ "title": "ManagementApiOptions"
2630
2668
  }
2631
2669
  ],
2632
2670
  "default": true
@@ -2779,7 +2817,8 @@
2779
2817
  "required": [
2780
2818
  "key",
2781
2819
  "cert"
2782
- ]
2820
+ ],
2821
+ "title": "HttpsOptions"
2783
2822
  },
2784
2823
  "auth": {
2785
2824
  "type": "object",
@@ -3058,11 +3097,13 @@
3058
3097
  }
3059
3098
  }
3060
3099
  },
3061
- "additionalProperties": false
3100
+ "additionalProperties": false,
3101
+ "title": "MetricsOptions"
3062
3102
  }
3063
- ]
3103
+ ],
3104
+ "default": false
3064
3105
  },
3065
- "telemetry": {
3106
+ "tracing": {
3066
3107
  "type": "object",
3067
3108
  "properties": {
3068
3109
  "enabled": {
@@ -3233,7 +3274,8 @@
3233
3274
  "required": [
3234
3275
  "applicationName"
3235
3276
  ],
3236
- "additionalProperties": false
3277
+ "additionalProperties": false,
3278
+ "title": "TelemetryOptions"
3237
3279
  },
3238
3280
  "verticalScaler": {
3239
3281
  "type": "object",
@@ -3520,7 +3562,8 @@
3520
3562
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
3521
3563
  }
3522
3564
  },
3523
- "additionalProperties": false
3565
+ "additionalProperties": false,
3566
+ "title": "CompileCacheOptions"
3524
3567
  }
3525
3568
  ]
3526
3569
  },