ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Type Alias HttpCaller

    Who makes a request. Every field is optional, since a direct call of makeHttpRequest() may pass none of them.

    type HttpCaller = {
        args?: unknown[];
        className?: string;
        instanceId?: number;
        methodName?: string;
        retryCount?: number;
    }
    Index
    args?: unknown[]

    Arguments the decorated method was called with, e.g. [2026, 10]. A sign-in method is called with its credentials (an email address and a password, a refresh token), so redact them before storing anything.

    className?: string

    Class of the decorated method, e.g. Efteling

    instanceId?: number

    A number that tells the instances of one class apart, e.g. 3. It is assigned when an instance first makes a request or, while a method cache observer is set, first has a call answered from the method cache. It is unique within the process across all classes, but can differ in the next run, so do not key a recording on it.

    methodName?: string

    The decorated method, e.g. fetchCalendar

    retryCount?: number

    0 for the first attempt, 1 for the first retry, and so on