5etools-utils 0.17.13 → 0.17.15

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.17.13",
3
+ "version": "0.17.15",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.14",
3
+ "version": "2.13.0",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -1695,43 +1695,7 @@
1695
1695
  "$ref": "../util.json#/$defs/page"
1696
1696
  },
1697
1697
  "fluff": {
1698
- "oneOf": [
1699
- {
1700
- "$ref": "../util.json#/$defs/fluffObject"
1701
- },
1702
- {
1703
- "deprecated": true,
1704
- "type": "array",
1705
- "items": {
1706
- "type": "object",
1707
- "properties": {
1708
- "name": {
1709
- "type": "string"
1710
- },
1711
- "entries": {
1712
- "type": "array",
1713
- "items": {
1714
- "$ref": "../entry.json"
1715
- }
1716
- },
1717
- "page": {
1718
- "$ref": "../util.json#/$defs/page"
1719
- },
1720
- "source": {
1721
- "$ref": "../util.json#/$defs/source"
1722
- },
1723
- "type": {
1724
- "type": "string"
1725
- }
1726
- },
1727
- "required": [
1728
- "entries",
1729
- "source"
1730
- ],
1731
- "additionalProperties": false
1732
- }
1733
- }
1734
- ]
1698
+ "$ref": "../util.json#/$defs/fluffObject"
1735
1699
  },
1736
1700
  "additionalSpells": {
1737
1701
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -2003,43 +1967,7 @@
2003
1967
  "$ref": "../util.json#/$defs/page"
2004
1968
  },
2005
1969
  "fluff": {
2006
- "oneOf": [
2007
- {
2008
- "$ref": "../util.json#/$defs/fluffObject"
2009
- },
2010
- {
2011
- "deprecated": true,
2012
- "type": "array",
2013
- "items": {
2014
- "type": "object",
2015
- "properties": {
2016
- "name": {
2017
- "type": "string"
2018
- },
2019
- "entries": {
2020
- "type": "array",
2021
- "items": {
2022
- "$ref": "../entry.json"
2023
- }
2024
- },
2025
- "page": {
2026
- "$ref": "../util.json#/$defs/page"
2027
- },
2028
- "source": {
2029
- "$ref": "../util.json#/$defs/source"
2030
- },
2031
- "type": {
2032
- "type": "string"
2033
- }
2034
- },
2035
- "required": [
2036
- "entries",
2037
- "source"
2038
- ],
2039
- "additionalProperties": false
2040
- }
2041
- }
2042
- ]
1970
+ "$ref": "../util.json#/$defs/fluffObject"
2043
1971
  },
2044
1972
  "additionalSpells": {
2045
1973
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -2314,43 +2242,7 @@
2314
2242
  "$ref": "../util.json#/$defs/page"
2315
2243
  },
2316
2244
  "fluff": {
2317
- "oneOf": [
2318
- {
2319
- "$ref": "../util.json#/$defs/fluffObject"
2320
- },
2321
- {
2322
- "deprecated": true,
2323
- "type": "array",
2324
- "items": {
2325
- "type": "object",
2326
- "properties": {
2327
- "name": {
2328
- "type": "string"
2329
- },
2330
- "entries": {
2331
- "type": "array",
2332
- "items": {
2333
- "$ref": "../entry.json"
2334
- }
2335
- },
2336
- "page": {
2337
- "$ref": "../util.json#/$defs/page"
2338
- },
2339
- "source": {
2340
- "$ref": "../util.json#/$defs/source"
2341
- },
2342
- "type": {
2343
- "type": "string"
2344
- }
2345
- },
2346
- "required": [
2347
- "entries",
2348
- "source"
2349
- ],
2350
- "additionalProperties": false
2351
- }
2352
- }
2353
- ]
2245
+ "$ref": "../util.json#/$defs/fluffObject"
2354
2246
  },
2355
2247
  "additionalSpells": {
2356
2248
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "cultsboons.json",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cultData": {
@@ -343,17 +343,8 @@
343
343
  "Demonic"
344
344
  ]
345
345
  },
346
- "ability": {
347
- "type": "object",
348
- "properties": {
349
- "entry": {
350
- "$ref": "entry.json"
351
- }
352
- },
353
- "required": [
354
- "entry"
355
- ],
356
- "additionalProperties": false
346
+ "abilityEntry": {
347
+ "$ref": "entry.json"
357
348
  },
358
349
  "signatureSpells": {
359
350
  "type": "object",
@@ -427,17 +418,8 @@
427
418
  "Demonic"
428
419
  ]
429
420
  },
430
- "ability": {
431
- "type": "object",
432
- "properties": {
433
- "entry": {
434
- "$ref": "entry.json"
435
- }
436
- },
437
- "required": [
438
- "entry"
439
- ],
440
- "additionalProperties": false
421
+ "abilityEntry": {
422
+ "$ref": "entry.json"
441
423
  },
442
424
  "signatureSpells": {
443
425
  "type": "object",
@@ -515,17 +497,8 @@
515
497
  "Demonic"
516
498
  ]
517
499
  },
518
- "ability": {
519
- "type": "object",
520
- "properties": {
521
- "entry": {
522
- "$ref": "entry.json"
523
- }
524
- },
525
- "required": [
526
- "entry"
527
- ],
528
- "additionalProperties": false
500
+ "abilityEntry": {
501
+ "$ref": "entry.json"
529
502
  },
530
503
  "signatureSpells": {
531
504
  "type": "object",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.1",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -42,17 +42,8 @@
42
42
  "Piety Trait"
43
43
  ]
44
44
  },
45
- "ability": {
46
- "type": "object",
47
- "properties": {
48
- "entry": {
49
- "$ref": "entry.json"
50
- }
51
- },
52
- "required": [
53
- "entry"
54
- ],
55
- "additionalProperties": false
45
+ "abilityEntry": {
46
+ "$ref": "entry.json"
56
47
  },
57
48
  "rarity": {
58
49
  "$ref": "util.json#/$defs/rarity"
@@ -147,17 +138,8 @@
147
138
  "Piety Trait"
148
139
  ]
149
140
  },
150
- "ability": {
151
- "type": "object",
152
- "properties": {
153
- "entry": {
154
- "$ref": "entry.json"
155
- }
156
- },
157
- "required": [
158
- "entry"
159
- ],
160
- "additionalProperties": false
141
+ "abilityEntry": {
142
+ "$ref": "entry.json"
161
143
  },
162
144
  "rarity": {
163
145
  "$ref": "util.json#/$defs/rarity"
@@ -256,17 +238,8 @@
256
238
  "Piety Trait"
257
239
  ]
258
240
  },
259
- "ability": {
260
- "type": "object",
261
- "properties": {
262
- "entry": {
263
- "$ref": "entry.json"
264
- }
265
- },
266
- "required": [
267
- "entry"
268
- ],
269
- "additionalProperties": false
241
+ "abilityEntry": {
242
+ "$ref": "entry.json"
270
243
  },
271
244
  "rarity": {
272
245
  "$ref": "util.json#/$defs/rarity"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.14",
3
+ "version": "2.13.0",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -1695,43 +1695,7 @@
1695
1695
  "$ref": "../util.json#/$defs/page"
1696
1696
  },
1697
1697
  "fluff": {
1698
- "oneOf": [
1699
- {
1700
- "$ref": "../util.json#/$defs/fluffObject"
1701
- },
1702
- {
1703
- "deprecated": true,
1704
- "type": "array",
1705
- "items": {
1706
- "type": "object",
1707
- "properties": {
1708
- "name": {
1709
- "type": "string"
1710
- },
1711
- "entries": {
1712
- "type": "array",
1713
- "items": {
1714
- "$ref": "../entry.json"
1715
- }
1716
- },
1717
- "page": {
1718
- "$ref": "../util.json#/$defs/page"
1719
- },
1720
- "source": {
1721
- "$ref": "../util.json#/$defs/source"
1722
- },
1723
- "type": {
1724
- "type": "string"
1725
- }
1726
- },
1727
- "required": [
1728
- "entries",
1729
- "source"
1730
- ],
1731
- "additionalProperties": false
1732
- }
1733
- }
1734
- ]
1698
+ "$ref": "../util.json#/$defs/fluffObject"
1735
1699
  },
1736
1700
  "additionalSpells": {
1737
1701
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -2003,43 +1967,7 @@
2003
1967
  "$ref": "../util.json#/$defs/page"
2004
1968
  },
2005
1969
  "fluff": {
2006
- "oneOf": [
2007
- {
2008
- "$ref": "../util.json#/$defs/fluffObject"
2009
- },
2010
- {
2011
- "deprecated": true,
2012
- "type": "array",
2013
- "items": {
2014
- "type": "object",
2015
- "properties": {
2016
- "name": {
2017
- "type": "string"
2018
- },
2019
- "entries": {
2020
- "type": "array",
2021
- "items": {
2022
- "$ref": "../entry.json"
2023
- }
2024
- },
2025
- "page": {
2026
- "$ref": "../util.json#/$defs/page"
2027
- },
2028
- "source": {
2029
- "$ref": "../util.json#/$defs/source"
2030
- },
2031
- "type": {
2032
- "type": "string"
2033
- }
2034
- },
2035
- "required": [
2036
- "entries",
2037
- "source"
2038
- ],
2039
- "additionalProperties": false
2040
- }
2041
- }
2042
- ]
1970
+ "$ref": "../util.json#/$defs/fluffObject"
2043
1971
  },
2044
1972
  "additionalSpells": {
2045
1973
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -2314,43 +2242,7 @@
2314
2242
  "$ref": "../util.json#/$defs/page"
2315
2243
  },
2316
2244
  "fluff": {
2317
- "oneOf": [
2318
- {
2319
- "$ref": "../util.json#/$defs/fluffObject"
2320
- },
2321
- {
2322
- "deprecated": true,
2323
- "type": "array",
2324
- "items": {
2325
- "type": "object",
2326
- "properties": {
2327
- "name": {
2328
- "type": "string"
2329
- },
2330
- "entries": {
2331
- "type": "array",
2332
- "items": {
2333
- "$ref": "../entry.json"
2334
- }
2335
- },
2336
- "page": {
2337
- "$ref": "../util.json#/$defs/page"
2338
- },
2339
- "source": {
2340
- "$ref": "../util.json#/$defs/source"
2341
- },
2342
- "type": {
2343
- "type": "string"
2344
- }
2345
- },
2346
- "required": [
2347
- "entries",
2348
- "source"
2349
- ],
2350
- "additionalProperties": false
2351
- }
2352
- }
2353
- ]
2245
+ "$ref": "../util.json#/$defs/fluffObject"
2354
2246
  },
2355
2247
  "additionalSpells": {
2356
2248
  "$ref": "../util-additionalspells.json#/$defs/additionalSpellsArray"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "cultsboons.json",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cultData": {
@@ -343,17 +343,8 @@
343
343
  "Demonic"
344
344
  ]
345
345
  },
346
- "ability": {
347
- "type": "object",
348
- "properties": {
349
- "entry": {
350
- "$ref": "entry.json"
351
- }
352
- },
353
- "required": [
354
- "entry"
355
- ],
356
- "additionalProperties": false
346
+ "abilityEntry": {
347
+ "$ref": "entry.json"
357
348
  },
358
349
  "signatureSpells": {
359
350
  "type": "object",
@@ -427,17 +418,8 @@
427
418
  "Demonic"
428
419
  ]
429
420
  },
430
- "ability": {
431
- "type": "object",
432
- "properties": {
433
- "entry": {
434
- "$ref": "entry.json"
435
- }
436
- },
437
- "required": [
438
- "entry"
439
- ],
440
- "additionalProperties": false
421
+ "abilityEntry": {
422
+ "$ref": "entry.json"
441
423
  },
442
424
  "signatureSpells": {
443
425
  "type": "object",
@@ -515,17 +497,8 @@
515
497
  "Demonic"
516
498
  ]
517
499
  },
518
- "ability": {
519
- "type": "object",
520
- "properties": {
521
- "entry": {
522
- "$ref": "entry.json"
523
- }
524
- },
525
- "required": [
526
- "entry"
527
- ],
528
- "additionalProperties": false
500
+ "abilityEntry": {
501
+ "$ref": "entry.json"
529
502
  },
530
503
  "signatureSpells": {
531
504
  "type": "object",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.1",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -42,17 +42,8 @@
42
42
  "Piety Trait"
43
43
  ]
44
44
  },
45
- "ability": {
46
- "type": "object",
47
- "properties": {
48
- "entry": {
49
- "$ref": "entry.json"
50
- }
51
- },
52
- "required": [
53
- "entry"
54
- ],
55
- "additionalProperties": false
45
+ "abilityEntry": {
46
+ "$ref": "entry.json"
56
47
  },
57
48
  "rarity": {
58
49
  "$ref": "util.json#/$defs/rarity"
@@ -147,17 +138,8 @@
147
138
  "Piety Trait"
148
139
  ]
149
140
  },
150
- "ability": {
151
- "type": "object",
152
- "properties": {
153
- "entry": {
154
- "$ref": "entry.json"
155
- }
156
- },
157
- "required": [
158
- "entry"
159
- ],
160
- "additionalProperties": false
141
+ "abilityEntry": {
142
+ "$ref": "entry.json"
161
143
  },
162
144
  "rarity": {
163
145
  "$ref": "util.json#/$defs/rarity"
@@ -256,17 +238,8 @@
256
238
  "Piety Trait"
257
239
  ]
258
240
  },
259
- "ability": {
260
- "type": "object",
261
- "properties": {
262
- "entry": {
263
- "$ref": "entry.json"
264
- }
265
- },
266
- "required": [
267
- "entry"
268
- ],
269
- "additionalProperties": false
241
+ "abilityEntry": {
242
+ "$ref": "entry.json"
270
243
  },
271
244
  "rarity": {
272
245
  "$ref": "util.json#/$defs/rarity"