/opt/canhelp/node_modules/gaxios/build/cjs/src
NameSizeModeActions
common.d.ts122810644editdlrm
common.js116880644editdlrm
common.js.map73430644editdlrm
gaxios.d.ts41210644editdlrm
gaxios.js223740644editdlrm
gaxios.js.map154980644editdlrm
index.d.ts5910644editdlrm
index.js21440644editdlrm
index.js.map5240644editdlrm
interceptor.d.ts11450644editdlrm
interceptor.js9440644editdlrm
interceptor.js.map3290644editdlrm
retry.d.ts2540644editdlrm
retry.js62590644editdlrm
retry.js.map46290644editdlrm
util.cjs7020644editdlrm
util.cjs.map3370644editdlrm
util.d.cts1130644editdlrm
Edit: /opt/canhelp/node_modules/gaxios/build/cjs/src/interceptor.d.ts (1145B)
import { GaxiosError, GaxiosOptionsPrepared, GaxiosResponse } from './common.js'; /** * Interceptors that can be run for requests or responses. These interceptors run asynchronously. */ export interface GaxiosInterceptor { /** * Function to be run when applying an interceptor. * * @param {T} configOrResponse The current configuration or response. * @returns {Promise} Promise that resolves to the modified set of options or response. */ resolved?: (configOrResponse: T) => Promise; /** * Function to be run if the previous call to resolved throws / rejects or the request results in an invalid status * as determined by the call to validateStatus. * * @param {GaxiosError} err The error thrown from the previously called resolved function. */ rejected?: (err: GaxiosError) => void; } /** * Class to manage collections of GaxiosInterceptors for both requests and responses. */ export declare class GaxiosInterceptorManager extends Set | null> { }