UNPKG

claire-framework

Version:

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

10 lines 788 B
import { AbstractService } from ".."; import { AbstractModel } from ".."; export declare const METADATA = "__METADATA__"; export declare const initMetadata: <T>(prototype: any, metaPrototype: new (...args: any[]) => T) => T; export declare const Controller: (permissionGroupName?: string | undefined) => (constructor: any) => any; export declare const Service: () => <T extends AbstractService>(constructor: new () => T) => new () => T; export declare const Model: (tableName?: string | undefined) => <T extends AbstractModel>(constructor: new (...args: any[]) => T) => new (...args: any[]) => T; export declare const Switch: (env: string[]) => (constructor: any) => any; export declare const Inject: () => (prototype: any, propertyKey: string) => void; //# sourceMappingURL=core.d.ts.map