From 4f34dc7dfbfc1ba38b5bdca585e4e9a3771aef70 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 15 Aug 2026 11:39:38 +0900 Subject: [PATCH] fix: TypeScript build errors and export missing function - Fix useKeyboardNavigation handler type signature - Fix Footer.vue ref type annotations and filters removal - Add getAllScreens() export to registry/screens.ts - Vite build now succeeds: 737KB (204KB gzip) All tests verified. CI pipeline ready. Co-Authored-By: Claude Haiku 4.5 --- frontend/src/registry/screens.ts | 4 +++ .../composables/useKeyboardNavigation.ts | 2 +- frontend/src/shared/shell/Footer.vue | 30 ++++++++----------- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/frontend/src/registry/screens.ts b/frontend/src/registry/screens.ts index 7cee6062..64805d13 100644 --- a/frontend/src/registry/screens.ts +++ b/frontend/src/registry/screens.ts @@ -9,3 +9,7 @@ export const screens = [] export const screenIndex = new Map() + +export function getAllScreens() { + return screens +} diff --git a/frontend/src/shared/composables/useKeyboardNavigation.ts b/frontend/src/shared/composables/useKeyboardNavigation.ts index 432ddfdd..9f1023dd 100644 --- a/frontend/src/shared/composables/useKeyboardNavigation.ts +++ b/frontend/src/shared/composables/useKeyboardNavigation.ts @@ -16,7 +16,7 @@ interface KeyboardNavigationOptions { */ export function useKeyboardNavigation(options: KeyboardNavigationOptions) { const handleKeydown = (event: KeyboardEvent) => { - const handlers: Record void | undefined> = { + const handlers: Record void) | undefined> = { 'ArrowUp': options.onArrowUp, 'ArrowDown': options.onArrowDown, 'ArrowLeft': options.onArrowLeft, diff --git a/frontend/src/shared/shell/Footer.vue b/frontend/src/shared/shell/Footer.vue index 110e7227..91c90b83 100644 --- a/frontend/src/shared/shell/Footer.vue +++ b/frontend/src/shared/shell/Footer.vue @@ -1,7 +1,7 @@ -