UNPKG

@vulcan-sql/serve

Version:

VulcanSQL package for serving projects

8 lines (7 loc) 358 B
import { BuiltInMiddleware, CatalogRouter, KoaContext, Next } from '../../models/index'; export declare class CatalogRouterMiddleware extends BuiltInMiddleware { private catalogRouter; constructor(config: any, name: string, catalogRouter: CatalogRouter); onActivate(): Promise<void>; handle(context: KoaContext, next: Next): Promise<void>; }