@breautek/storm 4.2.0 → 4.3.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 +6 -0
- package/docs/README.md +4 -4
- package/docs/classes/Application.md +26 -26
- 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/DatabaseConnection.md +19 -19
- package/docs/classes/DatabaseQueryError.md +46 -8
- package/docs/classes/DiskSpaceError.md +46 -8
- package/docs/classes/DropTemporaryTableQuery.md +8 -8
- package/docs/classes/DumpStream.md +1 -1
- package/docs/classes/DuplicateEntryError.md +46 -8
- package/docs/classes/EntityNotFoundError.md +46 -8
- package/docs/classes/ExpiredTokenError.md +46 -8
- package/docs/classes/Handler.md +14 -14
- package/docs/classes/InternalError.md +46 -8
- package/docs/classes/InvalidCredentialsError.md +46 -8
- package/docs/classes/InvalidValueError.md +46 -8
- package/docs/classes/ManagedDatabaseConnection.md +19 -19
- package/docs/classes/Middleware.md +3 -3
- package/docs/classes/MissingConfigError.md +46 -8
- package/docs/classes/MissingParameterError.md +46 -8
- package/docs/classes/MySQLConnection.md +20 -20
- package/docs/classes/MySQLDatabase.md +13 -13
- package/docs/classes/NotImplementedError.md +46 -8
- package/docs/classes/Query.md +8 -8
- package/docs/classes/RawError.md +46 -8
- package/docs/classes/RawQuery.md +8 -8
- 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 +4 -4
- package/docs/classes/SetSessionVariableQuery.md +8 -8
- package/docs/classes/StormError.md +38 -8
- package/docs/classes/TemporaryTableQuery.md +8 -8
- package/docs/classes/Token.md +2 -2
- package/docs/classes/TokenManager.md +4 -4
- package/docs/classes/UnauthorizedAccessError.md +46 -8
- package/docs/enums/ErrorCode.md +9 -9
- package/docs/enums/ExitCode.md +2 -2
- package/docs/enums/HTTPMethod.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 +14 -14
- package/docs/interfaces/IErrorResponse.md +15 -4
- 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/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/lib/DatabaseQueryError.d.ts +1 -0
- package/lib/DatabaseQueryError.js +3 -0
- package/lib/DatabaseQueryError.js.map +1 -1
- package/lib/DiskSpaceError.d.ts +1 -0
- package/lib/DiskSpaceError.js +3 -0
- package/lib/DiskSpaceError.js.map +1 -1
- package/lib/DuplicateEntryError.d.ts +2 -0
- package/lib/DuplicateEntryError.js +11 -0
- package/lib/DuplicateEntryError.js.map +1 -1
- package/lib/EntityNotFoundError.d.ts +2 -0
- package/lib/EntityNotFoundError.js +8 -0
- package/lib/EntityNotFoundError.js.map +1 -1
- package/lib/ExpiredTokenError.d.ts +1 -0
- package/lib/ExpiredTokenError.js +3 -0
- package/lib/ExpiredTokenError.js.map +1 -1
- package/lib/InternalError.d.ts +1 -0
- package/lib/InternalError.js +3 -0
- package/lib/InternalError.js.map +1 -1
- package/lib/InvalidCredentialsError.d.ts +1 -0
- package/lib/InvalidCredentialsError.js +3 -0
- package/lib/InvalidCredentialsError.js.map +1 -1
- package/lib/InvalidValueError.d.ts +2 -0
- package/lib/InvalidValueError.js +11 -0
- package/lib/InvalidValueError.js.map +1 -1
- package/lib/MissingConfigError.d.ts +2 -0
- package/lib/MissingConfigError.js +8 -0
- package/lib/MissingConfigError.js.map +1 -1
- package/lib/MissingParameterError.d.ts +2 -0
- package/lib/MissingParameterError.js +8 -0
- package/lib/MissingParameterError.js.map +1 -1
- package/lib/NotImplementedError.d.ts +2 -0
- package/lib/NotImplementedError.js +8 -0
- package/lib/NotImplementedError.js.map +1 -1
- package/lib/StormError.d.ts +7 -0
- package/lib/StormError.js +10 -0
- package/lib/StormError.js.map +1 -1
- package/lib/UnauthorizedAccessError.d.ts +1 -0
- package/lib/UnauthorizedAccessError.js +3 -0
- package/lib/UnauthorizedAccessError.js.map +1 -1
- package/package.json +1 -1
- package/src/DatabaseQueryError.ts +4 -0
- package/src/DiskSpaceError.ts +4 -0
- package/src/DuplicateEntryError.ts +13 -0
- package/src/EntityNotFoundError.ts +10 -0
- package/src/ExpiredTokenError.ts +4 -0
- package/src/InternalError.ts +4 -0
- package/src/InvalidCredentialsError.ts +4 -0
- package/src/InvalidValueError.ts +13 -0
- package/src/MissingConfigError.ts +10 -0
- package/src/MissingParameterError.ts +10 -0
- package/src/NotImplementedError.ts +10 -0
- package/src/StormError.ts +18 -0
- package/src/UnauthorizedAccessError.ts +4 -0
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
#### Defined in
|
|
31
31
|
|
|
32
|
-
[src/ServiceResponse.ts:23](https://github.com/breautek/storm/blob/
|
|
32
|
+
[src/ServiceResponse.ts:23](https://github.com/breautek/storm/blob/4ac2f44/src/ServiceResponse.ts#L23)
|
|
33
33
|
|
|
34
34
|
## Methods
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[src/ServiceResponse.ts:36](https://github.com/breautek/storm/blob/
|
|
46
|
+
[src/ServiceResponse.ts:36](https://github.com/breautek/storm/blob/4ac2f44/src/ServiceResponse.ts#L36)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -57,7 +57,7 @@ ___
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
[src/ServiceResponse.ts:28](https://github.com/breautek/storm/blob/
|
|
60
|
+
[src/ServiceResponse.ts:28](https://github.com/breautek/storm/blob/4ac2f44/src/ServiceResponse.ts#L28)
|
|
61
61
|
|
|
62
62
|
___
|
|
63
63
|
|
|
@@ -71,4 +71,4 @@ ___
|
|
|
71
71
|
|
|
72
72
|
#### Defined in
|
|
73
73
|
|
|
74
|
-
[src/ServiceResponse.ts:32](https://github.com/breautek/storm/blob/
|
|
74
|
+
[src/ServiceResponse.ts:32](https://github.com/breautek/storm/blob/4ac2f44/src/ServiceResponse.ts#L32)
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[src/Query.ts:22](https://github.com/breautek/storm/blob/
|
|
45
|
+
[src/Query.ts:22](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L22)
|
|
46
46
|
|
|
47
47
|
## Methods
|
|
48
48
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
#### Defined in
|
|
62
62
|
|
|
63
|
-
[src/SetSessionVariableQuery.ts:12](https://github.com/breautek/storm/blob/
|
|
63
|
+
[src/SetSessionVariableQuery.ts:12](https://github.com/breautek/storm/blob/4ac2f44/src/SetSessionVariableQuery.ts#L12)
|
|
64
64
|
|
|
65
65
|
___
|
|
66
66
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/Query.ts:70](https://github.com/breautek/storm/blob/
|
|
87
|
+
[src/Query.ts:70](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L70)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -104,7 +104,7 @@ parameters that was passed into the constructor.
|
|
|
104
104
|
|
|
105
105
|
#### Defined in
|
|
106
106
|
|
|
107
|
-
[src/Query.ts:29](https://github.com/breautek/storm/blob/
|
|
107
|
+
[src/Query.ts:29](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L29)
|
|
108
108
|
|
|
109
109
|
___
|
|
110
110
|
|
|
@@ -126,7 +126,7 @@ parameters that will be used when this query is ran.
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[src/SetSessionVariableQuery.ts:23](https://github.com/breautek/storm/blob/
|
|
129
|
+
[src/SetSessionVariableQuery.ts:23](https://github.com/breautek/storm/blob/4ac2f44/src/SetSessionVariableQuery.ts#L23)
|
|
130
130
|
|
|
131
131
|
___
|
|
132
132
|
|
|
@@ -150,7 +150,7 @@ ___
|
|
|
150
150
|
|
|
151
151
|
#### Defined in
|
|
152
152
|
|
|
153
|
-
[src/Query.ts:44](https://github.com/breautek/storm/blob/
|
|
153
|
+
[src/Query.ts:44](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L44)
|
|
154
154
|
|
|
155
155
|
___
|
|
156
156
|
|
|
@@ -177,7 +177,7 @@ Override to augment/manipulate the returned result set.
|
|
|
177
177
|
|
|
178
178
|
#### Defined in
|
|
179
179
|
|
|
180
|
-
[src/Query.ts:65](https://github.com/breautek/storm/blob/
|
|
180
|
+
[src/Query.ts:65](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L65)
|
|
181
181
|
|
|
182
182
|
___
|
|
183
183
|
|
|
@@ -204,4 +204,4 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
204
204
|
|
|
205
205
|
#### Defined in
|
|
206
206
|
|
|
207
|
-
[src/Query.ts:55](https://github.com/breautek/storm/blob/
|
|
207
|
+
[src/Query.ts:55](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L55)
|
|
@@ -60,6 +60,8 @@
|
|
|
60
60
|
- [getErrorResponse](StormError.md#geterrorresponse)
|
|
61
61
|
- [getExitCode](StormError.md#getexitcode)
|
|
62
62
|
- [getHTTPCode](StormError.md#gethttpcode)
|
|
63
|
+
- [getLocaleCode](StormError.md#getlocalecode)
|
|
64
|
+
- [getLocaleParameters](StormError.md#getlocaleparameters)
|
|
63
65
|
- [getMessage](StormError.md#getmessage)
|
|
64
66
|
- [getPrivateDetails](StormError.md#getprivatedetails)
|
|
65
67
|
- [getPublicDetails](StormError.md#getpublicdetails)
|
|
@@ -89,7 +91,7 @@ Error.constructor
|
|
|
89
91
|
|
|
90
92
|
#### Defined in
|
|
91
93
|
|
|
92
|
-
[src/StormError.ts:
|
|
94
|
+
[src/StormError.ts:44](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L44)
|
|
93
95
|
|
|
94
96
|
## Properties
|
|
95
97
|
|
|
@@ -192,7 +194,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
192
194
|
|
|
193
195
|
#### Defined in
|
|
194
196
|
|
|
195
|
-
[src/StormError.ts:
|
|
197
|
+
[src/StormError.ts:55](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L55)
|
|
196
198
|
|
|
197
199
|
___
|
|
198
200
|
|
|
@@ -206,7 +208,7 @@ ___
|
|
|
206
208
|
|
|
207
209
|
#### Defined in
|
|
208
210
|
|
|
209
|
-
[src/StormError.ts:
|
|
211
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L76)
|
|
210
212
|
|
|
211
213
|
___
|
|
212
214
|
|
|
@@ -220,7 +222,7 @@ ___
|
|
|
220
222
|
|
|
221
223
|
#### Defined in
|
|
222
224
|
|
|
223
|
-
[src/StormError.ts:
|
|
225
|
+
[src/StormError.ts:97](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L97)
|
|
224
226
|
|
|
225
227
|
___
|
|
226
228
|
|
|
@@ -234,7 +236,35 @@ ___
|
|
|
234
236
|
|
|
235
237
|
#### Defined in
|
|
236
238
|
|
|
237
|
-
[src/StormError.ts:
|
|
239
|
+
[src/StormError.ts:72](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L72)
|
|
240
|
+
|
|
241
|
+
___
|
|
242
|
+
|
|
243
|
+
### getLocaleCode
|
|
244
|
+
|
|
245
|
+
▸ **getLocaleCode**(): `string`
|
|
246
|
+
|
|
247
|
+
#### Returns
|
|
248
|
+
|
|
249
|
+
`string`
|
|
250
|
+
|
|
251
|
+
#### Defined in
|
|
252
|
+
|
|
253
|
+
[src/StormError.ts:89](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L89)
|
|
254
|
+
|
|
255
|
+
___
|
|
256
|
+
|
|
257
|
+
### getLocaleParameters
|
|
258
|
+
|
|
259
|
+
▸ **getLocaleParameters**(): `Record`<`string`, `string`\>
|
|
260
|
+
|
|
261
|
+
#### Returns
|
|
262
|
+
|
|
263
|
+
`Record`<`string`, `string`\>
|
|
264
|
+
|
|
265
|
+
#### Defined in
|
|
266
|
+
|
|
267
|
+
[src/StormError.ts:93](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L93)
|
|
238
268
|
|
|
239
269
|
___
|
|
240
270
|
|
|
@@ -248,7 +278,7 @@ ___
|
|
|
248
278
|
|
|
249
279
|
#### Defined in
|
|
250
280
|
|
|
251
|
-
[src/StormError.ts:
|
|
281
|
+
[src/StormError.ts:54](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L54)
|
|
252
282
|
|
|
253
283
|
___
|
|
254
284
|
|
|
@@ -265,7 +295,7 @@ They are kept secret from the client.
|
|
|
265
295
|
|
|
266
296
|
#### Defined in
|
|
267
297
|
|
|
268
|
-
[src/StormError.ts:
|
|
298
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L68)
|
|
269
299
|
|
|
270
300
|
___
|
|
271
301
|
|
|
@@ -281,7 +311,7 @@ Sends details to the client.
|
|
|
281
311
|
|
|
282
312
|
#### Defined in
|
|
283
313
|
|
|
284
|
-
[src/StormError.ts:
|
|
314
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L60)
|
|
285
315
|
|
|
286
316
|
___
|
|
287
317
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[src/Query.ts:22](https://github.com/breautek/storm/blob/
|
|
45
|
+
[src/Query.ts:22](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L22)
|
|
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/4ac2f44/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:70](https://github.com/breautek/storm/blob/
|
|
93
|
+
[src/Query.ts:70](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L70)
|
|
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:29](https://github.com/breautek/storm/blob/
|
|
113
|
+
[src/Query.ts:29](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L29)
|
|
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/4ac2f44/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:44](https://github.com/breautek/storm/blob/
|
|
159
|
+
[src/Query.ts:44](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L44)
|
|
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:65](https://github.com/breautek/storm/blob/
|
|
186
|
+
[src/Query.ts:65](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L65)
|
|
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:55](https://github.com/breautek/storm/blob/
|
|
213
|
+
[src/Query.ts:55](https://github.com/breautek/storm/blob/4ac2f44/src/Query.ts#L55)
|
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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/src/TokenManager.ts#L56)
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
- [getErrorResponse](UnauthorizedAccessError.md#geterrorresponse)
|
|
29
29
|
- [getExitCode](UnauthorizedAccessError.md#getexitcode)
|
|
30
30
|
- [getHTTPCode](UnauthorizedAccessError.md#gethttpcode)
|
|
31
|
+
- [getLocaleCode](UnauthorizedAccessError.md#getlocalecode)
|
|
32
|
+
- [getLocaleParameters](UnauthorizedAccessError.md#getlocaleparameters)
|
|
31
33
|
- [getMessage](UnauthorizedAccessError.md#getmessage)
|
|
32
34
|
- [getPrivateDetails](UnauthorizedAccessError.md#getprivatedetails)
|
|
33
35
|
- [getPublicDetails](UnauthorizedAccessError.md#getpublicdetails)
|
|
@@ -51,7 +53,7 @@
|
|
|
51
53
|
|
|
52
54
|
#### Defined in
|
|
53
55
|
|
|
54
|
-
[src/UnauthorizedAccessError.ts:22](https://github.com/breautek/storm/blob/
|
|
56
|
+
[src/UnauthorizedAccessError.ts:22](https://github.com/breautek/storm/blob/4ac2f44/src/UnauthorizedAccessError.ts#L22)
|
|
55
57
|
|
|
56
58
|
## Properties
|
|
57
59
|
|
|
@@ -158,7 +160,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
158
160
|
|
|
159
161
|
#### Defined in
|
|
160
162
|
|
|
161
|
-
[src/UnauthorizedAccessError.ts:30](https://github.com/breautek/storm/blob/
|
|
163
|
+
[src/UnauthorizedAccessError.ts:30](https://github.com/breautek/storm/blob/4ac2f44/src/UnauthorizedAccessError.ts#L30)
|
|
162
164
|
|
|
163
165
|
___
|
|
164
166
|
|
|
@@ -176,7 +178,7 @@ ___
|
|
|
176
178
|
|
|
177
179
|
#### Defined in
|
|
178
180
|
|
|
179
|
-
[src/StormError.ts:
|
|
181
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L76)
|
|
180
182
|
|
|
181
183
|
___
|
|
182
184
|
|
|
@@ -194,7 +196,7 @@ ___
|
|
|
194
196
|
|
|
195
197
|
#### Defined in
|
|
196
198
|
|
|
197
|
-
[src/StormError.ts:
|
|
199
|
+
[src/StormError.ts:97](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L97)
|
|
198
200
|
|
|
199
201
|
___
|
|
200
202
|
|
|
@@ -212,7 +214,43 @@ ___
|
|
|
212
214
|
|
|
213
215
|
#### Defined in
|
|
214
216
|
|
|
215
|
-
[src/UnauthorizedAccessError.ts:34](https://github.com/breautek/storm/blob/
|
|
217
|
+
[src/UnauthorizedAccessError.ts:34](https://github.com/breautek/storm/blob/4ac2f44/src/UnauthorizedAccessError.ts#L34)
|
|
218
|
+
|
|
219
|
+
___
|
|
220
|
+
|
|
221
|
+
### getLocaleCode
|
|
222
|
+
|
|
223
|
+
▸ **getLocaleCode**(): `string`
|
|
224
|
+
|
|
225
|
+
#### Returns
|
|
226
|
+
|
|
227
|
+
`string`
|
|
228
|
+
|
|
229
|
+
#### Overrides
|
|
230
|
+
|
|
231
|
+
[StormError](StormError.md).[getLocaleCode](StormError.md#getlocalecode)
|
|
232
|
+
|
|
233
|
+
#### Defined in
|
|
234
|
+
|
|
235
|
+
[src/UnauthorizedAccessError.ts:38](https://github.com/breautek/storm/blob/4ac2f44/src/UnauthorizedAccessError.ts#L38)
|
|
236
|
+
|
|
237
|
+
___
|
|
238
|
+
|
|
239
|
+
### getLocaleParameters
|
|
240
|
+
|
|
241
|
+
▸ **getLocaleParameters**(): `Record`<`string`, `string`\>
|
|
242
|
+
|
|
243
|
+
#### Returns
|
|
244
|
+
|
|
245
|
+
`Record`<`string`, `string`\>
|
|
246
|
+
|
|
247
|
+
#### Inherited from
|
|
248
|
+
|
|
249
|
+
[StormError](StormError.md).[getLocaleParameters](StormError.md#getlocaleparameters)
|
|
250
|
+
|
|
251
|
+
#### Defined in
|
|
252
|
+
|
|
253
|
+
[src/StormError.ts:93](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L93)
|
|
216
254
|
|
|
217
255
|
___
|
|
218
256
|
|
|
@@ -230,7 +268,7 @@ ___
|
|
|
230
268
|
|
|
231
269
|
#### Defined in
|
|
232
270
|
|
|
233
|
-
[src/UnauthorizedAccessError.ts:26](https://github.com/breautek/storm/blob/
|
|
271
|
+
[src/UnauthorizedAccessError.ts:26](https://github.com/breautek/storm/blob/4ac2f44/src/UnauthorizedAccessError.ts#L26)
|
|
234
272
|
|
|
235
273
|
___
|
|
236
274
|
|
|
@@ -251,7 +289,7 @@ They are kept secret from the client.
|
|
|
251
289
|
|
|
252
290
|
#### Defined in
|
|
253
291
|
|
|
254
|
-
[src/StormError.ts:
|
|
292
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L68)
|
|
255
293
|
|
|
256
294
|
___
|
|
257
295
|
|
|
@@ -271,7 +309,7 @@ Sends details to the client.
|
|
|
271
309
|
|
|
272
310
|
#### Defined in
|
|
273
311
|
|
|
274
|
-
[src/StormError.ts:
|
|
312
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/4ac2f44/src/StormError.ts#L60)
|
|
275
313
|
|
|
276
314
|
___
|
|
277
315
|
|
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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/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/4ac2f44/src/HTTPMethod.ts#L20)
|
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/4ac2f44/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/4ac2f44/src/JWTError.ts#L19)
|