5etools-utils 0.4.9 → 0.4.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.4.9",
3
+ "version": "0.4.11",
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": "encounters.json",
4
- "version": "1.2.5",
4
+ "version": "1.3.0",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -37,8 +37,8 @@
37
37
  "maxlvl": {
38
38
  "type": "integer"
39
39
  },
40
- "diceType": {
41
- "type": "integer"
40
+ "diceExpression": {
41
+ "type": "string"
42
42
  },
43
43
  "rollAttitude": {
44
44
  "type": "boolean"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "names.json",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "title": "NameArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,8 +31,8 @@
31
31
  "option": {
32
32
  "type": "string"
33
33
  },
34
- "diceType": {
35
- "type": "integer"
34
+ "diceExpression": {
35
+ "type": "string"
36
36
  },
37
37
  "table": {
38
38
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.1",
4
+ "version": "1.9.2",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -512,6 +512,26 @@
512
512
  "minItems": 1,
513
513
  "uniqueItems": true
514
514
  },
515
+ "groups": {
516
+ "type": "array",
517
+ "items": {
518
+ "type": "object",
519
+ "properties": {
520
+ "name": {
521
+ "type": "string"
522
+ },
523
+ "source": {
524
+ "type": "string"
525
+ }
526
+ },
527
+ "required": [
528
+ "name",
529
+ "source"
530
+ ]
531
+ },
532
+ "minItems": 1,
533
+ "uniqueItems": true
534
+ },
515
535
  "subschools": {
516
536
  "description": "For homebrew use only.",
517
537
  "type": "array",
@@ -1052,6 +1072,26 @@
1052
1072
  "minItems": 1,
1053
1073
  "uniqueItems": true
1054
1074
  },
1075
+ "groups": {
1076
+ "type": "array",
1077
+ "items": {
1078
+ "type": "object",
1079
+ "properties": {
1080
+ "name": {
1081
+ "type": "string"
1082
+ },
1083
+ "source": {
1084
+ "type": "string"
1085
+ }
1086
+ },
1087
+ "required": [
1088
+ "name",
1089
+ "source"
1090
+ ]
1091
+ },
1092
+ "minItems": 1,
1093
+ "uniqueItems": true
1094
+ },
1055
1095
  "subschools": {
1056
1096
  "description": "For homebrew use only.",
1057
1097
  "type": "array",
@@ -1600,6 +1640,26 @@
1600
1640
  "minItems": 1,
1601
1641
  "uniqueItems": true
1602
1642
  },
1643
+ "groups": {
1644
+ "type": "array",
1645
+ "items": {
1646
+ "type": "object",
1647
+ "properties": {
1648
+ "name": {
1649
+ "type": "string"
1650
+ },
1651
+ "source": {
1652
+ "type": "string"
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "name",
1657
+ "source"
1658
+ ]
1659
+ },
1660
+ "minItems": 1,
1661
+ "uniqueItems": true
1662
+ },
1603
1663
  "subschools": {
1604
1664
  "description": "For homebrew use only.",
1605
1665
  "type": "array",
@@ -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.2.5",
4
+ "version": "1.3.0",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -37,8 +37,8 @@
37
37
  "maxlvl": {
38
38
  "type": "integer"
39
39
  },
40
- "diceType": {
41
- "type": "integer"
40
+ "diceExpression": {
41
+ "type": "string"
42
42
  },
43
43
  "rollAttitude": {
44
44
  "type": "boolean"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "names.json",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "title": "NameArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,8 +31,8 @@
31
31
  "option": {
32
32
  "type": "string"
33
33
  },
34
- "diceType": {
35
- "type": "integer"
34
+ "diceExpression": {
35
+ "type": "string"
36
36
  },
37
37
  "table": {
38
38
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.1",
4
+ "version": "1.9.2",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -512,6 +512,26 @@
512
512
  "minItems": 1,
513
513
  "uniqueItems": true
514
514
  },
515
+ "groups": {
516
+ "type": "array",
517
+ "items": {
518
+ "type": "object",
519
+ "properties": {
520
+ "name": {
521
+ "type": "string"
522
+ },
523
+ "source": {
524
+ "type": "string"
525
+ }
526
+ },
527
+ "required": [
528
+ "name",
529
+ "source"
530
+ ]
531
+ },
532
+ "minItems": 1,
533
+ "uniqueItems": true
534
+ },
515
535
  "subschools": {
516
536
  "description": "For homebrew use only.",
517
537
  "type": "array",
@@ -1052,6 +1072,26 @@
1052
1072
  "minItems": 1,
1053
1073
  "uniqueItems": true
1054
1074
  },
1075
+ "groups": {
1076
+ "type": "array",
1077
+ "items": {
1078
+ "type": "object",
1079
+ "properties": {
1080
+ "name": {
1081
+ "type": "string"
1082
+ },
1083
+ "source": {
1084
+ "type": "string"
1085
+ }
1086
+ },
1087
+ "required": [
1088
+ "name",
1089
+ "source"
1090
+ ]
1091
+ },
1092
+ "minItems": 1,
1093
+ "uniqueItems": true
1094
+ },
1055
1095
  "subschools": {
1056
1096
  "description": "For homebrew use only.",
1057
1097
  "type": "array",
@@ -1600,6 +1640,26 @@
1600
1640
  "minItems": 1,
1601
1641
  "uniqueItems": true
1602
1642
  },
1643
+ "groups": {
1644
+ "type": "array",
1645
+ "items": {
1646
+ "type": "object",
1647
+ "properties": {
1648
+ "name": {
1649
+ "type": "string"
1650
+ },
1651
+ "source": {
1652
+ "type": "string"
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "name",
1657
+ "source"
1658
+ ]
1659
+ },
1660
+ "minItems": 1,
1661
+ "uniqueItems": true
1662
+ },
1603
1663
  "subschools": {
1604
1664
  "description": "For homebrew use only.",
1605
1665
  "type": "array",
@@ -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.2.5",
4
+ "version": "1.3.0",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -37,8 +37,8 @@
37
37
  "maxlvl": {
38
38
  "type": "integer"
39
39
  },
40
- "diceType": {
41
- "type": "integer"
40
+ "diceExpression": {
41
+ "type": "string"
42
42
  },
43
43
  "rollAttitude": {
44
44
  "type": "boolean"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "names.json",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "title": "NameArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,8 +31,8 @@
31
31
  "option": {
32
32
  "type": "string"
33
33
  },
34
- "diceType": {
35
- "type": "integer"
34
+ "diceExpression": {
35
+ "type": "string"
36
36
  },
37
37
  "table": {
38
38
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.1",
4
+ "version": "1.9.2",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -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.2.5",
4
+ "version": "1.3.0",
5
5
  "title": "EncounterArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -37,8 +37,8 @@
37
37
  "maxlvl": {
38
38
  "type": "integer"
39
39
  },
40
- "diceType": {
41
- "type": "integer"
40
+ "diceExpression": {
41
+ "type": "string"
42
42
  },
43
43
  "rollAttitude": {
44
44
  "type": "boolean"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "names.json",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "title": "NameArray",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -31,8 +31,8 @@
31
31
  "option": {
32
32
  "type": "string"
33
33
  },
34
- "diceType": {
35
- "type": "integer"
34
+ "diceExpression": {
35
+ "type": "string"
36
36
  },
37
37
  "table": {
38
38
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.1",
4
+ "version": "1.9.2",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {