fix(tui): restore diff viewer route and workspace (#28676)
This commit is contained in:
parent
53e2ab8b1f
commit
b38f4d79f7
6 changed files with 30 additions and 6 deletions
|
|
@ -579,7 +579,6 @@ export type TuiPluginInstallResult =
|
|||
|
||||
export type TuiWorkspace = {
|
||||
current: () => string | undefined
|
||||
set: (workspaceID?: string) => void
|
||||
}
|
||||
|
||||
export type TuiPluginApi = {
|
||||
|
|
@ -595,6 +594,7 @@ export type TuiPluginApi = {
|
|||
keys: TuiKeys
|
||||
keymap: TuiKeymap
|
||||
mode: TuiModeApi
|
||||
workspace: TuiWorkspace
|
||||
route: {
|
||||
register: (routes: TuiRouteDefinition[]) => () => void
|
||||
navigate: (name: string, params?: Record<string, unknown>) => void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue