Type Alias: ApprovalExpirySweepResult
type ApprovalExpirySweepResult = {
expired: number;
found: number;
skipped: number;
};Defined in: server/bookings/lifecycle-sweepers.ts:36
Result shape for the approval-expiry sweep.
Properties
expired
expired: number;Defined in: server/bookings/lifecycle-sweepers.ts:40
Number of bookings successfully expired.
found
found: number;Defined in: server/bookings/lifecycle-sweepers.ts:38
Number of pending rows returned by the query.
skipped
skipped: number;Defined in: server/bookings/lifecycle-sweepers.ts:46
Number of bookings skipped because a concurrent transition won the race:
StaleBookingError (CAS loser) or InvalidTransitionError (hydrate-
after-winner-commit). Both are safe; neither allows a wrongly-live row.