wattpm 2.53.2 → 2.54.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 +7 -7
  2. package/schema.json +67 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm",
3
- "version": "2.53.2",
3
+ "version": "2.54.0",
4
4
  "description": "The Node.js Application Server",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -36,11 +36,11 @@
36
36
  "semver": "^7.7.0",
37
37
  "split2": "^4.2.0",
38
38
  "table": "^6.8.2",
39
- "@platformatic/basic": "2.53.2",
40
- "@platformatic/config": "2.53.2",
41
- "@platformatic/control": "2.53.2",
42
- "@platformatic/runtime": "2.53.2",
43
- "@platformatic/utils": "2.53.2"
39
+ "@platformatic/basic": "2.54.0",
40
+ "@platformatic/utils": "2.54.0",
41
+ "@platformatic/config": "2.54.0",
42
+ "@platformatic/control": "2.54.0",
43
+ "@platformatic/runtime": "2.54.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "borp": "^0.19.0",
@@ -50,7 +50,7 @@
50
50
  "neostandard": "^0.12.0",
51
51
  "typescript": "^5.5.4",
52
52
  "undici": "^7.0.0",
53
- "@platformatic/node": "2.53.2"
53
+ "@platformatic/node": "2.54.0"
54
54
  },
55
55
  "scripts": {
56
56
  "test": "npm run lint && borp --concurrency=1 --timeout=300000",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/wattpm/2.53.2.json",
2
+ "$id": "https://schemas.platformatic.dev/wattpm/2.54.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1412,6 +1412,72 @@
1412
1412
  "sourceMaps": {
1413
1413
  "type": "boolean",
1414
1414
  "default": false
1415
+ },
1416
+ "scheduler": {
1417
+ "type": "array",
1418
+ "items": {
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "enabled": {
1422
+ "anyOf": [
1423
+ {
1424
+ "type": "boolean"
1425
+ },
1426
+ {
1427
+ "type": "string"
1428
+ }
1429
+ ],
1430
+ "default": true
1431
+ },
1432
+ "name": {
1433
+ "type": "string"
1434
+ },
1435
+ "cron": {
1436
+ "type": "string"
1437
+ },
1438
+ "callbackUrl": {
1439
+ "type": "string"
1440
+ },
1441
+ "method": {
1442
+ "type": "string",
1443
+ "enum": [
1444
+ "GET",
1445
+ "POST",
1446
+ "PUT",
1447
+ "PATCH",
1448
+ "DELETE"
1449
+ ],
1450
+ "default": "GET"
1451
+ },
1452
+ "headers": {
1453
+ "type": "object",
1454
+ "additionalProperties": {
1455
+ "type": "string"
1456
+ }
1457
+ },
1458
+ "body": {
1459
+ "anyOf": [
1460
+ {
1461
+ "type": "string"
1462
+ },
1463
+ {
1464
+ "type": "object",
1465
+ "additionalProperties": true
1466
+ }
1467
+ ]
1468
+ },
1469
+ "maxRetries": {
1470
+ "type": "number",
1471
+ "minimum": 0,
1472
+ "default": 3
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "name",
1477
+ "cron",
1478
+ "callbackUrl"
1479
+ ]
1480
+ }
1415
1481
  }
1416
1482
  },
1417
1483
  "anyOf": [