UNPKG

gatsby

Version:
10 lines (9 loc) 427 B
import type { RequestHandler } from "express"; import type { IGatsbyFunction } from "../../redux/types"; interface ICreateMiddlewareConfig { getFunctions: () => Array<IGatsbyFunction>; prepareFn?: (functionObj: IGatsbyFunction) => Promise<void> | void; showDebugMessageInResponse?: boolean; } export declare function functionMiddlewares(middlewareConfig: ICreateMiddlewareConfig): Array<RequestHandler>; export {};