import { Options } from 'sequelize';

export interface DbConfig {
    [key: string]: Options & { username?: string; password?: string; database?: string };
}

export interface AppError extends Error {
    statusCode?: number;
    name: string;
    errors?: any[];
    code?: string;
}
