@platformatic/composer 3.25.0 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/schema.json +259 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "3.25.0",
3
+ "version": "3.26.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "json-schema-to-typescript": "^15.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@platformatic/gateway": "3.25.0",
27
- "@platformatic/foundation": "3.25.0"
26
+ "@platformatic/gateway": "3.26.0",
27
+ "@platformatic/foundation": "3.26.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.25.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.26.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer Config",
5
5
  "type": "object",
@@ -917,6 +917,12 @@
917
917
  "nodeOptions": {
918
918
  "type": "string"
919
919
  },
920
+ "execArgv": {
921
+ "type": "array",
922
+ "items": {
923
+ "type": "string"
924
+ }
925
+ },
920
926
  "permissions": {
921
927
  "type": "object",
922
928
  "properties": {
@@ -2224,6 +2230,258 @@
2224
2230
  "deny"
2225
2231
  ],
2226
2232
  "additionalProperties": false
2233
+ },
2234
+ "application": {
2235
+ "type": "object",
2236
+ "properties": {
2237
+ "reuseTcpPorts": {
2238
+ "type": "boolean",
2239
+ "default": true
2240
+ },
2241
+ "workers": {
2242
+ "anyOf": [
2243
+ {
2244
+ "type": "number"
2245
+ },
2246
+ {
2247
+ "type": "string"
2248
+ },
2249
+ {
2250
+ "type": "object",
2251
+ "properties": {
2252
+ "static": {
2253
+ "type": "number",
2254
+ "minimum": 1
2255
+ },
2256
+ "minimum": {
2257
+ "type": "number",
2258
+ "minimum": 1
2259
+ },
2260
+ "maximum": {
2261
+ "type": "number",
2262
+ "minimum": 0
2263
+ }
2264
+ }
2265
+ }
2266
+ ]
2267
+ },
2268
+ "health": {
2269
+ "type": "object",
2270
+ "default": {},
2271
+ "properties": {
2272
+ "enabled": {
2273
+ "anyOf": [
2274
+ {
2275
+ "type": "boolean"
2276
+ },
2277
+ {
2278
+ "type": "string"
2279
+ }
2280
+ ]
2281
+ },
2282
+ "interval": {
2283
+ "anyOf": [
2284
+ {
2285
+ "type": "number",
2286
+ "minimum": 0
2287
+ },
2288
+ {
2289
+ "type": "string"
2290
+ }
2291
+ ]
2292
+ },
2293
+ "gracePeriod": {
2294
+ "anyOf": [
2295
+ {
2296
+ "type": "number",
2297
+ "minimum": 0
2298
+ },
2299
+ {
2300
+ "type": "string"
2301
+ }
2302
+ ]
2303
+ },
2304
+ "maxUnhealthyChecks": {
2305
+ "anyOf": [
2306
+ {
2307
+ "type": "number",
2308
+ "minimum": 1
2309
+ },
2310
+ {
2311
+ "type": "string"
2312
+ }
2313
+ ]
2314
+ },
2315
+ "maxELU": {
2316
+ "anyOf": [
2317
+ {
2318
+ "type": "number",
2319
+ "minimum": 0,
2320
+ "maximum": 1
2321
+ },
2322
+ {
2323
+ "type": "string"
2324
+ }
2325
+ ]
2326
+ },
2327
+ "maxHeapUsed": {
2328
+ "anyOf": [
2329
+ {
2330
+ "type": "number",
2331
+ "minimum": 0,
2332
+ "maximum": 1
2333
+ },
2334
+ {
2335
+ "type": "string"
2336
+ }
2337
+ ]
2338
+ },
2339
+ "maxHeapTotal": {
2340
+ "anyOf": [
2341
+ {
2342
+ "type": "number",
2343
+ "minimum": 0
2344
+ },
2345
+ {
2346
+ "type": "string"
2347
+ }
2348
+ ]
2349
+ },
2350
+ "maxYoungGeneration": {
2351
+ "anyOf": [
2352
+ {
2353
+ "type": "number",
2354
+ "minimum": 0
2355
+ },
2356
+ {
2357
+ "type": "string"
2358
+ }
2359
+ ]
2360
+ },
2361
+ "codeRangeSize": {
2362
+ "anyOf": [
2363
+ {
2364
+ "type": "number",
2365
+ "minimum": 0
2366
+ },
2367
+ {
2368
+ "type": "string"
2369
+ }
2370
+ ]
2371
+ }
2372
+ },
2373
+ "additionalProperties": false
2374
+ },
2375
+ "arguments": {
2376
+ "type": "array",
2377
+ "items": {
2378
+ "type": "string"
2379
+ }
2380
+ },
2381
+ "env": {
2382
+ "type": "object",
2383
+ "additionalProperties": {
2384
+ "type": "string"
2385
+ }
2386
+ },
2387
+ "envfile": {
2388
+ "type": "string"
2389
+ },
2390
+ "sourceMaps": {
2391
+ "type": "boolean"
2392
+ },
2393
+ "packageManager": {
2394
+ "type": "string",
2395
+ "enum": [
2396
+ "npm",
2397
+ "pnpm",
2398
+ "yarn"
2399
+ ]
2400
+ },
2401
+ "preload": {
2402
+ "anyOf": [
2403
+ {
2404
+ "type": "string",
2405
+ "resolvePath": true
2406
+ },
2407
+ {
2408
+ "type": "array",
2409
+ "items": {
2410
+ "type": "string",
2411
+ "resolvePath": true
2412
+ }
2413
+ }
2414
+ ]
2415
+ },
2416
+ "nodeOptions": {
2417
+ "type": "string"
2418
+ },
2419
+ "execArgv": {
2420
+ "type": "array",
2421
+ "items": {
2422
+ "type": "string"
2423
+ }
2424
+ },
2425
+ "permissions": {
2426
+ "type": "object",
2427
+ "properties": {
2428
+ "fs": {
2429
+ "type": "object",
2430
+ "properties": {
2431
+ "read": {
2432
+ "type": "array",
2433
+ "items": {
2434
+ "type": "string"
2435
+ }
2436
+ },
2437
+ "write": {
2438
+ "type": "array",
2439
+ "items": {
2440
+ "type": "string"
2441
+ }
2442
+ }
2443
+ },
2444
+ "additionalProperties": false
2445
+ }
2446
+ },
2447
+ "additionalProperties": false
2448
+ },
2449
+ "telemetry": {
2450
+ "type": "object",
2451
+ "properties": {
2452
+ "instrumentations": {
2453
+ "type": "array",
2454
+ "description": "An array of instrumentations loaded if telemetry is enabled",
2455
+ "items": {
2456
+ "oneOf": [
2457
+ {
2458
+ "type": "string"
2459
+ },
2460
+ {
2461
+ "type": "object",
2462
+ "properties": {
2463
+ "package": {
2464
+ "type": "string"
2465
+ },
2466
+ "exportName": {
2467
+ "type": "string"
2468
+ },
2469
+ "options": {
2470
+ "type": "object",
2471
+ "additionalProperties": true
2472
+ }
2473
+ },
2474
+ "required": [
2475
+ "package"
2476
+ ]
2477
+ }
2478
+ ]
2479
+ }
2480
+ }
2481
+ }
2482
+ }
2483
+ },
2484
+ "additionalProperties": false
2227
2485
  }
2228
2486
  },
2229
2487
  "additionalProperties": false