UNPKG

tspace-mysql

Version:

Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.

26 lines (25 loc) 877 B
export declare const loadOptionsEnv: (customEnv?: string) => { readonly cluster: string | false; readonly driver: string; readonly host: string | undefined; readonly port: string | 3306; readonly username: string | undefined; readonly password: string; readonly database: string | undefined; }; declare const Config: Readonly<{ readonly HOST: string; readonly PORT: string | 3306; readonly USERNAME: string | undefined; readonly PASSWORD: string; readonly DATABASE: string | undefined; readonly CONNECTION_LIMIT: string | 10; readonly DATE_STRINGS: string | false; readonly CLUSTER: string | false; readonly DRIVER: string; readonly CACHE: "memory" | "db" | "redis"; readonly CONNECTION_ERROR: string | false; readonly CONNECTION_SUCCESS: string | false; }>; export { Config }; export default Config;