Skip to content

chore: remove .env.example (replaced by .env.local.example), remove u… #104

chore: remove .env.example (replaced by .env.local.example), remove u…

chore: remove .env.example (replaced by .env.local.example), remove u… #104

Triggered via push March 3, 2026 20:42
Status Success
Total duration 1m 47s
Artifacts

frontend.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 10 warnings
Lint
Type '{ email: string; name: string; picture: string; }' is missing the following properties from type 'User': id, api_keys
Lint
Argument of type '{ user: null; authLoading: false; isAuthenticated: false; handleLogin: Mock<Procedure>; handleLogout: Mock<Procedure>; }' is not assignable to parameter of type 'AuthContextType'.
Lint
Argument of type '{ user: null; authLoading: false; isAuthenticated: false; handleLogin: Mock<Procedure>; handleLogout: Mock<Procedure>; }' is not assignable to parameter of type 'AuthContextType'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ ocr_text: null; corrected_text: null; rag_context: never[]; llm_response: null; note: null; id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; prompt: string; final_prompt: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint
Property 'rag_model' is missing in type '{ id: number; image_name: string; image_path: string; ocr_model: string; correction_model: string; llm_model: string; ocr_text: string; corrected_text: string; rag_context: string[]; llm_response: string; prompt: string; final_prompt: string; note: string; created_at: string; }' but required in type 'Translation'.
Lint: src/frontend/tests/pages/jobs.test.tsx#L456
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/jobs.test.tsx#L248
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/jobs.test.tsx#L171
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/jobs.test.tsx#L167
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/jobs.test.tsx#L148
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/jobs.test.tsx#L10
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/history.test.tsx#L336
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/history.test.tsx#L217
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/history.test.tsx#L10
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/api-keys.test.tsx#L10
Unexpected any. Specify a different type
Lint: src/frontend/tests/pages/scriptorium.test.tsx#L425
'handleLogin' is assigned a value but never used
Lint: src/frontend/tests/pages/scriptorium.test.tsx#L10
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/pages/prompts.test.tsx#L9
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/pages/library.test.tsx#L10
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/pages/jobs.test.tsx#L10
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/pages/history.test.tsx#L10
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/pages/api-keys.test.tsx#L10
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: src/frontend/tests/hooks/useJobPolling.test.ts#L1
'afterEach' is defined but never used
Lint: src/frontend/tests/components/TranslationModal.test.tsx#L1
'beforeEach' is defined but never used
Lint: src/frontend/tests/components/PromptInput.test.tsx#L5
'toast' is defined but never used