Protected ReadonlydbProtected ReadonlyredirectStaticinstanceResolve an unexpired short URL by its public external id. Used by the public redirect Lambda — intentionally not customer-scoped because the external id is globally unique (sqids-encoded primary key).
Cache strategy: cache the row including expiresAt so the expiry check
remains precise within the TTL window. Negative-cache null to absorb
scanner traffic against nonexistent ids.
OptionalexpiresAt?: DbTimestampCriteria<Date>Filter on the expiry timestamp; { before: "now" } = expired-only.
NULL (never-expiring) rows are excluded whenever this criterion is set.
Optionalids?: string[]Optionalpage?: numberOptionalpageSize?: number
The process default: built from each dependency's own
instance().