5etools-utils 0.16.9 → 0.16.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.16.9",
3
+ "version": "0.16.11",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2290,6 +2290,21 @@
2290
2290
  "martial"
2291
2291
  ],
2292
2292
  "markdownDescription": "All <simple|martial> weapons."
2293
+ },
2294
+ "skill": {
2295
+ "oneOf": [
2296
+ {
2297
+ "const": true
2298
+ },
2299
+ {
2300
+ "type": "array",
2301
+ "items": {
2302
+ "$ref": "#/$defs/skillNameLower"
2303
+ },
2304
+ "minItems": 1,
2305
+ "uniqueItems": true
2306
+ }
2307
+ ]
2293
2308
  }
2294
2309
  },
2295
2310
  "additionalProperties": false
@@ -2330,7 +2345,8 @@
2330
2345
  "examples": [
2331
2346
  "Dragonlance",
2332
2347
  "Planescape",
2333
- "Eberron"
2348
+ "Eberron",
2349
+ "Ravenloft"
2334
2350
  ]
2335
2351
  },
2336
2352
  "uniqueItems": true,
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2290,6 +2290,21 @@
2290
2290
  "martial"
2291
2291
  ],
2292
2292
  "markdownDescription": "All <simple|martial> weapons."
2293
+ },
2294
+ "skill": {
2295
+ "oneOf": [
2296
+ {
2297
+ "const": true
2298
+ },
2299
+ {
2300
+ "type": "array",
2301
+ "items": {
2302
+ "$ref": "#/$defs/skillNameLower"
2303
+ },
2304
+ "minItems": 1,
2305
+ "uniqueItems": true
2306
+ }
2307
+ ]
2293
2308
  }
2294
2309
  },
2295
2310
  "additionalProperties": false
@@ -2330,7 +2345,8 @@
2330
2345
  "examples": [
2331
2346
  "Dragonlance",
2332
2347
  "Planescape",
2333
- "Eberron"
2348
+ "Eberron",
2349
+ "Ravenloft"
2334
2350
  ]
2335
2351
  },
2336
2352
  "uniqueItems": true,
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2235,6 +2235,21 @@
2235
2235
  "martial"
2236
2236
  ],
2237
2237
  "markdownDescription": "All <simple|martial> weapons."
2238
+ },
2239
+ "skill": {
2240
+ "oneOf": [
2241
+ {
2242
+ "const": true
2243
+ },
2244
+ {
2245
+ "type": "array",
2246
+ "items": {
2247
+ "$ref": "#/$defs/skillNameLower"
2248
+ },
2249
+ "minItems": 1,
2250
+ "uniqueItems": true
2251
+ }
2252
+ ]
2238
2253
  }
2239
2254
  },
2240
2255
  "additionalProperties": false
@@ -2275,7 +2290,8 @@
2275
2290
  "enum": [
2276
2291
  "Dragonlance",
2277
2292
  "Planescape",
2278
- "Eberron"
2293
+ "Eberron",
2294
+ "Ravenloft"
2279
2295
  ]
2280
2296
  },
2281
2297
  "uniqueItems": true,
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2235,6 +2235,21 @@
2235
2235
  "martial"
2236
2236
  ],
2237
2237
  "markdownDescription": "All <simple|martial> weapons."
2238
+ },
2239
+ "skill": {
2240
+ "oneOf": [
2241
+ {
2242
+ "const": true
2243
+ },
2244
+ {
2245
+ "type": "array",
2246
+ "items": {
2247
+ "$ref": "#/$defs/skillNameLower"
2248
+ },
2249
+ "minItems": 1,
2250
+ "uniqueItems": true
2251
+ }
2252
+ ]
2238
2253
  }
2239
2254
  },
2240
2255
  "additionalProperties": false
@@ -2275,7 +2290,8 @@
2275
2290
  "enum": [
2276
2291
  "Dragonlance",
2277
2292
  "Planescape",
2278
- "Eberron"
2293
+ "Eberron",
2294
+ "Ravenloft"
2279
2295
  ]
2280
2296
  },
2281
2297
  "uniqueItems": true,
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2246,6 +2246,21 @@
2246
2246
  "martial"
2247
2247
  ],
2248
2248
  "markdownDescription": "All <simple|martial> weapons."
2249
+ },
2250
+ "skill": {
2251
+ "oneOf": [
2252
+ {
2253
+ "const": true
2254
+ },
2255
+ {
2256
+ "type": "array",
2257
+ "items": {
2258
+ "$ref": "#/$defs/skillNameLower"
2259
+ },
2260
+ "minItems": 1,
2261
+ "uniqueItems": true
2262
+ }
2263
+ ]
2249
2264
  }
2250
2265
  },
2251
2266
  "additionalProperties": false
@@ -2286,7 +2301,8 @@
2286
2301
  "enum": [
2287
2302
  "Dragonlance",
2288
2303
  "Planescape",
2289
- "Eberron"
2304
+ "Eberron",
2305
+ "Ravenloft"
2290
2306
  ]
2291
2307
  },
2292
2308
  "uniqueItems": true,
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.4",
6
+ "version": "1.18.6",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2246,6 +2246,21 @@
2246
2246
  "martial"
2247
2247
  ],
2248
2248
  "markdownDescription": "All <simple|martial> weapons."
2249
+ },
2250
+ "skill": {
2251
+ "oneOf": [
2252
+ {
2253
+ "const": true
2254
+ },
2255
+ {
2256
+ "type": "array",
2257
+ "items": {
2258
+ "$ref": "#/$defs/skillNameLower"
2259
+ },
2260
+ "minItems": 1,
2261
+ "uniqueItems": true
2262
+ }
2263
+ ]
2249
2264
  }
2250
2265
  },
2251
2266
  "additionalProperties": false
@@ -2286,7 +2301,8 @@
2286
2301
  "enum": [
2287
2302
  "Dragonlance",
2288
2303
  "Planescape",
2289
- "Eberron"
2304
+ "Eberron",
2305
+ "Ravenloft"
2290
2306
  ]
2291
2307
  },
2292
2308
  "uniqueItems": true,