fix?(schema): make version a required field.
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user