不要怂,就是干,撸起袖子干!

Commit 504034cc by Erik Seliger Committed by Sushant

fix(types): replication options (#10741)

1 parent 850c7fd0
Showing with 9 additions and 13 deletions
...@@ -86,25 +86,21 @@ export interface PoolOptions { ...@@ -86,25 +86,21 @@ export interface PoolOptions {
validate?(client?: unknown): boolean; validate?(client?: unknown): boolean;
} }
/** export interface ConnectionOptions {
* Interface for replication Options in the sequelize constructor
*/
export interface ReplicationOptions {
read?: {
host?: string; host?: string;
port?: string | number; port?: string | number;
username?: string; username?: string;
password?: string; password?: string;
database?: string; database?: string;
}; }
write?: { /**
host?: string; * Interface for replication Options in the sequelize constructor
port?: string | number; */
username?: string; export interface ReplicationOptions {
password?: string; read: ConnectionOptions[];
database?: string;
}; write: ConnectionOptions;
} }
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!