@breautek/storm 4.6.2 → 5.0.0
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 +38 -0
- package/docs/README.md +7 -5
- package/docs/classes/Application.md +53 -53
- package/docs/classes/BackendAuthenticationMiddleware.md +2 -2
- package/docs/classes/CORSMiddleware.md +6 -6
- package/docs/classes/ConfigLoader.md +1 -1
- package/docs/classes/Database.md +12 -12
- package/docs/classes/DatabaseCastObject.md +3 -3
- package/docs/classes/DatabaseConnection.md +21 -21
- package/docs/classes/DatabaseQueryError.md +16 -16
- package/docs/classes/DeadLockError.md +16 -16
- package/docs/classes/DiskSpaceError.md +16 -16
- package/docs/classes/DropTemporaryTableQuery.md +10 -10
- package/docs/classes/DumpStream.md +1 -1
- package/docs/classes/DuplicateEntryError.md +16 -16
- package/docs/classes/EntityNotFoundError.md +16 -16
- package/docs/classes/ExpiredTokenError.md +16 -16
- package/docs/classes/Handler.md +13 -34
- package/docs/classes/InternalError.md +16 -16
- package/docs/classes/InvalidCredentialsError.md +16 -16
- package/docs/classes/InvalidValueError.md +16 -16
- package/docs/classes/LineString.md +4 -4
- package/docs/classes/ManagedDatabaseConnection.md +19 -19
- package/docs/classes/Middleware.md +3 -3
- package/docs/classes/MissingConfigError.md +16 -16
- package/docs/classes/MissingParameterError.md +16 -16
- package/docs/classes/MySQLConnection.md +22 -22
- package/docs/classes/MySQLDatabase.md +13 -13
- package/docs/classes/NotImplementedError.md +16 -16
- package/docs/classes/Point.md +4 -4
- package/docs/classes/Polygon.md +4 -4
- package/docs/classes/Query.md +34 -10
- package/docs/classes/RawError.md +16 -16
- package/docs/classes/RawQuery.md +10 -10
- package/docs/classes/Request.md +18 -18
- package/docs/classes/Response.md +11 -11
- package/docs/classes/ResponseData.md +7 -7
- package/docs/classes/ServiceProvider.md +15 -15
- package/docs/classes/ServiceResponse.md +19 -4
- package/docs/classes/SetSessionVariableQuery.md +8 -8
- package/docs/classes/StormError.md +16 -16
- package/docs/classes/TemporaryTableQuery.md +8 -8
- package/docs/classes/Token.md +2 -2
- package/docs/classes/TokenManager.md +4 -4
- package/docs/classes/Transaction.md +161 -0
- package/docs/classes/UnauthorizedAccessError.md +16 -16
- package/docs/enums/ErrorCode.md +9 -9
- package/docs/enums/ExitCode.md +2 -2
- package/docs/enums/HTTPMethod.md +4 -4
- package/docs/enums/IsolationLevel.md +4 -4
- package/docs/enums/JWTError.md +2 -2
- package/docs/enums/StatusCode.md +48 -48
- package/docs/interfaces/IConfig.md +8 -8
- package/docs/interfaces/IDatabaseConfig.md +6 -6
- package/docs/interfaces/IDatabaseConnection.md +16 -16
- package/docs/interfaces/IErrorResponse.md +5 -5
- package/docs/interfaces/IFormData.md +2 -2
- package/docs/interfaces/IHandler.md +1 -1
- package/docs/interfaces/IInsertQueryResult.md +3 -3
- package/docs/interfaces/IJWTVerifyOptions.md +1 -1
- package/docs/interfaces/IQueryable.md +119 -0
- package/docs/interfaces/IRequestResponse.md +2 -2
- package/docs/interfaces/ISetSessionVariableQueryInput.md +2 -2
- package/docs/interfaces/ITemporaryTableQueryInput.md +2 -2
- package/docs/interfaces/IUpdateQueryResult.md +2 -2
- package/docs/interfaces/formidable.Part.md +17 -17
- package/jest.config.js +9 -5
- package/lib/DatabaseConnection.d.ts +3 -3
- package/lib/DatabaseConnection.js.map +1 -1
- package/lib/Handler.d.ts +2 -3
- package/lib/Handler.js +0 -2
- package/lib/Handler.js.map +1 -1
- package/lib/IDatabaseConnection.d.ts +3 -3
- package/lib/IDeleteQueryResult.d.ts +1 -1
- package/lib/IQueryable.d.ts +8 -0
- package/lib/IQueryable.js +18 -0
- package/lib/IQueryable.js.map +1 -0
- package/lib/MySQLConnection.js +15 -4
- package/lib/MySQLConnection.js.map +1 -1
- package/lib/Query.d.ts +3 -2
- package/lib/Query.js.map +1 -1
- package/lib/Response.d.ts +1 -1
- package/lib/ServiceResponse.d.ts +2 -0
- package/lib/ServiceResponse.js +3 -0
- package/lib/ServiceResponse.js.map +1 -1
- package/lib/SetSessionVariableQuery.js +2 -2
- package/lib/SetSessionVariableQuery.js.map +1 -1
- package/lib/TCoordinate.d.ts +1 -1
- package/lib/Transaction.d.ts +24 -0
- package/lib/Transaction.js +82 -0
- package/lib/Transaction.js.map +1 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.js +4 -2
- package/lib/api.js.map +1 -1
- package/package.json +22 -22
- package/src/DatabaseConnection.ts +4 -4
- package/src/Handler.ts +0 -4
- package/src/IDatabaseConnection.ts +3 -3
- package/src/IQueryable.ts +25 -0
- package/src/MySQLConnection.ts +15 -4
- package/src/Query.ts +3 -2
- package/src/ServiceResponse.ts +5 -0
- package/src/SetSessionVariableQuery.ts +2 -2
- package/src/Transaction.ts +97 -0
- package/src/api.ts +2 -0
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[src/Query.ts:
|
|
45
|
+
[src/Query.ts:23](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L23)
|
|
46
46
|
|
|
47
47
|
## Methods
|
|
48
48
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
#### Defined in
|
|
68
68
|
|
|
69
|
-
[src/TemporaryTableQuery.ts:35](https://github.com/breautek/storm/blob/
|
|
69
|
+
[src/TemporaryTableQuery.ts:35](https://github.com/breautek/storm/blob/3748147/src/TemporaryTableQuery.ts#L35)
|
|
70
70
|
|
|
71
71
|
___
|
|
72
72
|
|
|
@@ -90,7 +90,7 @@ ___
|
|
|
90
90
|
|
|
91
91
|
#### Defined in
|
|
92
92
|
|
|
93
|
-
[src/Query.ts:
|
|
93
|
+
[src/Query.ts:71](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L71)
|
|
94
94
|
|
|
95
95
|
___
|
|
96
96
|
|
|
@@ -110,7 +110,7 @@ parameters that was passed into the constructor.
|
|
|
110
110
|
|
|
111
111
|
#### Defined in
|
|
112
112
|
|
|
113
|
-
[src/Query.ts:
|
|
113
|
+
[src/Query.ts:30](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L30)
|
|
114
114
|
|
|
115
115
|
___
|
|
116
116
|
|
|
@@ -132,7 +132,7 @@ parameters that will be used when this query is ran.
|
|
|
132
132
|
|
|
133
133
|
#### Defined in
|
|
134
134
|
|
|
135
|
-
[src/TemporaryTableQuery.ts:27](https://github.com/breautek/storm/blob/
|
|
135
|
+
[src/TemporaryTableQuery.ts:27](https://github.com/breautek/storm/blob/3748147/src/TemporaryTableQuery.ts#L27)
|
|
136
136
|
|
|
137
137
|
___
|
|
138
138
|
|
|
@@ -156,7 +156,7 @@ ___
|
|
|
156
156
|
|
|
157
157
|
#### Defined in
|
|
158
158
|
|
|
159
|
-
[src/Query.ts:
|
|
159
|
+
[src/Query.ts:45](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L45)
|
|
160
160
|
|
|
161
161
|
___
|
|
162
162
|
|
|
@@ -183,7 +183,7 @@ Override to augment/manipulate the returned result set.
|
|
|
183
183
|
|
|
184
184
|
#### Defined in
|
|
185
185
|
|
|
186
|
-
[src/Query.ts:
|
|
186
|
+
[src/Query.ts:66](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L66)
|
|
187
187
|
|
|
188
188
|
___
|
|
189
189
|
|
|
@@ -210,4 +210,4 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
210
210
|
|
|
211
211
|
#### Defined in
|
|
212
212
|
|
|
213
|
-
[src/Query.ts:
|
|
213
|
+
[src/Query.ts:56](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L56)
|
package/docs/classes/Token.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[src/Token.ts:20](https://github.com/breautek/storm/blob/
|
|
29
|
+
[src/Token.ts:20](https://github.com/breautek/storm/blob/3748147/src/Token.ts#L20)
|
|
30
30
|
|
|
31
31
|
## Methods
|
|
32
32
|
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
|
|
41
41
|
#### Defined in
|
|
42
42
|
|
|
43
|
-
[src/Token.ts:24](https://github.com/breautek/storm/blob/
|
|
43
|
+
[src/Token.ts:24](https://github.com/breautek/storm/blob/3748147/src/Token.ts#L24)
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
#### Defined in
|
|
42
42
|
|
|
43
|
-
[src/TokenManager.ts:29](https://github.com/breautek/storm/blob/
|
|
43
|
+
[src/TokenManager.ts:29](https://github.com/breautek/storm/blob/3748147/src/TokenManager.ts#L29)
|
|
44
44
|
|
|
45
45
|
## Methods
|
|
46
46
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
#### Defined in
|
|
62
62
|
|
|
63
|
-
[src/TokenManager.ts:78](https://github.com/breautek/storm/blob/
|
|
63
|
+
[src/TokenManager.ts:78](https://github.com/breautek/storm/blob/3748147/src/TokenManager.ts#L78)
|
|
64
64
|
|
|
65
65
|
___
|
|
66
66
|
|
|
@@ -81,7 +81,7 @@ ___
|
|
|
81
81
|
|
|
82
82
|
#### Defined in
|
|
83
83
|
|
|
84
|
-
[src/TokenManager.ts:33](https://github.com/breautek/storm/blob/
|
|
84
|
+
[src/TokenManager.ts:33](https://github.com/breautek/storm/blob/3748147/src/TokenManager.ts#L33)
|
|
85
85
|
|
|
86
86
|
___
|
|
87
87
|
|
|
@@ -102,4 +102,4 @@ ___
|
|
|
102
102
|
|
|
103
103
|
#### Defined in
|
|
104
104
|
|
|
105
|
-
[src/TokenManager.ts:56](https://github.com/breautek/storm/blob/
|
|
105
|
+
[src/TokenManager.ts:56](https://github.com/breautek/storm/blob/3748147/src/TokenManager.ts#L56)
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
[@breautek/storm](../README.md) / Transaction
|
|
2
|
+
|
|
3
|
+
# Class: Transaction
|
|
4
|
+
|
|
5
|
+
A class encapsulating an entire transaction from beginning to commitment.
|
|
6
|
+
|
|
7
|
+
This encapsulates a routine to conduct for the transaction.
|
|
8
|
+
Should the transaction fail due to a deadlock, the transaction will automatically
|
|
9
|
+
be tried.
|
|
10
|
+
|
|
11
|
+
## Implements
|
|
12
|
+
|
|
13
|
+
- [`IQueryable`](../interfaces/IQueryable.md)<`void`\>
|
|
14
|
+
|
|
15
|
+
## Table of contents
|
|
16
|
+
|
|
17
|
+
### Constructors
|
|
18
|
+
|
|
19
|
+
- [constructor](Transaction.md#constructor)
|
|
20
|
+
|
|
21
|
+
### Methods
|
|
22
|
+
|
|
23
|
+
- [execute](Transaction.md#execute)
|
|
24
|
+
- [getParametersForQuery](Transaction.md#getparametersforquery)
|
|
25
|
+
- [getQuery](Transaction.md#getquery)
|
|
26
|
+
- [onPostProcess](Transaction.md#onpostprocess)
|
|
27
|
+
- [onPreQuery](Transaction.md#onprequery)
|
|
28
|
+
|
|
29
|
+
## Constructors
|
|
30
|
+
|
|
31
|
+
### constructor
|
|
32
|
+
|
|
33
|
+
• **new Transaction**(`app`, `executor`, `retryLimit?`, `isolationLevel?`)
|
|
34
|
+
|
|
35
|
+
#### Parameters
|
|
36
|
+
|
|
37
|
+
| Name | Type | Default value |
|
|
38
|
+
| :------ | :------ | :------ |
|
|
39
|
+
| `app` | [`Application`](Application.md)<[`IConfig`](../interfaces/IConfig.md), [`IAuthTokenData`](../interfaces/IAuthTokenData.md), `any`, `any`\> | `undefined` |
|
|
40
|
+
| `executor` | `ITransactionExecutor` | `undefined` |
|
|
41
|
+
| `retryLimit` | `number` | `Infinity` |
|
|
42
|
+
| `isolationLevel` | [`IsolationLevel`](../enums/IsolationLevel.md) | `IsolationLevel.REPEATABLE_READ` |
|
|
43
|
+
|
|
44
|
+
#### Defined in
|
|
45
|
+
|
|
46
|
+
[src/Transaction.ts:42](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L42)
|
|
47
|
+
|
|
48
|
+
## Methods
|
|
49
|
+
|
|
50
|
+
### execute
|
|
51
|
+
|
|
52
|
+
▸ **execute**(`connection`): `Promise`<`void`\>
|
|
53
|
+
|
|
54
|
+
#### Parameters
|
|
55
|
+
|
|
56
|
+
| Name | Type |
|
|
57
|
+
| :------ | :------ |
|
|
58
|
+
| `connection` | [`IDatabaseConnection`](../interfaces/IDatabaseConnection.md) |
|
|
59
|
+
|
|
60
|
+
#### Returns
|
|
61
|
+
|
|
62
|
+
`Promise`<`void`\>
|
|
63
|
+
|
|
64
|
+
#### Implementation of
|
|
65
|
+
|
|
66
|
+
[IQueryable](../interfaces/IQueryable.md).[execute](../interfaces/IQueryable.md#execute)
|
|
67
|
+
|
|
68
|
+
#### Defined in
|
|
69
|
+
|
|
70
|
+
[src/Transaction.ts:69](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L69)
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### getParametersForQuery
|
|
75
|
+
|
|
76
|
+
▸ **getParametersForQuery**(): `Record`<`string`, `any`\>
|
|
77
|
+
|
|
78
|
+
#### Returns
|
|
79
|
+
|
|
80
|
+
`Record`<`string`, `any`\>
|
|
81
|
+
|
|
82
|
+
#### Implementation of
|
|
83
|
+
|
|
84
|
+
[IQueryable](../interfaces/IQueryable.md).[getParametersForQuery](../interfaces/IQueryable.md#getparametersforquery)
|
|
85
|
+
|
|
86
|
+
#### Defined in
|
|
87
|
+
|
|
88
|
+
[src/Transaction.ts:62](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L62)
|
|
89
|
+
|
|
90
|
+
___
|
|
91
|
+
|
|
92
|
+
### getQuery
|
|
93
|
+
|
|
94
|
+
▸ **getQuery**(`connection`): `string`
|
|
95
|
+
|
|
96
|
+
#### Parameters
|
|
97
|
+
|
|
98
|
+
| Name | Type |
|
|
99
|
+
| :------ | :------ |
|
|
100
|
+
| `connection` | [`IDatabaseConnection`](../interfaces/IDatabaseConnection.md) |
|
|
101
|
+
|
|
102
|
+
#### Returns
|
|
103
|
+
|
|
104
|
+
`string`
|
|
105
|
+
|
|
106
|
+
#### Implementation of
|
|
107
|
+
|
|
108
|
+
[IQueryable](../interfaces/IQueryable.md).[getQuery](../interfaces/IQueryable.md#getquery)
|
|
109
|
+
|
|
110
|
+
#### Defined in
|
|
111
|
+
|
|
112
|
+
[src/Transaction.ts:59](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L59)
|
|
113
|
+
|
|
114
|
+
___
|
|
115
|
+
|
|
116
|
+
### onPostProcess
|
|
117
|
+
|
|
118
|
+
▸ **onPostProcess**(`connection`, `results`): `Promise`<`void`\>
|
|
119
|
+
|
|
120
|
+
#### Parameters
|
|
121
|
+
|
|
122
|
+
| Name | Type |
|
|
123
|
+
| :------ | :------ |
|
|
124
|
+
| `connection` | [`IDatabaseConnection`](../interfaces/IDatabaseConnection.md) |
|
|
125
|
+
| `results` | `any` |
|
|
126
|
+
|
|
127
|
+
#### Returns
|
|
128
|
+
|
|
129
|
+
`Promise`<`void`\>
|
|
130
|
+
|
|
131
|
+
#### Implementation of
|
|
132
|
+
|
|
133
|
+
[IQueryable](../interfaces/IQueryable.md).[onPostProcess](../interfaces/IQueryable.md#onpostprocess)
|
|
134
|
+
|
|
135
|
+
#### Defined in
|
|
136
|
+
|
|
137
|
+
[src/Transaction.ts:65](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L65)
|
|
138
|
+
|
|
139
|
+
___
|
|
140
|
+
|
|
141
|
+
### onPreQuery
|
|
142
|
+
|
|
143
|
+
▸ **onPreQuery**(`connection`): `Promise`<`void`\>
|
|
144
|
+
|
|
145
|
+
#### Parameters
|
|
146
|
+
|
|
147
|
+
| Name | Type |
|
|
148
|
+
| :------ | :------ |
|
|
149
|
+
| `connection` | [`IDatabaseConnection`](../interfaces/IDatabaseConnection.md) |
|
|
150
|
+
|
|
151
|
+
#### Returns
|
|
152
|
+
|
|
153
|
+
`Promise`<`void`\>
|
|
154
|
+
|
|
155
|
+
#### Implementation of
|
|
156
|
+
|
|
157
|
+
[IQueryable](../interfaces/IQueryable.md).[onPreQuery](../interfaces/IQueryable.md#onprequery)
|
|
158
|
+
|
|
159
|
+
#### Defined in
|
|
160
|
+
|
|
161
|
+
[src/Transaction.ts:57](https://github.com/breautek/storm/blob/3748147/src/Transaction.ts#L57)
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[src/UnauthorizedAccessError.ts:22](https://github.com/breautek/storm/blob/
|
|
56
|
+
[src/UnauthorizedAccessError.ts:22](https://github.com/breautek/storm/blob/3748147/src/UnauthorizedAccessError.ts#L22)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
#### Defined in
|
|
69
69
|
|
|
70
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
70
|
+
node_modules/typescript/lib/lib.es5.d.ts:1054
|
|
71
71
|
|
|
72
72
|
___
|
|
73
73
|
|
|
@@ -81,7 +81,7 @@ ___
|
|
|
81
81
|
|
|
82
82
|
#### Defined in
|
|
83
83
|
|
|
84
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
84
|
+
node_modules/typescript/lib/lib.es5.d.ts:1053
|
|
85
85
|
|
|
86
86
|
___
|
|
87
87
|
|
|
@@ -95,7 +95,7 @@ ___
|
|
|
95
95
|
|
|
96
96
|
#### Defined in
|
|
97
97
|
|
|
98
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
98
|
+
node_modules/typescript/lib/lib.es5.d.ts:1055
|
|
99
99
|
|
|
100
100
|
___
|
|
101
101
|
|
|
@@ -130,7 +130,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
|
130
130
|
|
|
131
131
|
#### Defined in
|
|
132
132
|
|
|
133
|
-
node_modules/@types/node/
|
|
133
|
+
node_modules/@types/node/globals.d.ts:11
|
|
134
134
|
|
|
135
135
|
___
|
|
136
136
|
|
|
@@ -144,7 +144,7 @@ ___
|
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
node_modules/@types/node/
|
|
147
|
+
node_modules/@types/node/globals.d.ts:13
|
|
148
148
|
|
|
149
149
|
## Methods
|
|
150
150
|
|
|
@@ -162,7 +162,7 @@ node_modules/@types/node/ts4.8/globals.d.ts:13
|
|
|
162
162
|
|
|
163
163
|
#### Defined in
|
|
164
164
|
|
|
165
|
-
[src/UnauthorizedAccessError.ts:30](https://github.com/breautek/storm/blob/
|
|
165
|
+
[src/UnauthorizedAccessError.ts:30](https://github.com/breautek/storm/blob/3748147/src/UnauthorizedAccessError.ts#L30)
|
|
166
166
|
|
|
167
167
|
___
|
|
168
168
|
|
|
@@ -180,7 +180,7 @@ ___
|
|
|
180
180
|
|
|
181
181
|
#### Defined in
|
|
182
182
|
|
|
183
|
-
[src/StormError.ts:76](https://github.com/breautek/storm/blob/
|
|
183
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L76)
|
|
184
184
|
|
|
185
185
|
___
|
|
186
186
|
|
|
@@ -198,7 +198,7 @@ ___
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[src/StormError.ts:97](https://github.com/breautek/storm/blob/
|
|
201
|
+
[src/StormError.ts:97](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L97)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -216,7 +216,7 @@ ___
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[src/UnauthorizedAccessError.ts:34](https://github.com/breautek/storm/blob/
|
|
219
|
+
[src/UnauthorizedAccessError.ts:34](https://github.com/breautek/storm/blob/3748147/src/UnauthorizedAccessError.ts#L34)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -234,7 +234,7 @@ ___
|
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/UnauthorizedAccessError.ts:38](https://github.com/breautek/storm/blob/
|
|
237
|
+
[src/UnauthorizedAccessError.ts:38](https://github.com/breautek/storm/blob/3748147/src/UnauthorizedAccessError.ts#L38)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
@@ -252,7 +252,7 @@ ___
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[src/StormError.ts:93](https://github.com/breautek/storm/blob/
|
|
255
|
+
[src/StormError.ts:93](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L93)
|
|
256
256
|
|
|
257
257
|
___
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ ___
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[src/UnauthorizedAccessError.ts:26](https://github.com/breautek/storm/blob/
|
|
273
|
+
[src/UnauthorizedAccessError.ts:26](https://github.com/breautek/storm/blob/3748147/src/UnauthorizedAccessError.ts#L26)
|
|
274
274
|
|
|
275
275
|
___
|
|
276
276
|
|
|
@@ -291,7 +291,7 @@ They are kept secret from the client.
|
|
|
291
291
|
|
|
292
292
|
#### Defined in
|
|
293
293
|
|
|
294
|
-
[src/StormError.ts:68](https://github.com/breautek/storm/blob/
|
|
294
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L68)
|
|
295
295
|
|
|
296
296
|
___
|
|
297
297
|
|
|
@@ -311,7 +311,7 @@ Sends details to the client.
|
|
|
311
311
|
|
|
312
312
|
#### Defined in
|
|
313
313
|
|
|
314
|
-
[src/StormError.ts:60](https://github.com/breautek/storm/blob/
|
|
314
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L60)
|
|
315
315
|
|
|
316
316
|
___
|
|
317
317
|
|
|
@@ -338,4 +338,4 @@ Create .stack property on a target object
|
|
|
338
338
|
|
|
339
339
|
#### Defined in
|
|
340
340
|
|
|
341
|
-
node_modules/@types/node/
|
|
341
|
+
node_modules/@types/node/globals.d.ts:4
|
package/docs/enums/ErrorCode.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[src/ErrorCode.ts:23](https://github.com/breautek/storm/blob/
|
|
27
|
+
[src/ErrorCode.ts:23](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L23)
|
|
28
28
|
|
|
29
29
|
___
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ ___
|
|
|
34
34
|
|
|
35
35
|
#### Defined in
|
|
36
36
|
|
|
37
|
-
[src/ErrorCode.ts:20](https://github.com/breautek/storm/blob/
|
|
37
|
+
[src/ErrorCode.ts:20](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L20)
|
|
38
38
|
|
|
39
39
|
___
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ ___
|
|
|
44
44
|
|
|
45
45
|
#### Defined in
|
|
46
46
|
|
|
47
|
-
[src/ErrorCode.ts:25](https://github.com/breautek/storm/blob/
|
|
47
|
+
[src/ErrorCode.ts:25](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L25)
|
|
48
48
|
|
|
49
49
|
___
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@ ___
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[src/ErrorCode.ts:18](https://github.com/breautek/storm/blob/
|
|
57
|
+
[src/ErrorCode.ts:18](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L18)
|
|
58
58
|
|
|
59
59
|
___
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@ ___
|
|
|
64
64
|
|
|
65
65
|
#### Defined in
|
|
66
66
|
|
|
67
|
-
[src/ErrorCode.ts:26](https://github.com/breautek/storm/blob/
|
|
67
|
+
[src/ErrorCode.ts:26](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L26)
|
|
68
68
|
|
|
69
69
|
___
|
|
70
70
|
|
|
@@ -74,7 +74,7 @@ ___
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[src/ErrorCode.ts:21](https://github.com/breautek/storm/blob/
|
|
77
|
+
[src/ErrorCode.ts:21](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L21)
|
|
78
78
|
|
|
79
79
|
___
|
|
80
80
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/ErrorCode.ts:22](https://github.com/breautek/storm/blob/
|
|
87
|
+
[src/ErrorCode.ts:22](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L22)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -94,7 +94,7 @@ ___
|
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[src/ErrorCode.ts:19](https://github.com/breautek/storm/blob/
|
|
97
|
+
[src/ErrorCode.ts:19](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L19)
|
|
98
98
|
|
|
99
99
|
___
|
|
100
100
|
|
|
@@ -104,4 +104,4 @@ ___
|
|
|
104
104
|
|
|
105
105
|
#### Defined in
|
|
106
106
|
|
|
107
|
-
[src/ErrorCode.ts:24](https://github.com/breautek/storm/blob/
|
|
107
|
+
[src/ErrorCode.ts:24](https://github.com/breautek/storm/blob/3748147/src/ErrorCode.ts#L24)
|
package/docs/enums/ExitCode.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
#### Defined in
|
|
19
19
|
|
|
20
|
-
[src/ExitCode.ts:19](https://github.com/breautek/storm/blob/
|
|
20
|
+
[src/ExitCode.ts:19](https://github.com/breautek/storm/blob/3748147/src/ExitCode.ts#L19)
|
|
21
21
|
|
|
22
22
|
___
|
|
23
23
|
|
|
@@ -27,4 +27,4 @@ ___
|
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[src/ExitCode.ts:18](https://github.com/breautek/storm/blob/
|
|
30
|
+
[src/ExitCode.ts:18](https://github.com/breautek/storm/blob/3748147/src/ExitCode.ts#L18)
|
package/docs/enums/HTTPMethod.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
#### Defined in
|
|
21
21
|
|
|
22
|
-
[src/HTTPMethod.ts:21](https://github.com/breautek/storm/blob/
|
|
22
|
+
[src/HTTPMethod.ts:21](https://github.com/breautek/storm/blob/3748147/src/HTTPMethod.ts#L21)
|
|
23
23
|
|
|
24
24
|
___
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ ___
|
|
|
29
29
|
|
|
30
30
|
#### Defined in
|
|
31
31
|
|
|
32
|
-
[src/HTTPMethod.ts:18](https://github.com/breautek/storm/blob/
|
|
32
|
+
[src/HTTPMethod.ts:18](https://github.com/breautek/storm/blob/3748147/src/HTTPMethod.ts#L18)
|
|
33
33
|
|
|
34
34
|
___
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ ___
|
|
|
39
39
|
|
|
40
40
|
#### Defined in
|
|
41
41
|
|
|
42
|
-
[src/HTTPMethod.ts:19](https://github.com/breautek/storm/blob/
|
|
42
|
+
[src/HTTPMethod.ts:19](https://github.com/breautek/storm/blob/3748147/src/HTTPMethod.ts#L19)
|
|
43
43
|
|
|
44
44
|
___
|
|
45
45
|
|
|
@@ -49,4 +49,4 @@ ___
|
|
|
49
49
|
|
|
50
50
|
#### Defined in
|
|
51
51
|
|
|
52
|
-
[src/HTTPMethod.ts:20](https://github.com/breautek/storm/blob/
|
|
52
|
+
[src/HTTPMethod.ts:20](https://github.com/breautek/storm/blob/3748147/src/HTTPMethod.ts#L20)
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
#### Defined in
|
|
21
21
|
|
|
22
|
-
[src/IsolationLevel.ts:19](https://github.com/breautek/storm/blob/
|
|
22
|
+
[src/IsolationLevel.ts:19](https://github.com/breautek/storm/blob/3748147/src/IsolationLevel.ts#L19)
|
|
23
23
|
|
|
24
24
|
___
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ ___
|
|
|
29
29
|
|
|
30
30
|
#### Defined in
|
|
31
31
|
|
|
32
|
-
[src/IsolationLevel.ts:20](https://github.com/breautek/storm/blob/
|
|
32
|
+
[src/IsolationLevel.ts:20](https://github.com/breautek/storm/blob/3748147/src/IsolationLevel.ts#L20)
|
|
33
33
|
|
|
34
34
|
___
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ ___
|
|
|
39
39
|
|
|
40
40
|
#### Defined in
|
|
41
41
|
|
|
42
|
-
[src/IsolationLevel.ts:18](https://github.com/breautek/storm/blob/
|
|
42
|
+
[src/IsolationLevel.ts:18](https://github.com/breautek/storm/blob/3748147/src/IsolationLevel.ts#L18)
|
|
43
43
|
|
|
44
44
|
___
|
|
45
45
|
|
|
@@ -49,4 +49,4 @@ ___
|
|
|
49
49
|
|
|
50
50
|
#### Defined in
|
|
51
51
|
|
|
52
|
-
[src/IsolationLevel.ts:21](https://github.com/breautek/storm/blob/
|
|
52
|
+
[src/IsolationLevel.ts:21](https://github.com/breautek/storm/blob/3748147/src/IsolationLevel.ts#L21)
|
package/docs/enums/JWTError.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
#### Defined in
|
|
19
19
|
|
|
20
|
-
[src/JWTError.ts:18](https://github.com/breautek/storm/blob/
|
|
20
|
+
[src/JWTError.ts:18](https://github.com/breautek/storm/blob/3748147/src/JWTError.ts#L18)
|
|
21
21
|
|
|
22
22
|
___
|
|
23
23
|
|
|
@@ -27,4 +27,4 @@ ___
|
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[src/JWTError.ts:19](https://github.com/breautek/storm/blob/
|
|
30
|
+
[src/JWTError.ts:19](https://github.com/breautek/storm/blob/3748147/src/JWTError.ts#L19)
|