UNPKG

@methodus/server

Version:
9 lines (8 loc) 644 B
import 'reflect-metadata'; /** the model decorator registers the model with the odm * @param {Verbs} verb - the HTTP verb for the route. * @param {string} route - express route string. * @param {Function[]} middlewares - an array of middlewares to apply to this function} */ export declare function Event(name: string, exchange: string): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>; export declare function EventSingular(name: string, exchange: string): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;