audiobookshelf/test/server/managers/plugins/Example/manifest.json

51 lines
1.2 KiB
JSON

{
"id": "e6205690-916c-4add-9a2b-2548266996ef",
"name": "Example",
"slug": "example",
"version": "1.0.0",
"description": "This is an example plugin",
"extensions": [
{
"target": "item.detail.actions",
"name": "itemActionExample",
"label": "Item Example Action",
"labelKey": "ItemExampleAction"
}
],
"config": {
"description": "This is an example plugin",
"descriptionKey": "ExamplePluginConfigurationDescription",
"formFields": [
{
"name": "apiKey",
"label": "API Key",
"labelKey": "LabelApiKey",
"type": "text",
"required": false
},
{
"name": "requestAddress",
"label": "Request Address",
"labelKey": "LabelRequestAddress",
"type": "text",
"required": true
},
{
"name": "enable",
"label": "Enable",
"labelKey": "LabelEnable",
"type": "checkbox"
}
]
},
"localization": {
"en-us": {
"ItemExampleAction": "Item Example Action",
"LabelApiKey": "API Key",
"LabelEnable": "Enable",
"ExamplePluginConfigurationDescription": "This is an example plugin",
"LabelRequestAddress": "Request Address"
}
}
}