Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
import { Container, ServiceClassInstance } from "dioc"
import { KernelInterceptor } from "~/services/kernel-interceptor.service"
export type KernelInterceptorDef =
| {
type: "standalone"
interceptor: KernelInterceptor
}
| {
type: "service"
service: ServiceClassInstance<unknown> & {
new (container: Container): KernelInterceptor
}
}
export type KernelInterceptorsPlatformDef = {
default: string
interceptors: KernelInterceptorDef[]
}