UNPKG

claire-framework

Version:

- được viết bằng TypeScript - hỗ trợ websocket và HTTP request - hỗ trợ CLI để generate base project (claire-cli)

11 lines 1.11 kB
import { AbstractHttpResponder } from "../controller/http/AbstractHttpResponder"; import { AbstractHttpMiddleware } from "../controller/http/AbstractHttpMiddleware"; import { AbstractAccessCondition, HTTP } from ".."; export declare const Override: () => (prototype: any, propertyKey: string) => void; export declare const Permission: (permissionConditions?: AbstractAccessCondition<any>[] | undefined) => (prototype: any, propertyKey: string) => void; export declare const AllowOAuth: () => (prototype: any, propertyKey: string) => void; export declare const OpenAccess: () => (prototype: any, propertyKey: string) => void; export declare const NoAccess: () => (prototype: any, propertyKey: string) => void; export declare const Mapping: (method: HTTP, route?: string, responder?: AbstractHttpResponder | undefined, middleware?: AbstractHttpMiddleware[] | undefined) => (prototype: any, propertyKey: string) => void; export declare const Validator: (bodyValidator?: any, paramsValidator?: any, queryValidator?: any) => (prototype: any, propertyKey: string) => void; //# sourceMappingURL=controller.d.ts.map