Type alias ApiRequestInfo<EndpointUrl>

ApiRequestInfo<EndpointUrl>: EndpointFields<EndpointUrl> & {
    url: string;
    toRequestUrl() => string;
}

Type Parameters

  • EndpointUrl

Type declaration

  • url: string

    The URL, without any GraphQL query parameters.

  • toRequestUrl:function
    • Converts the request back into a URL to be sent to the Twitter API.

      Returns string