summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-12-04 22:41:59 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-12-04 22:41:59 -0500
commit0f37c0f92da5fb6fcf9e4317a1b4c8d3f4df8010 (patch)
treef2efd0df5a42b24d324e5b147e56e9237985b9e5 /src/SMAPI.Web
parentcc35dbdb3d1fe0a82557857a72d842f1217812c2 (diff)
downloadSMAPI-0f37c0f92da5fb6fcf9e4317a1b4c8d3f4df8010.tar.gz
SMAPI-0f37c0f92da5fb6fcf9e4317a1b4c8d3f4df8010.tar.bz2
SMAPI-0f37c0f92da5fb6fcf9e4317a1b4c8d3f4df8010.zip
update JSON validator for Content Patcher's new .fnt support
Diffstat (limited to 'src/SMAPI.Web')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index d39574ef..6b80f260 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -214,7 +214,7 @@
},
"FromFile": {
"title": "Source file",
- "description": "The relative file path in your content pack folder to load instead (like 'assets/dinosaur.png'), or multiple comma-delimited values. This can be a .json (data), .png (image), .tbin or .tmx (map), or .xnb file. This field supports tokens and capitalization doesn't matter.",
+ "description": "The relative file path in your content pack folder to load instead (like 'assets/dinosaur.png'), or multiple comma-delimited values. This can be a .fnt (font), .json (data), .png (image), .tbin or .tmx (map), or .xnb file. This field supports tokens and capitalization doesn't matter.",
"type": "string",
"allOf": [
{
@@ -223,12 +223,12 @@
}
},
{
- "pattern": "\\.(json|png|tbin|tmx|xnb) *$"
+ "pattern": "\\.(fnt|json|png|tbin|tmx|xnb) *$"
}
],
"@errorMessages": {
"allOf:indexes: 0": "Invalid value; must not contain directory climbing (like '../').",
- "allOf:indexes: 1": "Invalid value; must be a file path ending with .json, .png, .tbin, .tmx, or .xnb."
+ "allOf:indexes: 1": "Invalid value; must be a file path ending with .fnt, .json, .png, .tbin, .tmx, or .xnb."
}
},
"FromArea": {