5etools-utils 0.16.5 → 0.16.7

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.16.5",
3
+ "version": "0.16.7",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },
@@ -23,19 +23,25 @@
23
23
  "type": "array",
24
24
  "items": {
25
25
  "$ref": "../entry.json"
26
- }
26
+ },
27
+ "minItems": 1,
28
+ "uniqueItems": true
27
29
  },
28
30
  "regionalEffects": {
29
31
  "type": "array",
30
32
  "items": {
31
33
  "$ref": "../entry.json"
32
- }
34
+ },
35
+ "minItems": 1,
36
+ "uniqueItems": true
33
37
  },
34
38
  "mythicEncounter": {
35
39
  "type": "array",
36
40
  "items": {
37
41
  "$ref": "../entry.json"
38
- }
42
+ },
43
+ "minItems": 1,
44
+ "uniqueItems": true
39
45
  },
40
46
  "_versions": {
41
47
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -64,19 +70,25 @@
64
70
  "type": "array",
65
71
  "items": {
66
72
  "$ref": "../entry.json"
67
- }
73
+ },
74
+ "minItems": 1,
75
+ "uniqueItems": true
68
76
  },
69
77
  "regionalEffects": {
70
78
  "type": "array",
71
79
  "items": {
72
80
  "$ref": "../entry.json"
73
- }
81
+ },
82
+ "minItems": 1,
83
+ "uniqueItems": true
74
84
  },
75
85
  "mythicEncounter": {
76
86
  "type": "array",
77
87
  "items": {
78
88
  "$ref": "../entry.json"
79
- }
89
+ },
90
+ "minItems": 1,
91
+ "uniqueItems": true
80
92
  },
81
93
  "_versions": {
82
94
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -107,19 +119,25 @@
107
119
  "type": "array",
108
120
  "items": {
109
121
  "$ref": "../entry.json"
110
- }
122
+ },
123
+ "minItems": 1,
124
+ "uniqueItems": true
111
125
  },
112
126
  "regionalEffects": {
113
127
  "type": "array",
114
128
  "items": {
115
129
  "$ref": "../entry.json"
116
- }
130
+ },
131
+ "minItems": 1,
132
+ "uniqueItems": true
117
133
  },
118
134
  "mythicEncounter": {
119
135
  "type": "array",
120
136
  "items": {
121
137
  "$ref": "../entry.json"
122
- }
138
+ },
139
+ "minItems": 1,
140
+ "uniqueItems": true
123
141
  },
124
142
  "_versions": {
125
143
  "$ref": "../util-copy.json#/$defs/versionsArray"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.8",
5
+ "version": "1.1.9",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -1753,6 +1753,9 @@
1753
1753
  },
1754
1754
  {
1755
1755
  "$ref": "#/$defs/_foundryActivityObject_utility"
1756
+ },
1757
+ {
1758
+ "$ref": "#/$defs/_foundryActivityObject_forward"
1756
1759
  }
1757
1760
  ]
1758
1761
  },