@playlive/twitch-charity
    Preparing search index...

    Interface FetchTwitchCampaignOptions

    Inputs for fetchTwitchCampaign.

    interface FetchTwitchCampaignOptions {
        baseUrl: string;
        campaignId: string;
        fetch?: typeof fetch;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index
    baseUrl: string

    Absolute URL of the Twitch charity proxy (no trailing slash).

    "https://twitch-charity-proxy.experience.stjude.org"
    
    campaignId: string

    Campaign ID as exposed by the proxy.

    fetch?: typeof fetch

    Optional fetch override — defaults to the global fetch. Use this for testing or to plug in a wrapped fetch (retries, tracing, etc.).

    signal?: AbortSignal

    Optional AbortSignal forwarded to the underlying request. The caller owns the controller; this client never aborts on its own.