nestjs-starter
Version:
Get started for beginners with Nestjs
22 lines (19 loc) • 497 B
text/typescript
import { Dialect } from 'sequelize/types';
export interface IDatabaseConfigAttributes {
readonly username: string;
readonly password: string;
readonly database: string;
readonly host: string;
readonly port: number;
readonly dialect: Dialect;
logging: boolean;
force: boolean;
timezone: string;
dialectOptions?: DialectOptions;
}
interface DialectOptions {
readonly ssl: {
readonly require: boolean;
readonly rejectUnauthorized: boolean;
};
}