diff --git a/.prettierignore b/.prettierignore index aadc362..ee03e5d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,4 +4,5 @@ dist/ pnpm-lock.yaml .vscode/ *.md -.github/ \ No newline at end of file +.github/ +assets/*.json \ No newline at end of file diff --git a/assets/mod-info-validation.json b/assets/mod-info-validation.json index 78b90a8..e1d8532 100644 --- a/assets/mod-info-validation.json +++ b/assets/mod-info-validation.json @@ -597,6 +597,17 @@ "match": { "type": "string", "description": "A regex the string must match." + }, + "filter": { + "type": "string", + "description": "A string containing all the allowed characters for the input." + }, + "one-of": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of the only allowed values for the setting. Turns the setting into a selector instead of an input." } }, "required": ["type", "default"]