Skip to content

Commit

Permalink
fix config schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz914 committed Oct 24, 2024
1 parent 00d2ea2 commit 5f1a8d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"type": "boolean",
"default": false,
"description": "This enable console control over Web Api.",
"required": true
"required": false
},
"getInputsFromDevice": {
"title": "Load Inputs From Device",
Expand All @@ -50,35 +50,35 @@
"condition": {
"functionBody": "return model.devices[arrayIndices].webApiControl === true;"
},
"required": true
"required": false
},
"filterGames": {
"title": "Hide Games",
"type": "boolean",
"default": false,
"description": "If enabled, Games will not be displayed on the list of inputs.",
"required": true
"required": false
},
"filterApps": {
"title": "Hide Apps",
"type": "boolean",
"default": false,
"description": "If enabled, Apps will not be displayed on the list of inputs.",
"required": true
"required": false
},
"filterSystemApps": {
"title": "Hide System Apps",
"type": "boolean",
"default": false,
"description": "If enabled, System Apps (Accessory, TV, Network Troubleshooter, Xbox Guide) will not be displayed on the list of inputs.",
"required": true
"required": false
},
"filterDlc": {
"title": "Hide DLC",
"type": "boolean",
"default": false,
"description": "If enabled, DLC will not be displayed on the list of inputs.",
"required": true
"required": false
},
"inputsDisplayOrder": {
"title": "Inputs Display Order",
Expand Down Expand Up @@ -188,7 +188,7 @@
]
}
],
"required": true
"required": false
}
}
},
Expand Down Expand Up @@ -405,7 +405,7 @@
}
],
"description": "Here select the command or mode of button.",
"required": true
"required": false
},
"oneStoreProductId": {
"title": "Product Id",
Expand All @@ -420,6 +420,7 @@
"displayType": {
"title": "Display Type",
"type": "integer",
"default": 0,
"oneOf": [
{
"title": "None/Disabled",
Expand Down Expand Up @@ -498,6 +499,7 @@
"displayType": {
"title": "Type",
"type": "integer",
"default": 0,
"oneOf": [
{
"title": "None/Disabled",
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,7 +1,7 @@
{
"displayName": "Xbox TV",
"name": "homebridge-xbox-tv",
"version": "3.1.16",
"version": "3.1.17",
"description": "Homebridge plugin to control Xbox game consoles.",
"license": "MIT",
"author": "grzegorz914",
Expand Down

0 comments on commit 5f1a8d8

Please sign in to comment.