Update types
This commit is contained in:
parent
f0a124bee6
commit
e3d81a581a
@ -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[];
|
||||
|
Loading…
Reference in New Issue
Block a user