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

    Function fetchGiftsThatGiveMilestones

    • Fetch the ordered gifts-that-give milestone rows for a given fundraising goal.

      Backs the milestone overlays that render "$X unlocks Y" tiles. Wire contract lives in packages/features/fundraiser-discovery/api/src/lifetime-raised/handlers/gifts.handler.ts inside playlive-unified-data-pipeline — the SELECT is filtered by include_<goal> = true and pre-sorted by value_rounded.

      Supersedes the legacy POST /gifts-that-give-milestones endpoint on the retired playlive-overlay-lambda service.

      Returns Promise<GiftsThatGiveMilestone[]>

      Error when lifetimeApiUrl is not configured, or when the response is non-2xx.