Implement settings (via Clay)

This commit is contained in:
2026-04-09 20:57:46 -04:00
parent 11f2dc0c94
commit fd9ec48511
5 changed files with 72 additions and 27 deletions
+37
View File
@@ -0,0 +1,37 @@
module.exports = [
{
"type": "heading",
"defaultValue": "1 More Episode | Settings"
},
{
"type": "section",
"items": [
{
"type": "heading",
"defaultValue": "API Credentials"
},
{
"type": "input",
"messageKey": "CLAY_API_HOST",
"label": "API Host",
"description": "Example: https://jellyfin.example.com"
},
{
"type": "input",
"messageKey": "CLAY_API_KEY",
"label": "API Key"
},
{
"type": "toggle",
"messageKey": "CLAY_API_IS_JELLYFIN",
"defaultValue": true,
"label": "Jellyfin Support",
"description": "Toggle off if using Plex. If using Jellyfin, leave on :D"
}
]
},
{
"type": "submit",
"defaultValue": "Save Settings"
}
];