mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-29 02:04:48 +08:00
19 lines
319 B
TypeScript
19 lines
319 B
TypeScript
import { Id } from "./";
|
|
|
|
export enum Engine {
|
|
MySQL = "MYSQL",
|
|
PostgreSQL = "POSTGRESQL",
|
|
}
|
|
|
|
export interface Connection {
|
|
id: Id;
|
|
title: string;
|
|
engineType: Engine;
|
|
host: string;
|
|
port: string;
|
|
username: string;
|
|
password: string;
|
|
// database is only required for PostgreSQL.
|
|
database?: string;
|
|
}
|