Initial checkin of Blueprint-MCP plugin

This commit is contained in:
2026-03-05 19:26:46 -05:00
parent 9cc1cb502b
commit 8367bd2221
4571 changed files with 1211887 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
// src/utils/handler.ts
import { COMPOSED_HANDLER } from "./constants.js";
var isMiddleware = (handler) => handler.length > 1;
var findTargetHandler = (handler) => {
return handler[COMPOSED_HANDLER] ? (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
findTargetHandler(handler[COMPOSED_HANDLER])
) : handler;
};
export {
findTargetHandler,
isMiddleware
};