ms-types 0.4.17 → 0.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/mysql.d.ts CHANGED
@@ -18,6 +18,10 @@ declare namespace mysql {
18
18
  database: string;
19
19
  /** 字符集,默认 utf8mb4 */
20
20
  charset?: string;
21
+ /** 连接超时时间,默认 5000 毫秒 */
22
+ connectTimeout?: number;
23
+ /** 查询超时时间,默认 30000 毫秒 */
24
+ queryTimeout?: number;
21
25
  }
22
26
 
23
27
  /**
@@ -19,6 +19,10 @@ declare namespace $MySQL数据库 {
19
19
  database: 字符串;
20
20
  /** 字符集,默认 utf8mb4 */
21
21
  charset?: 字符串;
22
+ /** 连接超时时间,默认 5000 毫秒 */
23
+ connectTimeout?: 数字;
24
+ /** 查询超时时间,默认 30000 毫秒 */
25
+ queryTimeout?: 数字;
22
26
  }
23
27
 
24
28
  /**