Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
635 B
TypeScript
19 lines
635 B
TypeScript
import { Type } from '../type.interface';
|
|
import { MiddlewareConfigProxy } from './middleware-config-proxy.interface';
|
|
/**
|
|
* Interface defining method for applying user defined middleware to routes.
|
|
*
|
|
* @see [MiddlewareConsumer](https://docs.nestjs.com/middleware#middleware-consumer)
|
|
*
|
|
* @publicApi
|
|
*/
|
|
export interface MiddlewareConsumer {
|
|
/**
|
|
* @param {...(Type | Function)} middleware middleware class/function or array of classes/functions
|
|
* to be attached to the passed routes.
|
|
*
|
|
* @returns {MiddlewareConfigProxy}
|
|
*/
|
|
apply(...middleware: (Type<any> | Function)[]): MiddlewareConfigProxy;
|
|
}
|