fix(plugin): retain legacy kv api shape
This commit is contained in:
parent
775fce0177
commit
9db5073eab
3 changed files with 20 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import type {
|
|||
TuiAttentionNotifyResult,
|
||||
TuiAttentionNotifySkipReason,
|
||||
TuiAttentionWhen,
|
||||
TuiKV,
|
||||
TuiAttentionSoundName,
|
||||
TuiAttentionSoundPack,
|
||||
TuiAttentionSoundPackInfo,
|
||||
|
|
@ -113,6 +114,8 @@ export function createTuiAttention(input: {
|
|||
renderer: AttentionRenderer
|
||||
config: Pick<Config.Resolved, "attention">
|
||||
update?: Config.Interface["update"]
|
||||
/** @deprecated Ignored. Sound-pack persistence uses CLI config. */
|
||||
kv?: TuiKV
|
||||
audio?: Pick<typeof TuiAudio, "loadSoundFile" | "play">
|
||||
}): TuiAttentionHost {
|
||||
let focus: FocusState = "unknown"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue