Skip to content

Commit

Permalink
feat: Change voice guidance limits to 0.5 and 2 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpears201 authored Jun 21, 2023
1 parent f4e3b79 commit b8f1944
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 33 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@firebolt-js/openrpc": "rdkcentral/firebolt-openrpc#next",
"@firebolt-js/schemas": "0.10.0",
"@firebolt-js/schemas": "0.11.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.1",
Expand All @@ -66,4 +66,4 @@
"sdk"
],
"license": "Apache-2.0"
}
}
28 changes: 6 additions & 22 deletions src/openrpc/accessibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"name": "settings",
"summary": "the voice guidance settings",
"schema": {
"$ref": "#/components/schemas/VoiceGuidanceSettings"
"$ref": "https://meta.comcast.com/firebolt/accessibility#/definitions/VoiceGuidanceSettings"
}
},
"examples": [
Expand All @@ -134,7 +134,7 @@
"name": "Default Result",
"value": {
"enabled": true,
"speed": 5
"speed": 2
}
}
}
Expand All @@ -153,13 +153,13 @@
"x-uses": [
"xrn:firebolt:capability:accessibility:voiceguidance"
]
}
}
],
"result": {
"name": "settings",
"summary": "the voice guidance settings",
"schema": {
"$ref": "#/components/schemas/VoiceGuidanceSettings"
"$ref": "https://meta.comcast.com/firebolt/accessibility#/definitions/VoiceGuidanceSettings"
}
},
"examples": [
Expand All @@ -170,30 +170,14 @@
"name": "Default Result",
"value": {
"enabled": true,
"speed": 5
"speed": 2
}
}
}
]
}
],
"components": {
"schemas": {
"VoiceGuidanceSettings": {
"title": "VoiceGuidanceSettings",
"type": "object",
"required": ["enabled", "speed"],
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether or not voice guidance should be enabled by default"
},
"speed": {
"type": "number",
"description": "The speed at which voice guidance speech will be read back to the user"
}
}
}
}
"schemas": {}
}
}

0 comments on commit b8f1944

Please sign in to comment.