feat: admin add custom plugin (#2582)

* feat: admin add custom plugin

* refresh plugins

* plugin input box ui

* fix: run plugin varialbes error

* perf: comment

* fix: ts
This commit is contained in:
Archer
2024-08-30 22:45:35 +08:00
committed by GitHub
parent 9d5fd24085
commit 060492dbf7
18 changed files with 127 additions and 84 deletions

View File

@@ -24,7 +24,8 @@ const SystemPluginSchema = new Schema({
currentCost: {
type: Number,
default: 0
}
},
customConfig: Object
});
SystemPluginSchema.index({ pluginId: 1 });