5etools-utils 0.5.12 → 0.5.13

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.5.12",
3
+ "version": "0.5.13",
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": "decks.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -35,12 +35,15 @@
35
35
  },
36
36
  "count": {
37
37
  "type": "integer"
38
+ },
39
+ "replacement": {
40
+ "const": true
38
41
  }
39
42
  },
40
43
  "required": [
41
- "uid",
42
- "count"
44
+ "uid"
43
45
  ],
46
+ "minProperties": 2,
44
47
  "additionalProperties": false
45
48
  }
46
49
  ]
@@ -96,12 +99,15 @@
96
99
  },
97
100
  "count": {
98
101
  "type": "integer"
102
+ },
103
+ "replacement": {
104
+ "const": true
99
105
  }
100
106
  },
101
107
  "required": [
102
- "uid",
103
- "count"
108
+ "uid"
104
109
  ],
110
+ "minProperties": 2,
105
111
  "additionalProperties": false
106
112
  }
107
113
  ]
@@ -160,12 +166,15 @@
160
166
  },
161
167
  "count": {
162
168
  "type": "integer"
169
+ },
170
+ "replacement": {
171
+ "const": true
163
172
  }
164
173
  },
165
174
  "required": [
166
- "uid",
167
- "count"
175
+ "uid"
168
176
  ],
177
+ "minProperties": 2,
169
178
  "additionalProperties": false
170
179
  }
171
180
  ]
@@ -278,6 +287,9 @@
278
287
  "face": {
279
288
  "$ref": "entry.json#/$defs/entryImage"
280
289
  },
290
+ "back": {
291
+ "$ref": "entry.json#/$defs/entryImage"
292
+ },
281
293
  "suit": {
282
294
  "type": "string"
283
295
  },
@@ -316,6 +328,9 @@
316
328
  "face": {
317
329
  "$ref": "entry.json#/$defs/entryImage"
318
330
  },
331
+ "back": {
332
+ "$ref": "entry.json#/$defs/entryImage"
333
+ },
319
334
  "suit": {
320
335
  "type": "string"
321
336
  },
@@ -357,6 +372,9 @@
357
372
  "face": {
358
373
  "$ref": "entry.json#/$defs/entryImage"
359
374
  },
375
+ "back": {
376
+ "$ref": "entry.json#/$defs/entryImage"
377
+ },
360
378
  "suit": {
361
379
  "type": "string"
362
380
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "decks.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -35,12 +35,15 @@
35
35
  },
36
36
  "count": {
37
37
  "type": "integer"
38
+ },
39
+ "replacement": {
40
+ "const": true
38
41
  }
39
42
  },
40
43
  "required": [
41
- "uid",
42
- "count"
44
+ "uid"
43
45
  ],
46
+ "minProperties": 2,
44
47
  "additionalProperties": false
45
48
  }
46
49
  ]
@@ -96,12 +99,15 @@
96
99
  },
97
100
  "count": {
98
101
  "type": "integer"
102
+ },
103
+ "replacement": {
104
+ "const": true
99
105
  }
100
106
  },
101
107
  "required": [
102
- "uid",
103
- "count"
108
+ "uid"
104
109
  ],
110
+ "minProperties": 2,
105
111
  "additionalProperties": false
106
112
  }
107
113
  ]
@@ -160,12 +166,15 @@
160
166
  },
161
167
  "count": {
162
168
  "type": "integer"
169
+ },
170
+ "replacement": {
171
+ "const": true
163
172
  }
164
173
  },
165
174
  "required": [
166
- "uid",
167
- "count"
175
+ "uid"
168
176
  ],
177
+ "minProperties": 2,
169
178
  "additionalProperties": false
170
179
  }
171
180
  ]
@@ -278,6 +287,9 @@
278
287
  "face": {
279
288
  "$ref": "entry.json#/$defs/entryImage"
280
289
  },
290
+ "back": {
291
+ "$ref": "entry.json#/$defs/entryImage"
292
+ },
281
293
  "suit": {
282
294
  "type": "string"
283
295
  },
@@ -316,6 +328,9 @@
316
328
  "face": {
317
329
  "$ref": "entry.json#/$defs/entryImage"
318
330
  },
331
+ "back": {
332
+ "$ref": "entry.json#/$defs/entryImage"
333
+ },
319
334
  "suit": {
320
335
  "type": "string"
321
336
  },
@@ -357,6 +372,9 @@
357
372
  "face": {
358
373
  "$ref": "entry.json#/$defs/entryImage"
359
374
  },
375
+ "back": {
376
+ "$ref": "entry.json#/$defs/entryImage"
377
+ },
360
378
  "suit": {
361
379
  "type": "string"
362
380
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "decks.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -35,12 +35,15 @@
35
35
  },
36
36
  "count": {
37
37
  "type": "integer"
38
+ },
39
+ "replacement": {
40
+ "const": true
38
41
  }
39
42
  },
40
43
  "required": [
41
- "uid",
42
- "count"
44
+ "uid"
43
45
  ],
46
+ "minProperties": 2,
44
47
  "additionalProperties": false
45
48
  }
46
49
  ]
@@ -96,12 +99,15 @@
96
99
  },
97
100
  "count": {
98
101
  "type": "integer"
102
+ },
103
+ "replacement": {
104
+ "const": true
99
105
  }
100
106
  },
101
107
  "required": [
102
- "uid",
103
- "count"
108
+ "uid"
104
109
  ],
110
+ "minProperties": 2,
105
111
  "additionalProperties": false
106
112
  }
107
113
  ]
@@ -160,12 +166,15 @@
160
166
  },
161
167
  "count": {
162
168
  "type": "integer"
169
+ },
170
+ "replacement": {
171
+ "const": true
163
172
  }
164
173
  },
165
174
  "required": [
166
- "uid",
167
- "count"
175
+ "uid"
168
176
  ],
177
+ "minProperties": 2,
169
178
  "additionalProperties": false
170
179
  }
171
180
  ]
@@ -278,6 +287,9 @@
278
287
  "face": {
279
288
  "$ref": "entry.json#/$defs/entryImage"
280
289
  },
290
+ "back": {
291
+ "$ref": "entry.json#/$defs/entryImage"
292
+ },
281
293
  "suit": {
282
294
  "type": "string"
283
295
  },
@@ -316,6 +328,9 @@
316
328
  "face": {
317
329
  "$ref": "entry.json#/$defs/entryImage"
318
330
  },
331
+ "back": {
332
+ "$ref": "entry.json#/$defs/entryImage"
333
+ },
319
334
  "suit": {
320
335
  "type": "string"
321
336
  },
@@ -357,6 +372,9 @@
357
372
  "face": {
358
373
  "$ref": "entry.json#/$defs/entryImage"
359
374
  },
375
+ "back": {
376
+ "$ref": "entry.json#/$defs/entryImage"
377
+ },
360
378
  "suit": {
361
379
  "type": "string"
362
380
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "decks.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -35,12 +35,15 @@
35
35
  },
36
36
  "count": {
37
37
  "type": "integer"
38
+ },
39
+ "replacement": {
40
+ "const": true
38
41
  }
39
42
  },
40
43
  "required": [
41
- "uid",
42
- "count"
44
+ "uid"
43
45
  ],
46
+ "minProperties": 2,
44
47
  "additionalProperties": false
45
48
  }
46
49
  ]
@@ -96,12 +99,15 @@
96
99
  },
97
100
  "count": {
98
101
  "type": "integer"
102
+ },
103
+ "replacement": {
104
+ "const": true
99
105
  }
100
106
  },
101
107
  "required": [
102
- "uid",
103
- "count"
108
+ "uid"
104
109
  ],
110
+ "minProperties": 2,
105
111
  "additionalProperties": false
106
112
  }
107
113
  ]
@@ -160,12 +166,15 @@
160
166
  },
161
167
  "count": {
162
168
  "type": "integer"
169
+ },
170
+ "replacement": {
171
+ "const": true
163
172
  }
164
173
  },
165
174
  "required": [
166
- "uid",
167
- "count"
175
+ "uid"
168
176
  ],
177
+ "minProperties": 2,
169
178
  "additionalProperties": false
170
179
  }
171
180
  ]
@@ -278,6 +287,9 @@
278
287
  "face": {
279
288
  "$ref": "entry.json#/$defs/entryImage"
280
289
  },
290
+ "back": {
291
+ "$ref": "entry.json#/$defs/entryImage"
292
+ },
281
293
  "suit": {
282
294
  "type": "string"
283
295
  },
@@ -316,6 +328,9 @@
316
328
  "face": {
317
329
  "$ref": "entry.json#/$defs/entryImage"
318
330
  },
331
+ "back": {
332
+ "$ref": "entry.json#/$defs/entryImage"
333
+ },
319
334
  "suit": {
320
335
  "type": "string"
321
336
  },
@@ -357,6 +372,9 @@
357
372
  "face": {
358
373
  "$ref": "entry.json#/$defs/entryImage"
359
374
  },
375
+ "back": {
376
+ "$ref": "entry.json#/$defs/entryImage"
377
+ },
360
378
  "suit": {
361
379
  "type": "string"
362
380
  },