@methodus/server
Version:
Server components for @methodus workflow
11 lines (10 loc) • 1.21 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 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;