Fetch every donation for a Tiltify campaign as a single flat array
(no pagination cursor surfaced to the caller).
Use this when you want a one-shot snapshot of donations and the
total count is small enough to fit in memory. For paginated
consumption use @playlive/react-query's useInfiniteDonations.
To cap the walk, pass count / maxPages — both participate in the
cache key, so two components asking for different slices don't share
an entry.
Fetch every donation for a Tiltify campaign as a single flat array (no pagination cursor surfaced to the caller).
Use this when you want a one-shot snapshot of donations and the total count is small enough to fit in memory. For paginated consumption use
@playlive/react-query'suseInfiniteDonations.To cap the walk, pass
count/maxPages— both participate in the cache key, so two components asking for different slices don't share an entry.