openreader/src/lib/server/tts
Richard R 8488ad37e1 refactor(tts,db,manifest): split tts_segments into normalized entry and variant tables
Redesign TTS segment storage by decomposing the `tts_segments` table into two normalized tables: `tts_segment_entries` for unique segment identity and locator projection, and `tts_segment_variants` for per-settings audio variants. Update schema, queries, and API routes to use the new structure, including manifest pagination and segment resolution logic. Refactor segment locator handling to use stable projections and manifest cursors. Migrate tests and data cleanup utilities to support the new model.

BREAKING CHANGE: Database schema for TTS segments is now split into entry and variant tables; all code and consumers must use the new structure. Persisted data and APIs relying on the old `tts_segments` table are incompatible.
2026-05-12 17:44:57 -06:00
..
generate.ts refactor(tts): extract voice resolution logic to server module and update imports 2026-04-16 15:46:55 -06:00
segments-audio.ts refactor(tts,db,manifest): split tts_segments into normalized entry and variant tables 2026-05-12 17:44:57 -06:00
segments-auth.ts feat(tts): add TTS segments API, schema, storage, and manifest endpoints 2026-05-04 10:18:56 -06:00
segments-blobstore.ts feat(tts,config,ui): add advanced segment preloading and block length controls 2026-05-07 12:26:08 -06:00
segments-manifest.ts refactor(tts,db,manifest): split tts_segments into normalized entry and variant tables 2026-05-12 17:44:57 -06:00
segments.ts refactor(tts,db,manifest): split tts_segments into normalized entry and variant tables 2026-05-12 17:44:57 -06:00
upstream-response.ts refactor(tts): centralize upstream response helpers and improve settings validation 2026-04-16 13:07:31 -06:00
voice-resolution.ts refactor(tts): extract voice resolution logic to server module and update imports 2026-04-16 15:46:55 -06:00