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

    Interface CampaignAmounts

    Scalar amount breakdown returned by extractCampaignAmounts. Every value is a defensive Number.parseFloat of the wire scalar, coerced to 0 on NaN / missing / non-finite input.

    interface CampaignAmounts {
        currentAmount: number;
        goalAmount: number;
        originalGoalAmount: number;
        supportingAmount: number;
        totalAmount: number;
    }
    Index
    currentAmount: number

    For campaigns with amount_raised, that scalar. For payloads without amount_raised (personal / team campaigns, fundraising events), falls back to total_amount_raised.value. 0 on null input.

    goalAmount: number

    goal.value as a number. 0 when missing.

    originalGoalAmount: number

    original_goal.value when the payload exposes it, otherwise the goalAmount fallback. Useful for stretch-goal progress bars.

    supportingAmount: number

    supporting_amount_raised.value when the payload exposes it (fundraising events, team campaigns). 0 otherwise.

    totalAmount: number

    total_amount_raised.value as a number. 0 when missing.