feat(tui): add managed config interface

This commit is contained in:
Dax Raad
2026-07-12 17:01:02 -04:00
parent 1e17202413
commit 3568dd1b99
52 changed files with 848 additions and 266 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
import { resolve, type Info, type Resolved } from "../../src/config/v1"
import { TuiKeybind } from "../../src/config/v1/keybind"
import { resolve, type Info, type Resolved } from "../../src/config"
import { TuiKeybind } from "../../src/config/keybind"
type ResolvedInput = Omit<Info, "attention" | "keybinds" | "leader_timeout"> & {
type ResolvedInput = Omit<Info, "attention" | "keybinds" | "leader"> & {
attention?: Partial<Resolved["attention"]>
keybinds?: Partial<TuiKeybind.Keybinds>
leader_timeout?: number
leader?: { timeout?: number }
}
export function createTuiResolvedConfig(input: ResolvedInput = {}) {