UNPKG

@busy-hour/blaze

Version:

<h1 align='center'>🔥 Blaze</h1> <div align='center'> An event driven framework for 🔥 Hono.js </div>

13 lines (12 loc) • 492 B
import type { Context as HonoCtx, Next } from 'hono'; import type { Method, RestHandlerOption } from '../types/rest'; import type { Service } from '../types/service'; export declare class BlazeServiceRest { readonly path: string; readonly method: Method | null; readonly service: Service | null; private action; constructor(options: RestHandlerOption); restHandler(...args: [honoCtx: HonoCtx, next: Next]): Promise<void | Response>; private get openAPIConfig(); }