5etools-utils 0.9.28 → 0.9.30

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.9.28",
3
+ "version": "0.9.30",
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": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -2141,7 +2141,7 @@
2141
2141
  "dataOptionalfeatureType": {
2142
2142
  "type": "string",
2143
2143
  "description": "AF: Alchemical Formula\n AI: Artificer Infusion\n AS: Arcane Shot\n AS:V1-UA: Arcane Shot, V1 (UA)\n AS:V2-UA: Arcane Shot, V2 (UA)\n ED: Elemental Discipline\n EI: Eldritch Invocation\n FS:B: Fighting Style; Bard\n FS:F: Fighting Style; Fighter\n FS:P: Fighting Style; Paladin\n FS:R: Fighting Style; Ranger\n IWM:A: Infernal War Machine Upgrade, Armor\n IWM:G: Infernal War Machine Upgrade, Gadget\n IWM:W: Infernal War Machine Variant, Weapon\n MM: Metamagic\n MV: Maneuver\n MV:B: Maneuver, Battle Master\n MV:C2-UA: Maneuver, Cavalier V2 (UA)\n OR: Onomancy Resonant\n OTH: Other\n PB: Pact Boon\n RN: Rune Knight Rune\n SHP:F: Ship Upgrade, Figurehead\n SHP:H: Ship Upgrade, Hull\n SHP:M: Ship Upgrade, Movement\n SHP:O: Ship Upgrade, Miscellaneous\n SHP:W: Ship Upgrade, Weapon",
2144
- "enum": [
2144
+ "examples": [
2145
2145
  "ED",
2146
2146
  "EI",
2147
2147
  "MM",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.2.9",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -17,7 +17,11 @@
17
17
  "$ref": "util.json#/$defs/page"
18
18
  },
19
19
  "size": {
20
- "$ref": "util.json#/$defs/size"
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "util.json#/$defs/size"
23
+ },
24
+ "uniqueItems": true
21
25
  },
22
26
  "creatureType": {
23
27
  "$ref": "util.json#/$defs/creatureType"
@@ -2141,7 +2141,7 @@
2141
2141
  "dataOptionalfeatureType": {
2142
2142
  "type": "string",
2143
2143
  "description": "AF: Alchemical Formula\n AI: Artificer Infusion\n AS: Arcane Shot\n AS:V1-UA: Arcane Shot, V1 (UA)\n AS:V2-UA: Arcane Shot, V2 (UA)\n ED: Elemental Discipline\n EI: Eldritch Invocation\n FS:B: Fighting Style; Bard\n FS:F: Fighting Style; Fighter\n FS:P: Fighting Style; Paladin\n FS:R: Fighting Style; Ranger\n IWM:A: Infernal War Machine Upgrade, Armor\n IWM:G: Infernal War Machine Upgrade, Gadget\n IWM:W: Infernal War Machine Variant, Weapon\n MM: Metamagic\n MV: Maneuver\n MV:B: Maneuver, Battle Master\n MV:C2-UA: Maneuver, Cavalier V2 (UA)\n OR: Onomancy Resonant\n OTH: Other\n PB: Pact Boon\n RN: Rune Knight Rune\n SHP:F: Ship Upgrade, Figurehead\n SHP:H: Ship Upgrade, Hull\n SHP:M: Ship Upgrade, Movement\n SHP:O: Ship Upgrade, Miscellaneous\n SHP:W: Ship Upgrade, Weapon",
2144
- "enum": [
2144
+ "examples": [
2145
2145
  "ED",
2146
2146
  "EI",
2147
2147
  "MM",