@breautek/storm 6.0.1 → 6.0.3
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 +13 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/Application.html +47 -32
- package/docs/classes/BackendAuthenticationMiddleware.html +3 -3
- package/docs/classes/CORSMiddleware.html +7 -7
- package/docs/classes/ConfigLoader.html +2 -2
- package/docs/classes/Database.html +13 -13
- package/docs/classes/DatabaseCastObject.html +4 -4
- package/docs/classes/DatabaseConnection.html +20 -20
- package/docs/classes/DatabaseQueryError.html +11 -11
- package/docs/classes/DeadLockError.html +11 -11
- package/docs/classes/DiskSpaceError.html +11 -11
- package/docs/classes/DropTemporaryTableQuery.html +9 -9
- package/docs/classes/DuplicateEntryError.html +11 -11
- package/docs/classes/EntityNotFoundError.html +11 -11
- package/docs/classes/ExpiredTokenError.html +11 -11
- package/docs/classes/Handler.html +14 -14
- package/docs/classes/InternalError.html +11 -11
- package/docs/classes/InvalidCredentialsError.html +11 -11
- package/docs/classes/InvalidValueError.html +11 -11
- package/docs/classes/LineString.html +5 -5
- package/docs/classes/LockWaitTimeoutError.html +11 -11
- package/docs/classes/ManagedDatabaseConnection.html +20 -20
- package/docs/classes/Middleware.html +4 -4
- package/docs/classes/MissingConfigError.html +11 -11
- package/docs/classes/MissingParameterError.html +11 -11
- package/docs/classes/MySQLConnection.html +21 -21
- package/docs/classes/MySQLDatabase.html +14 -14
- package/docs/classes/NotImplementedError.html +11 -11
- package/docs/classes/Point.html +5 -5
- package/docs/classes/Polygon.html +5 -5
- package/docs/classes/Query.html +9 -9
- package/docs/classes/RawError.html +11 -11
- package/docs/classes/RawQuery.html +9 -9
- package/docs/classes/Request.html +19 -19
- package/docs/classes/Response.html +12 -12
- package/docs/classes/ResponseData.html +8 -8
- package/docs/classes/ServiceProvider.html +16 -16
- package/docs/classes/ServiceResponse.html +6 -6
- package/docs/classes/SetSessionVariableQuery.html +9 -9
- package/docs/classes/StormError.html +11 -11
- package/docs/classes/TemporaryTableQuery.html +9 -9
- package/docs/classes/Token.html +3 -3
- package/docs/classes/TokenManager.html +5 -5
- package/docs/classes/Transaction.html +7 -7
- package/docs/classes/UnauthorizedAccessError.html +11 -11
- package/docs/enums/ErrorCode.html +10 -10
- package/docs/enums/ExitCode.html +3 -3
- package/docs/enums/HTTPMethod.html +5 -5
- package/docs/enums/IsolationLevel.html +5 -5
- package/docs/enums/JWTError.html +3 -3
- package/docs/enums/StatusCode.html +49 -49
- package/docs/functions/getInstance.html +4 -1
- package/docs/interfaces/IAdditionalErrorDetails.html +1 -1
- package/docs/interfaces/ICloudwatchConfig.html +4 -4
- package/docs/interfaces/ICloudwatchCredentials.html +3 -3
- package/docs/interfaces/ICloudwatchStreamConfig.html +3 -3
- package/docs/interfaces/IConfig.html +9 -9
- package/docs/interfaces/IDatabaseConfig.html +7 -7
- package/docs/interfaces/IDatabaseConnection.html +15 -15
- package/docs/interfaces/IErrorResponse.html +6 -6
- package/docs/interfaces/IFormData.html +3 -3
- package/docs/interfaces/IHandler.html +2 -2
- package/docs/interfaces/IInsertQueryResult.html +4 -4
- package/docs/interfaces/IJWTVerifyOptions.html +2 -2
- package/docs/interfaces/IParameterMap.html +1 -1
- package/docs/interfaces/IQueryable.html +6 -6
- package/docs/interfaces/IRequestResponse.html +3 -3
- package/docs/interfaces/IServiceHeaders.html +1 -1
- package/docs/interfaces/ISetSessionVariableQueryInput.html +3 -3
- package/docs/interfaces/ITemporaryTableQueryInput.html +3 -3
- package/docs/interfaces/IUpdateQueryResult.html +3 -3
- package/docs/types/IDeleteQueryResult.html +1 -1
- package/docs/types/IHandlerError.html +1 -1
- package/docs/types/IHandlerResponse.html +1 -1
- package/docs/types/TCoordinate.html +1 -1
- package/lib/Application.d.ts +4 -3
- package/lib/Application.js +4 -1
- package/lib/Application.js.map +1 -1
- package/lib/ConfigLoader.js +23 -1
- package/lib/ConfigLoader.js.map +1 -1
- package/lib/Handler.js +0 -1
- package/lib/Handler.js.map +1 -1
- package/lib/MySQLConnection.js.map +1 -1
- package/lib/StormError.js.map +1 -1
- package/lib/instance.d.ts +8 -0
- package/lib/instance.js +8 -0
- package/lib/instance.js.map +1 -1
- package/package.json +9 -9
- package/src/Application.ts +12 -7
- package/src/BackendAuthenticationMiddleware.ts +2 -2
- package/src/ConfigLoader.ts +23 -1
- package/src/Handler.ts +2 -3
- package/src/MySQLConnection.ts +2 -2
- package/src/StormError.ts +2 -2
- package/src/instance.ts +8 -0
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<ul class="tsd-hierarchy">
|
|
37
37
|
<li><span class="target">Application</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
38
38
|
<ul>
|
|
39
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
39
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L45">src/Application.ts:45</a></li></ul></aside>
|
|
40
40
|
<section class="tsd-panel-group tsd-index-group">
|
|
41
41
|
<section class="tsd-panel tsd-index-panel">
|
|
42
42
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<a href="Application.html#_buildArgOptions" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_build<wbr/>Arg<wbr/>Options</span></a>
|
|
60
60
|
<a href="Application.html#_closeDatabase" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_close<wbr/>Database</span></a>
|
|
61
61
|
<a href="Application.html#_closeSocket" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_close<wbr/>Socket</span></a>
|
|
62
|
+
<a href="Application.html#_createLogger" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_create<wbr/>Logger</span></a>
|
|
62
63
|
<a href="Application.html#_initDB" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_initDB</span></a>
|
|
63
64
|
<a href="Application.html#_initLogger" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_init<wbr/>Logger</span></a>
|
|
64
65
|
<a href="Application.html#_initialize" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_initialize</span></a>
|
|
@@ -134,7 +135,7 @@
|
|
|
134
135
|
<h4 class="tsd-returns-title">Returns <a href="Application.html" class="tsd-signature-type tsd-kind-class">Application</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TAuthToken</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConfig</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConnectionAPI</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
135
136
|
<p>Overrides EventEmitter.constructor</p>
|
|
136
137
|
<ul>
|
|
137
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
138
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L68">src/Application.ts:68</a></li></ul></aside></li></ul></section></section>
|
|
138
139
|
<section class="tsd-panel-group tsd-member-group">
|
|
139
140
|
<h2>Properties</h2>
|
|
140
141
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
|
|
@@ -213,7 +214,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
213
214
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise<void></p>
|
|
214
215
|
<aside class="tsd-sources">
|
|
215
216
|
<ul>
|
|
216
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
217
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L340">src/Application.ts:340</a></li></ul></aside></li></ul></section>
|
|
217
218
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_buildArgOptions" class="tsd-anchor"></a>
|
|
218
219
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_build<wbr/>Arg<wbr/>Options</span><a href="#_buildArgOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
219
220
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -226,7 +227,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
226
227
|
<h5><span class="tsd-kind-parameter">program</span>: <span class="tsd-signature-type ">Command</span></h5></li></ul></div>
|
|
227
228
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
228
229
|
<ul>
|
|
229
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
230
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L267">src/Application.ts:267</a></li></ul></aside></li></ul></section>
|
|
230
231
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_closeDatabase" class="tsd-anchor"></a>
|
|
231
232
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_close<wbr/>Database</span><a href="#_closeDatabase" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
232
233
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -234,7 +235,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
234
235
|
<li class="tsd-description">
|
|
235
236
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
236
237
|
<ul>
|
|
237
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
238
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L317">src/Application.ts:317</a></li></ul></aside></li></ul></section>
|
|
238
239
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_closeSocket" class="tsd-anchor"></a>
|
|
239
240
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_close<wbr/>Socket</span><a href="#_closeSocket" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
240
241
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -242,7 +243,20 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
242
243
|
<li class="tsd-description">
|
|
243
244
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
244
245
|
<ul>
|
|
245
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
246
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L323">src/Application.ts:323</a></li></ul></aside></li></ul></section>
|
|
247
|
+
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_createLogger" class="tsd-anchor"></a>
|
|
248
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_create<wbr/>Logger</span><a href="#_createLogger" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
249
|
+
<ul class="tsd-signatures tsd-is-protected">
|
|
250
|
+
<li class="tsd-signature tsd-anchor-link" id="_createLogger._createLogger-1"><span class="tsd-kind-call-signature">_create<wbr/>Logger</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">BaseLogger</span><a href="#_createLogger._createLogger-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
251
|
+
<li class="tsd-description">
|
|
252
|
+
<div class="tsd-parameters">
|
|
253
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
254
|
+
<ul class="tsd-parameter-list">
|
|
255
|
+
<li>
|
|
256
|
+
<h5><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span></h5></li></ul></div>
|
|
257
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">BaseLogger</span></h4><aside class="tsd-sources">
|
|
258
|
+
<ul>
|
|
259
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L166">src/Application.ts:166</a></li></ul></aside></li></ul></section>
|
|
246
260
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_initDB" class="tsd-anchor"></a>
|
|
247
261
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_initDB</span><a href="#_initDB" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
248
262
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -259,20 +273,20 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
259
273
|
</div></li></ul></div>
|
|
260
274
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="Database.html" class="tsd-signature-type tsd-kind-class">Database</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConfig</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConnectionAPI</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
261
275
|
<ul>
|
|
262
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
276
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L449">src/Application.ts:449</a></li></ul></aside></li></ul></section>
|
|
263
277
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_initLogger" class="tsd-anchor"></a>
|
|
264
278
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_init<wbr/>Logger</span><a href="#_initLogger" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
265
279
|
<ul class="tsd-signatures tsd-is-protected">
|
|
266
|
-
<li class="tsd-signature tsd-anchor-link" id="_initLogger._initLogger-1"><span class="tsd-kind-call-signature">_init<wbr/>Logger</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">
|
|
280
|
+
<li class="tsd-signature tsd-anchor-link" id="_initLogger._initLogger-1"><span class="tsd-kind-call-signature">_init<wbr/>Logger</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">BaseLogger</span><a href="#_initLogger._initLogger-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
267
281
|
<li class="tsd-description">
|
|
268
282
|
<div class="tsd-parameters">
|
|
269
283
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
270
284
|
<ul class="tsd-parameter-list">
|
|
271
285
|
<li>
|
|
272
286
|
<h5><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span></h5></li></ul></div>
|
|
273
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">
|
|
287
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">BaseLogger</span></h4><aside class="tsd-sources">
|
|
274
288
|
<ul>
|
|
275
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
289
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L170">src/Application.ts:170</a></li></ul></aside></li></ul></section>
|
|
276
290
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_initialize" class="tsd-anchor"></a>
|
|
277
291
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_initialize</span><a href="#_initialize" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
278
292
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -285,7 +299,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
285
299
|
<h5><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span></h5></li></ul></div>
|
|
286
300
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
287
301
|
<ul>
|
|
288
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
302
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L162">src/Application.ts:162</a></li></ul></aside></li></ul></section>
|
|
289
303
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_onBeforeReadyAsync" class="tsd-anchor"></a>
|
|
290
304
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_on<wbr/>Before<wbr/>Ready<wbr/>Async</span><a href="#_onBeforeReadyAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
291
305
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -293,7 +307,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
293
307
|
<li class="tsd-description">
|
|
294
308
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
295
309
|
<ul>
|
|
296
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
310
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L453">src/Application.ts:453</a></li></ul></aside></li></ul></section>
|
|
297
311
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_onConfigLoad" class="tsd-anchor"></a>
|
|
298
312
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_on<wbr/>Config<wbr/>Load</span><a href="#_onConfigLoad" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
299
313
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -310,7 +324,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
310
324
|
</div></li></ul></div>
|
|
311
325
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
312
326
|
<ul>
|
|
313
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
327
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L393">src/Application.ts:393</a></li></ul></aside></li></ul></section>
|
|
314
328
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_onReady" class="tsd-anchor"></a>
|
|
315
329
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_on<wbr/>Ready</span><a href="#_onReady" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
316
330
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -320,7 +334,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
320
334
|
</div>
|
|
321
335
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
322
336
|
<ul>
|
|
323
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
337
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L458">src/Application.ts:458</a></li></ul></aside></li></ul></section>
|
|
324
338
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
|
|
325
339
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
326
340
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -370,7 +384,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
370
384
|
</div></li></ul></div>
|
|
371
385
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
372
386
|
<ul>
|
|
373
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
387
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L286">src/Application.ts:286</a></li></ul></aside></li></ul></section>
|
|
374
388
|
<section class="tsd-panel tsd-member"><a id="attachHandlerInstance" class="tsd-anchor"></a>
|
|
375
389
|
<h3 class="tsd-anchor-link"><span>attach<wbr/>Handler<wbr/>Instance</span><a href="#attachHandlerInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
376
390
|
<ul class="tsd-signatures">
|
|
@@ -385,7 +399,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
385
399
|
<h5><span class="tsd-kind-parameter">handler</span>: <a href="Handler.html" class="tsd-signature-type tsd-kind-class">Handler</a><span class="tsd-signature-symbol"><</span><a href="Application.html" class="tsd-signature-type tsd-kind-class">Application</a><span class="tsd-signature-symbol"><</span><a href="../interfaces/IConfig.html" class="tsd-signature-type tsd-kind-interface">IConfig</a><span class="tsd-signature-symbol">, </span><a href="../interfaces/IAuthTokenData.html" class="tsd-signature-type tsd-kind-interface">IAuthTokenData</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
386
400
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
387
401
|
<ul>
|
|
388
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
402
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L291">src/Application.ts:291</a></li></ul></aside></li></ul></section>
|
|
389
403
|
<section class="tsd-panel tsd-member"><a id="close" class="tsd-anchor"></a>
|
|
390
404
|
<h3 class="tsd-anchor-link"><span>close</span><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
391
405
|
<ul class="tsd-signatures">
|
|
@@ -393,7 +407,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|
|
393
407
|
<li class="tsd-description">
|
|
394
408
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
395
409
|
<ul>
|
|
396
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
410
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L310">src/Application.ts:310</a></li></ul></aside></li></ul></section>
|
|
397
411
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
|
|
398
412
|
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
399
413
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -443,7 +457,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|
|
443
457
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span></h4><p>command line arguments</p>
|
|
444
458
|
<aside class="tsd-sources">
|
|
445
459
|
<ul>
|
|
446
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
460
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L420">src/Application.ts:420</a></li></ul></aside></li></ul></section>
|
|
447
461
|
<section class="tsd-panel tsd-member"><a id="getConfig" class="tsd-anchor"></a>
|
|
448
462
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Config</span><a href="#getConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
449
463
|
<ul class="tsd-signatures">
|
|
@@ -453,7 +467,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|
|
453
467
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span></h4><p>the config object.</p>
|
|
454
468
|
<aside class="tsd-sources">
|
|
455
469
|
<ul>
|
|
456
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
470
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L377">src/Application.ts:377</a></li></ul></aside></li></ul></section>
|
|
457
471
|
<section class="tsd-panel tsd-member"><a id="getDB" class="tsd-anchor"></a>
|
|
458
472
|
<h3 class="tsd-anchor-link"><span>getDB</span><a href="#getDB" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
459
473
|
<ul class="tsd-signatures">
|
|
@@ -463,15 +477,15 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|
|
463
477
|
<h4 class="tsd-returns-title">Returns <a href="Database.html" class="tsd-signature-type tsd-kind-class">Database</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConfig</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TDBConnectionAPI</span><span class="tsd-signature-symbol">></span></h4><p>the database pool. This will need to be casted based on your preferred database dialect.</p>
|
|
464
478
|
<aside class="tsd-sources">
|
|
465
479
|
<ul>
|
|
466
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
480
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L413">src/Application.ts:413</a></li></ul></aside></li></ul></section>
|
|
467
481
|
<section class="tsd-panel tsd-member"><a id="getLogger" class="tsd-anchor"></a>
|
|
468
482
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Logger</span><a href="#getLogger" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
469
483
|
<ul class="tsd-signatures">
|
|
470
|
-
<li class="tsd-signature tsd-anchor-link" id="getLogger.getLogger-1"><span class="tsd-kind-call-signature">get<wbr/>Logger</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">
|
|
484
|
+
<li class="tsd-signature tsd-anchor-link" id="getLogger.getLogger-1"><span class="tsd-kind-call-signature">get<wbr/>Logger</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">BaseLogger</span><a href="#getLogger.getLogger-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
471
485
|
<li class="tsd-description">
|
|
472
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">
|
|
486
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">BaseLogger</span></h4><aside class="tsd-sources">
|
|
473
487
|
<ul>
|
|
474
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
488
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L234">src/Application.ts:234</a></li></ul></aside></li></ul></section>
|
|
475
489
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getMaxListeners" class="tsd-anchor"></a>
|
|
476
490
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
477
491
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -495,7 +509,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Applicati
|
|
|
495
509
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>the application name</p>
|
|
496
510
|
<aside class="tsd-sources">
|
|
497
511
|
<ul>
|
|
498
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
512
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L366">src/Application.ts:366</a></li></ul></aside></li></ul></section>
|
|
499
513
|
<section class="tsd-panel tsd-member"><a id="getPort" class="tsd-anchor"></a>
|
|
500
514
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Port</span><a href="#getPort" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
501
515
|
<ul class="tsd-signatures">
|
|
@@ -503,7 +517,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Applicati
|
|
|
503
517
|
<li class="tsd-description">
|
|
504
518
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
505
519
|
<ul>
|
|
506
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
520
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L238">src/Application.ts:238</a></li></ul></aside></li></ul></section>
|
|
507
521
|
<section class="tsd-panel tsd-member"><a id="getProgram" class="tsd-anchor"></a>
|
|
508
522
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Program</span><a href="#getProgram" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
509
523
|
<ul class="tsd-signatures">
|
|
@@ -511,7 +525,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Applicati
|
|
|
511
525
|
<li class="tsd-description">
|
|
512
526
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Command</span></h4><aside class="tsd-sources">
|
|
513
527
|
<ul>
|
|
514
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
528
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L269">src/Application.ts:269</a></li></ul></aside></li></ul></section>
|
|
515
529
|
<section class="tsd-panel tsd-member"><a id="getRequestSizeLimit" class="tsd-anchor"></a>
|
|
516
530
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Request<wbr/>Size<wbr/>Limit</span><a href="#getRequestSizeLimit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
517
531
|
<ul class="tsd-signatures">
|
|
@@ -521,7 +535,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Applicati
|
|
|
521
535
|
</div>
|
|
522
536
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
523
537
|
<ul>
|
|
524
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
538
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L276">src/Application.ts:276</a></li></ul></aside></li></ul></section>
|
|
525
539
|
<section class="tsd-panel tsd-member"><a id="getTokenManager" class="tsd-anchor"></a>
|
|
526
540
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Token<wbr/>Manager</span><a href="#getTokenManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
527
541
|
<ul class="tsd-signatures">
|
|
@@ -531,7 +545,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Applicati
|
|
|
531
545
|
<h4 class="tsd-returns-title">Returns <a href="TokenManager.html" class="tsd-signature-type tsd-kind-class">TokenManager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TAuthToken</span><span class="tsd-signature-symbol">></span></h4><p>the token manager</p>
|
|
532
546
|
<aside class="tsd-sources">
|
|
533
547
|
<ul>
|
|
534
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
548
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L406">src/Application.ts:406</a></li></ul></aside></li></ul></section>
|
|
535
549
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
|
|
536
550
|
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
537
551
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -592,7 +606,7 @@ in the list of the listeners of the event.</p>
|
|
|
592
606
|
</div></li></ul></div>
|
|
593
607
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TConfig</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
594
608
|
<ul>
|
|
595
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
609
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L346">src/Application.ts:346</a></li></ul></aside></li></ul></section>
|
|
596
610
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
|
|
597
611
|
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
598
612
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -924,7 +938,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|
|
924
938
|
<h5><span class="tsd-kind-parameter">tokenManager</span>: <a href="TokenManager.html" class="tsd-signature-type tsd-kind-class">TokenManager</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">TAuthToken</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
925
939
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
926
940
|
<ul>
|
|
927
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
941
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L399">src/Application.ts:399</a></li></ul></aside></li></ul></section>
|
|
928
942
|
<section class="tsd-panel tsd-member"><a id="shouldListen" class="tsd-anchor"></a>
|
|
929
943
|
<h3 class="tsd-anchor-link"><span>should<wbr/>Listen</span><a href="#shouldListen" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
930
944
|
<ul class="tsd-signatures">
|
|
@@ -934,7 +948,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|
|
934
948
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the Application should bind to an IP address</p>
|
|
935
949
|
<aside class="tsd-sources">
|
|
936
950
|
<ul>
|
|
937
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
951
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L384">src/Application.ts:384</a></li></ul></aside></li></ul></section>
|
|
938
952
|
<section class="tsd-panel tsd-member"><a id="start" class="tsd-anchor"></a>
|
|
939
953
|
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
940
954
|
<ul class="tsd-signatures">
|
|
@@ -942,7 +956,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|
|
942
956
|
<li class="tsd-description">
|
|
943
957
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
944
958
|
<ul>
|
|
945
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
959
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Application.ts#L86">src/Application.ts:86</a></li></ul></aside></li></ul></section>
|
|
946
960
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
|
|
947
961
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
948
962
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
@@ -1132,6 +1146,7 @@ special handling:</p>
|
|
|
1132
1146
|
<li><a href="#_buildArgOptions" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_build<wbr/>Arg<wbr/>Options</span></a></li>
|
|
1133
1147
|
<li><a href="#_closeDatabase" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_close<wbr/>Database</span></a></li>
|
|
1134
1148
|
<li><a href="#_closeSocket" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_close<wbr/>Socket</span></a></li>
|
|
1149
|
+
<li><a href="#_createLogger" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_create<wbr/>Logger</span></a></li>
|
|
1135
1150
|
<li><a href="#_initDB" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_initDB</span></a></li>
|
|
1136
1151
|
<li><a href="#_initLogger" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_init<wbr/>Logger</span></a></li>
|
|
1137
1152
|
<li><a href="#_initialize" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_initialize</span></a></li>
|
|
@@ -26,7 +26,7 @@ for their specific use cases.</p>
|
|
|
26
26
|
<ul class="tsd-hierarchy">
|
|
27
27
|
<li><span class="target">BackendAuthenticationMiddleware</span></li></ul></section><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/BackendAuthenticationMiddleware.ts#L32">src/BackendAuthenticationMiddleware.ts:32</a></li></ul></aside>
|
|
30
30
|
<section class="tsd-panel-group tsd-index-group">
|
|
31
31
|
<section class="tsd-panel tsd-index-panel">
|
|
32
32
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -49,7 +49,7 @@ for their specific use cases.</p>
|
|
|
49
49
|
<li class="tsd-description">
|
|
50
50
|
<h4 class="tsd-returns-title">Returns <a href="BackendAuthenticationMiddleware.html" class="tsd-signature-type tsd-kind-class">BackendAuthenticationMiddleware</a></h4><aside class="tsd-sources">
|
|
51
51
|
<ul>
|
|
52
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
52
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/BackendAuthenticationMiddleware.ts#L35">src/BackendAuthenticationMiddleware.ts:35</a></li></ul></aside></li></ul></section></section>
|
|
53
53
|
<section class="tsd-panel-group tsd-member-group">
|
|
54
54
|
<h2>Methods</h2>
|
|
55
55
|
<section class="tsd-panel tsd-member"><a id="execute" class="tsd-anchor"></a>
|
|
@@ -68,7 +68,7 @@ for their specific use cases.</p>
|
|
|
68
68
|
</div></li></ul></div>
|
|
69
69
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
71
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/BackendAuthenticationMiddleware.ts#L46">src/BackendAuthenticationMiddleware.ts:46</a></li></ul></aside></li></ul></section></section></div>
|
|
72
72
|
<div class="col-sidebar">
|
|
73
73
|
<div class="page-menu">
|
|
74
74
|
<div class="tsd-navigation settings">
|
|
@@ -27,7 +27,7 @@ communicate with CORS enabled clients.</p>
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><span class="target">CORSMiddleware</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L28">src/CORSMiddleware.ts:28</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -70,7 +70,7 @@ communicate with CORS enabled clients.</p>
|
|
|
70
70
|
<h4 class="tsd-returns-title">Returns <a href="CORSMiddleware.html" class="tsd-signature-type tsd-kind-class">CORSMiddleware</a></h4><aside class="tsd-sources">
|
|
71
71
|
<p>Overrides <a href="Middleware.html">Middleware</a>.<a href="Middleware.html#constructor">constructor</a></p>
|
|
72
72
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
73
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L39">src/CORSMiddleware.ts:39</a></li></ul></aside></li></ul></section></section>
|
|
74
74
|
<section class="tsd-panel-group tsd-member-group">
|
|
75
75
|
<h2>Methods</h2>
|
|
76
76
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_execute" class="tsd-anchor"></a>
|
|
@@ -88,7 +88,7 @@ communicate with CORS enabled clients.</p>
|
|
|
88
88
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/IRequestResponse.html" class="tsd-signature-type tsd-kind-interface">IRequestResponse</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
89
89
|
<p>Overrides <a href="Middleware.html">Middleware</a>.<a href="Middleware.html#_execute">_execute</a></p>
|
|
90
90
|
<ul>
|
|
91
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
91
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L75">src/CORSMiddleware.ts:75</a></li></ul></aside></li></ul></section>
|
|
92
92
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="execute" class="tsd-anchor"></a>
|
|
93
93
|
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
94
94
|
<ul class="tsd-signatures tsd-is-inherited">
|
|
@@ -104,7 +104,7 @@ communicate with CORS enabled clients.</p>
|
|
|
104
104
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/IRequestResponse.html" class="tsd-signature-type tsd-kind-interface">IRequestResponse</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
105
105
|
<p>Inherited from <a href="Middleware.html">Middleware</a>.<a href="Middleware.html#execute">execute</a></p>
|
|
106
106
|
<ul>
|
|
107
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
107
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/Middleware.ts#L27">src/Middleware.ts:27</a></li></ul></aside></li></ul></section>
|
|
108
108
|
<section class="tsd-panel tsd-member"><a id="getDefaultAllowedHeaders" class="tsd-anchor"></a>
|
|
109
109
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Default<wbr/>Allowed<wbr/>Headers</span><a href="#getDefaultAllowedHeaders" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
110
110
|
<ul class="tsd-signatures">
|
|
@@ -112,7 +112,7 @@ communicate with CORS enabled clients.</p>
|
|
|
112
112
|
<li class="tsd-description">
|
|
113
113
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
114
114
|
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
115
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L54">src/CORSMiddleware.ts:54</a></li></ul></aside></li></ul></section>
|
|
116
116
|
<section class="tsd-panel tsd-member"><a id="getDefaultAllowedMethods" class="tsd-anchor"></a>
|
|
117
117
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Default<wbr/>Allowed<wbr/>Methods</span><a href="#getDefaultAllowedMethods" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
118
118
|
<ul class="tsd-signatures">
|
|
@@ -120,7 +120,7 @@ communicate with CORS enabled clients.</p>
|
|
|
120
120
|
<li class="tsd-description">
|
|
121
121
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L64">src/CORSMiddleware.ts:64</a></li></ul></aside></li></ul></section>
|
|
124
124
|
<section class="tsd-panel tsd-member"><a id="getDefaultAllowedOrigin" class="tsd-anchor"></a>
|
|
125
125
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Default<wbr/>Allowed<wbr/>Origin</span><a href="#getDefaultAllowedOrigin" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
126
126
|
<ul class="tsd-signatures">
|
|
@@ -130,7 +130,7 @@ communicate with CORS enabled clients.</p>
|
|
|
130
130
|
</div>
|
|
131
131
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
132
132
|
<ul>
|
|
133
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
133
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/CORSMiddleware.ts#L50">src/CORSMiddleware.ts:50</a></li></ul></aside></li></ul></section></section></div>
|
|
134
134
|
<div class="col-sidebar">
|
|
135
135
|
<div class="page-menu">
|
|
136
136
|
<div class="tsd-navigation settings">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">ConfigLoader</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/ConfigLoader.ts#L31">src/ConfigLoader.ts:31</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<h5><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
45
45
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/IConfig.html" class="tsd-signature-type tsd-kind-interface">IConfig</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
46
46
|
<ul>
|
|
47
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
47
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/1190bb1/src/ConfigLoader.ts#L34">src/ConfigLoader.ts:34</a></li></ul></aside></li></ul></section></section></div>
|
|
48
48
|
<div class="col-sidebar">
|
|
49
49
|
<div class="page-menu">
|
|
50
50
|
<div class="tsd-navigation settings">
|