diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-27 00:26:31 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-27 00:26:31 +0200 |
| commit | b4d8145f2adb981b462a4581bdf3bf96bc32e3d9 (patch) | |
| tree | 728d90210d573f3ac577a44edf8e6815cc05e140 /apps/web/src/actions/index.ts | |
| parent | 607f9717ae44efe8f135b6c79ed85a583f3d2d1d (diff) | |
| download | opencut-b4d8145f2adb981b462a4581bdf3bf96bc32e3d9.tar.gz | |
fix: restore missing keybinding validation guards
persistence.ts imported isActionWithOptionalArgs and isShortcutKey,
neither of which existed at runtime — loading persisted custom
keybindings would crash. Adds actions/guards.ts (excluding required-args
actions per TActionArgsMap) and isShortcutKey in keybinding.ts; the nine
previously dead persistence tests now pass.
Diffstat (limited to 'apps/web/src/actions/index.ts')
| -rw-r--r-- | apps/web/src/actions/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/src/actions/index.ts b/apps/web/src/actions/index.ts index 801a846a..d74a31a5 100644 --- a/apps/web/src/actions/index.ts +++ b/apps/web/src/actions/index.ts @@ -1,3 +1,4 @@ export * from "./definitions"; export * from "./types"; export * from "./registry"; +export * from "./guards"; |
