Skip to content

Commit

Permalink
fix: string array
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchengjie committed Jun 12, 2024
1 parent 5cc3dcf commit 0dd87cd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Bugs Fixes

- 修复: `bind-address` 类型错误
- 修复: 字符串数组提示错误

---

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meta-json-schema",
"version": "1.18.5-alpha4",
"version": "1.18.5-alpha5",
"description": "JSON Schema for Clash Meta",
"keywords": [
"clash",
Expand Down
8 changes: 4 additions & 4 deletions src/definitions/compatible.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"string": { "anyOf": [{ "type": "string" }, { "pattern": "^\\d+(\\.\\d+)?$" }] },
"integer": { "anyOf": [{ "type": "integer" }, { "pattern": "^\\d+$" }] },
"number": { "anyOf": [{ "type": "number" }, { "pattern": "^\\d+(\\.\\d+)?$" }] },
"boolean": { "anyOf": [{ "type": "boolean" }, { "pattern": "^(?i)(true|false)$" }] }
"string": { "title": "字符串", "anyOf": [{ "type": "string" }, { "pattern": "^\\d+(\\.\\d+)?$" }] },
"integer": { "title": "整数值", "anyOf": [{ "type": "integer" }, { "pattern": "^\\d+$" }] },
"number": { "title": "数值", "anyOf": [{ "type": "number" }, { "pattern": "^\\d+(\\.\\d+)?$" }] },
"boolean": { "title": "布尔值", "anyOf": [{ "type": "boolean" }, { "pattern": "^(?i)(true|false)$" }] }
}

0 comments on commit 0dd87cd

Please sign in to comment.