5etools-utils 0.11.0 → 0.11.2

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.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1964,6 +1964,16 @@
1964
1964
  "deity-symbol"
1965
1965
  ]
1966
1966
  },
1967
+ "expectsLightBackground": {
1968
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1969
+ "type": "boolean",
1970
+ "const": true
1971
+ },
1972
+ "expectsDarkBackground": {
1973
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1974
+ "type": "boolean",
1975
+ "const": true
1976
+ },
1967
1977
  "foundrySceneRoot": {
1968
1978
  "description": "Additional data to be applied if/when the image is used to create a scene in Foundry.\nSome properties are forbidden, as they should be provided/are implicit in non-Foundry-specific data on the entry.",
1969
1979
  "type": "object",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -746,10 +746,12 @@
746
746
  "additionalProperties": false,
747
747
  "required": [
748
748
  "hp",
749
- "dt",
750
- "mt"
749
+ "dt"
751
750
  ]
752
751
  },
752
+ "ac": {
753
+ "type": "integer"
754
+ },
753
755
  "resist": {
754
756
  "$ref": "util.json#/$defs/damageResistArray"
755
757
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1964,6 +1964,16 @@
1964
1964
  "deity-symbol"
1965
1965
  ]
1966
1966
  },
1967
+ "expectsLightBackground": {
1968
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1969
+ "type": "boolean",
1970
+ "const": true
1971
+ },
1972
+ "expectsDarkBackground": {
1973
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1974
+ "type": "boolean",
1975
+ "const": true
1976
+ },
1967
1977
  "foundrySceneRoot": {
1968
1978
  "description": "Additional data to be applied if/when the image is used to create a scene in Foundry.\nSome properties are forbidden, as they should be provided/are implicit in non-Foundry-specific data on the entry.",
1969
1979
  "type": "object",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -746,10 +746,12 @@
746
746
  "additionalProperties": false,
747
747
  "required": [
748
748
  "hp",
749
- "dt",
750
- "mt"
749
+ "dt"
751
750
  ]
752
751
  },
752
+ "ac": {
753
+ "type": "integer"
754
+ },
753
755
  "resist": {
754
756
  "$ref": "util.json#/$defs/damageResistArray"
755
757
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1935,6 +1935,16 @@
1935
1935
  "comic-speaker-right",
1936
1936
  "deity-symbol"
1937
1937
  ]
1938
+ },
1939
+ "expectsLightBackground": {
1940
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1941
+ "type": "boolean",
1942
+ "const": true
1943
+ },
1944
+ "expectsDarkBackground": {
1945
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1946
+ "type": "boolean",
1947
+ "const": true
1938
1948
  }
1939
1949
  },
1940
1950
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -697,10 +697,12 @@
697
697
  "additionalProperties": false,
698
698
  "required": [
699
699
  "hp",
700
- "dt",
701
- "mt"
700
+ "dt"
702
701
  ]
703
702
  },
703
+ "ac": {
704
+ "type": "integer"
705
+ },
704
706
  "resist": {
705
707
  "$ref": "util.json#/$defs/damageResistArray"
706
708
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1935,6 +1935,16 @@
1935
1935
  "comic-speaker-right",
1936
1936
  "deity-symbol"
1937
1937
  ]
1938
+ },
1939
+ "expectsLightBackground": {
1940
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1941
+ "type": "boolean",
1942
+ "const": true
1943
+ },
1944
+ "expectsDarkBackground": {
1945
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1946
+ "type": "boolean",
1947
+ "const": true
1938
1948
  }
1939
1949
  },
1940
1950
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -697,10 +697,12 @@
697
697
  "additionalProperties": false,
698
698
  "required": [
699
699
  "hp",
700
- "dt",
701
- "mt"
700
+ "dt"
702
701
  ]
703
702
  },
703
+ "ac": {
704
+ "type": "integer"
705
+ },
704
706
  "resist": {
705
707
  "$ref": "util.json#/$defs/damageResistArray"
706
708
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1934,6 +1934,16 @@
1934
1934
  "comic-speaker-right",
1935
1935
  "deity-symbol"
1936
1936
  ]
1937
+ },
1938
+ "expectsLightBackground": {
1939
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1940
+ "type": "boolean",
1941
+ "const": true
1942
+ },
1943
+ "expectsDarkBackground": {
1944
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1945
+ "type": "boolean",
1946
+ "const": true
1937
1947
  }
1938
1948
  },
1939
1949
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -715,10 +715,12 @@
715
715
  "additionalProperties": false,
716
716
  "required": [
717
717
  "hp",
718
- "dt",
719
- "mt"
718
+ "dt"
720
719
  ]
721
720
  },
721
+ "ac": {
722
+ "type": "integer"
723
+ },
722
724
  "resist": {
723
725
  "$ref": "util.json#/$defs/damageResistArray"
724
726
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.20",
6
+ "version": "1.8.21",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1934,6 +1934,16 @@
1934
1934
  "comic-speaker-right",
1935
1935
  "deity-symbol"
1936
1936
  ]
1937
+ },
1938
+ "expectsLightBackground": {
1939
+ "description": "If this image is largely transparent, and expects to be rendered atop a light background.",
1940
+ "type": "boolean",
1941
+ "const": true
1942
+ },
1943
+ "expectsDarkBackground": {
1944
+ "description": "If this image is largely transparent, and expects to be rendered atop a dark background.",
1945
+ "type": "boolean",
1946
+ "const": true
1937
1947
  }
1938
1948
  },
1939
1949
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.9",
4
+ "version": "1.7.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -715,10 +715,12 @@
715
715
  "additionalProperties": false,
716
716
  "required": [
717
717
  "hp",
718
- "dt",
719
- "mt"
718
+ "dt"
720
719
  ]
721
720
  },
721
+ "ac": {
722
+ "type": "integer"
723
+ },
722
724
  "resist": {
723
725
  "$ref": "util.json#/$defs/damageResistArray"
724
726
  },