UNPKG

452 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.RouteConfig = void 0;
4const common_1 = require("@nestjs/common");
5const constants_1 = require("../constants");
6/**
7 * @publicApi
8 *
9 * @param config See {@link https://fastify.dev/docs/latest/Reference/Routes/#config}
10 */
11const RouteConfig = (config) => (0, common_1.SetMetadata)(constants_1.FASTIFY_ROUTE_CONFIG_METADATA, config);
12exports.RouteConfig = RouteConfig;