From 5d8757ec76ebb5f6e5f09a23001a73a3ca9d396f Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 3 Dec 2026 00:47:58 -0600 Subject: [PATCH] chore(types): the cast in bidDayLabelsIo.ts comes out, now that the generated 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 --- src/lib/clock/bidDayLabelsIo.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/clock/bidDayLabelsIo.ts b/src/lib/clock/bidDayLabelsIo.ts index 7eb77d05fa..aa9176c584 100644 --- a/src/lib/clock/bidDayLabelsIo.ts +++ b/src/lib/clock/bidDayLabelsIo.ts @@ -57,9 +57,7 @@ export async function fetchKeptBidDays(userIds: readonly string[], fromYmd: stri .range(from, from + PAGE - 1), 'read the bids of the days on screen', ) - // Through `unknown` until the generated types name `seen` (the column of 20261202123544; the types PR of finding - // 791 carries it). The cast comes out then. - const rows = (data ?? []) as unknown as BidDayKeptDbRow[] + const rows: BidDayKeptDbRow[] = data ?? [] out.push(...rows) if (rows.length < PAGE) break }