@breautek/storm 3.2.0 → 3.2.1
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/CHANGELOG.md +7 -0
- package/docs/classes/Application.Application-1.md +25 -25
- package/docs/classes/BackendAuthenticationMiddleware.BackendAuthenticationMiddleware-1.md +2 -2
- package/docs/classes/CORSMiddleware.CORSMiddleware-1.md +6 -6
- package/docs/classes/ConfigLoader.ConfigLoader-1.md +1 -1
- package/docs/classes/Database.Database-1.md +12 -12
- package/docs/classes/DatabaseConnection.DatabaseConnection-1.md +19 -19
- package/docs/classes/DatabaseQueryError.DatabaseQueryError-1.md +8 -8
- package/docs/classes/DiskSpaceError.DiskSpaceError-1.md +8 -8
- package/docs/classes/DropTemporaryTableQuery.DropTemporaryTableQuery-1.md +8 -8
- package/docs/classes/DumpStream.DumpStream-1.md +1 -1
- package/docs/classes/DuplicateEntryError.DuplicateEntryError-1.md +8 -8
- package/docs/classes/EntityNotFoundError.EntityNotFoundError-1.md +8 -8
- package/docs/classes/ExpiredTokenError.ExpiredTokenError-1.md +8 -8
- package/docs/classes/Handler.Handler-1.md +13 -13
- package/docs/classes/InternalError.InternalError-1.md +8 -8
- package/docs/classes/InvalidConfigError.InvalidConfigError-1.md +8 -8
- package/docs/classes/InvalidCredentialsError.InvalidCredentialsError-1.md +8 -8
- package/docs/classes/InvalidValueError.InvalidValueError-1.md +8 -8
- package/docs/classes/JWTVerifyOptionsParser.JWTVerifyOptionsParser-1.md +2 -2
- package/docs/classes/ManagedDatabaseConnection.ManagedDatabaseConnection-1.md +19 -19
- package/docs/classes/Middleware.Middleware-1.md +3 -3
- package/docs/classes/MissingConfigError.MissingConfigError-1.md +8 -8
- package/docs/classes/MissingParameterError.MissingParameterError-1.md +8 -8
- package/docs/classes/MySQLConnection.MySQLConnection-1.md +20 -20
- package/docs/classes/MySQLDatabase.MySQLDatabase-1.md +13 -13
- package/docs/classes/Query.Query-1.md +8 -8
- package/docs/classes/RawQuery.RawQuery-1.md +8 -8
- package/docs/classes/Request.Request-1.md +18 -18
- package/docs/classes/Response.Response-1.md +11 -11
- package/docs/classes/ResponseData.ResponseData-1.md +7 -7
- package/docs/classes/ServiceProvider.ServiceProvider-1.md +15 -15
- package/docs/classes/ServiceResponse.ServiceResponse-1.md +4 -4
- package/docs/classes/StormError.StormError-1.md +8 -8
- package/docs/classes/TemporaryTableQuery.TemporaryTableQuery-1.md +8 -8
- package/docs/classes/Token.Token-1.md +2 -2
- package/docs/classes/TokenManager.TokenManager-1.md +4 -4
- package/docs/classes/UnauthorizedAccessError.UnauthorizedAccessError-1.md +8 -8
- package/docs/classes/private_CommitQuery.CommitQuery.md +8 -8
- package/docs/classes/private_RollbackQuery.RollbackQuery.md +8 -8
- package/docs/classes/private_StartTransactionQuery.StartTransactionQuery.md +8 -8
- package/docs/enums/ApplicationEvent.ApplicationEvent-1.md +1 -1
- package/docs/enums/ErrorCode.ErrorCode-1.md +9 -9
- package/docs/enums/ExitCode.ExitCode-1.md +2 -2
- package/docs/enums/HTTPMethod.HTTPMethod-1.md +4 -4
- package/docs/enums/JWTError.JWTError-1.md +2 -2
- package/docs/enums/StatusCode.StatusCode-1.md +48 -48
- package/docs/interfaces/DropTemporaryTableQuery.IDropTemporaryTableQueryInput.md +1 -1
- package/docs/interfaces/IConfig.IConfig-1.md +8 -8
- package/docs/interfaces/IDatabaseConfig.IDatabaseConfig-1.md +6 -6
- package/docs/interfaces/IDatabaseConnection.IDatabaseConnection-1.md +14 -14
- package/docs/interfaces/IFormData.IFormData-1.md +2 -2
- package/docs/interfaces/IHandler.IHandler-1.md +1 -1
- package/docs/interfaces/IInsertQueryResult.IInsertQueryResult-1.md +3 -3
- package/docs/interfaces/IJWTVerifyOptions.IJWTVerifyOptions-1.md +1 -1
- package/docs/interfaces/IRequestResponse.IRequestResponse-1.md +2 -2
- package/docs/interfaces/IUpdateQueryResult.IUpdateQueryResult-1.md +2 -2
- package/docs/interfaces/StormError.IErrorResponse.md +4 -4
- package/docs/interfaces/TemporaryTableQuery.ITemporaryTableQueryInput.md +2 -2
- package/docs/modules/DatabaseConnection.md +2 -2
- package/docs/modules/Handler.md +2 -2
- package/docs/modules/IDeleteQueryResult.md +1 -1
- package/docs/modules/Response.md +1 -1
- package/docs/modules/instance.md +2 -2
- package/lib/ConfigLoader.js +1 -1
- package/lib/ConfigLoader.js.map +1 -1
- package/package.json +17 -17
- package/src/ConfigLoader.ts +1 -1
- package/src/defs/merge-change.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v3.2.1](https://github.com/breautek/storm/compare/v3.2.0...v3.2.1)
|
|
8
|
+
|
|
9
|
+
- deproll [`8a65682`](https://github.com/breautek/storm/commit/8a656821743454af66978aae441d61242b8adb15)
|
|
10
|
+
- replaced merge-change with my own fork that contains vulnerability patches [`72412c9`](https://github.com/breautek/storm/commit/72412c9d391e4728bbd3af10ed5108cb2373b64e)
|
|
11
|
+
|
|
7
12
|
#### [v3.2.0](https://github.com/breautek/storm/compare/v3.1.2...v3.2.0)
|
|
8
13
|
|
|
14
|
+
> 3 October 2021
|
|
15
|
+
|
|
9
16
|
- deproll [`477d756`](https://github.com/breautek/storm/commit/477d7569db92758cec31c8a80a6ae53c5198d33a)
|
|
10
17
|
- breaking: Added _destroy abstract api to Database, intended for destroying connection pools [`a5c8a97`](https://github.com/breautek/storm/commit/a5c8a9708bc469a7191eb06d7a68289b1372543a)
|
|
11
18
|
|
|
@@ -108,7 +108,7 @@ EventEmitter.constructor
|
|
|
108
108
|
|
|
109
109
|
#### Defined in
|
|
110
110
|
|
|
111
|
-
[src/Application.ts:64](https://github.com/breautek/storm/blob/
|
|
111
|
+
[src/Application.ts:64](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L64)
|
|
112
112
|
|
|
113
113
|
## Properties
|
|
114
114
|
|
|
@@ -192,7 +192,7 @@ Promise<void>
|
|
|
192
192
|
|
|
193
193
|
#### Defined in
|
|
194
194
|
|
|
195
|
-
[src/Application.ts:268](https://github.com/breautek/storm/blob/
|
|
195
|
+
[src/Application.ts:268](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L268)
|
|
196
196
|
|
|
197
197
|
___
|
|
198
198
|
|
|
@@ -212,7 +212,7 @@ ___
|
|
|
212
212
|
|
|
213
213
|
#### Defined in
|
|
214
214
|
|
|
215
|
-
[src/Application.ts:202](https://github.com/breautek/storm/blob/
|
|
215
|
+
[src/Application.ts:202](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L202)
|
|
216
216
|
|
|
217
217
|
___
|
|
218
218
|
|
|
@@ -226,7 +226,7 @@ ___
|
|
|
226
226
|
|
|
227
227
|
#### Defined in
|
|
228
228
|
|
|
229
|
-
[src/Application.ts:245](https://github.com/breautek/storm/blob/
|
|
229
|
+
[src/Application.ts:245](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L245)
|
|
230
230
|
|
|
231
231
|
___
|
|
232
232
|
|
|
@@ -240,7 +240,7 @@ ___
|
|
|
240
240
|
|
|
241
241
|
#### Defined in
|
|
242
242
|
|
|
243
|
-
[src/Application.ts:251](https://github.com/breautek/storm/blob/
|
|
243
|
+
[src/Application.ts:251](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L251)
|
|
244
244
|
|
|
245
245
|
___
|
|
246
246
|
|
|
@@ -262,7 +262,7 @@ Subclasses are expected to override this to configure their database setup, if t
|
|
|
262
262
|
|
|
263
263
|
#### Defined in
|
|
264
264
|
|
|
265
|
-
[src/Application.ts:377](https://github.com/breautek/storm/blob/
|
|
265
|
+
[src/Application.ts:377](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L377)
|
|
266
266
|
|
|
267
267
|
___
|
|
268
268
|
|
|
@@ -282,7 +282,7 @@ ___
|
|
|
282
282
|
|
|
283
283
|
#### Defined in
|
|
284
284
|
|
|
285
|
-
[src/Application.ts:165](https://github.com/breautek/storm/blob/
|
|
285
|
+
[src/Application.ts:165](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L165)
|
|
286
286
|
|
|
287
287
|
___
|
|
288
288
|
|
|
@@ -302,7 +302,7 @@ ___
|
|
|
302
302
|
|
|
303
303
|
#### Defined in
|
|
304
304
|
|
|
305
|
-
[src/Application.ts:161](https://github.com/breautek/storm/blob/
|
|
305
|
+
[src/Application.ts:161](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L161)
|
|
306
306
|
|
|
307
307
|
___
|
|
308
308
|
|
|
@@ -316,7 +316,7 @@ ___
|
|
|
316
316
|
|
|
317
317
|
#### Defined in
|
|
318
318
|
|
|
319
|
-
[src/Application.ts:381](https://github.com/breautek/storm/blob/
|
|
319
|
+
[src/Application.ts:381](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L381)
|
|
320
320
|
|
|
321
321
|
___
|
|
322
322
|
|
|
@@ -338,7 +338,7 @@ Invoked once the config has been loaded and ready to be used.
|
|
|
338
338
|
|
|
339
339
|
#### Defined in
|
|
340
340
|
|
|
341
|
-
[src/Application.ts:321](https://github.com/breautek/storm/blob/
|
|
341
|
+
[src/Application.ts:321](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L321)
|
|
342
342
|
|
|
343
343
|
___
|
|
344
344
|
|
|
@@ -354,7 +354,7 @@ Invoked when the application is considered ready for operation.
|
|
|
354
354
|
|
|
355
355
|
#### Defined in
|
|
356
356
|
|
|
357
|
-
[src/Application.ts:386](https://github.com/breautek/storm/blob/
|
|
357
|
+
[src/Application.ts:386](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L386)
|
|
358
358
|
|
|
359
359
|
___
|
|
360
360
|
|
|
@@ -404,7 +404,7 @@ ___
|
|
|
404
404
|
|
|
405
405
|
#### Defined in
|
|
406
406
|
|
|
407
|
-
[src/Application.ts:221](https://github.com/breautek/storm/blob/
|
|
407
|
+
[src/Application.ts:221](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L221)
|
|
408
408
|
|
|
409
409
|
___
|
|
410
410
|
|
|
@@ -418,7 +418,7 @@ ___
|
|
|
418
418
|
|
|
419
419
|
#### Defined in
|
|
420
420
|
|
|
421
|
-
[src/Application.ts:241](https://github.com/breautek/storm/blob/
|
|
421
|
+
[src/Application.ts:241](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L241)
|
|
422
422
|
|
|
423
423
|
___
|
|
424
424
|
|
|
@@ -535,7 +535,7 @@ command line arguments
|
|
|
535
535
|
|
|
536
536
|
#### Defined in
|
|
537
537
|
|
|
538
|
-
[src/Application.ts:348](https://github.com/breautek/storm/blob/
|
|
538
|
+
[src/Application.ts:348](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L348)
|
|
539
539
|
|
|
540
540
|
___
|
|
541
541
|
|
|
@@ -551,7 +551,7 @@ the config object.
|
|
|
551
551
|
|
|
552
552
|
#### Defined in
|
|
553
553
|
|
|
554
|
-
[src/Application.ts:305](https://github.com/breautek/storm/blob/
|
|
554
|
+
[src/Application.ts:305](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L305)
|
|
555
555
|
|
|
556
556
|
___
|
|
557
557
|
|
|
@@ -567,7 +567,7 @@ the database pool. This will need to be casted based on your preferred database
|
|
|
567
567
|
|
|
568
568
|
#### Defined in
|
|
569
569
|
|
|
570
|
-
[src/Application.ts:341](https://github.com/breautek/storm/blob/
|
|
570
|
+
[src/Application.ts:341](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L341)
|
|
571
571
|
|
|
572
572
|
___
|
|
573
573
|
|
|
@@ -581,7 +581,7 @@ ___
|
|
|
581
581
|
|
|
582
582
|
#### Defined in
|
|
583
583
|
|
|
584
|
-
[src/Application.ts:169](https://github.com/breautek/storm/blob/
|
|
584
|
+
[src/Application.ts:169](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L169)
|
|
585
585
|
|
|
586
586
|
___
|
|
587
587
|
|
|
@@ -620,7 +620,7 @@ the application name
|
|
|
620
620
|
|
|
621
621
|
#### Defined in
|
|
622
622
|
|
|
623
|
-
[src/Application.ts:294](https://github.com/breautek/storm/blob/
|
|
623
|
+
[src/Application.ts:294](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L294)
|
|
624
624
|
|
|
625
625
|
___
|
|
626
626
|
|
|
@@ -634,7 +634,7 @@ ___
|
|
|
634
634
|
|
|
635
635
|
#### Defined in
|
|
636
636
|
|
|
637
|
-
[src/Application.ts:173](https://github.com/breautek/storm/blob/
|
|
637
|
+
[src/Application.ts:173](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L173)
|
|
638
638
|
|
|
639
639
|
___
|
|
640
640
|
|
|
@@ -648,7 +648,7 @@ ___
|
|
|
648
648
|
|
|
649
649
|
#### Defined in
|
|
650
650
|
|
|
651
|
-
[src/Application.ts:204](https://github.com/breautek/storm/blob/
|
|
651
|
+
[src/Application.ts:204](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L204)
|
|
652
652
|
|
|
653
653
|
___
|
|
654
654
|
|
|
@@ -664,7 +664,7 @@ The maximum size limit for incoming requests that this service needs to handle.
|
|
|
664
664
|
|
|
665
665
|
#### Defined in
|
|
666
666
|
|
|
667
|
-
[src/Application.ts:211](https://github.com/breautek/storm/blob/
|
|
667
|
+
[src/Application.ts:211](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L211)
|
|
668
668
|
|
|
669
669
|
___
|
|
670
670
|
|
|
@@ -680,7 +680,7 @@ the token manager
|
|
|
680
680
|
|
|
681
681
|
#### Defined in
|
|
682
682
|
|
|
683
|
-
[src/Application.ts:334](https://github.com/breautek/storm/blob/
|
|
683
|
+
[src/Application.ts:334](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L334)
|
|
684
684
|
|
|
685
685
|
___
|
|
686
686
|
|
|
@@ -764,7 +764,7 @@ ___
|
|
|
764
764
|
|
|
765
765
|
#### Defined in
|
|
766
766
|
|
|
767
|
-
[src/Application.ts:274](https://github.com/breautek/storm/blob/
|
|
767
|
+
[src/Application.ts:274](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L274)
|
|
768
768
|
|
|
769
769
|
___
|
|
770
770
|
|
|
@@ -1221,7 +1221,7 @@ Sets the TokenManager to be used for authentication.
|
|
|
1221
1221
|
|
|
1222
1222
|
#### Defined in
|
|
1223
1223
|
|
|
1224
|
-
[src/Application.ts:327](https://github.com/breautek/storm/blob/
|
|
1224
|
+
[src/Application.ts:327](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L327)
|
|
1225
1225
|
|
|
1226
1226
|
___
|
|
1227
1227
|
|
|
@@ -1237,7 +1237,7 @@ true if the Application should bind to an IP address
|
|
|
1237
1237
|
|
|
1238
1238
|
#### Defined in
|
|
1239
1239
|
|
|
1240
|
-
[src/Application.ts:312](https://github.com/breautek/storm/blob/
|
|
1240
|
+
[src/Application.ts:312](https://github.com/breautek/storm/blob/72412c9/src/Application.ts#L312)
|
|
1241
1241
|
|
|
1242
1242
|
___
|
|
1243
1243
|
|
|
@@ -27,7 +27,7 @@ for their specific use cases.
|
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[src/BackendAuthenticationMiddleware.ts:35](https://github.com/breautek/storm/blob/
|
|
30
|
+
[src/BackendAuthenticationMiddleware.ts:35](https://github.com/breautek/storm/blob/72412c9/src/BackendAuthenticationMiddleware.ts#L35)
|
|
31
31
|
|
|
32
32
|
## Methods
|
|
33
33
|
|
|
@@ -48,4 +48,4 @@ for their specific use cases.
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[src/BackendAuthenticationMiddleware.ts:46](https://github.com/breautek/storm/blob/
|
|
51
|
+
[src/BackendAuthenticationMiddleware.ts:46](https://github.com/breautek/storm/blob/72412c9/src/BackendAuthenticationMiddleware.ts#L46)
|
|
@@ -48,7 +48,7 @@ communicate with CORS enabled clients.
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[src/CORSMiddleware.ts:39](https://github.com/breautek/storm/blob/
|
|
51
|
+
[src/CORSMiddleware.ts:39](https://github.com/breautek/storm/blob/72412c9/src/CORSMiddleware.ts#L39)
|
|
52
52
|
|
|
53
53
|
## Methods
|
|
54
54
|
|
|
@@ -73,7 +73,7 @@ communicate with CORS enabled clients.
|
|
|
73
73
|
|
|
74
74
|
#### Defined in
|
|
75
75
|
|
|
76
|
-
[src/CORSMiddleware.ts:75](https://github.com/breautek/storm/blob/
|
|
76
|
+
[src/CORSMiddleware.ts:75](https://github.com/breautek/storm/blob/72412c9/src/CORSMiddleware.ts#L75)
|
|
77
77
|
|
|
78
78
|
___
|
|
79
79
|
|
|
@@ -98,7 +98,7 @@ ___
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[src/Middleware.ts:27](https://github.com/breautek/storm/blob/
|
|
101
|
+
[src/Middleware.ts:27](https://github.com/breautek/storm/blob/72412c9/src/Middleware.ts#L27)
|
|
102
102
|
|
|
103
103
|
___
|
|
104
104
|
|
|
@@ -112,7 +112,7 @@ ___
|
|
|
112
112
|
|
|
113
113
|
#### Defined in
|
|
114
114
|
|
|
115
|
-
[src/CORSMiddleware.ts:54](https://github.com/breautek/storm/blob/
|
|
115
|
+
[src/CORSMiddleware.ts:54](https://github.com/breautek/storm/blob/72412c9/src/CORSMiddleware.ts#L54)
|
|
116
116
|
|
|
117
117
|
___
|
|
118
118
|
|
|
@@ -126,7 +126,7 @@ ___
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[src/CORSMiddleware.ts:64](https://github.com/breautek/storm/blob/
|
|
129
|
+
[src/CORSMiddleware.ts:64](https://github.com/breautek/storm/blob/72412c9/src/CORSMiddleware.ts#L64)
|
|
130
130
|
|
|
131
131
|
___
|
|
132
132
|
|
|
@@ -142,4 +142,4 @@ Sets the allowed origin. By default,
|
|
|
142
142
|
|
|
143
143
|
#### Defined in
|
|
144
144
|
|
|
145
|
-
[src/CORSMiddleware.ts:50](https://github.com/breautek/storm/blob/
|
|
145
|
+
[src/CORSMiddleware.ts:50](https://github.com/breautek/storm/blob/72412c9/src/CORSMiddleware.ts#L50)
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[src/Database.ts:28](https://github.com/breautek/storm/blob/
|
|
55
|
+
[src/Database.ts:28](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L28)
|
|
56
56
|
|
|
57
57
|
## Methods
|
|
58
58
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
#### Defined in
|
|
75
75
|
|
|
76
|
-
[src/Database.ts:83](https://github.com/breautek/storm/blob/
|
|
76
|
+
[src/Database.ts:83](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L83)
|
|
77
77
|
|
|
78
78
|
___
|
|
79
79
|
|
|
@@ -87,7 +87,7 @@ ___
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
[src/Database.ts:82](https://github.com/breautek/storm/blob/
|
|
90
|
+
[src/Database.ts:82](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L82)
|
|
91
91
|
|
|
92
92
|
___
|
|
93
93
|
|
|
@@ -108,7 +108,7 @@ ___
|
|
|
108
108
|
|
|
109
109
|
#### Defined in
|
|
110
110
|
|
|
111
|
-
[src/Database.ts:85](https://github.com/breautek/storm/blob/
|
|
111
|
+
[src/Database.ts:85](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L85)
|
|
112
112
|
|
|
113
113
|
___
|
|
114
114
|
|
|
@@ -128,7 +128,7 @@ ___
|
|
|
128
128
|
|
|
129
129
|
#### Defined in
|
|
130
130
|
|
|
131
|
-
[src/Database.ts:84](https://github.com/breautek/storm/blob/
|
|
131
|
+
[src/Database.ts:84](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L84)
|
|
132
132
|
|
|
133
133
|
___
|
|
134
134
|
|
|
@@ -148,7 +148,7 @@ ___
|
|
|
148
148
|
|
|
149
149
|
#### Defined in
|
|
150
150
|
|
|
151
|
-
[src/Database.ts:32](https://github.com/breautek/storm/blob/
|
|
151
|
+
[src/Database.ts:32](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L32)
|
|
152
152
|
|
|
153
153
|
___
|
|
154
154
|
|
|
@@ -169,7 +169,7 @@ ___
|
|
|
169
169
|
|
|
170
170
|
#### Defined in
|
|
171
171
|
|
|
172
|
-
[src/Database.ts:46](https://github.com/breautek/storm/blob/
|
|
172
|
+
[src/Database.ts:46](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L46)
|
|
173
173
|
|
|
174
174
|
___
|
|
175
175
|
|
|
@@ -183,7 +183,7 @@ ___
|
|
|
183
183
|
|
|
184
184
|
#### Defined in
|
|
185
185
|
|
|
186
|
-
[src/Database.ts:78](https://github.com/breautek/storm/blob/
|
|
186
|
+
[src/Database.ts:78](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L78)
|
|
187
187
|
|
|
188
188
|
___
|
|
189
189
|
|
|
@@ -203,7 +203,7 @@ ___
|
|
|
203
203
|
|
|
204
204
|
#### Defined in
|
|
205
205
|
|
|
206
|
-
[src/Database.ts:86](https://github.com/breautek/storm/blob/
|
|
206
|
+
[src/Database.ts:86](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L86)
|
|
207
207
|
|
|
208
208
|
___
|
|
209
209
|
|
|
@@ -224,7 +224,7 @@ ___
|
|
|
224
224
|
|
|
225
225
|
#### Defined in
|
|
226
226
|
|
|
227
|
-
[src/Database.ts:65](https://github.com/breautek/storm/blob/
|
|
227
|
+
[src/Database.ts:65](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L65)
|
|
228
228
|
|
|
229
229
|
___
|
|
230
230
|
|
|
@@ -238,7 +238,7 @@ ___
|
|
|
238
238
|
|
|
239
239
|
#### Defined in
|
|
240
240
|
|
|
241
|
-
[src/Database.ts:41](https://github.com/breautek/storm/blob/
|
|
241
|
+
[src/Database.ts:41](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L41)
|
|
242
242
|
|
|
243
243
|
___
|
|
244
244
|
|
|
@@ -258,4 +258,4 @@ ___
|
|
|
258
258
|
|
|
259
259
|
#### Defined in
|
|
260
260
|
|
|
261
|
-
[src/Database.ts:55](https://github.com/breautek/storm/blob/
|
|
261
|
+
[src/Database.ts:55](https://github.com/breautek/storm/blob/72412c9/src/Database.ts#L55)
|
|
@@ -75,7 +75,7 @@ Do not call `new Database` directly. Use `Database.getConnection` to create a `D
|
|
|
75
75
|
|
|
76
76
|
#### Defined in
|
|
77
77
|
|
|
78
|
-
[src/DatabaseConnection.ts:44](https://github.com/breautek/storm/blob/
|
|
78
|
+
[src/DatabaseConnection.ts:44](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L44)
|
|
79
79
|
|
|
80
80
|
## Methods
|
|
81
81
|
|
|
@@ -102,7 +102,7 @@ Promise<void>
|
|
|
102
102
|
|
|
103
103
|
#### Defined in
|
|
104
104
|
|
|
105
|
-
[src/DatabaseConnection.ts:239](https://github.com/breautek/storm/blob/
|
|
105
|
+
[src/DatabaseConnection.ts:239](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L239)
|
|
106
106
|
|
|
107
107
|
___
|
|
108
108
|
|
|
@@ -135,7 +135,7 @@ Promise
|
|
|
135
135
|
|
|
136
136
|
#### Defined in
|
|
137
137
|
|
|
138
|
-
[src/DatabaseConnection.ts:250](https://github.com/breautek/storm/blob/
|
|
138
|
+
[src/DatabaseConnection.ts:250](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L250)
|
|
139
139
|
|
|
140
140
|
___
|
|
141
141
|
|
|
@@ -162,7 +162,7 @@ but returns a `Readable` stream instead.
|
|
|
162
162
|
|
|
163
163
|
#### Defined in
|
|
164
164
|
|
|
165
|
-
[src/DatabaseConnection.ts:262](https://github.com/breautek/storm/blob/
|
|
165
|
+
[src/DatabaseConnection.ts:262](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L262)
|
|
166
166
|
|
|
167
167
|
___
|
|
168
168
|
|
|
@@ -194,7 +194,7 @@ Promise<void>
|
|
|
194
194
|
|
|
195
195
|
#### Defined in
|
|
196
196
|
|
|
197
|
-
[src/DatabaseConnection.ts:169](https://github.com/breautek/storm/blob/
|
|
197
|
+
[src/DatabaseConnection.ts:169](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L169)
|
|
198
198
|
|
|
199
199
|
___
|
|
200
200
|
|
|
@@ -220,7 +220,7 @@ Promise<void>
|
|
|
220
220
|
|
|
221
221
|
#### Defined in
|
|
222
222
|
|
|
223
|
-
[src/DatabaseConnection.ts:220](https://github.com/breautek/storm/blob/
|
|
223
|
+
[src/DatabaseConnection.ts:220](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L220)
|
|
224
224
|
|
|
225
225
|
___
|
|
226
226
|
|
|
@@ -248,7 +248,7 @@ Promise<void>
|
|
|
248
248
|
|
|
249
249
|
#### Defined in
|
|
250
250
|
|
|
251
|
-
[src/DatabaseConnection.ts:211](https://github.com/breautek/storm/blob/
|
|
251
|
+
[src/DatabaseConnection.ts:211](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L211)
|
|
252
252
|
|
|
253
253
|
___
|
|
254
254
|
|
|
@@ -270,7 +270,7 @@ any
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[src/DatabaseConnection.ts:91](https://github.com/breautek/storm/blob/
|
|
273
|
+
[src/DatabaseConnection.ts:91](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L91)
|
|
274
274
|
|
|
275
275
|
___
|
|
276
276
|
|
|
@@ -293,7 +293,7 @@ string - A stacktrace
|
|
|
293
293
|
|
|
294
294
|
#### Defined in
|
|
295
295
|
|
|
296
|
-
[src/DatabaseConnection.ts:73](https://github.com/breautek/storm/blob/
|
|
296
|
+
[src/DatabaseConnection.ts:73](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L73)
|
|
297
297
|
|
|
298
298
|
___
|
|
299
299
|
|
|
@@ -315,7 +315,7 @@ number in milliseconds
|
|
|
315
315
|
|
|
316
316
|
#### Defined in
|
|
317
317
|
|
|
318
|
-
[src/DatabaseConnection.ts:121](https://github.com/breautek/storm/blob/
|
|
318
|
+
[src/DatabaseConnection.ts:121](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L121)
|
|
319
319
|
|
|
320
320
|
___
|
|
321
321
|
|
|
@@ -335,7 +335,7 @@ Returns true if the connection has been closed.
|
|
|
335
335
|
|
|
336
336
|
#### Defined in
|
|
337
337
|
|
|
338
|
-
[src/DatabaseConnection.ts:182](https://github.com/breautek/storm/blob/
|
|
338
|
+
[src/DatabaseConnection.ts:182](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L182)
|
|
339
339
|
|
|
340
340
|
___
|
|
341
341
|
|
|
@@ -358,7 +358,7 @@ boolean
|
|
|
358
358
|
|
|
359
359
|
#### Defined in
|
|
360
360
|
|
|
361
|
-
[src/DatabaseConnection.ts:100](https://github.com/breautek/storm/blob/
|
|
361
|
+
[src/DatabaseConnection.ts:100](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L100)
|
|
362
362
|
|
|
363
363
|
___
|
|
364
364
|
|
|
@@ -382,7 +382,7 @@ boolean
|
|
|
382
382
|
|
|
383
383
|
#### Defined in
|
|
384
384
|
|
|
385
|
-
[src/DatabaseConnection.ts:201](https://github.com/breautek/storm/blob/
|
|
385
|
+
[src/DatabaseConnection.ts:201](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L201)
|
|
386
386
|
|
|
387
387
|
___
|
|
388
388
|
|
|
@@ -418,7 +418,7 @@ Promise<TQueryResult>
|
|
|
418
418
|
|
|
419
419
|
#### Defined in
|
|
420
420
|
|
|
421
|
-
[src/DatabaseConnection.ts:132](https://github.com/breautek/storm/blob/
|
|
421
|
+
[src/DatabaseConnection.ts:132](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L132)
|
|
422
422
|
|
|
423
423
|
___
|
|
424
424
|
|
|
@@ -444,7 +444,7 @@ Promise<void>
|
|
|
444
444
|
|
|
445
445
|
#### Defined in
|
|
446
446
|
|
|
447
|
-
[src/DatabaseConnection.ts:229](https://github.com/breautek/storm/blob/
|
|
447
|
+
[src/DatabaseConnection.ts:229](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L229)
|
|
448
448
|
|
|
449
449
|
___
|
|
450
450
|
|
|
@@ -468,7 +468,7 @@ ___
|
|
|
468
468
|
|
|
469
469
|
#### Defined in
|
|
470
470
|
|
|
471
|
-
[src/DatabaseConnection.ts:64](https://github.com/breautek/storm/blob/
|
|
471
|
+
[src/DatabaseConnection.ts:64](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L64)
|
|
472
472
|
|
|
473
473
|
___
|
|
474
474
|
|
|
@@ -494,7 +494,7 @@ Sets the timeout of this connectino
|
|
|
494
494
|
|
|
495
495
|
#### Defined in
|
|
496
496
|
|
|
497
|
-
[src/DatabaseConnection.ts:109](https://github.com/breautek/storm/blob/
|
|
497
|
+
[src/DatabaseConnection.ts:109](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L109)
|
|
498
498
|
|
|
499
499
|
___
|
|
500
500
|
|
|
@@ -520,7 +520,7 @@ Promise<void>
|
|
|
520
520
|
|
|
521
521
|
#### Defined in
|
|
522
522
|
|
|
523
|
-
[src/DatabaseConnection.ts:193](https://github.com/breautek/storm/blob/
|
|
523
|
+
[src/DatabaseConnection.ts:193](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L193)
|
|
524
524
|
|
|
525
525
|
___
|
|
526
526
|
|
|
@@ -547,4 +547,4 @@ Readable
|
|
|
547
547
|
|
|
548
548
|
#### Defined in
|
|
549
549
|
|
|
550
|
-
[src/DatabaseConnection.ts:152](https://github.com/breautek/storm/blob/
|
|
550
|
+
[src/DatabaseConnection.ts:152](https://github.com/breautek/storm/blob/72412c9/src/DatabaseConnection.ts#L152)
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[src/DatabaseQueryError.ts:25](https://github.com/breautek/storm/blob/
|
|
57
|
+
[src/DatabaseQueryError.ts:25](https://github.com/breautek/storm/blob/72412c9/src/DatabaseQueryError.ts#L25)
|
|
58
58
|
|
|
59
59
|
## Properties
|
|
60
60
|
|
|
@@ -161,7 +161,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
161
161
|
|
|
162
162
|
#### Defined in
|
|
163
163
|
|
|
164
|
-
[src/DatabaseQueryError.ts:36](https://github.com/breautek/storm/blob/
|
|
164
|
+
[src/DatabaseQueryError.ts:36](https://github.com/breautek/storm/blob/72412c9/src/DatabaseQueryError.ts#L36)
|
|
165
165
|
|
|
166
166
|
___
|
|
167
167
|
|
|
@@ -179,7 +179,7 @@ ___
|
|
|
179
179
|
|
|
180
180
|
#### Defined in
|
|
181
181
|
|
|
182
|
-
[src/StormError.ts:70](https://github.com/breautek/storm/blob/
|
|
182
|
+
[src/StormError.ts:70](https://github.com/breautek/storm/blob/72412c9/src/StormError.ts#L70)
|
|
183
183
|
|
|
184
184
|
___
|
|
185
185
|
|
|
@@ -197,7 +197,7 @@ ___
|
|
|
197
197
|
|
|
198
198
|
#### Defined in
|
|
199
199
|
|
|
200
|
-
[src/StormError.ts:79](https://github.com/breautek/storm/blob/
|
|
200
|
+
[src/StormError.ts:79](https://github.com/breautek/storm/blob/72412c9/src/StormError.ts#L79)
|
|
201
201
|
|
|
202
202
|
___
|
|
203
203
|
|
|
@@ -215,7 +215,7 @@ ___
|
|
|
215
215
|
|
|
216
216
|
#### Defined in
|
|
217
217
|
|
|
218
|
-
[src/DatabaseQueryError.ts:40](https://github.com/breautek/storm/blob/
|
|
218
|
+
[src/DatabaseQueryError.ts:40](https://github.com/breautek/storm/blob/72412c9/src/DatabaseQueryError.ts#L40)
|
|
219
219
|
|
|
220
220
|
___
|
|
221
221
|
|
|
@@ -233,7 +233,7 @@ ___
|
|
|
233
233
|
|
|
234
234
|
#### Defined in
|
|
235
235
|
|
|
236
|
-
[src/DatabaseQueryError.ts:32](https://github.com/breautek/storm/blob/
|
|
236
|
+
[src/DatabaseQueryError.ts:32](https://github.com/breautek/storm/blob/72412c9/src/DatabaseQueryError.ts#L32)
|
|
237
237
|
|
|
238
238
|
___
|
|
239
239
|
|
|
@@ -259,7 +259,7 @@ They are kept secret from the client.
|
|
|
259
259
|
|
|
260
260
|
#### Defined in
|
|
261
261
|
|
|
262
|
-
[src/StormError.ts:62](https://github.com/breautek/storm/blob/
|
|
262
|
+
[src/StormError.ts:62](https://github.com/breautek/storm/blob/72412c9/src/StormError.ts#L62)
|
|
263
263
|
|
|
264
264
|
___
|
|
265
265
|
|
|
@@ -279,7 +279,7 @@ Sends details to the client.
|
|
|
279
279
|
|
|
280
280
|
#### Defined in
|
|
281
281
|
|
|
282
|
-
[src/StormError.ts:54](https://github.com/breautek/storm/blob/
|
|
282
|
+
[src/StormError.ts:54](https://github.com/breautek/storm/blob/72412c9/src/StormError.ts#L54)
|
|
283
283
|
|
|
284
284
|
___
|
|
285
285
|
|