Update types

This commit is contained in:
Erik 2023-07-13 19:10:43 +03:00
parent f0a124bee6
commit e3d81a581a
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -13,9 +13,12 @@ type Credentials = {
host: string,
port: number,
database: string,
node: string
}
type ExtendedCredentials = {
node: string
} & Credentials
export type MariaOptions = {
load?: boolean,
cluster?: PoolClusterConfig,
@ -86,7 +89,7 @@ class MariaDB
#load: boolean;
#config: MariaOptions;
#credentials: Credentials[];
#credentials: ExtendedCredentials[];
#cluster: boolean;
#pool: PoolCluster | null;
#nodes: Node[];