wattpm 2.48.0 → 2.50.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 +84 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm",
3
- "version": "2.48.0",
3
+ "version": "2.50.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/config": "2.48.0",
40
- "@platformatic/basic": "2.48.0",
41
- "@platformatic/control": "2.48.0",
42
- "@platformatic/runtime": "2.48.0",
43
- "@platformatic/utils": "2.48.0"
39
+ "@platformatic/basic": "2.50.0",
40
+ "@platformatic/control": "2.50.0",
41
+ "@platformatic/config": "2.50.0",
42
+ "@platformatic/runtime": "2.50.0",
43
+ "@platformatic/utils": "2.50.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.48.0"
53
+ "@platformatic/node": "2.50.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.48.0.json",
2
+ "$id": "https://schemas.platformatic.dev/wattpm/2.50.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1153,9 +1153,89 @@
1153
1153
  "additionalProperties": {
1154
1154
  "type": "string"
1155
1155
  }
1156
- }
1157
- },
1158
- "additionalProperties": false
1156
+ },
1157
+ "readiness": {
1158
+ "anyOf": [
1159
+ {
1160
+ "type": "boolean"
1161
+ },
1162
+ {
1163
+ "type": "object",
1164
+ "properties": {
1165
+ "endpoint": {
1166
+ "type": "string"
1167
+ },
1168
+ "success": {
1169
+ "type": "object",
1170
+ "properties": {
1171
+ "statusCode": {
1172
+ "type": "number"
1173
+ },
1174
+ "body": {
1175
+ "type": "string"
1176
+ }
1177
+ },
1178
+ "additionalProperties": false
1179
+ },
1180
+ "fail": {
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "statusCode": {
1184
+ "type": "number"
1185
+ },
1186
+ "body": {
1187
+ "type": "string"
1188
+ }
1189
+ },
1190
+ "additionalProperties": false
1191
+ }
1192
+ },
1193
+ "additionalProperties": false
1194
+ }
1195
+ ]
1196
+ },
1197
+ "liveness": {
1198
+ "anyOf": [
1199
+ {
1200
+ "type": "boolean"
1201
+ },
1202
+ {
1203
+ "type": "object",
1204
+ "properties": {
1205
+ "endpoint": {
1206
+ "type": "string"
1207
+ },
1208
+ "success": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "statusCode": {
1212
+ "type": "number"
1213
+ },
1214
+ "body": {
1215
+ "type": "string"
1216
+ }
1217
+ },
1218
+ "additionalProperties": false
1219
+ },
1220
+ "fail": {
1221
+ "type": "object",
1222
+ "properties": {
1223
+ "statusCode": {
1224
+ "type": "number"
1225
+ },
1226
+ "body": {
1227
+ "type": "string"
1228
+ }
1229
+ },
1230
+ "additionalProperties": false
1231
+ }
1232
+ },
1233
+ "additionalProperties": false
1234
+ }
1235
+ ]
1236
+ },
1237
+ "additionalProperties": false
1238
+ }
1159
1239
  }
1160
1240
  ]
1161
1241
  },