@methodus/server
Version:
dynamic rpc components
12 lines (11 loc) • 1.36 kB
TypeScript
import 'reflect-metadata';
export declare function Body(name?: string, type?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Param(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Files(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Headers(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Cookies(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Query(name?: string, type?: any, defaultValue?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Context(name?: string, type?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function SecurityContext(name?: string, type?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Response(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
export declare function Request(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;