feat(tui): add managed config interface
This commit is contained in:
@@ -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 = {}) {
|
||||
|
||||
Reference in New Issue
Block a user