File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { Options } from 'sequelize' ;
2
+
3
+ /**
4
+ * This class is for deprecated "name" property.
5
+ * For cPlease
6
+ */
7
+ export interface ISequelizeDbNameConfig extends Options {
8
+
9
+ /**
10
+ * Name of database
11
+ * @TODO : name is deprecated. Use database instead.
12
+ */
13
+ name : string ;
14
+
15
+ /**
16
+ * Username of database
17
+ */
18
+ username : string ;
19
+
20
+ /**
21
+ * Password for database user
22
+ */
23
+ password : string ;
24
+
25
+ /**
26
+ * Path to models, which should be loaded
27
+ */
28
+ modelPaths ?: string [ ] ;
29
+
30
+ /**
31
+ * Makes it possible to use sequelize for validation only
32
+ * if set to true. For this configuration it is always false.
33
+ * See ISequelizeValidationOnlyConfig interface
34
+ */
35
+ validateOnly ?: false ;
36
+ }
Original file line number Diff line number Diff line change
1
+ import { Options } from 'sequelize' ;
2
+
3
+ export interface ISequelizeConfig extends Options {
4
+
5
+ /**
6
+ * Name of database
7
+ */
8
+ name : string ;
9
+
10
+ /**
11
+ * Username of database
12
+ */
13
+ username : string ;
14
+
15
+ /**
16
+ * Password for database user
17
+ */
18
+ password : string ;
19
+
20
+ /**
21
+ * Path to models, which should be loaded
22
+ */
23
+ modelPaths ?: string [ ] ;
24
+
25
+ /**
26
+ * Makes it possible to use sequelize for validation only
27
+ * if set to true. For this configuration it is always false.
28
+ * See ISequelizeValidationOnlyConfig interface
29
+ */
30
+ validateOnly ?: false ;
31
+ }
You can’t perform that action at this time.
0 commit comments