fix(tui): restore diff viewer route and workspace (#28676)

This commit is contained in:
James Long 2026-05-21 12:28:07 -04:00 committed by GitHub
commit b38f4d79f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 6 deletions

View file

@ -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