5etools-utils 0.8.13 → 0.8.14

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.8.13",
3
+ "version": "0.8.14",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.6",
4
+ "version": "1.5.7",
5
5
  "$defs": {
6
6
  "itemPropertyLookupArray": {
7
7
  "type": "array",
@@ -368,6 +368,9 @@
368
368
  "type": "string"
369
369
  }
370
370
  },
371
+ "mastery": {
372
+ "$ref": "items-shared.json#/$defs/itemMastery"
373
+ },
371
374
  "hasFluff": {
372
375
  "type": "boolean"
373
376
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -255,6 +255,14 @@
255
255
  "sling bullet|phb"
256
256
  ]
257
257
  },
258
+ "itemMastery": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string"
262
+ },
263
+ "minItems": 1,
264
+ "uniqueItems": true
265
+ },
258
266
  "fluff": {
259
267
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source.",
260
268
  "anyOf": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -537,6 +537,9 @@
537
537
  ]
538
538
  }
539
539
  },
540
+ "mastery": {
541
+ "$ref": "items-shared.json#/$defs/itemMastery"
542
+ },
540
543
  "hasFluff": {
541
544
  "type": "boolean"
542
545
  },
@@ -1133,6 +1136,9 @@
1133
1136
  ]
1134
1137
  }
1135
1138
  },
1139
+ "mastery": {
1140
+ "$ref": "items-shared.json#/$defs/itemMastery"
1141
+ },
1136
1142
  "hasFluff": {
1137
1143
  "type": "boolean"
1138
1144
  },
@@ -1732,6 +1738,9 @@
1732
1738
  ]
1733
1739
  }
1734
1740
  },
1741
+ "mastery": {
1742
+ "$ref": "items-shared.json#/$defs/itemMastery"
1743
+ },
1735
1744
  "hasFluff": {
1736
1745
  "type": "boolean"
1737
1746
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.1",
4
+ "version": "1.8.2",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -253,6 +253,9 @@
253
253
  "reqAttuneAltTags": {
254
254
  "$ref": "util.json#/$defs/reqAttuneTags"
255
255
  },
256
+ "mastery": {
257
+ "$ref": "items-shared.json#/$defs/itemMastery"
258
+ },
256
259
  "hasRefs": {
257
260
  "type": "boolean",
258
261
  "description": "Whether this item has references within its data to dedicated \"itemEntry\"s."
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.6",
4
+ "version": "1.5.7",
5
5
  "$defs": {
6
6
  "itemPropertyLookupArray": {
7
7
  "type": "array",
@@ -368,6 +368,9 @@
368
368
  "type": "string"
369
369
  }
370
370
  },
371
+ "mastery": {
372
+ "$ref": "items-shared.json#/$defs/itemMastery"
373
+ },
371
374
  "hasFluff": {
372
375
  "type": "boolean"
373
376
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -255,6 +255,14 @@
255
255
  "sling bullet|phb"
256
256
  ]
257
257
  },
258
+ "itemMastery": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string"
262
+ },
263
+ "minItems": 1,
264
+ "uniqueItems": true
265
+ },
258
266
  "fluff": {
259
267
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source.",
260
268
  "anyOf": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -537,6 +537,9 @@
537
537
  ]
538
538
  }
539
539
  },
540
+ "mastery": {
541
+ "$ref": "items-shared.json#/$defs/itemMastery"
542
+ },
540
543
  "hasFluff": {
541
544
  "type": "boolean"
542
545
  },
@@ -1133,6 +1136,9 @@
1133
1136
  ]
1134
1137
  }
1135
1138
  },
1139
+ "mastery": {
1140
+ "$ref": "items-shared.json#/$defs/itemMastery"
1141
+ },
1136
1142
  "hasFluff": {
1137
1143
  "type": "boolean"
1138
1144
  },
@@ -1732,6 +1738,9 @@
1732
1738
  ]
1733
1739
  }
1734
1740
  },
1741
+ "mastery": {
1742
+ "$ref": "items-shared.json#/$defs/itemMastery"
1743
+ },
1735
1744
  "hasFluff": {
1736
1745
  "type": "boolean"
1737
1746
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.1",
4
+ "version": "1.8.2",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -253,6 +253,9 @@
253
253
  "reqAttuneAltTags": {
254
254
  "$ref": "util.json#/$defs/reqAttuneTags"
255
255
  },
256
+ "mastery": {
257
+ "$ref": "items-shared.json#/$defs/itemMastery"
258
+ },
256
259
  "hasRefs": {
257
260
  "type": "boolean",
258
261
  "description": "Whether this item has references within its data to dedicated \"itemEntry\"s."
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.6",
4
+ "version": "1.5.7",
5
5
  "$defs": {
6
6
  "itemPropertyLookupArray": {
7
7
  "type": "array",
@@ -373,6 +373,9 @@
373
373
  "type": "string"
374
374
  }
375
375
  },
376
+ "mastery": {
377
+ "$ref": "items-shared.json#/$defs/itemMastery"
378
+ },
376
379
  "hasFluff": {
377
380
  "type": "boolean"
378
381
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -254,6 +254,14 @@
254
254
  "renaissance bullet",
255
255
  "sling bullet|phb"
256
256
  ]
257
+ },
258
+ "itemMastery": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string"
262
+ },
263
+ "minItems": 1,
264
+ "uniqueItems": true
257
265
  }
258
266
  }
259
267
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -537,6 +537,9 @@
537
537
  ]
538
538
  }
539
539
  },
540
+ "mastery": {
541
+ "$ref": "items-shared.json#/$defs/itemMastery"
542
+ },
540
543
  "hasFluff": {
541
544
  "type": "boolean"
542
545
  },
@@ -1085,6 +1088,9 @@
1085
1088
  ]
1086
1089
  }
1087
1090
  },
1091
+ "mastery": {
1092
+ "$ref": "items-shared.json#/$defs/itemMastery"
1093
+ },
1088
1094
  "hasFluff": {
1089
1095
  "type": "boolean"
1090
1096
  },
@@ -1636,6 +1642,9 @@
1636
1642
  ]
1637
1643
  }
1638
1644
  },
1645
+ "mastery": {
1646
+ "$ref": "items-shared.json#/$defs/itemMastery"
1647
+ },
1639
1648
  "hasFluff": {
1640
1649
  "type": "boolean"
1641
1650
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.1",
4
+ "version": "1.8.2",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -251,6 +251,9 @@
251
251
  "reqAttuneAltTags": {
252
252
  "$ref": "util.json#/$defs/reqAttuneTags"
253
253
  },
254
+ "mastery": {
255
+ "$ref": "items-shared.json#/$defs/itemMastery"
256
+ },
254
257
  "hasRefs": {
255
258
  "type": "boolean",
256
259
  "description": "Whether this item has references within its data to dedicated \"itemEntry\"s."
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.6",
4
+ "version": "1.5.7",
5
5
  "$defs": {
6
6
  "itemPropertyLookupArray": {
7
7
  "type": "array",
@@ -373,6 +373,9 @@
373
373
  "type": "string"
374
374
  }
375
375
  },
376
+ "mastery": {
377
+ "$ref": "items-shared.json#/$defs/itemMastery"
378
+ },
376
379
  "hasFluff": {
377
380
  "type": "boolean"
378
381
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -254,6 +254,14 @@
254
254
  "renaissance bullet",
255
255
  "sling bullet|phb"
256
256
  ]
257
+ },
258
+ "itemMastery": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string"
262
+ },
263
+ "minItems": 1,
264
+ "uniqueItems": true
257
265
  }
258
266
  }
259
267
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -537,6 +537,9 @@
537
537
  ]
538
538
  }
539
539
  },
540
+ "mastery": {
541
+ "$ref": "items-shared.json#/$defs/itemMastery"
542
+ },
540
543
  "hasFluff": {
541
544
  "type": "boolean"
542
545
  },
@@ -1085,6 +1088,9 @@
1085
1088
  ]
1086
1089
  }
1087
1090
  },
1091
+ "mastery": {
1092
+ "$ref": "items-shared.json#/$defs/itemMastery"
1093
+ },
1088
1094
  "hasFluff": {
1089
1095
  "type": "boolean"
1090
1096
  },
@@ -1636,6 +1642,9 @@
1636
1642
  ]
1637
1643
  }
1638
1644
  },
1645
+ "mastery": {
1646
+ "$ref": "items-shared.json#/$defs/itemMastery"
1647
+ },
1639
1648
  "hasFluff": {
1640
1649
  "type": "boolean"
1641
1650
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.1",
4
+ "version": "1.8.2",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -251,6 +251,9 @@
251
251
  "reqAttuneAltTags": {
252
252
  "$ref": "util.json#/$defs/reqAttuneTags"
253
253
  },
254
+ "mastery": {
255
+ "$ref": "items-shared.json#/$defs/itemMastery"
256
+ },
254
257
  "hasRefs": {
255
258
  "type": "boolean",
256
259
  "description": "Whether this item has references within its data to dedicated \"itemEntry\"s."