@queuedash/api
Version:
A stunning, sleek dashboard for Bull, BullMQ, and Bee-Queue
12 lines • 519 B
TypeScript
import type { FastifyInstance, onRequestHookHandler, preHandlerHookHandler } from "fastify";
import type { Context } from "../trpc";
export type FastifyQueueDashHooksOptions = Partial<{
onRequest?: onRequestHookHandler;
preHandler?: preHandlerHookHandler;
}>;
export declare function fastifyQueueDashPlugin(fastify: FastifyInstance, { baseUrl, ctx, uiHooks, }: {
ctx: Context;
baseUrl: string;
uiHooks?: FastifyQueueDashHooksOptions;
}, done: () => void): void;
//# sourceMappingURL=fastify.d.ts.map