@alanszp/express-common-fn 9.2.7 → 10.0.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 (928) hide show
  1. package/dist/commonErrorsHandler.d.ts +1 -1
  2. package/dist/index.js +5 -1
  3. package/dist/index.js.map +1 -1
  4. package/node_modules/@alanszp/audit/.gitignore +3 -0
  5. package/node_modules/@alanszp/audit/.npmignore +3 -0
  6. package/node_modules/@alanszp/audit/LICENSE +21 -0
  7. package/node_modules/@alanszp/audit/dist/audit.d.ts +9 -0
  8. package/node_modules/@alanszp/audit/dist/audit.js +25 -0
  9. package/node_modules/@alanszp/audit/dist/audit.js.map +1 -0
  10. package/node_modules/@alanszp/audit/dist/auditWithState.d.ts +10 -0
  11. package/node_modules/@alanszp/audit/dist/auditWithState.js +22 -0
  12. package/node_modules/@alanszp/audit/dist/auditWithState.js.map +1 -0
  13. package/node_modules/@alanszp/audit/dist/errors/AuditError.d.ts +3 -0
  14. package/node_modules/@alanszp/audit/dist/errors/AuditError.js +8 -0
  15. package/node_modules/@alanszp/audit/dist/errors/AuditError.js.map +1 -0
  16. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.d.ts +9 -0
  17. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.js +23 -0
  18. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.js.map +1 -0
  19. package/node_modules/@alanszp/audit/dist/errors/index.d.ts +2 -0
  20. package/node_modules/@alanszp/audit/dist/errors/index.js +19 -0
  21. package/node_modules/@alanszp/audit/dist/errors/index.js.map +1 -0
  22. package/node_modules/@alanszp/audit/dist/factory.d.ts +4 -0
  23. package/node_modules/@alanszp/audit/dist/factory.js +16 -0
  24. package/node_modules/@alanszp/audit/dist/factory.js.map +1 -0
  25. package/node_modules/@alanszp/audit/dist/index.d.ts +5 -0
  26. package/node_modules/@alanszp/audit/dist/index.js +22 -0
  27. package/node_modules/@alanszp/audit/dist/index.js.map +1 -0
  28. package/node_modules/@alanszp/audit/dist/interfaces.d.ts +19 -0
  29. package/node_modules/@alanszp/audit/dist/interfaces.js +18 -0
  30. package/node_modules/@alanszp/audit/dist/interfaces.js.map +1 -0
  31. package/node_modules/@alanszp/audit/node_modules/@types/node/LICENSE +21 -0
  32. package/node_modules/@alanszp/audit/node_modules/@types/node/README.md +15 -0
  33. package/node_modules/@alanszp/audit/node_modules/@types/node/assert/strict.d.ts +8 -0
  34. package/node_modules/@alanszp/audit/node_modules/@types/node/assert.d.ts +996 -0
  35. package/node_modules/@alanszp/audit/node_modules/@types/node/async_hooks.d.ts +539 -0
  36. package/node_modules/@alanszp/audit/node_modules/@types/node/buffer.d.ts +2362 -0
  37. package/node_modules/@alanszp/audit/node_modules/@types/node/child_process.d.ts +1540 -0
  38. package/node_modules/@alanszp/audit/node_modules/@types/node/cluster.d.ts +432 -0
  39. package/node_modules/@alanszp/audit/node_modules/@types/node/console.d.ts +415 -0
  40. package/node_modules/@alanszp/audit/node_modules/@types/node/constants.d.ts +19 -0
  41. package/node_modules/@alanszp/audit/node_modules/@types/node/crypto.d.ts +4487 -0
  42. package/node_modules/@alanszp/audit/node_modules/@types/node/dgram.d.ts +596 -0
  43. package/node_modules/@alanszp/audit/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  44. package/node_modules/@alanszp/audit/node_modules/@types/node/dns/promises.d.ts +425 -0
  45. package/node_modules/@alanszp/audit/node_modules/@types/node/dns.d.ts +809 -0
  46. package/node_modules/@alanszp/audit/node_modules/@types/node/dom-events.d.ts +122 -0
  47. package/node_modules/@alanszp/audit/node_modules/@types/node/domain.d.ts +170 -0
  48. package/node_modules/@alanszp/audit/node_modules/@types/node/events.d.ts +879 -0
  49. package/node_modules/@alanszp/audit/node_modules/@types/node/fs/promises.d.ts +1239 -0
  50. package/node_modules/@alanszp/audit/node_modules/@types/node/fs.d.ts +4311 -0
  51. package/node_modules/@alanszp/audit/node_modules/@types/node/globals.d.ts +411 -0
  52. package/node_modules/@alanszp/audit/node_modules/@types/node/globals.global.d.ts +1 -0
  53. package/node_modules/@alanszp/audit/node_modules/@types/node/http.d.ts +1887 -0
  54. package/node_modules/@alanszp/audit/node_modules/@types/node/http2.d.ts +2382 -0
  55. package/node_modules/@alanszp/audit/node_modules/@types/node/https.d.ts +550 -0
  56. package/node_modules/@alanszp/audit/node_modules/@types/node/index.d.ts +88 -0
  57. package/node_modules/@alanszp/audit/node_modules/@types/node/inspector.d.ts +2747 -0
  58. package/node_modules/@alanszp/audit/node_modules/@types/node/module.d.ts +315 -0
  59. package/node_modules/@alanszp/audit/node_modules/@types/node/net.d.ts +949 -0
  60. package/node_modules/@alanszp/audit/node_modules/@types/node/os.d.ts +478 -0
  61. package/node_modules/@alanszp/audit/node_modules/@types/node/package.json +229 -0
  62. package/node_modules/@alanszp/audit/node_modules/@types/node/path.d.ts +191 -0
  63. package/node_modules/@alanszp/audit/node_modules/@types/node/perf_hooks.d.ts +645 -0
  64. package/node_modules/@alanszp/audit/node_modules/@types/node/process.d.ts +1561 -0
  65. package/node_modules/@alanszp/audit/node_modules/@types/node/punycode.d.ts +117 -0
  66. package/node_modules/@alanszp/audit/node_modules/@types/node/querystring.d.ts +141 -0
  67. package/node_modules/@alanszp/audit/node_modules/@types/node/readline/promises.d.ts +150 -0
  68. package/node_modules/@alanszp/audit/node_modules/@types/node/readline.d.ts +539 -0
  69. package/node_modules/@alanszp/audit/node_modules/@types/node/repl.d.ts +430 -0
  70. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/consumers.d.ts +12 -0
  71. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/promises.d.ts +83 -0
  72. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/web.d.ts +366 -0
  73. package/node_modules/@alanszp/audit/node_modules/@types/node/stream.d.ts +1701 -0
  74. package/node_modules/@alanszp/audit/node_modules/@types/node/string_decoder.d.ts +67 -0
  75. package/node_modules/@alanszp/audit/node_modules/@types/node/test.d.ts +1465 -0
  76. package/node_modules/@alanszp/audit/node_modules/@types/node/timers/promises.d.ts +93 -0
  77. package/node_modules/@alanszp/audit/node_modules/@types/node/timers.d.ts +240 -0
  78. package/node_modules/@alanszp/audit/node_modules/@types/node/tls.d.ts +1210 -0
  79. package/node_modules/@alanszp/audit/node_modules/@types/node/trace_events.d.ts +182 -0
  80. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  81. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  82. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  83. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  84. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  85. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  86. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  87. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  88. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  89. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  90. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  91. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  92. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  93. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  94. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  95. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  96. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  97. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  98. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  99. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  100. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  101. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  102. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  103. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  104. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  105. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  106. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  107. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  108. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  109. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  110. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  111. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  112. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  113. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  114. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  115. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  116. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  117. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  118. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  119. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  120. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  121. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  122. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  123. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  124. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  125. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  126. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  127. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  128. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  129. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  130. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  131. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  132. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  133. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  134. package/node_modules/@alanszp/audit/node_modules/@types/node/tty.d.ts +208 -0
  135. package/node_modules/@alanszp/audit/node_modules/@types/node/url.d.ts +927 -0
  136. package/node_modules/@alanszp/audit/node_modules/@types/node/util.d.ts +2183 -0
  137. package/node_modules/@alanszp/audit/node_modules/@types/node/v8.d.ts +764 -0
  138. package/node_modules/@alanszp/audit/node_modules/@types/node/vm.d.ts +903 -0
  139. package/node_modules/@alanszp/audit/node_modules/@types/node/wasi.d.ts +179 -0
  140. package/node_modules/@alanszp/audit/node_modules/@types/node/worker_threads.d.ts +691 -0
  141. package/node_modules/@alanszp/audit/node_modules/@types/node/zlib.d.ts +517 -0
  142. package/node_modules/@alanszp/audit/package.json +30 -0
  143. package/node_modules/@alanszp/audit/src/audit.ts +31 -0
  144. package/node_modules/@alanszp/audit/src/auditWithState.ts +27 -0
  145. package/node_modules/@alanszp/audit/src/errors/AuditError.ts +3 -0
  146. package/node_modules/@alanszp/audit/src/errors/MissingAuditFieldsError.ts +28 -0
  147. package/node_modules/@alanszp/audit/src/errors/index.ts +2 -0
  148. package/node_modules/@alanszp/audit/src/factory.ts +16 -0
  149. package/node_modules/@alanszp/audit/src/index.ts +5 -0
  150. package/node_modules/@alanszp/audit/src/interfaces.ts +33 -0
  151. package/node_modules/@alanszp/audit/tsconfig.json +15 -0
  152. package/node_modules/@alanszp/errors/.gitignore +3 -0
  153. package/node_modules/@alanszp/errors/.npmignore +3 -0
  154. package/node_modules/@alanszp/errors/LICENSE +21 -0
  155. package/node_modules/@alanszp/errors/dist/errors/BaseError.d.ts +3 -0
  156. package/node_modules/@alanszp/errors/dist/errors/BaseError.js +18 -0
  157. package/node_modules/@alanszp/errors/dist/errors/BaseError.js.map +1 -0
  158. package/node_modules/@alanszp/errors/dist/errors/RenderableError.d.ts +6 -0
  159. package/node_modules/@alanszp/errors/dist/errors/RenderableError.js +3 -0
  160. package/node_modules/@alanszp/errors/dist/errors/RenderableError.js.map +1 -0
  161. package/node_modules/@alanszp/errors/dist/errors/http/BadRequestError.d.ts +8 -0
  162. package/node_modules/@alanszp/errors/dist/errors/http/BadRequestError.js +20 -0
  163. package/node_modules/@alanszp/errors/dist/errors/http/BadRequestError.js.map +1 -0
  164. package/node_modules/@alanszp/errors/dist/errors/http/HttpError.d.ts +8 -0
  165. package/node_modules/@alanszp/errors/dist/errors/http/HttpError.js +18 -0
  166. package/node_modules/@alanszp/errors/dist/errors/http/HttpError.js.map +1 -0
  167. package/node_modules/@alanszp/errors/dist/errors/http/InternalServerError.d.ts +8 -0
  168. package/node_modules/@alanszp/errors/dist/errors/http/InternalServerError.js +32 -0
  169. package/node_modules/@alanszp/errors/dist/errors/http/InternalServerError.js.map +1 -0
  170. package/node_modules/@alanszp/errors/dist/errors/http/NotFoundError.d.ts +4 -0
  171. package/node_modules/@alanszp/errors/dist/errors/http/NotFoundError.js +11 -0
  172. package/node_modules/@alanszp/errors/dist/errors/http/NotFoundError.js.map +1 -0
  173. package/node_modules/@alanszp/errors/dist/errors/http/UnauthorizedError.d.ts +8 -0
  174. package/node_modules/@alanszp/errors/dist/errors/http/UnauthorizedError.js +20 -0
  175. package/node_modules/@alanszp/errors/dist/errors/http/UnauthorizedError.js.map +1 -0
  176. package/node_modules/@alanszp/errors/dist/errors/http/index.d.ts +5 -0
  177. package/node_modules/@alanszp/errors/dist/errors/http/index.js +18 -0
  178. package/node_modules/@alanszp/errors/dist/errors/http/index.js.map +1 -0
  179. package/node_modules/@alanszp/errors/dist/index.d.ts +3 -0
  180. package/node_modules/@alanszp/errors/dist/index.js +16 -0
  181. package/node_modules/@alanszp/errors/dist/index.js.map +1 -0
  182. package/node_modules/@alanszp/errors/node_modules/@types/node/LICENSE +21 -0
  183. package/node_modules/@alanszp/errors/node_modules/@types/node/README.md +15 -0
  184. package/node_modules/@alanszp/errors/node_modules/@types/node/assert/strict.d.ts +8 -0
  185. package/node_modules/@alanszp/errors/node_modules/@types/node/assert.d.ts +996 -0
  186. package/node_modules/@alanszp/errors/node_modules/@types/node/async_hooks.d.ts +539 -0
  187. package/node_modules/@alanszp/errors/node_modules/@types/node/buffer.d.ts +2362 -0
  188. package/node_modules/@alanszp/errors/node_modules/@types/node/child_process.d.ts +1540 -0
  189. package/node_modules/@alanszp/errors/node_modules/@types/node/cluster.d.ts +432 -0
  190. package/node_modules/@alanszp/errors/node_modules/@types/node/console.d.ts +415 -0
  191. package/node_modules/@alanszp/errors/node_modules/@types/node/constants.d.ts +19 -0
  192. package/node_modules/@alanszp/errors/node_modules/@types/node/crypto.d.ts +4487 -0
  193. package/node_modules/@alanszp/errors/node_modules/@types/node/dgram.d.ts +596 -0
  194. package/node_modules/@alanszp/errors/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  195. package/node_modules/@alanszp/errors/node_modules/@types/node/dns/promises.d.ts +425 -0
  196. package/node_modules/@alanszp/errors/node_modules/@types/node/dns.d.ts +809 -0
  197. package/node_modules/@alanszp/errors/node_modules/@types/node/dom-events.d.ts +122 -0
  198. package/node_modules/@alanszp/errors/node_modules/@types/node/domain.d.ts +170 -0
  199. package/node_modules/@alanszp/errors/node_modules/@types/node/events.d.ts +879 -0
  200. package/node_modules/@alanszp/errors/node_modules/@types/node/fs/promises.d.ts +1239 -0
  201. package/node_modules/@alanszp/errors/node_modules/@types/node/fs.d.ts +4311 -0
  202. package/node_modules/@alanszp/errors/node_modules/@types/node/globals.d.ts +411 -0
  203. package/node_modules/@alanszp/errors/node_modules/@types/node/globals.global.d.ts +1 -0
  204. package/node_modules/@alanszp/errors/node_modules/@types/node/http.d.ts +1887 -0
  205. package/node_modules/@alanszp/errors/node_modules/@types/node/http2.d.ts +2382 -0
  206. package/node_modules/@alanszp/errors/node_modules/@types/node/https.d.ts +550 -0
  207. package/node_modules/@alanszp/errors/node_modules/@types/node/index.d.ts +88 -0
  208. package/node_modules/@alanszp/errors/node_modules/@types/node/inspector.d.ts +2747 -0
  209. package/node_modules/@alanszp/errors/node_modules/@types/node/module.d.ts +315 -0
  210. package/node_modules/@alanszp/errors/node_modules/@types/node/net.d.ts +949 -0
  211. package/node_modules/@alanszp/errors/node_modules/@types/node/os.d.ts +478 -0
  212. package/node_modules/@alanszp/errors/node_modules/@types/node/package.json +229 -0
  213. package/node_modules/@alanszp/errors/node_modules/@types/node/path.d.ts +191 -0
  214. package/node_modules/@alanszp/errors/node_modules/@types/node/perf_hooks.d.ts +645 -0
  215. package/node_modules/@alanszp/errors/node_modules/@types/node/process.d.ts +1561 -0
  216. package/node_modules/@alanszp/errors/node_modules/@types/node/punycode.d.ts +117 -0
  217. package/node_modules/@alanszp/errors/node_modules/@types/node/querystring.d.ts +141 -0
  218. package/node_modules/@alanszp/errors/node_modules/@types/node/readline/promises.d.ts +150 -0
  219. package/node_modules/@alanszp/errors/node_modules/@types/node/readline.d.ts +539 -0
  220. package/node_modules/@alanszp/errors/node_modules/@types/node/repl.d.ts +430 -0
  221. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/consumers.d.ts +12 -0
  222. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/promises.d.ts +83 -0
  223. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/web.d.ts +366 -0
  224. package/node_modules/@alanszp/errors/node_modules/@types/node/stream.d.ts +1701 -0
  225. package/node_modules/@alanszp/errors/node_modules/@types/node/string_decoder.d.ts +67 -0
  226. package/node_modules/@alanszp/errors/node_modules/@types/node/test.d.ts +1465 -0
  227. package/node_modules/@alanszp/errors/node_modules/@types/node/timers/promises.d.ts +93 -0
  228. package/node_modules/@alanszp/errors/node_modules/@types/node/timers.d.ts +240 -0
  229. package/node_modules/@alanszp/errors/node_modules/@types/node/tls.d.ts +1210 -0
  230. package/node_modules/@alanszp/errors/node_modules/@types/node/trace_events.d.ts +182 -0
  231. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  232. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  233. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  234. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  235. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  236. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  237. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  238. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  239. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  240. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  241. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  242. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  243. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  244. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  245. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  246. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  247. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  248. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  249. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  250. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  251. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  252. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  253. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  254. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  255. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  256. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  257. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  258. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  259. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  260. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  261. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  262. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  263. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  264. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  265. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  266. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  267. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  268. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  269. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  270. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  271. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  272. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  273. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  274. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  275. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  276. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  277. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  278. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  279. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  280. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  281. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  282. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  283. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  284. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  285. package/node_modules/@alanszp/errors/node_modules/@types/node/tty.d.ts +208 -0
  286. package/node_modules/@alanszp/errors/node_modules/@types/node/url.d.ts +927 -0
  287. package/node_modules/@alanszp/errors/node_modules/@types/node/util.d.ts +2183 -0
  288. package/node_modules/@alanszp/errors/node_modules/@types/node/v8.d.ts +764 -0
  289. package/node_modules/@alanszp/errors/node_modules/@types/node/vm.d.ts +903 -0
  290. package/node_modules/@alanszp/errors/node_modules/@types/node/wasi.d.ts +179 -0
  291. package/node_modules/@alanszp/errors/node_modules/@types/node/worker_threads.d.ts +691 -0
  292. package/node_modules/@alanszp/errors/node_modules/@types/node/zlib.d.ts +517 -0
  293. package/node_modules/@alanszp/errors/package.json +27 -0
  294. package/node_modules/@alanszp/errors/src/errors/BaseError.ts +14 -0
  295. package/node_modules/@alanszp/errors/src/errors/RenderableError.ts +7 -0
  296. package/node_modules/@alanszp/errors/src/errors/http/BadRequestError.ts +21 -0
  297. package/node_modules/@alanszp/errors/src/errors/http/HttpError.ts +19 -0
  298. package/node_modules/@alanszp/errors/src/errors/http/InternalServerError.ts +34 -0
  299. package/node_modules/@alanszp/errors/src/errors/http/NotFoundError.ts +7 -0
  300. package/node_modules/@alanszp/errors/src/errors/http/UnauthorizedError.ts +21 -0
  301. package/node_modules/@alanszp/errors/src/errors/http/index.ts +5 -0
  302. package/node_modules/@alanszp/errors/src/index.ts +3 -0
  303. package/node_modules/@alanszp/errors/tsconfig.json +15 -0
  304. package/node_modules/@alanszp/express/.gitignore +3 -0
  305. package/node_modules/@alanszp/express/.npmignore +3 -0
  306. package/node_modules/@alanszp/express/LICENSE +21 -0
  307. package/node_modules/@alanszp/express/babel.config.js +7 -0
  308. package/node_modules/@alanszp/express/dist/helpers/appIdentifier.d.ts +1 -0
  309. package/node_modules/@alanszp/express/dist/helpers/appIdentifier.js +10 -0
  310. package/node_modules/@alanszp/express/dist/helpers/appIdentifier.js.map +1 -0
  311. package/node_modules/@alanszp/express/dist/helpers/getIp.d.ts +2 -0
  312. package/node_modules/@alanszp/express/dist/helpers/getIp.js +9 -0
  313. package/node_modules/@alanszp/express/dist/helpers/getIp.js.map +1 -0
  314. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.d.ts +2 -0
  315. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.js +10 -0
  316. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.js.map +1 -0
  317. package/node_modules/@alanszp/express/dist/helpers/now.d.ts +1 -0
  318. package/node_modules/@alanszp/express/dist/helpers/now.js +8 -0
  319. package/node_modules/@alanszp/express/dist/helpers/now.js.map +1 -0
  320. package/node_modules/@alanszp/express/dist/index.d.ts +11 -0
  321. package/node_modules/@alanszp/express/dist/index.js +24 -0
  322. package/node_modules/@alanszp/express/dist/index.js.map +1 -0
  323. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.d.ts +3 -0
  324. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.js +30 -0
  325. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.js.map +1 -0
  326. package/node_modules/@alanszp/express/dist/middlewares/auditLog.d.ts +8 -0
  327. package/node_modules/@alanszp/express/dist/middlewares/auditLog.js +43 -0
  328. package/node_modules/@alanszp/express/dist/middlewares/auditLog.js.map +1 -0
  329. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.d.ts +3 -0
  330. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.js +46 -0
  331. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.js.map +1 -0
  332. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.d.ts +25 -0
  333. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.js +115 -0
  334. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.js.map +1 -0
  335. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.d.ts +1 -0
  336. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.js +308 -0
  337. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.js.map +1 -0
  338. package/node_modules/@alanszp/express/dist/middlewares/createContext.d.ts +6 -0
  339. package/node_modules/@alanszp/express/dist/middlewares/createContext.js +36 -0
  340. package/node_modules/@alanszp/express/dist/middlewares/createContext.js.map +1 -0
  341. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.d.ts +1 -0
  342. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.js +50 -0
  343. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.js.map +1 -0
  344. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.d.ts +3 -0
  345. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.js +23 -0
  346. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.js.map +1 -0
  347. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.d.ts +4 -0
  348. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.js +23 -0
  349. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.js.map +1 -0
  350. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.d.ts +4 -0
  351. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.js +11 -0
  352. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.js.map +1 -0
  353. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.d.ts +3 -0
  354. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.js +10 -0
  355. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.js.map +1 -0
  356. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.d.ts +8 -0
  357. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.js +30 -0
  358. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.js.map +1 -0
  359. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.d.ts +6 -0
  360. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.js +26 -0
  361. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.js.map +1 -0
  362. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.d.ts +3 -0
  363. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.js +20 -0
  364. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.js.map +1 -0
  365. package/node_modules/@alanszp/express/dist/test/setup.d.ts +1 -0
  366. package/node_modules/@alanszp/express/dist/test/setup.js +5 -0
  367. package/node_modules/@alanszp/express/dist/test/setup.js.map +1 -0
  368. package/node_modules/@alanszp/express/dist/test/setup.test.d.ts +1 -0
  369. package/node_modules/@alanszp/express/dist/test/setup.test.js +14 -0
  370. package/node_modules/@alanszp/express/dist/test/setup.test.js.map +1 -0
  371. package/node_modules/@alanszp/express/dist/types/AuthMethod.d.ts +10 -0
  372. package/node_modules/@alanszp/express/dist/types/AuthMethod.js +3 -0
  373. package/node_modules/@alanszp/express/dist/types/AuthMethod.js.map +1 -0
  374. package/node_modules/@alanszp/express/dist/types/GenericRequest.d.ts +2 -0
  375. package/node_modules/@alanszp/express/dist/types/GenericRequest.js +3 -0
  376. package/node_modules/@alanszp/express/dist/types/GenericRequest.js.map +1 -0
  377. package/node_modules/@alanszp/express/dist/views/errorView.d.ts +2 -0
  378. package/node_modules/@alanszp/express/dist/views/errorView.js +14 -0
  379. package/node_modules/@alanszp/express/dist/views/errorView.js.map +1 -0
  380. package/node_modules/@alanszp/express/jest.config.js +10 -0
  381. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/LICENSE +21 -0
  382. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/README.md +5 -0
  383. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/index.d.ts +93 -0
  384. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/index.js +37 -0
  385. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/jasmineUtils.js +282 -0
  386. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/types.js +1 -0
  387. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/utils.js +457 -0
  388. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/package.json +33 -0
  389. package/node_modules/@alanszp/express/node_modules/@jest/types/LICENSE +21 -0
  390. package/node_modules/@alanszp/express/node_modules/@jest/types/README.md +30 -0
  391. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Circus.js +1 -0
  392. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Config.js +1 -0
  393. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Global.js +1 -0
  394. package/node_modules/@alanszp/express/node_modules/@jest/types/build/TestResult.js +1 -0
  395. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Transform.js +1 -0
  396. package/node_modules/@alanszp/express/node_modules/@jest/types/build/index.d.ts +1166 -0
  397. package/node_modules/@alanszp/express/node_modules/@jest/types/build/index.js +1 -0
  398. package/node_modules/@alanszp/express/node_modules/@jest/types/package.json +38 -0
  399. package/node_modules/@alanszp/express/node_modules/@types/jest/LICENSE +21 -0
  400. package/node_modules/@alanszp/express/node_modules/@types/jest/README.md +17 -0
  401. package/node_modules/@alanszp/express/node_modules/@types/jest/index.d.ts +1608 -0
  402. package/node_modules/@alanszp/express/node_modules/@types/jest/package.json +159 -0
  403. package/node_modules/@alanszp/express/node_modules/@types/node/LICENSE +21 -0
  404. package/node_modules/@alanszp/express/node_modules/@types/node/README.md +15 -0
  405. package/node_modules/@alanszp/express/node_modules/@types/node/assert/strict.d.ts +8 -0
  406. package/node_modules/@alanszp/express/node_modules/@types/node/assert.d.ts +996 -0
  407. package/node_modules/@alanszp/express/node_modules/@types/node/async_hooks.d.ts +539 -0
  408. package/node_modules/@alanszp/express/node_modules/@types/node/buffer.d.ts +2362 -0
  409. package/node_modules/@alanszp/express/node_modules/@types/node/child_process.d.ts +1540 -0
  410. package/node_modules/@alanszp/express/node_modules/@types/node/cluster.d.ts +432 -0
  411. package/node_modules/@alanszp/express/node_modules/@types/node/console.d.ts +415 -0
  412. package/node_modules/@alanszp/express/node_modules/@types/node/constants.d.ts +19 -0
  413. package/node_modules/@alanszp/express/node_modules/@types/node/crypto.d.ts +4487 -0
  414. package/node_modules/@alanszp/express/node_modules/@types/node/dgram.d.ts +596 -0
  415. package/node_modules/@alanszp/express/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  416. package/node_modules/@alanszp/express/node_modules/@types/node/dns/promises.d.ts +425 -0
  417. package/node_modules/@alanszp/express/node_modules/@types/node/dns.d.ts +809 -0
  418. package/node_modules/@alanszp/express/node_modules/@types/node/dom-events.d.ts +122 -0
  419. package/node_modules/@alanszp/express/node_modules/@types/node/domain.d.ts +170 -0
  420. package/node_modules/@alanszp/express/node_modules/@types/node/events.d.ts +879 -0
  421. package/node_modules/@alanszp/express/node_modules/@types/node/fs/promises.d.ts +1239 -0
  422. package/node_modules/@alanszp/express/node_modules/@types/node/fs.d.ts +4311 -0
  423. package/node_modules/@alanszp/express/node_modules/@types/node/globals.d.ts +411 -0
  424. package/node_modules/@alanszp/express/node_modules/@types/node/globals.global.d.ts +1 -0
  425. package/node_modules/@alanszp/express/node_modules/@types/node/http.d.ts +1887 -0
  426. package/node_modules/@alanszp/express/node_modules/@types/node/http2.d.ts +2382 -0
  427. package/node_modules/@alanszp/express/node_modules/@types/node/https.d.ts +550 -0
  428. package/node_modules/@alanszp/express/node_modules/@types/node/index.d.ts +88 -0
  429. package/node_modules/@alanszp/express/node_modules/@types/node/inspector.d.ts +2747 -0
  430. package/node_modules/@alanszp/express/node_modules/@types/node/module.d.ts +315 -0
  431. package/node_modules/@alanszp/express/node_modules/@types/node/net.d.ts +949 -0
  432. package/node_modules/@alanszp/express/node_modules/@types/node/os.d.ts +478 -0
  433. package/node_modules/@alanszp/express/node_modules/@types/node/package.json +229 -0
  434. package/node_modules/@alanszp/express/node_modules/@types/node/path.d.ts +191 -0
  435. package/node_modules/@alanszp/express/node_modules/@types/node/perf_hooks.d.ts +645 -0
  436. package/node_modules/@alanszp/express/node_modules/@types/node/process.d.ts +1561 -0
  437. package/node_modules/@alanszp/express/node_modules/@types/node/punycode.d.ts +117 -0
  438. package/node_modules/@alanszp/express/node_modules/@types/node/querystring.d.ts +141 -0
  439. package/node_modules/@alanszp/express/node_modules/@types/node/readline/promises.d.ts +150 -0
  440. package/node_modules/@alanszp/express/node_modules/@types/node/readline.d.ts +539 -0
  441. package/node_modules/@alanszp/express/node_modules/@types/node/repl.d.ts +430 -0
  442. package/node_modules/@alanszp/express/node_modules/@types/node/stream/consumers.d.ts +12 -0
  443. package/node_modules/@alanszp/express/node_modules/@types/node/stream/promises.d.ts +83 -0
  444. package/node_modules/@alanszp/express/node_modules/@types/node/stream/web.d.ts +366 -0
  445. package/node_modules/@alanszp/express/node_modules/@types/node/stream.d.ts +1701 -0
  446. package/node_modules/@alanszp/express/node_modules/@types/node/string_decoder.d.ts +67 -0
  447. package/node_modules/@alanszp/express/node_modules/@types/node/test.d.ts +1465 -0
  448. package/node_modules/@alanszp/express/node_modules/@types/node/timers/promises.d.ts +93 -0
  449. package/node_modules/@alanszp/express/node_modules/@types/node/timers.d.ts +240 -0
  450. package/node_modules/@alanszp/express/node_modules/@types/node/tls.d.ts +1210 -0
  451. package/node_modules/@alanszp/express/node_modules/@types/node/trace_events.d.ts +182 -0
  452. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  453. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  454. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  455. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  456. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  457. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  458. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  459. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  460. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  461. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  462. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  463. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  464. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  465. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  466. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  467. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  468. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  469. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  470. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  471. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  472. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  473. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  474. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  475. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  476. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  477. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  478. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  479. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  480. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  481. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  482. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  483. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  484. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  485. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  486. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  487. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  488. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  489. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  490. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  491. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  492. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  493. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  494. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  495. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  496. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  497. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  498. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  499. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  500. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  501. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  502. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  503. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  504. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  505. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  506. package/node_modules/@alanszp/express/node_modules/@types/node/tty.d.ts +208 -0
  507. package/node_modules/@alanszp/express/node_modules/@types/node/url.d.ts +927 -0
  508. package/node_modules/@alanszp/express/node_modules/@types/node/util.d.ts +2183 -0
  509. package/node_modules/@alanszp/express/node_modules/@types/node/v8.d.ts +764 -0
  510. package/node_modules/@alanszp/express/node_modules/@types/node/vm.d.ts +903 -0
  511. package/node_modules/@alanszp/express/node_modules/@types/node/wasi.d.ts +179 -0
  512. package/node_modules/@alanszp/express/node_modules/@types/node/worker_threads.d.ts +691 -0
  513. package/node_modules/@alanszp/express/node_modules/@types/node/zlib.d.ts +517 -0
  514. package/node_modules/@alanszp/express/package.json +49 -0
  515. package/node_modules/@alanszp/express/src/helpers/appIdentifier.ts +5 -0
  516. package/node_modules/@alanszp/express/src/helpers/getIp.ts +5 -0
  517. package/node_modules/@alanszp/express/src/helpers/getRequestLogger.ts +6 -0
  518. package/node_modules/@alanszp/express/src/helpers/now.ts +3 -0
  519. package/node_modules/@alanszp/express/src/index.ts +11 -0
  520. package/node_modules/@alanszp/express/src/middlewares/accessLogger.ts +34 -0
  521. package/node_modules/@alanszp/express/src/middlewares/auditLog.ts +49 -0
  522. package/node_modules/@alanszp/express/src/middlewares/authedForOrg.ts +51 -0
  523. package/node_modules/@alanszp/express/src/middlewares/authenticateUser.test.ts +403 -0
  524. package/node_modules/@alanszp/express/src/middlewares/authenticateUser.ts +171 -0
  525. package/node_modules/@alanszp/express/src/middlewares/createContext.test.ts +85 -0
  526. package/node_modules/@alanszp/express/src/middlewares/createContext.ts +46 -0
  527. package/node_modules/@alanszp/express/src/middlewares/hasRoles.ts +26 -0
  528. package/node_modules/@alanszp/express/src/middlewares/jsonBodyParser.ts +23 -0
  529. package/node_modules/@alanszp/express/src/middlewares/returnInternalServerError.ts +16 -0
  530. package/node_modules/@alanszp/express/src/middlewares/returnNotFound.ts +12 -0
  531. package/node_modules/@alanszp/express/src/test/mocks/authOptionsMocks.ts +35 -0
  532. package/node_modules/@alanszp/express/src/test/mocks/expressMocks.ts +33 -0
  533. package/node_modules/@alanszp/express/src/test/mocks/jwtUserMocks.ts +19 -0
  534. package/node_modules/@alanszp/express/src/test/setup.test.ts +15 -0
  535. package/node_modules/@alanszp/express/src/test/setup.ts +3 -0
  536. package/node_modules/@alanszp/express/src/types/AuthMethod.ts +27 -0
  537. package/node_modules/@alanszp/express/src/types/GenericRequest.ts +3 -0
  538. package/node_modules/@alanszp/express/src/types/custom.d.ts +20 -0
  539. package/node_modules/@alanszp/express/src/views/errorView.ts +11 -0
  540. package/node_modules/@alanszp/express/tsconfig.json +18 -0
  541. package/node_modules/@alanszp/jwt/.gitignore +3 -0
  542. package/node_modules/@alanszp/jwt/.npmignore +3 -0
  543. package/node_modules/@alanszp/jwt/LICENSE +21 -0
  544. package/node_modules/@alanszp/jwt/dist/index.d.ts +2 -0
  545. package/node_modules/@alanszp/jwt/dist/index.js +15 -0
  546. package/node_modules/@alanszp/jwt/dist/index.js.map +1 -0
  547. package/node_modules/@alanszp/jwt/dist/jwt.d.ts +12 -0
  548. package/node_modules/@alanszp/jwt/dist/jwt.js +89 -0
  549. package/node_modules/@alanszp/jwt/dist/jwt.js.map +1 -0
  550. package/node_modules/@alanszp/jwt/dist/types.d.ts +26 -0
  551. package/node_modules/@alanszp/jwt/dist/types.js +3 -0
  552. package/node_modules/@alanszp/jwt/dist/types.js.map +1 -0
  553. package/node_modules/@alanszp/jwt/node_modules/@types/node/LICENSE +21 -0
  554. package/node_modules/@alanszp/jwt/node_modules/@types/node/README.md +15 -0
  555. package/node_modules/@alanszp/jwt/node_modules/@types/node/assert/strict.d.ts +8 -0
  556. package/node_modules/@alanszp/jwt/node_modules/@types/node/assert.d.ts +996 -0
  557. package/node_modules/@alanszp/jwt/node_modules/@types/node/async_hooks.d.ts +539 -0
  558. package/node_modules/@alanszp/jwt/node_modules/@types/node/buffer.d.ts +2362 -0
  559. package/node_modules/@alanszp/jwt/node_modules/@types/node/child_process.d.ts +1540 -0
  560. package/node_modules/@alanszp/jwt/node_modules/@types/node/cluster.d.ts +432 -0
  561. package/node_modules/@alanszp/jwt/node_modules/@types/node/console.d.ts +415 -0
  562. package/node_modules/@alanszp/jwt/node_modules/@types/node/constants.d.ts +19 -0
  563. package/node_modules/@alanszp/jwt/node_modules/@types/node/crypto.d.ts +4487 -0
  564. package/node_modules/@alanszp/jwt/node_modules/@types/node/dgram.d.ts +596 -0
  565. package/node_modules/@alanszp/jwt/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  566. package/node_modules/@alanszp/jwt/node_modules/@types/node/dns/promises.d.ts +425 -0
  567. package/node_modules/@alanszp/jwt/node_modules/@types/node/dns.d.ts +809 -0
  568. package/node_modules/@alanszp/jwt/node_modules/@types/node/dom-events.d.ts +122 -0
  569. package/node_modules/@alanszp/jwt/node_modules/@types/node/domain.d.ts +170 -0
  570. package/node_modules/@alanszp/jwt/node_modules/@types/node/events.d.ts +879 -0
  571. package/node_modules/@alanszp/jwt/node_modules/@types/node/fs/promises.d.ts +1239 -0
  572. package/node_modules/@alanszp/jwt/node_modules/@types/node/fs.d.ts +4311 -0
  573. package/node_modules/@alanszp/jwt/node_modules/@types/node/globals.d.ts +411 -0
  574. package/node_modules/@alanszp/jwt/node_modules/@types/node/globals.global.d.ts +1 -0
  575. package/node_modules/@alanszp/jwt/node_modules/@types/node/http.d.ts +1887 -0
  576. package/node_modules/@alanszp/jwt/node_modules/@types/node/http2.d.ts +2382 -0
  577. package/node_modules/@alanszp/jwt/node_modules/@types/node/https.d.ts +550 -0
  578. package/node_modules/@alanszp/jwt/node_modules/@types/node/index.d.ts +88 -0
  579. package/node_modules/@alanszp/jwt/node_modules/@types/node/inspector.d.ts +2747 -0
  580. package/node_modules/@alanszp/jwt/node_modules/@types/node/module.d.ts +315 -0
  581. package/node_modules/@alanszp/jwt/node_modules/@types/node/net.d.ts +949 -0
  582. package/node_modules/@alanszp/jwt/node_modules/@types/node/os.d.ts +478 -0
  583. package/node_modules/@alanszp/jwt/node_modules/@types/node/package.json +229 -0
  584. package/node_modules/@alanszp/jwt/node_modules/@types/node/path.d.ts +191 -0
  585. package/node_modules/@alanszp/jwt/node_modules/@types/node/perf_hooks.d.ts +645 -0
  586. package/node_modules/@alanszp/jwt/node_modules/@types/node/process.d.ts +1561 -0
  587. package/node_modules/@alanszp/jwt/node_modules/@types/node/punycode.d.ts +117 -0
  588. package/node_modules/@alanszp/jwt/node_modules/@types/node/querystring.d.ts +141 -0
  589. package/node_modules/@alanszp/jwt/node_modules/@types/node/readline/promises.d.ts +150 -0
  590. package/node_modules/@alanszp/jwt/node_modules/@types/node/readline.d.ts +539 -0
  591. package/node_modules/@alanszp/jwt/node_modules/@types/node/repl.d.ts +430 -0
  592. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/consumers.d.ts +12 -0
  593. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/promises.d.ts +83 -0
  594. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/web.d.ts +366 -0
  595. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream.d.ts +1701 -0
  596. package/node_modules/@alanszp/jwt/node_modules/@types/node/string_decoder.d.ts +67 -0
  597. package/node_modules/@alanszp/jwt/node_modules/@types/node/test.d.ts +1465 -0
  598. package/node_modules/@alanszp/jwt/node_modules/@types/node/timers/promises.d.ts +93 -0
  599. package/node_modules/@alanszp/jwt/node_modules/@types/node/timers.d.ts +240 -0
  600. package/node_modules/@alanszp/jwt/node_modules/@types/node/tls.d.ts +1210 -0
  601. package/node_modules/@alanszp/jwt/node_modules/@types/node/trace_events.d.ts +182 -0
  602. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  603. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  604. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  605. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  606. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  607. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  608. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  609. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  610. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  611. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  612. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  613. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  614. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  615. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  616. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  617. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  618. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  619. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  620. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  621. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  622. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  623. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  624. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  625. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  626. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  627. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  628. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  629. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  630. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  631. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  632. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  633. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  634. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  635. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  636. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  637. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  638. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  639. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  640. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  641. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  642. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  643. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  644. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  645. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  646. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  647. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  648. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  649. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  650. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  651. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  652. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  653. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  654. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  655. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  656. package/node_modules/@alanszp/jwt/node_modules/@types/node/tty.d.ts +208 -0
  657. package/node_modules/@alanszp/jwt/node_modules/@types/node/url.d.ts +927 -0
  658. package/node_modules/@alanszp/jwt/node_modules/@types/node/util.d.ts +2183 -0
  659. package/node_modules/@alanszp/jwt/node_modules/@types/node/v8.d.ts +764 -0
  660. package/node_modules/@alanszp/jwt/node_modules/@types/node/vm.d.ts +903 -0
  661. package/node_modules/@alanszp/jwt/node_modules/@types/node/wasi.d.ts +179 -0
  662. package/node_modules/@alanszp/jwt/node_modules/@types/node/worker_threads.d.ts +691 -0
  663. package/node_modules/@alanszp/jwt/node_modules/@types/node/zlib.d.ts +517 -0
  664. package/node_modules/@alanszp/jwt/package.json +30 -0
  665. package/node_modules/@alanszp/jwt/src/index.ts +2 -0
  666. package/node_modules/@alanszp/jwt/src/jwt.ts +106 -0
  667. package/node_modules/@alanszp/jwt/src/types.ts +31 -0
  668. package/node_modules/@alanszp/jwt/tsconfig.json +15 -0
  669. package/node_modules/@alanszp/logger/.gitignore +3 -0
  670. package/node_modules/@alanszp/logger/.npmignore +3 -0
  671. package/node_modules/@alanszp/logger/LICENSE +21 -0
  672. package/node_modules/@alanszp/logger/dist/config.d.ts +28 -0
  673. package/node_modules/@alanszp/logger/dist/config.js +3 -0
  674. package/node_modules/@alanszp/logger/dist/config.js.map +1 -0
  675. package/node_modules/@alanszp/logger/dist/factory.d.ts +5 -0
  676. package/node_modules/@alanszp/logger/dist/factory.js +55 -0
  677. package/node_modules/@alanszp/logger/dist/factory.js.map +1 -0
  678. package/node_modules/@alanszp/logger/dist/index.d.ts +5 -0
  679. package/node_modules/@alanszp/logger/dist/index.js +20 -0
  680. package/node_modules/@alanszp/logger/dist/index.js.map +1 -0
  681. package/node_modules/@alanszp/logger/dist/interfaces.d.ts +23 -0
  682. package/node_modules/@alanszp/logger/dist/interfaces.js +18 -0
  683. package/node_modules/@alanszp/logger/dist/interfaces.js.map +1 -0
  684. package/node_modules/@alanszp/logger/dist/logger.d.ts +14 -0
  685. package/node_modules/@alanszp/logger/dist/logger.js +45 -0
  686. package/node_modules/@alanszp/logger/dist/logger.js.map +1 -0
  687. package/node_modules/@alanszp/logger/dist/mock.d.ts +11 -0
  688. package/node_modules/@alanszp/logger/dist/mock.js +32 -0
  689. package/node_modules/@alanszp/logger/dist/mock.js.map +1 -0
  690. package/node_modules/@alanszp/logger/dist/serializer.d.ts +5 -0
  691. package/node_modules/@alanszp/logger/dist/serializer.js +67 -0
  692. package/node_modules/@alanszp/logger/dist/serializer.js.map +1 -0
  693. package/node_modules/@alanszp/logger/dist/slackBunyan.d.ts +16 -0
  694. package/node_modules/@alanszp/logger/dist/slackBunyan.js +108 -0
  695. package/node_modules/@alanszp/logger/dist/slackBunyan.js.map +1 -0
  696. package/node_modules/@alanszp/logger/node_modules/@types/node/LICENSE +21 -0
  697. package/node_modules/@alanszp/logger/node_modules/@types/node/README.md +15 -0
  698. package/node_modules/@alanszp/logger/node_modules/@types/node/assert/strict.d.ts +8 -0
  699. package/node_modules/@alanszp/logger/node_modules/@types/node/assert.d.ts +996 -0
  700. package/node_modules/@alanszp/logger/node_modules/@types/node/async_hooks.d.ts +539 -0
  701. package/node_modules/@alanszp/logger/node_modules/@types/node/buffer.d.ts +2362 -0
  702. package/node_modules/@alanszp/logger/node_modules/@types/node/child_process.d.ts +1540 -0
  703. package/node_modules/@alanszp/logger/node_modules/@types/node/cluster.d.ts +432 -0
  704. package/node_modules/@alanszp/logger/node_modules/@types/node/console.d.ts +415 -0
  705. package/node_modules/@alanszp/logger/node_modules/@types/node/constants.d.ts +19 -0
  706. package/node_modules/@alanszp/logger/node_modules/@types/node/crypto.d.ts +4487 -0
  707. package/node_modules/@alanszp/logger/node_modules/@types/node/dgram.d.ts +596 -0
  708. package/node_modules/@alanszp/logger/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  709. package/node_modules/@alanszp/logger/node_modules/@types/node/dns/promises.d.ts +425 -0
  710. package/node_modules/@alanszp/logger/node_modules/@types/node/dns.d.ts +809 -0
  711. package/node_modules/@alanszp/logger/node_modules/@types/node/dom-events.d.ts +122 -0
  712. package/node_modules/@alanszp/logger/node_modules/@types/node/domain.d.ts +170 -0
  713. package/node_modules/@alanszp/logger/node_modules/@types/node/events.d.ts +879 -0
  714. package/node_modules/@alanszp/logger/node_modules/@types/node/fs/promises.d.ts +1239 -0
  715. package/node_modules/@alanszp/logger/node_modules/@types/node/fs.d.ts +4311 -0
  716. package/node_modules/@alanszp/logger/node_modules/@types/node/globals.d.ts +411 -0
  717. package/node_modules/@alanszp/logger/node_modules/@types/node/globals.global.d.ts +1 -0
  718. package/node_modules/@alanszp/logger/node_modules/@types/node/http.d.ts +1887 -0
  719. package/node_modules/@alanszp/logger/node_modules/@types/node/http2.d.ts +2382 -0
  720. package/node_modules/@alanszp/logger/node_modules/@types/node/https.d.ts +550 -0
  721. package/node_modules/@alanszp/logger/node_modules/@types/node/index.d.ts +88 -0
  722. package/node_modules/@alanszp/logger/node_modules/@types/node/inspector.d.ts +2747 -0
  723. package/node_modules/@alanszp/logger/node_modules/@types/node/module.d.ts +315 -0
  724. package/node_modules/@alanszp/logger/node_modules/@types/node/net.d.ts +949 -0
  725. package/node_modules/@alanszp/logger/node_modules/@types/node/os.d.ts +478 -0
  726. package/node_modules/@alanszp/logger/node_modules/@types/node/package.json +229 -0
  727. package/node_modules/@alanszp/logger/node_modules/@types/node/path.d.ts +191 -0
  728. package/node_modules/@alanszp/logger/node_modules/@types/node/perf_hooks.d.ts +645 -0
  729. package/node_modules/@alanszp/logger/node_modules/@types/node/process.d.ts +1561 -0
  730. package/node_modules/@alanszp/logger/node_modules/@types/node/punycode.d.ts +117 -0
  731. package/node_modules/@alanszp/logger/node_modules/@types/node/querystring.d.ts +141 -0
  732. package/node_modules/@alanszp/logger/node_modules/@types/node/readline/promises.d.ts +150 -0
  733. package/node_modules/@alanszp/logger/node_modules/@types/node/readline.d.ts +539 -0
  734. package/node_modules/@alanszp/logger/node_modules/@types/node/repl.d.ts +430 -0
  735. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/consumers.d.ts +12 -0
  736. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/promises.d.ts +83 -0
  737. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/web.d.ts +366 -0
  738. package/node_modules/@alanszp/logger/node_modules/@types/node/stream.d.ts +1701 -0
  739. package/node_modules/@alanszp/logger/node_modules/@types/node/string_decoder.d.ts +67 -0
  740. package/node_modules/@alanszp/logger/node_modules/@types/node/test.d.ts +1465 -0
  741. package/node_modules/@alanszp/logger/node_modules/@types/node/timers/promises.d.ts +93 -0
  742. package/node_modules/@alanszp/logger/node_modules/@types/node/timers.d.ts +240 -0
  743. package/node_modules/@alanszp/logger/node_modules/@types/node/tls.d.ts +1210 -0
  744. package/node_modules/@alanszp/logger/node_modules/@types/node/trace_events.d.ts +182 -0
  745. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  746. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  747. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  748. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  749. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  750. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  751. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  752. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  753. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  754. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  755. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  756. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  757. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  758. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  759. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  760. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  761. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  762. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  763. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  764. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  765. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  766. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  767. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  768. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  769. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  770. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  771. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  772. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  773. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  774. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  775. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  776. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  777. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  778. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  779. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  780. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  781. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  782. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  783. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  784. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  785. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  786. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  787. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  788. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  789. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  790. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  791. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  792. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  793. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  794. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  795. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  796. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  797. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  798. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  799. package/node_modules/@alanszp/logger/node_modules/@types/node/tty.d.ts +208 -0
  800. package/node_modules/@alanszp/logger/node_modules/@types/node/url.d.ts +927 -0
  801. package/node_modules/@alanszp/logger/node_modules/@types/node/util.d.ts +2183 -0
  802. package/node_modules/@alanszp/logger/node_modules/@types/node/v8.d.ts +764 -0
  803. package/node_modules/@alanszp/logger/node_modules/@types/node/vm.d.ts +903 -0
  804. package/node_modules/@alanszp/logger/node_modules/@types/node/wasi.d.ts +179 -0
  805. package/node_modules/@alanszp/logger/node_modules/@types/node/worker_threads.d.ts +691 -0
  806. package/node_modules/@alanszp/logger/node_modules/@types/node/zlib.d.ts +517 -0
  807. package/node_modules/@alanszp/logger/package.json +36 -0
  808. package/node_modules/@alanszp/logger/src/config.ts +34 -0
  809. package/node_modules/@alanszp/logger/src/factory.ts +68 -0
  810. package/node_modules/@alanszp/logger/src/index.ts +5 -0
  811. package/node_modules/@alanszp/logger/src/interfaces.ts +26 -0
  812. package/node_modules/@alanszp/logger/src/logger.ts +54 -0
  813. package/node_modules/@alanszp/logger/src/mock.ts +35 -0
  814. package/node_modules/@alanszp/logger/src/serializer.ts +65 -0
  815. package/node_modules/@alanszp/logger/src/slackBunyan.ts +133 -0
  816. package/node_modules/@alanszp/logger/tsconfig.json +15 -0
  817. package/node_modules/@types/node/LICENSE +21 -0
  818. package/node_modules/@types/node/README.md +15 -0
  819. package/node_modules/@types/node/assert/strict.d.ts +8 -0
  820. package/node_modules/@types/node/assert.d.ts +996 -0
  821. package/node_modules/@types/node/async_hooks.d.ts +539 -0
  822. package/node_modules/@types/node/buffer.d.ts +2362 -0
  823. package/node_modules/@types/node/child_process.d.ts +1540 -0
  824. package/node_modules/@types/node/cluster.d.ts +432 -0
  825. package/node_modules/@types/node/console.d.ts +415 -0
  826. package/node_modules/@types/node/constants.d.ts +19 -0
  827. package/node_modules/@types/node/crypto.d.ts +4487 -0
  828. package/node_modules/@types/node/dgram.d.ts +596 -0
  829. package/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
  830. package/node_modules/@types/node/dns/promises.d.ts +425 -0
  831. package/node_modules/@types/node/dns.d.ts +809 -0
  832. package/node_modules/@types/node/dom-events.d.ts +122 -0
  833. package/node_modules/@types/node/domain.d.ts +170 -0
  834. package/node_modules/@types/node/events.d.ts +879 -0
  835. package/node_modules/@types/node/fs/promises.d.ts +1239 -0
  836. package/node_modules/@types/node/fs.d.ts +4311 -0
  837. package/node_modules/@types/node/globals.d.ts +411 -0
  838. package/node_modules/@types/node/globals.global.d.ts +1 -0
  839. package/node_modules/@types/node/http.d.ts +1887 -0
  840. package/node_modules/@types/node/http2.d.ts +2382 -0
  841. package/node_modules/@types/node/https.d.ts +550 -0
  842. package/node_modules/@types/node/index.d.ts +88 -0
  843. package/node_modules/@types/node/inspector.d.ts +2747 -0
  844. package/node_modules/@types/node/module.d.ts +315 -0
  845. package/node_modules/@types/node/net.d.ts +949 -0
  846. package/node_modules/@types/node/os.d.ts +478 -0
  847. package/node_modules/@types/node/package.json +229 -0
  848. package/node_modules/@types/node/path.d.ts +191 -0
  849. package/node_modules/@types/node/perf_hooks.d.ts +645 -0
  850. package/node_modules/@types/node/process.d.ts +1561 -0
  851. package/node_modules/@types/node/punycode.d.ts +117 -0
  852. package/node_modules/@types/node/querystring.d.ts +141 -0
  853. package/node_modules/@types/node/readline/promises.d.ts +150 -0
  854. package/node_modules/@types/node/readline.d.ts +539 -0
  855. package/node_modules/@types/node/repl.d.ts +430 -0
  856. package/node_modules/@types/node/stream/consumers.d.ts +12 -0
  857. package/node_modules/@types/node/stream/promises.d.ts +83 -0
  858. package/node_modules/@types/node/stream/web.d.ts +366 -0
  859. package/node_modules/@types/node/stream.d.ts +1701 -0
  860. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  861. package/node_modules/@types/node/test.d.ts +1465 -0
  862. package/node_modules/@types/node/timers/promises.d.ts +93 -0
  863. package/node_modules/@types/node/timers.d.ts +240 -0
  864. package/node_modules/@types/node/tls.d.ts +1210 -0
  865. package/node_modules/@types/node/trace_events.d.ts +182 -0
  866. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  867. package/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  868. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  869. package/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  870. package/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  871. package/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  872. package/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  873. package/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  874. package/node_modules/@types/node/ts4.8/crypto.d.ts +4487 -0
  875. package/node_modules/@types/node/ts4.8/dgram.d.ts +596 -0
  876. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +545 -0
  877. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  878. package/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  879. package/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  880. package/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  881. package/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  882. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  883. package/node_modules/@types/node/ts4.8/fs.d.ts +4311 -0
  884. package/node_modules/@types/node/ts4.8/globals.d.ts +411 -0
  885. package/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  886. package/node_modules/@types/node/ts4.8/http.d.ts +1887 -0
  887. package/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  888. package/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  889. package/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  890. package/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  891. package/node_modules/@types/node/ts4.8/module.d.ts +315 -0
  892. package/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  893. package/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  894. package/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  895. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +645 -0
  896. package/node_modules/@types/node/ts4.8/process.d.ts +1561 -0
  897. package/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  898. package/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  899. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  900. package/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  901. package/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  902. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  903. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  904. package/node_modules/@types/node/ts4.8/stream/web.d.ts +366 -0
  905. package/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  906. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  907. package/node_modules/@types/node/ts4.8/test.d.ts +1465 -0
  908. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  909. package/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  910. package/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  911. package/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  912. package/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  913. package/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  914. package/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  915. package/node_modules/@types/node/ts4.8/v8.d.ts +764 -0
  916. package/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  917. package/node_modules/@types/node/ts4.8/wasi.d.ts +179 -0
  918. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  919. package/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  920. package/node_modules/@types/node/tty.d.ts +208 -0
  921. package/node_modules/@types/node/url.d.ts +927 -0
  922. package/node_modules/@types/node/util.d.ts +2183 -0
  923. package/node_modules/@types/node/v8.d.ts +764 -0
  924. package/node_modules/@types/node/vm.d.ts +903 -0
  925. package/node_modules/@types/node/wasi.d.ts +179 -0
  926. package/node_modules/@types/node/worker_threads.d.ts +691 -0
  927. package/node_modules/@types/node/zlib.d.ts +517 -0
  928. package/package.json +9 -7
@@ -0,0 +1,1166 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /// <reference types="node" />
8
+
9
+ import type {Arguments} from 'yargs';
10
+ import type {CoverageMapData} from 'istanbul-lib-coverage';
11
+ import type {ForegroundColor} from 'chalk';
12
+ import type {ReportOptions} from 'istanbul-reports';
13
+ import type {SnapshotFormat} from '@jest/schemas';
14
+
15
+ declare type Argv = Arguments<
16
+ Partial<{
17
+ all: boolean;
18
+ automock: boolean;
19
+ bail: boolean | number;
20
+ cache: boolean;
21
+ cacheDirectory: string;
22
+ changedFilesWithAncestor: boolean;
23
+ changedSince: string;
24
+ ci: boolean;
25
+ clearCache: boolean;
26
+ clearMocks: boolean;
27
+ collectCoverage: boolean;
28
+ collectCoverageFrom: string;
29
+ collectCoverageOnlyFrom: Array<string>;
30
+ color: boolean;
31
+ colors: boolean;
32
+ config: string;
33
+ coverage: boolean;
34
+ coverageDirectory: string;
35
+ coveragePathIgnorePatterns: Array<string>;
36
+ coverageReporters: Array<string>;
37
+ coverageThreshold: string;
38
+ debug: boolean;
39
+ env: string;
40
+ expand: boolean;
41
+ findRelatedTests: boolean;
42
+ forceExit: boolean;
43
+ globals: string;
44
+ globalSetup: string | null | undefined;
45
+ globalTeardown: string | null | undefined;
46
+ haste: string;
47
+ ignoreProjects: Array<string>;
48
+ init: boolean;
49
+ injectGlobals: boolean;
50
+ json: boolean;
51
+ lastCommit: boolean;
52
+ logHeapUsage: boolean;
53
+ maxWorkers: number | string;
54
+ moduleDirectories: Array<string>;
55
+ moduleFileExtensions: Array<string>;
56
+ moduleNameMapper: string;
57
+ modulePathIgnorePatterns: Array<string>;
58
+ modulePaths: Array<string>;
59
+ noStackTrace: boolean;
60
+ notify: boolean;
61
+ notifyMode: string;
62
+ onlyChanged: boolean;
63
+ onlyFailures: boolean;
64
+ outputFile: string;
65
+ preset: string | null | undefined;
66
+ prettierPath: string | null | undefined;
67
+ projects: Array<string>;
68
+ reporters: Array<string>;
69
+ resetMocks: boolean;
70
+ resetModules: boolean;
71
+ resolver: string | null | undefined;
72
+ restoreMocks: boolean;
73
+ rootDir: string;
74
+ roots: Array<string>;
75
+ runInBand: boolean;
76
+ selectProjects: Array<string>;
77
+ setupFiles: Array<string>;
78
+ setupFilesAfterEnv: Array<string>;
79
+ shard: string;
80
+ showConfig: boolean;
81
+ silent: boolean;
82
+ snapshotSerializers: Array<string>;
83
+ testEnvironment: string;
84
+ testEnvironmentOptions: string;
85
+ testFailureExitCode: string | null | undefined;
86
+ testMatch: Array<string>;
87
+ testNamePattern: string;
88
+ testPathIgnorePatterns: Array<string>;
89
+ testPathPattern: Array<string>;
90
+ testRegex: string | Array<string>;
91
+ testResultsProcessor: string;
92
+ testRunner: string;
93
+ testSequencer: string;
94
+ testTimeout: number | null | undefined;
95
+ transform: string;
96
+ transformIgnorePatterns: Array<string>;
97
+ unmockedModulePathPatterns: Array<string> | null | undefined;
98
+ updateSnapshot: boolean;
99
+ useStderr: boolean;
100
+ verbose: boolean;
101
+ version: boolean;
102
+ watch: boolean;
103
+ watchAll: boolean;
104
+ watchman: boolean;
105
+ watchPathIgnorePatterns: Array<string>;
106
+ }>
107
+ >;
108
+
109
+ declare type ArrayTable = Table | Row;
110
+
111
+ declare type AssertionResult = {
112
+ ancestorTitles: Array<string>;
113
+ duration?: Milliseconds | null;
114
+ failureDetails: Array<unknown>;
115
+ failureMessages: Array<string>;
116
+ fullName: string;
117
+ invocations?: number;
118
+ location?: Callsite | null;
119
+ numPassingAsserts: number;
120
+ retryReasons?: Array<string>;
121
+ status: Status;
122
+ title: string;
123
+ };
124
+
125
+ declare type AsyncEvent =
126
+ | {
127
+ name: 'setup';
128
+ testNamePattern?: string;
129
+ runtimeGlobals: JestGlobals;
130
+ parentProcess: Process;
131
+ }
132
+ | {
133
+ name: 'include_test_location_in_result';
134
+ }
135
+ | {
136
+ name: 'hook_start';
137
+ hook: Hook;
138
+ }
139
+ | {
140
+ name: 'hook_success';
141
+ describeBlock?: DescribeBlock;
142
+ test?: TestEntry;
143
+ hook: Hook;
144
+ }
145
+ | {
146
+ name: 'hook_failure';
147
+ error: string | Exception;
148
+ describeBlock?: DescribeBlock;
149
+ test?: TestEntry;
150
+ hook: Hook;
151
+ }
152
+ | {
153
+ name: 'test_fn_start';
154
+ test: TestEntry;
155
+ }
156
+ | {
157
+ name: 'test_fn_success';
158
+ test: TestEntry;
159
+ }
160
+ | {
161
+ name: 'test_fn_failure';
162
+ error: Exception;
163
+ test: TestEntry;
164
+ }
165
+ | {
166
+ name: 'test_retry';
167
+ test: TestEntry;
168
+ }
169
+ | {
170
+ name: 'test_start';
171
+ test: TestEntry;
172
+ }
173
+ | {
174
+ name: 'test_skip';
175
+ test: TestEntry;
176
+ }
177
+ | {
178
+ name: 'test_todo';
179
+ test: TestEntry;
180
+ }
181
+ | {
182
+ name: 'test_done';
183
+ test: TestEntry;
184
+ }
185
+ | {
186
+ name: 'run_describe_start';
187
+ describeBlock: DescribeBlock;
188
+ }
189
+ | {
190
+ name: 'run_describe_finish';
191
+ describeBlock: DescribeBlock;
192
+ }
193
+ | {
194
+ name: 'run_start';
195
+ }
196
+ | {
197
+ name: 'run_finish';
198
+ }
199
+ | {
200
+ name: 'teardown';
201
+ };
202
+
203
+ declare type AsyncFn = TestFn_2 | HookFn_2;
204
+
205
+ declare type BlockFn = () => void;
206
+
207
+ declare type BlockFn_2 = Global.BlockFn;
208
+
209
+ declare type BlockMode = void | 'skip' | 'only' | 'todo';
210
+
211
+ declare type BlockName = string;
212
+
213
+ declare type BlockName_2 = Global.BlockName;
214
+
215
+ declare type BlockNameLike = BlockName | NameLike;
216
+
217
+ declare type BlockNameLike_2 = Global.BlockNameLike;
218
+
219
+ declare type Callsite = {
220
+ column: number;
221
+ line: number;
222
+ };
223
+
224
+ declare namespace Circus {
225
+ export {
226
+ DoneFn,
227
+ BlockFn_2 as BlockFn,
228
+ BlockName_2 as BlockName,
229
+ BlockNameLike_2 as BlockNameLike,
230
+ BlockMode,
231
+ TestMode,
232
+ TestName_2 as TestName,
233
+ TestNameLike_2 as TestNameLike,
234
+ TestFn_2 as TestFn,
235
+ ConcurrentTestFn_2 as ConcurrentTestFn,
236
+ HookFn_2 as HookFn,
237
+ AsyncFn,
238
+ SharedHookType,
239
+ HookType,
240
+ TestContext_2 as TestContext,
241
+ Exception,
242
+ FormattedError,
243
+ Hook,
244
+ EventHandler,
245
+ Event_2 as Event,
246
+ SyncEvent,
247
+ AsyncEvent,
248
+ MatcherResults,
249
+ TestStatus,
250
+ TestResult_2 as TestResult,
251
+ RunResult,
252
+ TestResults,
253
+ GlobalErrorHandlers,
254
+ State,
255
+ DescribeBlock,
256
+ TestError,
257
+ TestEntry,
258
+ };
259
+ }
260
+ export {Circus};
261
+
262
+ declare type Col = unknown;
263
+
264
+ declare type ConcurrentTestFn = () => TestReturnValuePromise;
265
+
266
+ declare type ConcurrentTestFn_2 = Global.ConcurrentTestFn;
267
+
268
+ declare namespace Config {
269
+ export {
270
+ FakeableAPI,
271
+ GlobalFakeTimersConfig,
272
+ FakeTimersConfig,
273
+ LegacyFakeTimersConfig,
274
+ HasteConfig,
275
+ CoverageReporterName,
276
+ CoverageReporterWithOptions,
277
+ CoverageReporters,
278
+ ReporterConfig,
279
+ TransformerConfig,
280
+ ConfigGlobals,
281
+ DefaultOptions,
282
+ DisplayName,
283
+ InitialOptionsWithRootDir,
284
+ InitialProjectOptions,
285
+ InitialOptions,
286
+ SnapshotUpdateState,
287
+ CoverageThresholdValue,
288
+ GlobalConfig,
289
+ ProjectConfig,
290
+ Argv,
291
+ };
292
+ }
293
+ export {Config};
294
+
295
+ declare interface ConfigGlobals {
296
+ [K: string]: unknown;
297
+ }
298
+
299
+ declare type CoverageProvider = 'babel' | 'v8';
300
+
301
+ declare type CoverageReporterName = keyof ReportOptions;
302
+
303
+ declare type CoverageReporters = Array<
304
+ CoverageReporterName | CoverageReporterWithOptions
305
+ >;
306
+
307
+ declare type CoverageReporterWithOptions<K = CoverageReporterName> =
308
+ K extends CoverageReporterName
309
+ ? ReportOptions[K] extends never
310
+ ? never
311
+ : [K, Partial<ReportOptions[K]>]
312
+ : never;
313
+
314
+ declare type CoverageThreshold = {
315
+ [path: string]: CoverageThresholdValue;
316
+ global: CoverageThresholdValue;
317
+ };
318
+
319
+ declare type CoverageThresholdValue = {
320
+ branches?: number;
321
+ functions?: number;
322
+ lines?: number;
323
+ statements?: number;
324
+ };
325
+
326
+ declare type DefaultOptions = {
327
+ automock: boolean;
328
+ bail: number;
329
+ cache: boolean;
330
+ cacheDirectory: string;
331
+ changedFilesWithAncestor: boolean;
332
+ ci: boolean;
333
+ clearMocks: boolean;
334
+ collectCoverage: boolean;
335
+ coveragePathIgnorePatterns: Array<string>;
336
+ coverageReporters: Array<CoverageReporterName>;
337
+ coverageProvider: CoverageProvider;
338
+ detectLeaks: boolean;
339
+ detectOpenHandles: boolean;
340
+ errorOnDeprecated: boolean;
341
+ expand: boolean;
342
+ extensionsToTreatAsEsm: Array<string>;
343
+ fakeTimers: FakeTimers;
344
+ forceCoverageMatch: Array<string>;
345
+ globals: ConfigGlobals;
346
+ haste: HasteConfig;
347
+ injectGlobals: boolean;
348
+ listTests: boolean;
349
+ maxConcurrency: number;
350
+ maxWorkers: number | string;
351
+ moduleDirectories: Array<string>;
352
+ moduleFileExtensions: Array<string>;
353
+ moduleNameMapper: Record<string, string | Array<string>>;
354
+ modulePathIgnorePatterns: Array<string>;
355
+ noStackTrace: boolean;
356
+ notify: boolean;
357
+ notifyMode: NotifyMode;
358
+ passWithNoTests: boolean;
359
+ prettierPath: string;
360
+ resetMocks: boolean;
361
+ resetModules: boolean;
362
+ restoreMocks: boolean;
363
+ roots: Array<string>;
364
+ runTestsByPath: boolean;
365
+ runner: string;
366
+ setupFiles: Array<string>;
367
+ setupFilesAfterEnv: Array<string>;
368
+ skipFilter: boolean;
369
+ slowTestThreshold: number;
370
+ snapshotSerializers: Array<string>;
371
+ testEnvironment: string;
372
+ testEnvironmentOptions: Record<string, unknown>;
373
+ testFailureExitCode: string | number;
374
+ testLocationInResults: boolean;
375
+ testMatch: Array<string>;
376
+ testPathIgnorePatterns: Array<string>;
377
+ testRegex: Array<string>;
378
+ testRunner: string;
379
+ testSequencer: string;
380
+ transformIgnorePatterns: Array<string>;
381
+ useStderr: boolean;
382
+ watch: boolean;
383
+ watchPathIgnorePatterns: Array<string>;
384
+ watchman: boolean;
385
+ };
386
+
387
+ declare interface Describe extends DescribeBase {
388
+ only: DescribeBase;
389
+ skip: DescribeBase;
390
+ }
391
+
392
+ declare interface DescribeBase {
393
+ (blockName: BlockNameLike, blockFn: BlockFn): void;
394
+ each: Each<BlockFn>;
395
+ }
396
+
397
+ declare type DescribeBlock = {
398
+ type: 'describeBlock';
399
+ children: Array<DescribeBlock | TestEntry>;
400
+ hooks: Array<Hook>;
401
+ mode: BlockMode;
402
+ name: BlockName_2;
403
+ parent?: DescribeBlock;
404
+ /** @deprecated Please get from `children` array instead */
405
+ tests: Array<TestEntry>;
406
+ };
407
+
408
+ declare type DisplayName = {
409
+ name: string;
410
+ color: typeof ForegroundColor;
411
+ };
412
+
413
+ declare type DoneFn = Global.DoneFn;
414
+
415
+ declare type DoneFn_2 = (reason?: string | Error) => void;
416
+
417
+ declare type DoneTakingTestFn = (
418
+ this: TestContext,
419
+ done: DoneFn_2,
420
+ ) => ValidTestReturnValues;
421
+
422
+ declare interface Each<EachFn extends TestFn | BlockFn> {
423
+ <T extends Record<string, unknown>>(table: ReadonlyArray<T>): (
424
+ name: string | NameLike,
425
+ fn: (arg: T) => ReturnType<EachFn>,
426
+ timeout?: number,
427
+ ) => void;
428
+ <T extends readonly [unknown, ...Array<unknown>]>(table: ReadonlyArray<T>): (
429
+ name: string | NameLike,
430
+ fn: (...args: T) => ReturnType<EachFn>,
431
+ timeout?: number,
432
+ ) => void;
433
+ <T extends readonly [unknown, ...Array<unknown>]>(table: T): (
434
+ name: string | NameLike,
435
+ fn: (...args: T) => ReturnType<EachFn>,
436
+ timeout?: number,
437
+ ) => void;
438
+ <T extends ReadonlyArray<unknown>>(table: ReadonlyArray<T>): (
439
+ name: string | NameLike,
440
+ fn: (...args: T) => ReturnType<EachFn>,
441
+ timeout?: number,
442
+ ) => void;
443
+ <T extends ReadonlyArray<unknown>>(table: T): (
444
+ name: string | NameLike,
445
+ fn: (...args: T) => ReturnType<EachFn>,
446
+ timeout?: number,
447
+ ) => void;
448
+ <T = unknown>(strings: TemplateStringsArray, ...expressions: Array<T>): (
449
+ name: string | NameLike,
450
+ fn: (arg: Record<string, T>) => ReturnType<EachFn>,
451
+ timeout?: number,
452
+ ) => void;
453
+ <T extends Record<string, unknown>>(
454
+ strings: TemplateStringsArray,
455
+ ...expressions: Array<unknown>
456
+ ): (
457
+ name: string | NameLike,
458
+ fn: (arg: T) => ReturnType<EachFn>,
459
+ timeout?: number,
460
+ ) => void;
461
+ }
462
+
463
+ declare type EachTable = ArrayTable | TemplateTable;
464
+
465
+ declare type EachTestFn<EachCallback extends TestCallback> = (
466
+ ...args: ReadonlyArray<any>
467
+ ) => ReturnType<EachCallback>;
468
+
469
+ declare type Event_2 = SyncEvent | AsyncEvent;
470
+
471
+ declare interface EventHandler {
472
+ (event: AsyncEvent, state: State): void | Promise<void>;
473
+ (event: SyncEvent, state: State): void;
474
+ }
475
+
476
+ declare type Exception = any;
477
+
478
+ declare type FakeableAPI =
479
+ | 'Date'
480
+ | 'hrtime'
481
+ | 'nextTick'
482
+ | 'performance'
483
+ | 'queueMicrotask'
484
+ | 'requestAnimationFrame'
485
+ | 'cancelAnimationFrame'
486
+ | 'requestIdleCallback'
487
+ | 'cancelIdleCallback'
488
+ | 'setImmediate'
489
+ | 'clearImmediate'
490
+ | 'setInterval'
491
+ | 'clearInterval'
492
+ | 'setTimeout'
493
+ | 'clearTimeout';
494
+
495
+ declare type FakeTimers = GlobalFakeTimersConfig &
496
+ (
497
+ | (FakeTimersConfig & {
498
+ now?: Exclude<FakeTimersConfig['now'], Date>;
499
+ })
500
+ | LegacyFakeTimersConfig
501
+ );
502
+
503
+ declare type FakeTimersConfig = {
504
+ /**
505
+ * If set to `true` all timers will be advanced automatically
506
+ * by 20 milliseconds every 20 milliseconds. A custom time delta
507
+ * may be provided by passing a number.
508
+ *
509
+ * @defaultValue
510
+ * The default is `false`.
511
+ */
512
+ advanceTimers?: boolean | number;
513
+ /**
514
+ * List of names of APIs (e.g. `Date`, `nextTick()`, `setImmediate()`,
515
+ * `setTimeout()`) that should not be faked.
516
+ *
517
+ * @defaultValue
518
+ * The default is `[]`, meaning all APIs are faked.
519
+ * */
520
+ doNotFake?: Array<FakeableAPI>;
521
+ /**
522
+ * Sets current system time to be used by fake timers.
523
+ *
524
+ * @defaultValue
525
+ * The default is `Date.now()`.
526
+ */
527
+ now?: number | Date;
528
+ /**
529
+ * The maximum number of recursive timers that will be run when calling
530
+ * `jest.runAllTimers()`.
531
+ *
532
+ * @defaultValue
533
+ * The default is `100_000` timers.
534
+ */
535
+ timerLimit?: number;
536
+ /**
537
+ * Use the old fake timers implementation instead of one backed by
538
+ * [`@sinonjs/fake-timers`](https://github.com/sinonjs/fake-timers).
539
+ *
540
+ * @defaultValue
541
+ * The default is `false`.
542
+ */
543
+ legacyFakeTimers?: false;
544
+ };
545
+
546
+ declare type FormattedError = string;
547
+
548
+ declare type GeneratorReturningTestFn = (
549
+ this: TestContext,
550
+ ) => TestReturnValueGenerator;
551
+
552
+ declare namespace Global {
553
+ export {
554
+ ValidTestReturnValues,
555
+ TestReturnValue,
556
+ TestContext,
557
+ DoneFn_2 as DoneFn,
558
+ DoneTakingTestFn,
559
+ PromiseReturningTestFn,
560
+ GeneratorReturningTestFn,
561
+ NameLike,
562
+ TestName,
563
+ TestNameLike,
564
+ TestFn,
565
+ ConcurrentTestFn,
566
+ BlockFn,
567
+ BlockName,
568
+ BlockNameLike,
569
+ HookFn,
570
+ Col,
571
+ Row,
572
+ Table,
573
+ ArrayTable,
574
+ TemplateTable,
575
+ TemplateData,
576
+ EachTable,
577
+ TestCallback,
578
+ EachTestFn,
579
+ HookBase,
580
+ ItBase,
581
+ It,
582
+ ItConcurrentBase,
583
+ ItConcurrentExtended,
584
+ ItConcurrent,
585
+ DescribeBase,
586
+ Describe,
587
+ TestFrameworkGlobals,
588
+ GlobalAdditions,
589
+ Global_2 as Global,
590
+ };
591
+ }
592
+ export {Global};
593
+
594
+ declare interface Global_2
595
+ extends GlobalAdditions,
596
+ Omit<typeof globalThis, keyof GlobalAdditions> {
597
+ [extras: PropertyKey]: unknown;
598
+ }
599
+
600
+ declare interface GlobalAdditions extends TestFrameworkGlobals {
601
+ __coverage__: CoverageMapData;
602
+ }
603
+
604
+ declare type GlobalConfig = {
605
+ bail: number;
606
+ changedSince?: string;
607
+ changedFilesWithAncestor: boolean;
608
+ ci: boolean;
609
+ collectCoverage: boolean;
610
+ collectCoverageFrom: Array<string>;
611
+ collectCoverageOnlyFrom?: {
612
+ [key: string]: boolean;
613
+ };
614
+ coverageDirectory: string;
615
+ coveragePathIgnorePatterns?: Array<string>;
616
+ coverageProvider: CoverageProvider;
617
+ coverageReporters: CoverageReporters;
618
+ coverageThreshold?: CoverageThreshold;
619
+ detectLeaks: boolean;
620
+ detectOpenHandles: boolean;
621
+ expand: boolean;
622
+ filter?: string;
623
+ findRelatedTests: boolean;
624
+ forceExit: boolean;
625
+ json: boolean;
626
+ globalSetup?: string;
627
+ globalTeardown?: string;
628
+ lastCommit: boolean;
629
+ logHeapUsage: boolean;
630
+ listTests: boolean;
631
+ maxConcurrency: number;
632
+ maxWorkers: number;
633
+ noStackTrace: boolean;
634
+ nonFlagArgs: Array<string>;
635
+ noSCM?: boolean;
636
+ notify: boolean;
637
+ notifyMode: NotifyMode;
638
+ outputFile?: string;
639
+ onlyChanged: boolean;
640
+ onlyFailures: boolean;
641
+ passWithNoTests: boolean;
642
+ projects: Array<string>;
643
+ replname?: string;
644
+ reporters?: Array<ReporterConfig>;
645
+ runTestsByPath: boolean;
646
+ rootDir: string;
647
+ shard?: ShardConfig;
648
+ silent?: boolean;
649
+ skipFilter: boolean;
650
+ snapshotFormat: SnapshotFormat;
651
+ errorOnDeprecated: boolean;
652
+ testFailureExitCode: number;
653
+ testNamePattern?: string;
654
+ testPathPattern: string;
655
+ testResultsProcessor?: string;
656
+ testSequencer: string;
657
+ testTimeout?: number;
658
+ updateSnapshot: SnapshotUpdateState;
659
+ useStderr: boolean;
660
+ verbose?: boolean;
661
+ watch: boolean;
662
+ watchAll: boolean;
663
+ watchman: boolean;
664
+ watchPlugins?: Array<{
665
+ path: string;
666
+ config: Record<string, unknown>;
667
+ }> | null;
668
+ };
669
+
670
+ declare type GlobalErrorHandlers = {
671
+ uncaughtException: Array<(exception: Exception) => void>;
672
+ unhandledRejection: Array<
673
+ (exception: Exception, promise: Promise<unknown>) => void
674
+ >;
675
+ };
676
+
677
+ declare type GlobalFakeTimersConfig = {
678
+ /**
679
+ * Whether fake timers should be enabled globally for all test files.
680
+ *
681
+ * @defaultValue
682
+ * The default is `false`.
683
+ * */
684
+ enableGlobally?: boolean;
685
+ };
686
+
687
+ declare type HasteConfig = {
688
+ /** Whether to hash files using SHA-1. */
689
+ computeSha1?: boolean;
690
+ /** The platform to use as the default, e.g. 'ios'. */
691
+ defaultPlatform?: string | null;
692
+ /** Force use of Node's `fs` APIs rather than shelling out to `find` */
693
+ forceNodeFilesystemAPI?: boolean;
694
+ /**
695
+ * Whether to follow symlinks when crawling for files.
696
+ * This options cannot be used in projects which use watchman.
697
+ * Projects with `watchman` set to true will error if this option is set to true.
698
+ */
699
+ enableSymlinks?: boolean;
700
+ /** string to a custom implementation of Haste. */
701
+ hasteImplModulePath?: string;
702
+ /** All platforms to target, e.g ['ios', 'android']. */
703
+ platforms?: Array<string>;
704
+ /** Whether to throw on error on module collision. */
705
+ throwOnModuleCollision?: boolean;
706
+ /** Custom HasteMap module */
707
+ hasteMapModulePath?: string;
708
+ /** Whether to retain all files, allowing e.g. search for tests in `node_modules`. */
709
+ retainAllFiles?: boolean;
710
+ };
711
+
712
+ declare type Hook = {
713
+ asyncError: Error;
714
+ fn: HookFn_2;
715
+ type: HookType;
716
+ parent: DescribeBlock;
717
+ seenDone: boolean;
718
+ timeout: number | undefined | null;
719
+ };
720
+
721
+ declare interface HookBase {
722
+ (fn: HookFn, timeout?: number): void;
723
+ }
724
+
725
+ declare type HookFn = TestFn;
726
+
727
+ declare type HookFn_2 = Global.HookFn;
728
+
729
+ declare type HookType = SharedHookType | 'afterEach' | 'beforeEach';
730
+
731
+ declare type InitialOptions = Partial<{
732
+ automock: boolean;
733
+ bail: boolean | number;
734
+ cache: boolean;
735
+ cacheDirectory: string;
736
+ ci: boolean;
737
+ clearMocks: boolean;
738
+ changedFilesWithAncestor: boolean;
739
+ changedSince: string;
740
+ collectCoverage: boolean;
741
+ collectCoverageFrom: Array<string>;
742
+ collectCoverageOnlyFrom: {
743
+ [key: string]: boolean;
744
+ };
745
+ coverageDirectory: string;
746
+ coveragePathIgnorePatterns: Array<string>;
747
+ coverageProvider: CoverageProvider;
748
+ coverageReporters: CoverageReporters;
749
+ coverageThreshold: CoverageThreshold;
750
+ dependencyExtractor: string;
751
+ detectLeaks: boolean;
752
+ detectOpenHandles: boolean;
753
+ displayName: string | DisplayName;
754
+ expand: boolean;
755
+ extensionsToTreatAsEsm: Array<string>;
756
+ fakeTimers: FakeTimers;
757
+ filter: string;
758
+ findRelatedTests: boolean;
759
+ forceCoverageMatch: Array<string>;
760
+ forceExit: boolean;
761
+ json: boolean;
762
+ globals: ConfigGlobals;
763
+ globalSetup: string | null | undefined;
764
+ globalTeardown: string | null | undefined;
765
+ haste: HasteConfig;
766
+ id: string;
767
+ injectGlobals: boolean;
768
+ reporters: Array<string | ReporterConfig>;
769
+ logHeapUsage: boolean;
770
+ lastCommit: boolean;
771
+ listTests: boolean;
772
+ maxConcurrency: number;
773
+ maxWorkers: number | string;
774
+ moduleDirectories: Array<string>;
775
+ moduleFileExtensions: Array<string>;
776
+ moduleNameMapper: {
777
+ [key: string]: string | Array<string>;
778
+ };
779
+ modulePathIgnorePatterns: Array<string>;
780
+ modulePaths: Array<string>;
781
+ noStackTrace: boolean;
782
+ notify: boolean;
783
+ notifyMode: string;
784
+ onlyChanged: boolean;
785
+ onlyFailures: boolean;
786
+ outputFile: string;
787
+ passWithNoTests: boolean;
788
+ preset: string | null | undefined;
789
+ prettierPath: string | null | undefined;
790
+ projects: Array<string | InitialProjectOptions>;
791
+ replname: string | null | undefined;
792
+ resetMocks: boolean;
793
+ resetModules: boolean;
794
+ resolver: string | null | undefined;
795
+ restoreMocks: boolean;
796
+ rootDir: string;
797
+ roots: Array<string>;
798
+ runner: string;
799
+ runTestsByPath: boolean;
800
+ runtime: string;
801
+ sandboxInjectedGlobals: Array<string>;
802
+ setupFiles: Array<string>;
803
+ setupFilesAfterEnv: Array<string>;
804
+ silent: boolean;
805
+ skipFilter: boolean;
806
+ skipNodeResolution: boolean;
807
+ slowTestThreshold: number;
808
+ snapshotResolver: string;
809
+ snapshotSerializers: Array<string>;
810
+ snapshotFormat: SnapshotFormat;
811
+ errorOnDeprecated: boolean;
812
+ testEnvironment: string;
813
+ testEnvironmentOptions: Record<string, unknown>;
814
+ testFailureExitCode: string | number;
815
+ testLocationInResults: boolean;
816
+ testMatch: Array<string>;
817
+ testNamePattern: string;
818
+ testPathIgnorePatterns: Array<string>;
819
+ testRegex: string | Array<string>;
820
+ testResultsProcessor: string;
821
+ testRunner: string;
822
+ testSequencer: string;
823
+ testTimeout: number;
824
+ transform: {
825
+ [regex: string]: string | TransformerConfig;
826
+ };
827
+ transformIgnorePatterns: Array<string>;
828
+ watchPathIgnorePatterns: Array<string>;
829
+ unmockedModulePathPatterns: Array<string>;
830
+ updateSnapshot: boolean;
831
+ useStderr: boolean;
832
+ verbose?: boolean;
833
+ watch: boolean;
834
+ watchAll: boolean;
835
+ watchman: boolean;
836
+ watchPlugins: Array<string | [string, Record<string, unknown>]>;
837
+ }>;
838
+
839
+ declare type InitialOptionsWithRootDir = InitialOptions &
840
+ Required<Pick<InitialOptions, 'rootDir'>>;
841
+
842
+ declare type InitialProjectOptions = Pick<
843
+ InitialOptions & {
844
+ cwd?: string;
845
+ },
846
+ keyof ProjectConfig
847
+ >;
848
+
849
+ declare interface It extends ItBase {
850
+ only: ItBase;
851
+ skip: ItBase;
852
+ todo: (testName: TestNameLike) => void;
853
+ }
854
+
855
+ declare interface ItBase {
856
+ (testName: TestNameLike, fn: TestFn, timeout?: number): void;
857
+ each: Each<TestFn>;
858
+ failing(testName: TestNameLike, fn: TestFn, timeout?: number): void;
859
+ }
860
+
861
+ declare interface ItConcurrent extends It {
862
+ concurrent: ItConcurrentExtended;
863
+ }
864
+
865
+ declare interface ItConcurrentBase {
866
+ (testName: TestNameLike, testFn: ConcurrentTestFn, timeout?: number): void;
867
+ each: Each<ConcurrentTestFn>;
868
+ failing(testName: TestNameLike, fn: ConcurrentTestFn, timeout?: number): void;
869
+ }
870
+
871
+ declare interface ItConcurrentExtended extends ItConcurrentBase {
872
+ only: ItConcurrentBase;
873
+ skip: ItConcurrentBase;
874
+ }
875
+
876
+ declare interface JestGlobals extends Global.TestFrameworkGlobals {
877
+ expect: unknown;
878
+ }
879
+
880
+ declare type LegacyFakeTimersConfig = {
881
+ /**
882
+ * Use the old fake timers implementation instead of one backed by
883
+ * [`@sinonjs/fake-timers`](https://github.com/sinonjs/fake-timers).
884
+ *
885
+ * @defaultValue
886
+ * The default is `false`.
887
+ */
888
+ legacyFakeTimers?: true;
889
+ };
890
+
891
+ declare type MatcherResults = {
892
+ actual: unknown;
893
+ expected: unknown;
894
+ name: string;
895
+ pass: boolean;
896
+ };
897
+
898
+ declare type Milliseconds = number;
899
+
900
+ declare type NameLike = number | Function;
901
+
902
+ declare type NotifyMode =
903
+ | 'always'
904
+ | 'failure'
905
+ | 'success'
906
+ | 'change'
907
+ | 'success-change'
908
+ | 'failure-change';
909
+
910
+ declare type Process = NodeJS.Process;
911
+
912
+ declare type ProjectConfig = {
913
+ automock: boolean;
914
+ cache: boolean;
915
+ cacheDirectory: string;
916
+ clearMocks: boolean;
917
+ coveragePathIgnorePatterns: Array<string>;
918
+ cwd: string;
919
+ dependencyExtractor?: string;
920
+ detectLeaks: boolean;
921
+ detectOpenHandles: boolean;
922
+ displayName?: DisplayName;
923
+ errorOnDeprecated: boolean;
924
+ extensionsToTreatAsEsm: Array<string>;
925
+ fakeTimers: FakeTimers;
926
+ filter?: string;
927
+ forceCoverageMatch: Array<string>;
928
+ globalSetup?: string;
929
+ globalTeardown?: string;
930
+ globals: ConfigGlobals;
931
+ haste: HasteConfig;
932
+ id: string;
933
+ injectGlobals: boolean;
934
+ moduleDirectories: Array<string>;
935
+ moduleFileExtensions: Array<string>;
936
+ moduleNameMapper: Array<[string, string]>;
937
+ modulePathIgnorePatterns: Array<string>;
938
+ modulePaths?: Array<string>;
939
+ prettierPath: string;
940
+ resetMocks: boolean;
941
+ resetModules: boolean;
942
+ resolver?: string;
943
+ restoreMocks: boolean;
944
+ rootDir: string;
945
+ roots: Array<string>;
946
+ runner: string;
947
+ runtime?: string;
948
+ sandboxInjectedGlobals: Array<keyof typeof globalThis>;
949
+ setupFiles: Array<string>;
950
+ setupFilesAfterEnv: Array<string>;
951
+ skipFilter: boolean;
952
+ skipNodeResolution?: boolean;
953
+ slowTestThreshold: number;
954
+ snapshotResolver?: string;
955
+ snapshotSerializers: Array<string>;
956
+ snapshotFormat: SnapshotFormat;
957
+ testEnvironment: string;
958
+ testEnvironmentOptions: Record<string, unknown>;
959
+ testMatch: Array<string>;
960
+ testLocationInResults: boolean;
961
+ testPathIgnorePatterns: Array<string>;
962
+ testRegex: Array<string | RegExp>;
963
+ testRunner: string;
964
+ transform: Array<[string, string, Record<string, unknown>]>;
965
+ transformIgnorePatterns: Array<string>;
966
+ watchPathIgnorePatterns: Array<string>;
967
+ unmockedModulePathPatterns?: Array<string>;
968
+ };
969
+
970
+ declare type PromiseReturningTestFn = (this: TestContext) => TestReturnValue;
971
+
972
+ declare type ReporterConfig = [string, Record<string, unknown>];
973
+
974
+ declare type Row = ReadonlyArray<Col>;
975
+
976
+ declare type RunResult = {
977
+ unhandledErrors: Array<FormattedError>;
978
+ testResults: TestResults;
979
+ };
980
+
981
+ declare type SerializableError = {
982
+ code?: unknown;
983
+ message: string;
984
+ stack: string | null | undefined;
985
+ type?: string;
986
+ };
987
+
988
+ declare type ShardConfig = {
989
+ shardIndex: number;
990
+ shardCount: number;
991
+ };
992
+
993
+ declare type SharedHookType = 'afterAll' | 'beforeAll';
994
+
995
+ declare type SnapshotUpdateState = 'all' | 'new' | 'none';
996
+
997
+ declare type State = {
998
+ currentDescribeBlock: DescribeBlock;
999
+ currentlyRunningTest?: TestEntry | null;
1000
+ expand?: boolean;
1001
+ hasFocusedTests: boolean;
1002
+ hasStarted: boolean;
1003
+ originalGlobalErrorHandlers?: GlobalErrorHandlers;
1004
+ parentProcess: Process | null;
1005
+ rootDescribeBlock: DescribeBlock;
1006
+ testNamePattern?: RegExp | null;
1007
+ testTimeout: number;
1008
+ unhandledErrors: Array<Exception>;
1009
+ includeTestLocationInResult: boolean;
1010
+ maxConcurrency: number;
1011
+ };
1012
+
1013
+ declare type Status =
1014
+ | 'passed'
1015
+ | 'failed'
1016
+ | 'skipped'
1017
+ | 'pending'
1018
+ | 'todo'
1019
+ | 'disabled';
1020
+
1021
+ declare type SyncEvent =
1022
+ | {
1023
+ asyncError: Error;
1024
+ mode: BlockMode;
1025
+ name: 'start_describe_definition';
1026
+ blockName: BlockName_2;
1027
+ }
1028
+ | {
1029
+ mode: BlockMode;
1030
+ name: 'finish_describe_definition';
1031
+ blockName: BlockName_2;
1032
+ }
1033
+ | {
1034
+ asyncError: Error;
1035
+ name: 'add_hook';
1036
+ hookType: HookType;
1037
+ fn: HookFn_2;
1038
+ timeout: number | undefined;
1039
+ }
1040
+ | {
1041
+ asyncError: Error;
1042
+ name: 'add_test';
1043
+ testName: TestName_2;
1044
+ fn: TestFn_2;
1045
+ mode?: TestMode;
1046
+ concurrent: boolean;
1047
+ timeout: number | undefined;
1048
+ failing: boolean;
1049
+ }
1050
+ | {
1051
+ name: 'error';
1052
+ error: Exception;
1053
+ };
1054
+
1055
+ declare type Table = ReadonlyArray<Row>;
1056
+
1057
+ declare type TemplateData = ReadonlyArray<unknown>;
1058
+
1059
+ declare type TemplateTable = TemplateStringsArray;
1060
+
1061
+ declare type TestCallback = BlockFn | TestFn | ConcurrentTestFn;
1062
+
1063
+ declare type TestContext = Record<string, unknown>;
1064
+
1065
+ declare type TestContext_2 = Global.TestContext;
1066
+
1067
+ declare type TestEntry = {
1068
+ type: 'test';
1069
+ asyncError: Exception;
1070
+ errors: Array<TestError>;
1071
+ retryReasons: Array<TestError>;
1072
+ fn: TestFn_2;
1073
+ invocations: number;
1074
+ mode: TestMode;
1075
+ concurrent: boolean;
1076
+ name: TestName_2;
1077
+ parent: DescribeBlock;
1078
+ startedAt?: number | null;
1079
+ duration?: number | null;
1080
+ seenDone: boolean;
1081
+ status?: TestStatus | null;
1082
+ timeout?: number;
1083
+ failing: boolean;
1084
+ };
1085
+
1086
+ declare type TestError = Exception | [Exception | undefined, Exception];
1087
+
1088
+ declare type TestFn =
1089
+ | PromiseReturningTestFn
1090
+ | GeneratorReturningTestFn
1091
+ | DoneTakingTestFn;
1092
+
1093
+ declare type TestFn_2 = Global.TestFn;
1094
+
1095
+ declare interface TestFrameworkGlobals {
1096
+ it: ItConcurrent;
1097
+ test: ItConcurrent;
1098
+ fit: ItBase & {
1099
+ concurrent?: ItConcurrentBase;
1100
+ };
1101
+ xit: ItBase;
1102
+ xtest: ItBase;
1103
+ describe: Describe;
1104
+ xdescribe: DescribeBase;
1105
+ fdescribe: DescribeBase;
1106
+ beforeAll: HookBase;
1107
+ beforeEach: HookBase;
1108
+ afterEach: HookBase;
1109
+ afterAll: HookBase;
1110
+ }
1111
+
1112
+ declare type TestMode = BlockMode;
1113
+
1114
+ declare type TestName = string;
1115
+
1116
+ declare type TestName_2 = Global.TestName;
1117
+
1118
+ declare type TestNameLike = TestName | NameLike;
1119
+
1120
+ declare type TestNameLike_2 = Global.TestNameLike;
1121
+
1122
+ declare namespace TestResult {
1123
+ export {Milliseconds, AssertionResult, SerializableError};
1124
+ }
1125
+ export {TestResult};
1126
+
1127
+ declare type TestResult_2 = {
1128
+ duration?: number | null;
1129
+ errors: Array<FormattedError>;
1130
+ errorsDetailed: Array<MatcherResults | unknown>;
1131
+ invocations: number;
1132
+ status: TestStatus;
1133
+ location?: {
1134
+ column: number;
1135
+ line: number;
1136
+ } | null;
1137
+ retryReasons: Array<FormattedError>;
1138
+ testPath: Array<TestName_2 | BlockName_2>;
1139
+ };
1140
+
1141
+ declare type TestResults = Array<TestResult_2>;
1142
+
1143
+ declare type TestReturnValue = ValidTestReturnValues | TestReturnValuePromise;
1144
+
1145
+ declare type TestReturnValueGenerator = Generator<void, unknown, void>;
1146
+
1147
+ declare type TestReturnValuePromise = Promise<unknown>;
1148
+
1149
+ declare type TestStatus = 'skip' | 'done' | 'todo';
1150
+
1151
+ declare type TransformerConfig = [string, Record<string, unknown>];
1152
+
1153
+ declare type TransformResult = {
1154
+ code: string;
1155
+ originalCode: string;
1156
+ sourceMapPath: string | null;
1157
+ };
1158
+
1159
+ declare namespace TransformTypes {
1160
+ export {TransformResult};
1161
+ }
1162
+ export {TransformTypes};
1163
+
1164
+ declare type ValidTestReturnValues = void | undefined;
1165
+
1166
+ export {};