Archived
feat: add manual session cleanup
This commit is contained in:
@@ -111,6 +111,8 @@ export interface PluginAction {
|
||||
shortcut?: string;
|
||||
group?: string;
|
||||
enabled?: (context: PluginRuntimeContext) => boolean;
|
||||
/** Explain why a disabled action is visible but unavailable. */
|
||||
disabledReason?: (context: PluginRuntimeContext) => string | undefined;
|
||||
run: (context: PluginRuntimeContext) => void | Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user