video-accessibility/frontend/src/lib
Vadym Samoilenko a22fe5c1bc fix: surface ElevenLabs config errors and add availability flag
- Extract actual error message from blob response in previewVoice so
  users see the real API error instead of generic "Failed to generate preview"
- VoicePreviewButton now reads err.message from thrown Error objects
- Add available: bool field to ProviderVoicesResponse; returns false
  when ELEVENLABS_API_KEY is not configured so the frontend can react
  proactively instead of hitting a 400 on preview
- VoiceSelector shows a descriptive config warning when available=false

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 14:17:00 +00:00
..
__tests__ initial commit 2025-08-24 16:28:33 -05:00
api.ts fix: surface ElevenLabs config errors and add availability flag 2026-03-03 14:17:00 +00:00
auth.ts fixed front end build errors 2025-10-10 10:26:57 -05:00
fileUtils.ts feat: add multi-video upload support 2025-12-22 20:01:48 -06:00
msalConfig.ts fixed front end build errors 2025-10-10 10:26:57 -05:00
queryClient.ts initial commit 2025-08-24 16:28:33 -05:00
vtt.ts feat: enhance VTT editor with timing editing, cue insert/delete 2025-12-29 11:46:24 -06:00