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

    Interface ScheduleBlockRaised

    Response shape for GET /schedules/campaigns/{id}/raised.

    raised and currency are null when the window spans multiple currencies — read byCurrency in that case. asOf is the server-side timestamp captured immediately before the SQL aggregation; every donation delivered over the WebSocket firehose with completed_at <= asOf is already reflected in raised, so only strictly-later events are pure delta.

    Consumers combining with a WebSocket delta (see usePipelineDonationSum in @playlive/react-pipeline) should pass asOf as the delta's start and the block's ends_at as the delta's end — same window semantics on both halves.

    interface ScheduleBlockRaised {
        asOf: string;
        byCurrency: ScheduleBlockRaisedByCurrency[];
        campaignID: string;
        currency: string | null;
        donationCount: number;
        end: string;
        raised: number | null;
        start: string;
    }
    Index
    asOf: string
    campaignID: string
    currency: string | null
    donationCount: number
    end: string
    raised: number | null
    start: string