polarity-integration-utils
    Preparing search index...

    Type Alias AfterResponseHook

    AfterResponseHook: (
        response: HttpRequestResponse,
        requestOptions: HttpRequestOptions,
        userOptions: DoLookupUserOptions,
    ) => Promise<HttpRequestResponse>

    Hook that runs after a successful HTTP response. Each hook receives the output of the previous hook, allowing the response to be modified in a chain.

    Typically used to extract specific fields from the response body or to transform the response into a more useful shape.

    Type Declaration