rest-vir - v1.2.6
    Preparing search index...

    Type Alias EndpointExecutorData<SpecificEndpoint>

    Extracts response and request data from an endpoint definition into different properties.

    type EndpointExecutorData<SpecificEndpoint extends BaseEndpointForExecutorData> = {
        request: SpecificEndpoint["requestDataShape"] extends Shape
            ? SpecificEndpoint["requestDataShape"]["runtimeType"]
            : SpecificEndpoint["requestDataShape"];
        response: SpecificEndpoint["responseDataShape"] extends Shape
            ? SpecificEndpoint["responseDataShape"]["runtimeType"]
            : undefined;
    }

    Type Parameters

    Index

    Properties

    Properties

    request: SpecificEndpoint["requestDataShape"] extends Shape
        ? SpecificEndpoint["requestDataShape"]["runtimeType"]
        : SpecificEndpoint["requestDataShape"]
    response: SpecificEndpoint["responseDataShape"] extends Shape
        ? SpecificEndpoint["responseDataShape"]["runtimeType"]
        : undefined