UNPKG

@zimic/interceptor

Version:

Next-gen TypeScript-first HTTP intercepting and mocking

54 lines (44 loc) 2.41 kB
export { default as RunningHttpInterceptorError } from './interceptor/errors/RunningHttpInterceptorError'; export { default as NotRunningHttpInterceptorError } from './interceptor/errors/NotRunningHttpInterceptorError'; export { default as UnknownHttpInterceptorPlatformError } from './interceptor/errors/UnknownHttpInterceptorPlatformError'; export { default as UnknownHttpInterceptorTypeError } from './interceptor/errors/UnknownHttpInterceptorTypeError'; export { default as RequestSavingSafeLimitExceededError } from './interceptor/errors/RequestSavingSafeLimitExceededError'; export { default as InvalidFormDataError } from './interceptorWorker/errors/InvalidFormDataError'; export { default as InvalidJSONError } from './interceptorWorker/errors/InvalidJSONError'; export { default as UnregisteredBrowserServiceWorkerError } from './interceptorWorker/errors/UnregisteredBrowserServiceWorkerError'; export { default as DisabledRequestSavingError } from './requestHandler/errors/DisabledRequestSavingError'; export { default as TimesCheckError } from './requestHandler/errors/TimesCheckError'; export type { HttpRequestHandlerResponseDeclaration, HttpRequestHandlerResponseDeclarationFactory, HttpInterceptorRequest, HttpInterceptorResponse, InterceptedHttpInterceptorRequest, } from './requestHandler/types/requests'; export type { LocalHttpRequestHandler, RemoteHttpRequestHandler, SyncedRemoteHttpRequestHandler, PendingRemoteHttpRequestHandler, HttpRequestHandler, } from './requestHandler/types/public'; export type { HttpRequestHandlerRestriction, HttpRequestHandlerStaticRestriction, HttpRequestHandlerComputedRestriction, HttpRequestHandlerHeadersStaticRestriction, HttpRequestHandlerSearchParamsStaticRestriction, HttpRequestHandlerBodyStaticRestriction, } from './requestHandler/types/restrictions'; export type { HttpInterceptorType, HttpInterceptorPlatform, LocalHttpInterceptorOptions, RemoteHttpInterceptorOptions, HttpInterceptorOptions, UnhandledRequestStrategy, } from './interceptor/types/options'; export type { UnhandledHttpInterceptorRequest } from './interceptor/types/requests'; export type { InferHttpInterceptorSchema } from './interceptor/types/schema'; export type { LocalHttpInterceptor, RemoteHttpInterceptor, HttpInterceptor } from './interceptor/types/public'; export { createHttpInterceptor } from './interceptor/factory';