mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[sequelize] Change ReplicationOptions.read type to array (#25207)
This commit is contained in:
committed by
Wesley Wigham
parent
a39131b390
commit
06dca56209
Vendored
+1
-1
@@ -5320,7 +5320,7 @@ declare namespace sequelize {
|
||||
username?: string;
|
||||
password?: string;
|
||||
database?: string;
|
||||
};
|
||||
}[];
|
||||
|
||||
write?: {
|
||||
host?: string;
|
||||
|
||||
@@ -1243,11 +1243,11 @@ new Sequelize( 'wat', 'trololo', 'wow', { port : 99999 } );
|
||||
new Sequelize( 'localhost', 'wtf', 'lol', { port : 99999 } );
|
||||
new Sequelize( 'sequelize', null, null, {
|
||||
replication : {
|
||||
read : {
|
||||
read : [{
|
||||
host : 'localhost',
|
||||
username : 'omg',
|
||||
password : 'lol'
|
||||
}
|
||||
}]
|
||||
}
|
||||
} );
|
||||
new Sequelize( {
|
||||
|
||||
Vendored
+1
-1
@@ -5067,7 +5067,7 @@ declare namespace sequelize {
|
||||
username?: string;
|
||||
password?: string;
|
||||
database?: string;
|
||||
};
|
||||
}[];
|
||||
|
||||
write?: {
|
||||
host?: string;
|
||||
|
||||
@@ -1165,11 +1165,11 @@ new Sequelize( 'wat', 'trololo', 'wow', { port : 99999 } );
|
||||
new Sequelize( 'localhost', 'wtf', 'lol', { port : 99999 } );
|
||||
new Sequelize( 'sequelize', null, null, {
|
||||
replication : {
|
||||
read : {
|
||||
read : [{
|
||||
host : 'localhost',
|
||||
username : 'omg',
|
||||
password : 'lol'
|
||||
}
|
||||
}]
|
||||
}
|
||||
} );
|
||||
new Sequelize( {
|
||||
|
||||
Reference in New Issue
Block a user