Skip to content

chore(types): the cast in bidDayLabelsIo.ts comes out, now that the types name bid_day_entries.seen - #10771

Merged
realrobertdouglas merged 1 commit into
mainfrom
claude/bid-day-labels-cast-out
Dec 3, 2026
Merged

realrobertdouglas merged 1 commit into
mainfrom
claude/bid-day-labels-cast-out

Conversation

@realrobertdouglas

Copy link
Copy Markdown
Contributor

Owed since punch list #469's step 2b (v2.9189). Client only, one file, no behaviour change, nothing owed on prod.

fetchKeptBidDays read its rows as unknown as BidDayKeptDbRow[], because the typed client refused a select of seen before the generated types named the column of 20261202123544. #10734 (59d3381116) put bid_day_entries.seen: Json | null in src/types/database.ts, so the cast and its comment come out and the rows take their type from the read. BidDayKeptDbRow.seen stays unknown: the kernel reads it with bidDaySeenFromDb.

Checked locally: a typecheck of the file alone against main's types (clean without the cast), the two near test files (37 pass), lint. No version: nothing a person reads changes.

🤖 Generated with Claude Code

…enerated types name bid_day_entries.seen

fetchKeptBidDays read its rows through `unknown` because the typed client
refused a select of `seen` before the types named the column. #10734 put the
column in `src/types/database.ts`, so the rows take their type from the read.
No behaviour changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@realrobertdouglas
realrobertdouglas added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit ff28d97 Dec 3, 2026
7 checks passed
@realrobertdouglas
realrobertdouglas deleted the claude/bid-day-labels-cast-out branch December 3, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant