mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
feat(plugin): ✨ Add override settings to plugin loading
This commit is contained in:
parent
c0805ff125
commit
f26ab0f0e6
7 changed files with 705 additions and 548 deletions
|
|
@ -4007,7 +4007,41 @@
|
|||
},
|
||||
"plugins": {
|
||||
"type": "object",
|
||||
"additionalProperties": {}
|
||||
"properties": {
|
||||
"autoload": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"overrides": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
},
|
||||
"disabled": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"default": {
|
||||
"enabled": [],
|
||||
"disabled": []
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"type": "object",
|
||||
"additionalProperties": {}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
@ -4019,7 +4053,8 @@
|
|||
"http",
|
||||
"smtp",
|
||||
"filters",
|
||||
"ratelimits"
|
||||
"ratelimits",
|
||||
"plugins"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue