5etools-utils 0.12.12 → 0.12.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/lib/BrewIndexGenerator.js +6 -1
- package/package.json +1 -1
- package/schema/brew/homebrew.json +6 -2
- package/schema/brew-fast/homebrew.json +6 -2
- package/schema/site/homebrew.json +6 -2
- package/schema/site-fast/homebrew.json +6 -2
- package/schema/ua/homebrew.json +6 -2
- package/schema/ua-fast/homebrew.json +6 -2
|
@@ -85,7 +85,12 @@ class _BrewIndexMeta extends _BrewIndex {
|
|
|
85
85
|
// abbreviation
|
|
86
86
|
a: fileInfo.contents._meta.sources.map(it => it.abbreviation).filter(Boolean),
|
|
87
87
|
// status
|
|
88
|
-
s: fileInfo.contents._meta.status
|
|
88
|
+
s: fileInfo.contents._meta.status
|
|
89
|
+
// Skip adding "ready", as this is the implicit value
|
|
90
|
+
? fileInfo.contents._meta.status === "ready" ? undefined : fileInfo.contents._meta.status
|
|
91
|
+
: undefined,
|
|
92
|
+
// partnered
|
|
93
|
+
p: fileInfo.contents._meta.partnered ? Number(fileInfo.contents._meta.partnered) : undefined,
|
|
89
94
|
};
|
|
90
95
|
}
|
|
91
96
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -285,7 +285,11 @@
|
|
|
285
285
|
},
|
|
286
286
|
"unlisted": {
|
|
287
287
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
288
|
-
"
|
|
288
|
+
"const": true
|
|
289
|
+
},
|
|
290
|
+
"partnered": {
|
|
291
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
292
|
+
"const": true
|
|
289
293
|
},
|
|
290
294
|
"status": {
|
|
291
295
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -283,7 +283,11 @@
|
|
|
283
283
|
},
|
|
284
284
|
"unlisted": {
|
|
285
285
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
286
|
-
"
|
|
286
|
+
"const": true
|
|
287
|
+
},
|
|
288
|
+
"partnered": {
|
|
289
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
290
|
+
"const": true
|
|
287
291
|
},
|
|
288
292
|
"status": {
|
|
289
293
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -285,7 +285,11 @@
|
|
|
285
285
|
},
|
|
286
286
|
"unlisted": {
|
|
287
287
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
288
|
-
"
|
|
288
|
+
"const": true
|
|
289
|
+
},
|
|
290
|
+
"partnered": {
|
|
291
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
292
|
+
"const": true
|
|
289
293
|
},
|
|
290
294
|
"status": {
|
|
291
295
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -283,7 +283,11 @@
|
|
|
283
283
|
},
|
|
284
284
|
"unlisted": {
|
|
285
285
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
286
|
-
"
|
|
286
|
+
"const": true
|
|
287
|
+
},
|
|
288
|
+
"partnered": {
|
|
289
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
290
|
+
"const": true
|
|
287
291
|
},
|
|
288
292
|
"status": {
|
|
289
293
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|
package/schema/ua/homebrew.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -285,7 +285,11 @@
|
|
|
285
285
|
},
|
|
286
286
|
"unlisted": {
|
|
287
287
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
288
|
-
"
|
|
288
|
+
"const": true
|
|
289
|
+
},
|
|
290
|
+
"partnered": {
|
|
291
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
292
|
+
"const": true
|
|
289
293
|
},
|
|
290
294
|
"status": {
|
|
291
295
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.23",
|
|
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": {
|
|
@@ -283,7 +283,11 @@
|
|
|
283
283
|
},
|
|
284
284
|
"unlisted": {
|
|
285
285
|
"description": "If this homebrew file should be ignored/hidden by any indexer.",
|
|
286
|
-
"
|
|
286
|
+
"const": true
|
|
287
|
+
},
|
|
288
|
+
"partnered": {
|
|
289
|
+
"description": "If this homebrew file is \"partnered\" content, usually including sources which are shown under the \"Partnered\" section of \"https://www.dndbeyond.com/sources\".",
|
|
290
|
+
"const": true
|
|
287
291
|
},
|
|
288
292
|
"status": {
|
|
289
293
|
"description": "An overall status for the homebrew.\n\"ready\" indicates that this brew is ready for use, and is in an internally consistent state.\n\"wip\" indicates that this brew is e.g. incomplete, or partially migrated between versions of the source document(s).\n\"invalid\" indicates that using this brew is inadvisable, because while it is schema-passing, it breaks clients which attempt to use it.\n\"deprecated\" indicates this brew is ready for use, but that using it is inadvisable, because e.g. it has been superseded by another brew.",
|