diff --git a/plugins/Test/index.js b/plugins/Test/index.js deleted file mode 100644 index b71a2308..00000000 --- a/plugins/Test/index.js +++ /dev/null @@ -1,18 +0,0 @@ -const PluginAbstract = require('../../server/PluginAbstract') - -class TestPlugin extends PluginAbstract { - constructor() { - super() - - this.name = 'Test' - } - - init(context) { - context.Logger.info('[TestPlugin] Test plugin loaded successfully') - } - - async onAction(context, actionName, target, data) { - context.Logger.info('[TestPlugin] Test plugin onAction', actionName, target, data) - } -} -module.exports = new TestPlugin() diff --git a/plugins/Test/manifest.json b/plugins/Test/manifest.json deleted file mode 100644 index eb24021e..00000000 --- a/plugins/Test/manifest.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "Test Plugin", - "slug": "test", - "version": "1.0.0", - "description": "This is a test plugin", - "extensions": [ - { - "target": "item.detail.actions", - "name": "test", - "label": "Test Action", - "labelKey": "TestAction" - } - ], - "config": { - "title": "Test Plugin Configuration", - "titleKey": "TestPluginConfiguration", - "description": "This is a test plugin", - "descriptionKey": "TestPluginConfigurationDescription", - "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": { - "TestAction": "Test Action", - "LabelApiKey": "API Key", - "LabelEnable": "Enable", - "TestPluginConfiguration": "Test Plugin Configuration", - "TestPluginConfigurationDescription": "This is a test plugin", - "LabelRequestAddress": "Request Address" - } - } -}