@breautek/storm 6.0.5 → 6.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/.eslintrc.js +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/docs/assets/main.js +4 -3
  4. package/docs/assets/navigation.js +1 -0
  5. package/docs/assets/search.js +1 -1
  6. package/docs/assets/style.css +26 -10
  7. package/docs/classes/Application.html +118 -1153
  8. package/docs/classes/BackendAuthenticationMiddleware.html +5 -175
  9. package/docs/classes/CORSMiddleware.html +8 -240
  10. package/docs/classes/ConfigLoader.html +5 -149
  11. package/docs/classes/Database.html +3 -313
  12. package/docs/classes/DatabaseCastObject.html +3 -184
  13. package/docs/classes/DatabaseConnection.html +48 -539
  14. package/docs/classes/DatabaseQueryError.html +9 -345
  15. package/docs/classes/DeadLockError.html +10 -346
  16. package/docs/classes/DiskSpaceError.html +9 -335
  17. package/docs/classes/DropTemporaryTableQuery.html +9 -266
  18. package/docs/classes/DuplicateEntryError.html +9 -339
  19. package/docs/classes/EntityNotFoundError.html +9 -335
  20. package/docs/classes/ExpiredTokenError.html +9 -335
  21. package/docs/classes/Handler.html +3 -367
  22. package/docs/classes/InternalError.html +9 -335
  23. package/docs/classes/InvalidCredentialsError.html +9 -335
  24. package/docs/classes/InvalidValueError.html +9 -346
  25. package/docs/classes/LineString.html +3 -193
  26. package/docs/classes/LockWaitTimeoutError.html +10 -346
  27. package/docs/classes/ManagedDatabaseConnection.html +3 -376
  28. package/docs/classes/Middleware.html +3 -184
  29. package/docs/classes/MissingConfigError.html +9 -335
  30. package/docs/classes/MissingParameterError.html +9 -335
  31. package/docs/classes/MySQLConnection.html +48 -534
  32. package/docs/classes/MySQLDatabase.html +3 -325
  33. package/docs/classes/NotImplementedError.html +9 -335
  34. package/docs/classes/Point.html +3 -195
  35. package/docs/classes/Polygon.html +3 -193
  36. package/docs/classes/Query.html +9 -293
  37. package/docs/classes/RawError.html +10 -346
  38. package/docs/classes/RawQuery.html +9 -286
  39. package/docs/classes/Request.html +3 -342
  40. package/docs/classes/Response.html +3 -303
  41. package/docs/classes/ResponseData.html +3 -233
  42. package/docs/classes/ServiceProvider.html +3 -355
  43. package/docs/classes/ServiceResponse.html +3 -193
  44. package/docs/classes/SetSessionVariableQuery.html +9 -266
  45. package/docs/classes/StormError.html +9 -350
  46. package/docs/classes/TemporaryTableQuery.html +9 -271
  47. package/docs/classes/Token.html +3 -164
  48. package/docs/classes/TokenManager.html +3 -214
  49. package/docs/classes/Transaction.html +4 -241
  50. package/docs/classes/UnauthorizedAccessError.html +9 -335
  51. package/docs/enums/ErrorCode.html +10 -193
  52. package/docs/enums/ExitCode.html +3 -144
  53. package/docs/enums/HTTPMethod.html +5 -158
  54. package/docs/enums/IsolationLevel.html +5 -158
  55. package/docs/enums/JWTError.html +3 -144
  56. package/docs/enums/StatusCode.html +49 -466
  57. package/docs/functions/formidable-1.html +1 -126
  58. package/docs/functions/getInstance.html +2 -124
  59. package/docs/index.html +11 -142
  60. package/docs/interfaces/IAdditionalErrorDetails.html +1 -123
  61. package/docs/interfaces/IAuthTokenData.html +2 -153
  62. package/docs/interfaces/ICloudwatchConfig.html +2 -153
  63. package/docs/interfaces/ICloudwatchCredentials.html +2 -147
  64. package/docs/interfaces/ICloudwatchStreamConfig.html +2 -147
  65. package/docs/interfaces/IConfig.html +2 -201
  66. package/docs/interfaces/IDatabaseConfig.html +2 -176
  67. package/docs/interfaces/IDatabaseConnection.html +2 -302
  68. package/docs/interfaces/IErrorResponse.html +2 -165
  69. package/docs/interfaces/IFormData.html +2 -147
  70. package/docs/interfaces/IHandler.html +2 -154
  71. package/docs/interfaces/IInsertQueryResult.html +2 -153
  72. package/docs/interfaces/IJWTVerifyOptions.html +2 -141
  73. package/docs/interfaces/IParameterMap.html +1 -123
  74. package/docs/interfaces/IQueryable.html +2 -212
  75. package/docs/interfaces/IRequestResponse.html +2 -154
  76. package/docs/interfaces/IServiceHeaders.html +1 -123
  77. package/docs/interfaces/ISetSessionVariableQueryInput.html +2 -147
  78. package/docs/interfaces/ITemporaryTableQueryInput.html +2 -147
  79. package/docs/interfaces/IUpdateQueryResult.html +2 -147
  80. package/docs/interfaces/formidable.EmitData.html +2 -179
  81. package/docs/interfaces/formidable.EventData.html +2 -197
  82. package/docs/interfaces/formidable.Fields.html +1 -143
  83. package/docs/interfaces/formidable.File.html +11 -238
  84. package/docs/interfaces/formidable.FileJSON.html +8 -235
  85. package/docs/interfaces/formidable.Files.html +1 -143
  86. package/docs/interfaces/formidable.Options.html +24 -290
  87. package/docs/interfaces/formidable.Part.html +45 -627
  88. package/docs/modules/formidable.html +10 -154
  89. package/docs/types/IDeleteQueryResult.html +1 -117
  90. package/docs/types/IHandlerError.html +2 -120
  91. package/docs/types/IHandlerResponse.html +2 -120
  92. package/docs/types/TCoordinate.html +1 -117
  93. package/docs/types/formidable.BufferEncoding.html +1 -137
  94. package/docs/types/formidable.DefaultOptions.html +1 -142
  95. package/docs/types/formidable.EnabledPlugins.html +1 -137
  96. package/docs/types/formidable.EventNames.html +1 -137
  97. package/docs/types/formidable.MappedParsers.html +1 -137
  98. package/docs/types/formidable.Plugin.html +1 -137
  99. package/docs/types/formidable.PluginFunction.html +1 -152
  100. package/docs/types/formidable.Plugins.html +1 -137
  101. package/jest.config.js +1 -1
  102. package/lib/Application.d.ts +30 -3
  103. package/lib/Application.js +51 -9
  104. package/lib/Application.js.map +1 -1
  105. package/lib/ApplicationEvent.js +1 -1
  106. package/lib/ApplicationEvent.js.map +1 -1
  107. package/lib/CORSMiddleware.d.ts +3 -3
  108. package/lib/CORSMiddleware.js.map +1 -1
  109. package/lib/ConfigLoader.d.ts +16 -8
  110. package/lib/ConfigLoader.js +59 -32
  111. package/lib/ConfigLoader.js.map +1 -1
  112. package/lib/ErrorCode.js +1 -1
  113. package/lib/ErrorCode.js.map +1 -1
  114. package/lib/ExitCode.js +1 -1
  115. package/lib/ExitCode.js.map +1 -1
  116. package/lib/HTTPMethod.js +1 -1
  117. package/lib/HTTPMethod.js.map +1 -1
  118. package/lib/Handler.d.ts +1 -1
  119. package/lib/IConfig.d.ts +2 -2
  120. package/lib/InvalidConfigError.d.ts +2 -2
  121. package/lib/InvalidConfigError.js.map +1 -1
  122. package/lib/IsolationLevel.js +1 -1
  123. package/lib/IsolationLevel.js.map +1 -1
  124. package/lib/JWTError.js +1 -1
  125. package/lib/JWTError.js.map +1 -1
  126. package/lib/LineString.d.ts +1 -1
  127. package/lib/LineString.js.map +1 -1
  128. package/lib/MySQLConnection.js +1 -2
  129. package/lib/MySQLConnection.js.map +1 -1
  130. package/lib/Polygon.d.ts +1 -1
  131. package/lib/Polygon.js.map +1 -1
  132. package/lib/Request.js.map +1 -1
  133. package/lib/StatusCode.js +1 -1
  134. package/lib/StatusCode.js.map +1 -1
  135. package/package.json +24 -23
  136. package/src/Application.ts +96 -14
  137. package/src/CORSMiddleware.ts +5 -5
  138. package/src/ConfigLoader.ts +81 -40
  139. package/src/DatabaseConnection.ts +1 -1
  140. package/src/Handler.ts +2 -2
  141. package/src/IConfig.ts +2 -2
  142. package/src/InvalidConfigError.ts +2 -2
  143. package/src/LineString.ts +2 -2
  144. package/src/MySQLConnection.ts +1 -2
  145. package/src/Polygon.ts +3 -3
  146. package/src/Request.ts +1 -1
  147. package/tsconfig.json +1 -2
  148. package/tsconfig-tests.json +0 -15
@@ -32,7 +32,6 @@
32
32
  --light-color-ts-accessor: var(--light-color-ts-property);
33
33
  --light-color-ts-get-signature: var(--light-color-ts-accessor);
34
34
  --light-color-ts-set-signature: var(--light-color-ts-accessor);
35
- /* object literal not included as it is not used and will be removed in 0.25 */
36
35
  --light-color-ts-type-alias: #d51270;
37
36
  /* reference not included as links will be colored with the kind that it points to */
38
37
 
@@ -72,7 +71,6 @@
72
71
  --dark-color-ts-accessor: var(--dark-color-ts-property);
73
72
  --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
74
73
  --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
75
- /* object literal not included as it is not used and will be removed in 0.25 */
76
74
  --dark-color-ts-type-alias: #ff6492;
77
75
  /* reference not included as links will be colored with the kind that it points to */
78
76
 
@@ -468,13 +466,12 @@ blockquote {
468
466
  padding: 0 0 0 20px;
469
467
  margin: 0;
470
468
  }
471
- .tsd-typography h4,
472
469
  .tsd-typography .tsd-index-panel h3,
473
470
  .tsd-index-panel .tsd-typography h3,
471
+ .tsd-typography h4,
474
472
  .tsd-typography h5,
475
473
  .tsd-typography h6 {
476
474
  font-size: 1em;
477
- margin: 0;
478
475
  }
479
476
  .tsd-typography h5,
480
477
  .tsd-typography h6 {
@@ -485,6 +482,19 @@ blockquote {
485
482
  .tsd-typography ol {
486
483
  margin: 1em 0;
487
484
  }
485
+ .tsd-typography table {
486
+ border-collapse: collapse;
487
+ border: none;
488
+ }
489
+ .tsd-typography td,
490
+ .tsd-typography th {
491
+ padding: 6px 13px;
492
+ border: 1px solid var(--color-accent);
493
+ }
494
+ .tsd-typography thead,
495
+ .tsd-typography tr:nth-child(even) {
496
+ background-color: var(--color-background-secondary);
497
+ }
488
498
 
489
499
  .tsd-breadcrumb {
490
500
  margin: 0;
@@ -900,8 +910,9 @@ a.tsd-index-link {
900
910
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
901
911
  }
902
912
  #tsd-search .results li {
903
- padding: 0 10px;
904
913
  background-color: var(--color-background);
914
+ line-height: initial;
915
+ padding: 4px;
905
916
  }
906
917
  #tsd-search .results li:nth-child(even) {
907
918
  background-color: var(--color-background-secondary);
@@ -909,12 +920,15 @@ a.tsd-index-link {
909
920
  #tsd-search .results li.state {
910
921
  display: none;
911
922
  }
912
- #tsd-search .results li.current,
913
- #tsd-search .results li:hover {
923
+ #tsd-search .results li.current:not(.no-results),
924
+ #tsd-search .results li:hover:not(.no-results) {
914
925
  background-color: var(--color-accent);
915
926
  }
916
927
  #tsd-search .results a {
917
- display: block;
928
+ display: flex;
929
+ align-items: center;
930
+ padding: 0.25rem;
931
+ box-sizing: border-box;
918
932
  }
919
933
  #tsd-search .results a:before {
920
934
  top: 10px;
@@ -1070,7 +1084,9 @@ ul.tsd-type-parameter-list h5 {
1070
1084
  overflow: hidden;
1071
1085
  opacity: 0.8;
1072
1086
  height: 40px;
1073
- transition: opacity 0.1s, background-color 0.2s;
1087
+ transition:
1088
+ opacity 0.1s,
1089
+ background-color 0.2s;
1074
1090
  vertical-align: bottom;
1075
1091
  cursor: pointer;
1076
1092
  }
@@ -1122,7 +1138,7 @@ img {
1122
1138
  }
1123
1139
 
1124
1140
  .deprecated {
1125
- text-decoration: line-through;
1141
+ text-decoration: line-through !important;
1126
1142
  }
1127
1143
 
1128
1144
  .warning {