Skip to content

PluginState

type PluginState =
| {
id: string;
status: "disabled" | "enabled";
}
| {
error: string;
id: string;
status: "failed";
};

Where a plugin stands. status is enabled, disabled or failed. When it is failed, error says why the plugin stopped.