This commit is contained in:
Bradley Nelson
2026-06-17 00:28:10 -06:00
parent 4427b1613b
commit b3e1e42e93
13 changed files with 419 additions and 95 deletions
@@ -40,7 +40,8 @@ pub struct PluginSection {
#[derive(Debug, Clone, serde::Deserialize)]
#[serde(deny_unknown_fields)]
pub struct EventsSection {
/// Events this plugin wants. M0 accepts only `"file.uploaded"`.
/// Events this plugin wants. Each must be one of `KNOWN_EVENTS`
/// (`"file.uploaded"`, `"user.login"`); an unknown name rejects the plugin.
pub subscribe: Vec<String>,
}