UNPKG

faster-auto

Version:

A fast and lightweight framework for building RESTful APIs with Sequelize and Node.js. Supports automatic model loading, flexible query APIs, and built-in Swagger documentation.

19 lines 588 B
export declare const Models: Record<string, import("sequelize").ModelStatic<any>>; export interface FastlyOptions { modelDir: string; db: { dialect: 'mysql' | 'postgres' | 'sqlite'; host: string; port: number; username: string; password: string; database: string; }; tablePrefix?: string; apiPrefix?: string; swagger?: boolean; redoc?: boolean; logStartupInfo: boolean; } export declare function Faster(options: FastlyOptions): import("express-serve-static-core").Express; //# sourceMappingURL=index.d.ts.map