lilith-platform.live/codebase/@features/comm-newsletter
Natalie 41b602f444 fix(comm-newsletter): typed row mappers for campaign DB rows
campaigns.ts asserted node:sqlite rows (Record<string, SQLOutputValue>) directly
to CampaignRow/CampaignListItem (TS2352 — non-overlapping types). Added
mapCampaignRow/mapCampaignListItem in db.ts that coerce each column (handling
bigint-for-int and nullable text) and use them at all 6 sites, preserving the
null/undefined handling. Real coercion instead of structural casts.

Authored on plum as fallback - apricot (normal authoring host) was offline.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 05:53:32 -05:00
..
backend-api fix(comm-newsletter): typed row mappers for campaign DB rows 2026-06-19 05:53:32 -05:00
frontend-admin chore(fontend-config): 🔧 Update Vite config to standardize build plugins, aliases, and environment variables across frontend features 2026-05-15 22:21:03 -07:00