mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 17:56:44 +00:00
tui plugin object only
This commit is contained in:
@@ -57,11 +57,9 @@ export type TuiPlugin<Renderer = CliRenderer> = (
|
||||
options?: PluginOptions,
|
||||
) => Promise<void>
|
||||
|
||||
export type TuiPluginModule<Renderer = CliRenderer> =
|
||||
| TuiPlugin<Renderer>
|
||||
| {
|
||||
server?: ServerPlugin
|
||||
tui?: TuiPlugin<Renderer>
|
||||
slots?: TuiSlotPlugin
|
||||
themes?: Record<string, ThemeJson>
|
||||
}
|
||||
export type TuiPluginModule<Renderer = CliRenderer> = {
|
||||
server?: ServerPlugin
|
||||
tui?: TuiPlugin<Renderer>
|
||||
slots?: TuiSlotPlugin
|
||||
themes?: Record<string, ThemeJson>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user