5etools-utils 0.9.32 → 0.9.34

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.32",
3
+ "version": "0.9.34",
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": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  },
200
202
  "alAveragePlayerLevel": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -372,7 +372,14 @@
372
372
  "type": "string"
373
373
  },
374
374
  "source": {
375
- "$ref": "util.json#/$defs/source"
375
+ "anyOf": [
376
+ {
377
+ "$ref": "util.json#/$defs/source"
378
+ },
379
+ {
380
+ "const": "*"
381
+ }
382
+ ]
376
383
  }
377
384
  },
378
385
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  },
200
202
  "alAveragePlayerLevel": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -370,7 +370,14 @@
370
370
  "type": "string"
371
371
  },
372
372
  "source": {
373
- "$ref": "util.json#/$defs/source"
373
+ "anyOf": [
374
+ {
375
+ "$ref": "util.json#/$defs/source"
376
+ },
377
+ {
378
+ "const": "*"
379
+ }
380
+ ]
374
381
  }
375
382
  },
376
383
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  }
200
202
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -372,7 +372,14 @@
372
372
  "type": "string"
373
373
  },
374
374
  "source": {
375
- "$ref": "util.json#/$defs/source"
375
+ "anyOf": [
376
+ {
377
+ "$ref": "util.json#/$defs/source"
378
+ },
379
+ {
380
+ "const": "*"
381
+ }
382
+ ]
376
383
  }
377
384
  },
378
385
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  }
200
202
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -370,7 +370,14 @@
370
370
  "type": "string"
371
371
  },
372
372
  "source": {
373
- "$ref": "util.json#/$defs/source"
373
+ "anyOf": [
374
+ {
375
+ "$ref": "util.json#/$defs/source"
376
+ },
377
+ {
378
+ "const": "*"
379
+ }
380
+ ]
374
381
  }
375
382
  },
376
383
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  }
200
202
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -372,7 +372,14 @@
372
372
  "type": "string"
373
373
  },
374
374
  "source": {
375
- "$ref": "util.json#/$defs/source"
375
+ "anyOf": [
376
+ {
377
+ "$ref": "util.json#/$defs/source"
378
+ },
379
+ {
380
+ "const": "*"
381
+ }
382
+ ]
376
383
  }
377
384
  },
378
385
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.13",
4
+ "version": "1.10.14",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -194,7 +194,9 @@
194
194
  "Dragonlance",
195
195
  "Keys from the Golden Vault",
196
196
  "Giants of the Star Forge",
197
- "Minecraft"
197
+ "Minecraft",
198
+ "Planescape",
199
+ "Adventure Atlas"
198
200
  ]
199
201
  }
200
202
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounters.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,6 +31,9 @@
31
31
  "encounterTable": {
32
32
  "type": "object",
33
33
  "properties": {
34
+ "caption": {
35
+ "type": "string"
36
+ },
34
37
  "minlvl": {
35
38
  "type": "integer"
36
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -370,7 +370,14 @@
370
370
  "type": "string"
371
371
  },
372
372
  "source": {
373
- "$ref": "util.json#/$defs/source"
373
+ "anyOf": [
374
+ {
375
+ "$ref": "util.json#/$defs/source"
376
+ },
377
+ {
378
+ "const": "*"
379
+ }
380
+ ]
374
381
  }
375
382
  },
376
383
  "required": [