1
0

fix?(schema): make version a required field.

This commit is contained in:
kasimeka
2025-06-12 16:07:11 +03:00
parent 41a9a180a3
commit 792c9cb862
3 changed files with 25 additions and 5 deletions

View File

@@ -5,5 +5,7 @@
"categories": ["Content"], "categories": ["Content"],
"author": "Mathguy", "author": "Mathguy",
"repo": "https://github.com/Mathguy23/Cruel-Blinds", "repo": "https://github.com/Mathguy23/Cruel-Blinds",
"automatic-version-check": true,
"version": "0b0bcf1",
"downloadURL": "https://github.com/Mathguy23/Cruel-Blinds/archive/refs/heads/main.zip" "downloadURL": "https://github.com/Mathguy23/Cruel-Blinds/archive/refs/heads/main.zip"
} }

View File

@@ -5,5 +5,7 @@
"categories": ["Content"], "categories": ["Content"],
"author": "Mathguy", "author": "Mathguy",
"repo": "https://github.com/Mathguy23/Grim", "repo": "https://github.com/Mathguy23/Grim",
"automatic-version-check": true,
"version": "18d57f5",
"downloadURL": "https://github.com/Mathguy23/Grim/archive/refs/heads/main.zip" "downloadURL": "https://github.com/Mathguy23/Grim/archive/refs/heads/main.zip"
} }

View File

@@ -16,7 +16,15 @@
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string",
"enum": ["Content", "Joker", "Quality of Life", "Technical", "Miscellaneous", "Resource Packs", "API"] "enum": [
"Content",
"Joker",
"Quality of Life",
"Technical",
"Miscellaneous",
"Resource Packs",
"API"
]
}, },
"minItems": 1, "minItems": 1,
"uniqueItems": true "uniqueItems": true
@@ -36,13 +44,21 @@
"type": "string", "type": "string",
"pattern": "^[^<>:\"/\\|?*]+$" "pattern": "^[^<>:\"/\\|?*]+$"
}, },
"version": { "version": {
"type": "string" "type": "string"
}, },
"automatic-version-check": { "automatic-version-check": {
"type": "boolean" "type": "boolean"
} }
}, },
"required": ["title", "requires-steamodded", "requires-talisman", "categories", "author", "repo", "downloadURL"] "required": [
"title",
"requires-steamodded",
"requires-talisman",
"categories",
"author",
"repo",
"downloadURL",
"version"
]
} }