Build a cursor-aware donations fetcher for a single campaign.
The returned closure is shaped to plug directly into TanStack Query's useInfiniteQuery (pageParam → next cursor), but works standalone — see fetchTiltifyFlattenedDonations.
useInfiniteQuery
pageParam
Async function that takes { pageParam } and resolves to one page of TiltifyDonation rows + the Tiltify cursor.
{ pageParam }
Build a cursor-aware donations fetcher for a single campaign.
The returned closure is shaped to plug directly into TanStack Query's
useInfiniteQuery(pageParam→ next cursor), but works standalone — see fetchTiltifyFlattenedDonations.