@playlive/react-data
    Preparing search index...

    Interface UseFlattenedDonationsParams

    Params for useFlattenedDonations. Tiltify-only by design.

    interface UseFlattenedDonationsParams {
        campaignId: string | null | undefined;
        config?: DonationFetchConfig;
        count?: number;
        isTeam?: boolean;
        maxPages?: number;
    }
    Index
    campaignId: string | null | undefined
    config?: DonationFetchConfig
    count?: number

    Page size handed to Tiltify (capped at 100 by the API). Defaults to the fetcher's own default of 100.

    isTeam?: boolean
    maxPages?: number

    Stop after this many pages. Defaults to the fetcher's default of 100 pages (≈10k donations).

    Pass 1 together with count when you only need a recent slice — e.g. { count: 50, maxPages: 1 } for an alerts/preview feed — instead of walking a large campaign's entire donation history on every refetch.