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

    Interface UseCampaignsResult

    Return shape of useCampaigns. Ordered 1-for-1 with the params array passed in, so callers can index into data by row.

    isLoading is true while any row hasn't produced its first result; isFetching reflects background refetches on any row. isError is true when at least one row has surfaced an error; individual per-row errors are available in errors[i].

    interface UseCampaignsResult {
        data: (
            | TiltifyCampaign
            | TiltifyPersonalCampaign
            | TiltifyTeamCampaign
            | null
            | undefined
        )[];
        errors: (Error | null)[];
        isError: boolean;
        isFetching: boolean;
        isLoading: boolean;
        isPending: boolean;
        refetch: (options?: HookRefetchOptions) => Promise<void>;
    }
    Index
    data: (
        | TiltifyCampaign
        | TiltifyPersonalCampaign
        | TiltifyTeamCampaign
        | null
        | undefined
    )[]
    errors: (Error | null)[]
    isError: boolean
    isFetching: boolean
    isLoading: boolean
    isPending: boolean

    true while no row has resolved data or a captured error yet — i.e. we haven't checked/fetched. Mirrors TanStack Query v5's isPending: stays true when a row is disabled.

    refetch: (options?: HookRefetchOptions) => Promise<void>