@bitblit/ratchet-epsilon-common 4.0.419-alpha → 4.0.421-alpha

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 (456) hide show
  1. package/lib/background/background-dynamo-log-table-handler.d.ts +11 -0
  2. package/lib/background/background-dynamo-log-table-handler.js +38 -0
  3. package/lib/background/background-dynamo-log-table-handler.js.map +1 -0
  4. package/lib/background/background-entry.d.ts +4 -0
  5. package/lib/background/background-entry.js +2 -0
  6. package/lib/background/background-entry.js.map +1 -0
  7. package/lib/background/background-execution-event-type.d.ts +8 -0
  8. package/lib/background/background-execution-event-type.js +8 -0
  9. package/lib/background/background-execution-event-type.js.map +1 -0
  10. package/lib/background/background-execution-event.d.ts +8 -0
  11. package/lib/background/background-execution-event.js +2 -0
  12. package/lib/background/background-execution-event.js.map +1 -0
  13. package/lib/background/background-execution-listener.d.ts +5 -0
  14. package/lib/background/background-execution-listener.js +2 -0
  15. package/lib/background/background-execution-listener.js.map +1 -0
  16. package/lib/background/background-handler.d.ts +29 -0
  17. package/lib/background/background-handler.js +280 -0
  18. package/lib/background/background-handler.js.map +1 -0
  19. package/lib/background/background-http-adapter-handler.d.ts +22 -0
  20. package/lib/background/background-http-adapter-handler.js +129 -0
  21. package/lib/background/background-http-adapter-handler.js.map +1 -0
  22. package/lib/background/background-meta-response-internal.d.ts +5 -0
  23. package/lib/background/background-meta-response-internal.js +2 -0
  24. package/lib/background/background-meta-response-internal.js.map +1 -0
  25. package/lib/background/background-process-handling.d.ts +5 -0
  26. package/lib/background/background-process-handling.js +5 -0
  27. package/lib/background/background-process-handling.js.map +1 -0
  28. package/lib/background/background-process-log-table-entry.d.ts +11 -0
  29. package/lib/background/background-process-log-table-entry.js +2 -0
  30. package/lib/background/background-process-log-table-entry.js.map +1 -0
  31. package/lib/background/background-queue-response-internal.d.ts +8 -0
  32. package/lib/background/background-queue-response-internal.js +2 -0
  33. package/lib/background/background-queue-response-internal.js.map +1 -0
  34. package/lib/background/background-validator.d.ts +17 -0
  35. package/lib/background/background-validator.js +87 -0
  36. package/lib/background/background-validator.js.map +1 -0
  37. package/lib/background/epsilon-background-process-error.d.ts +30 -0
  38. package/lib/background/epsilon-background-process-error.js +94 -0
  39. package/lib/background/epsilon-background-process-error.js.map +1 -0
  40. package/lib/background/index.d.ts +20 -0
  41. package/lib/background/index.js +21 -0
  42. package/lib/background/index.js.map +1 -0
  43. package/lib/background/internal-background-entry.d.ts +8 -0
  44. package/lib/background/internal-background-entry.js +2 -0
  45. package/lib/background/internal-background-entry.js.map +1 -0
  46. package/lib/background/manager/abstract-background-manager.d.ts +19 -0
  47. package/lib/background/manager/abstract-background-manager.js +90 -0
  48. package/lib/background/manager/abstract-background-manager.js.map +1 -0
  49. package/lib/background/manager/aws-large-payload-s3-sqs-sns-background-manager.d.ts +19 -0
  50. package/lib/background/manager/aws-large-payload-s3-sqs-sns-background-manager.js +58 -0
  51. package/lib/background/manager/aws-large-payload-s3-sqs-sns-background-manager.js.map +1 -0
  52. package/lib/background/manager/aws-sqs-sns-background-manager.d.ts +23 -0
  53. package/lib/background/manager/aws-sqs-sns-background-manager.js +154 -0
  54. package/lib/background/manager/aws-sqs-sns-background-manager.js.map +1 -0
  55. package/lib/background/manager/background-manager-like.d.ts +18 -0
  56. package/lib/background/manager/background-manager-like.js +2 -0
  57. package/lib/background/manager/background-manager-like.js.map +1 -0
  58. package/lib/background/manager/single-thread-local-background-manager.d.ts +15 -0
  59. package/lib/background/manager/single-thread-local-background-manager.js +46 -0
  60. package/lib/background/manager/single-thread-local-background-manager.js.map +1 -0
  61. package/lib/background/s3-background-transaction-logger.d.ts +17 -0
  62. package/lib/background/s3-background-transaction-logger.js +53 -0
  63. package/lib/background/s3-background-transaction-logger.js.map +1 -0
  64. package/lib/build/index.d.ts +1 -0
  65. package/lib/build/index.js +2 -0
  66. package/lib/build/index.js.map +1 -0
  67. package/lib/build/ratchet-epsilon-common-info.d.ts +5 -0
  68. package/lib/build/ratchet-epsilon-common-info.js +15 -0
  69. package/lib/build/ratchet-epsilon-common-info.js.map +1 -0
  70. package/lib/built-in/background/echo-processor.d.ts +7 -0
  71. package/lib/built-in/background/echo-processor.js +16 -0
  72. package/lib/built-in/background/echo-processor.js.map +1 -0
  73. package/lib/built-in/background/log-and-enqueue-echo-processor.d.ts +6 -0
  74. package/lib/built-in/background/log-and-enqueue-echo-processor.js +13 -0
  75. package/lib/built-in/background/log-and-enqueue-echo-processor.js.map +1 -0
  76. package/lib/built-in/background/log-message-background-error-processor.d.ts +5 -0
  77. package/lib/built-in/background/log-message-background-error-processor.js +7 -0
  78. package/lib/built-in/background/log-message-background-error-processor.js.map +1 -0
  79. package/lib/built-in/background/no-op-processor.d.ts +6 -0
  80. package/lib/built-in/background/no-op-processor.js +10 -0
  81. package/lib/built-in/background/no-op-processor.js.map +1 -0
  82. package/lib/built-in/background/retry-processor.d.ts +16 -0
  83. package/lib/built-in/background/retry-processor.js +41 -0
  84. package/lib/built-in/background/retry-processor.js.map +1 -0
  85. package/lib/built-in/background/sample-delay-processor.d.ts +6 -0
  86. package/lib/built-in/background/sample-delay-processor.js +14 -0
  87. package/lib/built-in/background/sample-delay-processor.js.map +1 -0
  88. package/lib/built-in/background/sample-input-validated-processor-data.d.ts +4 -0
  89. package/lib/built-in/background/sample-input-validated-processor-data.js +2 -0
  90. package/lib/built-in/background/sample-input-validated-processor-data.js.map +1 -0
  91. package/lib/built-in/background/sample-input-validated-processor.d.ts +8 -0
  92. package/lib/built-in/background/sample-input-validated-processor.js +13 -0
  93. package/lib/built-in/background/sample-input-validated-processor.js.map +1 -0
  94. package/lib/built-in/built-in-trace-id-generators.d.ts +5 -0
  95. package/lib/built-in/built-in-trace-id-generators.js +20 -0
  96. package/lib/built-in/built-in-trace-id-generators.js.map +1 -0
  97. package/lib/built-in/daemon/daemon-authorizer-function.d.ts +3 -0
  98. package/lib/built-in/daemon/daemon-authorizer-function.js +2 -0
  99. package/lib/built-in/daemon/daemon-authorizer-function.js.map +1 -0
  100. package/lib/built-in/daemon/daemon-config.d.ts +8 -0
  101. package/lib/built-in/daemon/daemon-config.js +2 -0
  102. package/lib/built-in/daemon/daemon-config.js.map +1 -0
  103. package/lib/built-in/daemon/daemon-group-selection-function.d.ts +2 -0
  104. package/lib/built-in/daemon/daemon-group-selection-function.js +2 -0
  105. package/lib/built-in/daemon/daemon-group-selection-function.js.map +1 -0
  106. package/lib/built-in/daemon/daemon-handler.d.ts +16 -0
  107. package/lib/built-in/daemon/daemon-handler.js +60 -0
  108. package/lib/built-in/daemon/daemon-handler.js.map +1 -0
  109. package/lib/built-in/daemon/daemon-process-state-list.d.ts +5 -0
  110. package/lib/built-in/daemon/daemon-process-state-list.js +2 -0
  111. package/lib/built-in/daemon/daemon-process-state-list.js.map +1 -0
  112. package/lib/built-in/http/apollo/apollo-util.d.ts +10 -0
  113. package/lib/built-in/http/apollo/apollo-util.js +37 -0
  114. package/lib/built-in/http/apollo/apollo-util.js.map +1 -0
  115. package/lib/built-in/http/apollo/default-epsilon-apollo-context.d.ts +10 -0
  116. package/lib/built-in/http/apollo/default-epsilon-apollo-context.js +2 -0
  117. package/lib/built-in/http/apollo/default-epsilon-apollo-context.js.map +1 -0
  118. package/lib/built-in/http/apollo/epsilon-apollo-cors-method.d.ts +6 -0
  119. package/lib/built-in/http/apollo/epsilon-apollo-cors-method.js +6 -0
  120. package/lib/built-in/http/apollo/epsilon-apollo-cors-method.js.map +1 -0
  121. package/lib/built-in/http/apollo/epsilon-lambda-apollo-context-function-argument.d.ts +5 -0
  122. package/lib/built-in/http/apollo/epsilon-lambda-apollo-context-function-argument.js +2 -0
  123. package/lib/built-in/http/apollo/epsilon-lambda-apollo-context-function-argument.js.map +1 -0
  124. package/lib/built-in/http/apollo/epsilon-lambda-apollo-options.d.ts +10 -0
  125. package/lib/built-in/http/apollo/epsilon-lambda-apollo-options.js +2 -0
  126. package/lib/built-in/http/apollo/epsilon-lambda-apollo-options.js.map +1 -0
  127. package/lib/built-in/http/apollo-filter.d.ts +10 -0
  128. package/lib/built-in/http/apollo-filter.js +111 -0
  129. package/lib/built-in/http/apollo-filter.js.map +1 -0
  130. package/lib/built-in/http/built-in-auth-filters.d.ts +9 -0
  131. package/lib/built-in/http/built-in-auth-filters.js +108 -0
  132. package/lib/built-in/http/built-in-auth-filters.js.map +1 -0
  133. package/lib/built-in/http/built-in-authorizers.d.ts +8 -0
  134. package/lib/built-in/http/built-in-authorizers.js +40 -0
  135. package/lib/built-in/http/built-in-authorizers.js.map +1 -0
  136. package/lib/built-in/http/built-in-filters.d.ts +26 -0
  137. package/lib/built-in/http/built-in-filters.js +212 -0
  138. package/lib/built-in/http/built-in-filters.js.map +1 -0
  139. package/lib/built-in/http/built-in-handlers.d.ts +9 -0
  140. package/lib/built-in/http/built-in-handlers.js +70 -0
  141. package/lib/built-in/http/built-in-handlers.js.map +1 -0
  142. package/lib/built-in/http/log-level-manipulation-filter.d.ts +6 -0
  143. package/lib/built-in/http/log-level-manipulation-filter.js +17 -0
  144. package/lib/built-in/http/log-level-manipulation-filter.js.map +1 -0
  145. package/lib/built-in/http/run-handler-as-filter.d.ts +14 -0
  146. package/lib/built-in/http/run-handler-as-filter.js +79 -0
  147. package/lib/built-in/http/run-handler-as-filter.js.map +1 -0
  148. package/lib/built-in/index.d.ts +26 -0
  149. package/lib/built-in/index.js +27 -0
  150. package/lib/built-in/index.js.map +1 -0
  151. package/lib/cli/index.d.ts +2 -0
  152. package/lib/cli/index.js +3 -0
  153. package/lib/cli/index.js.map +1 -0
  154. package/lib/cli/ratchet-cli-handler.d.ts +6 -0
  155. package/lib/cli/ratchet-cli-handler.js +21 -0
  156. package/lib/cli/ratchet-cli-handler.js.map +1 -0
  157. package/lib/cli/run-background-process-from-command-line.d.ts +3 -0
  158. package/lib/cli/run-background-process-from-command-line.js +23 -0
  159. package/lib/cli/run-background-process-from-command-line.js.map +1 -0
  160. package/lib/config/background/background-aws-config.d.ts +7 -0
  161. package/lib/config/background/background-aws-config.js +2 -0
  162. package/lib/config/background/background-aws-config.js.map +1 -0
  163. package/lib/config/background/background-config.d.ts +14 -0
  164. package/lib/config/background/background-config.js +2 -0
  165. package/lib/config/background/background-config.js.map +1 -0
  166. package/lib/config/background/background-error-processor.d.ts +4 -0
  167. package/lib/config/background/background-error-processor.js +2 -0
  168. package/lib/config/background/background-error-processor.js.map +1 -0
  169. package/lib/config/background/background-processor.d.ts +6 -0
  170. package/lib/config/background/background-processor.js +2 -0
  171. package/lib/config/background/background-processor.js.map +1 -0
  172. package/lib/config/background/background-transaction-log.d.ts +8 -0
  173. package/lib/config/background/background-transaction-log.js +2 -0
  174. package/lib/config/background/background-transaction-log.js.map +1 -0
  175. package/lib/config/background/background-transaction-logger.d.ts +5 -0
  176. package/lib/config/background/background-transaction-logger.js +2 -0
  177. package/lib/config/background/background-transaction-logger.js.map +1 -0
  178. package/lib/config/cron/abstract-cron-entry.d.ts +12 -0
  179. package/lib/config/cron/abstract-cron-entry.js +2 -0
  180. package/lib/config/cron/abstract-cron-entry.js.map +1 -0
  181. package/lib/config/cron/cron-background-entry.d.ts +6 -0
  182. package/lib/config/cron/cron-background-entry.js +2 -0
  183. package/lib/config/cron/cron-background-entry.js.map +1 -0
  184. package/lib/config/cron/cron-config.d.ts +6 -0
  185. package/lib/config/cron/cron-config.js +2 -0
  186. package/lib/config/cron/cron-config.js.map +1 -0
  187. package/lib/config/dynamo-db-config.d.ts +5 -0
  188. package/lib/config/dynamo-db-config.js +2 -0
  189. package/lib/config/dynamo-db-config.js.map +1 -0
  190. package/lib/config/epsilon-config.d.ts +24 -0
  191. package/lib/config/epsilon-config.js +2 -0
  192. package/lib/config/epsilon-config.js.map +1 -0
  193. package/lib/config/epsilon-lambda-event-handler.d.ts +7 -0
  194. package/lib/config/epsilon-lambda-event-handler.js +2 -0
  195. package/lib/config/epsilon-lambda-event-handler.js.map +1 -0
  196. package/lib/config/epsilon-logger-config.d.ts +13 -0
  197. package/lib/config/epsilon-logger-config.js +2 -0
  198. package/lib/config/epsilon-logger-config.js.map +1 -0
  199. package/lib/config/generic-aws-event-handler-function.d.ts +1 -0
  200. package/lib/config/generic-aws-event-handler-function.js +2 -0
  201. package/lib/config/generic-aws-event-handler-function.js.map +1 -0
  202. package/lib/config/http/authorizer-function.d.ts +4 -0
  203. package/lib/config/http/authorizer-function.js +2 -0
  204. package/lib/config/http/authorizer-function.js.map +1 -0
  205. package/lib/config/http/epsilon-authorization-context.d.ts +5 -0
  206. package/lib/config/http/epsilon-authorization-context.js +2 -0
  207. package/lib/config/http/epsilon-authorization-context.js.map +1 -0
  208. package/lib/config/http/extended-api-gateway-event.d.ts +7 -0
  209. package/lib/config/http/extended-api-gateway-event.js +2 -0
  210. package/lib/config/http/extended-api-gateway-event.js.map +1 -0
  211. package/lib/config/http/filter-chain-context.d.ts +14 -0
  212. package/lib/config/http/filter-chain-context.js +2 -0
  213. package/lib/config/http/filter-chain-context.js.map +1 -0
  214. package/lib/config/http/filter-function.d.ts +2 -0
  215. package/lib/config/http/filter-function.js +2 -0
  216. package/lib/config/http/filter-function.js.map +1 -0
  217. package/lib/config/http/handler-function.d.ts +3 -0
  218. package/lib/config/http/handler-function.js +2 -0
  219. package/lib/config/http/handler-function.js.map +1 -0
  220. package/lib/config/http/http-config.d.ts +15 -0
  221. package/lib/config/http/http-config.js +2 -0
  222. package/lib/config/http/http-config.js.map +1 -0
  223. package/lib/config/http/http-processing-config.d.ts +11 -0
  224. package/lib/config/http/http-processing-config.js +2 -0
  225. package/lib/config/http/http-processing-config.js.map +1 -0
  226. package/lib/config/http/mapped-http-processing-config.d.ts +7 -0
  227. package/lib/config/http/mapped-http-processing-config.js +2 -0
  228. package/lib/config/http/mapped-http-processing-config.js.map +1 -0
  229. package/lib/config/http/null-returned-object-handling.d.ts +6 -0
  230. package/lib/config/http/null-returned-object-handling.js +6 -0
  231. package/lib/config/http/null-returned-object-handling.js.map +1 -0
  232. package/lib/config/index.d.ts +35 -0
  233. package/lib/config/index.js +36 -0
  234. package/lib/config/index.js.map +1 -0
  235. package/lib/config/inter-api/inter-api-aws-config.d.ts +5 -0
  236. package/lib/config/inter-api/inter-api-aws-config.js +2 -0
  237. package/lib/config/inter-api/inter-api-aws-config.js.map +1 -0
  238. package/lib/config/inter-api/inter-api-config.d.ts +6 -0
  239. package/lib/config/inter-api/inter-api-config.js +2 -0
  240. package/lib/config/inter-api/inter-api-config.js.map +1 -0
  241. package/lib/config/inter-api/inter-api-process-mapping.d.ts +6 -0
  242. package/lib/config/inter-api/inter-api-process-mapping.js +2 -0
  243. package/lib/config/inter-api/inter-api-process-mapping.js.map +1 -0
  244. package/lib/config/logging-trace-id-generator.d.ts +2 -0
  245. package/lib/config/logging-trace-id-generator.js +2 -0
  246. package/lib/config/logging-trace-id-generator.js.map +1 -0
  247. package/lib/config/no-handlers-found-error.d.ts +3 -0
  248. package/lib/config/no-handlers-found-error.js +7 -0
  249. package/lib/config/no-handlers-found-error.js.map +1 -0
  250. package/lib/config/open-api/open-api-document-components.d.ts +4 -0
  251. package/lib/config/open-api/open-api-document-components.js +2 -0
  252. package/lib/config/open-api/open-api-document-components.js.map +1 -0
  253. package/lib/config/open-api/open-api-document-path.d.ts +2 -0
  254. package/lib/config/open-api/open-api-document-path.js +2 -0
  255. package/lib/config/open-api/open-api-document-path.js.map +1 -0
  256. package/lib/config/open-api/open-api-document.d.ts +6 -0
  257. package/lib/config/open-api/open-api-document.js +2 -0
  258. package/lib/config/open-api/open-api-document.js.map +1 -0
  259. package/lib/config/s3-config.d.ts +6 -0
  260. package/lib/config/s3-config.js +2 -0
  261. package/lib/config/s3-config.js.map +1 -0
  262. package/lib/config/sns-config.d.ts +5 -0
  263. package/lib/config/sns-config.js +2 -0
  264. package/lib/config/sns-config.js.map +1 -0
  265. package/lib/config/sqs-config.d.ts +5 -0
  266. package/lib/config/sqs-config.js +2 -0
  267. package/lib/config/sqs-config.js.map +1 -0
  268. package/lib/epsilon-build-properties.d.ts +9 -0
  269. package/lib/epsilon-build-properties.js +25 -0
  270. package/lib/epsilon-build-properties.js.map +1 -0
  271. package/lib/epsilon-constants.d.ts +16 -0
  272. package/lib/epsilon-constants.js +47 -0
  273. package/lib/epsilon-constants.js.map +1 -0
  274. package/lib/epsilon-global-handler.d.ts +20 -0
  275. package/lib/epsilon-global-handler.js +177 -0
  276. package/lib/epsilon-global-handler.js.map +1 -0
  277. package/lib/epsilon-instance.d.ts +14 -0
  278. package/lib/epsilon-instance.js +2 -0
  279. package/lib/epsilon-instance.js.map +1 -0
  280. package/lib/epsilon-logging-extension-processor.d.ts +6 -0
  281. package/lib/epsilon-logging-extension-processor.js +16 -0
  282. package/lib/epsilon-logging-extension-processor.js.map +1 -0
  283. package/lib/http/auth/api-gateway-adapter-authentication-handler.d.ts +8 -0
  284. package/lib/http/auth/api-gateway-adapter-authentication-handler.js +73 -0
  285. package/lib/http/auth/api-gateway-adapter-authentication-handler.js.map +1 -0
  286. package/lib/http/auth/auth0-web-token-manipulator.d.ts +13 -0
  287. package/lib/http/auth/auth0-web-token-manipulator.js +62 -0
  288. package/lib/http/auth/auth0-web-token-manipulator.js.map +1 -0
  289. package/lib/http/auth/basic-auth-token.d.ts +4 -0
  290. package/lib/http/auth/basic-auth-token.js +2 -0
  291. package/lib/http/auth/basic-auth-token.js.map +1 -0
  292. package/lib/http/auth/google-web-token-manipulator.d.ts +14 -0
  293. package/lib/http/auth/google-web-token-manipulator.js +71 -0
  294. package/lib/http/auth/google-web-token-manipulator.js.map +1 -0
  295. package/lib/http/auth/jwt-ratchet-local-web-token-manipulator.d.ts +11 -0
  296. package/lib/http/auth/jwt-ratchet-local-web-token-manipulator.js +27 -0
  297. package/lib/http/auth/jwt-ratchet-local-web-token-manipulator.js.map +1 -0
  298. package/lib/http/auth/local-web-token-manipulator.d.ts +19 -0
  299. package/lib/http/auth/local-web-token-manipulator.js +83 -0
  300. package/lib/http/auth/local-web-token-manipulator.js.map +1 -0
  301. package/lib/http/auth/web-token-manipulator.d.ts +4 -0
  302. package/lib/http/auth/web-token-manipulator.js +2 -0
  303. package/lib/http/auth/web-token-manipulator.js.map +1 -0
  304. package/lib/http/error/bad-gateway.d.ts +5 -0
  305. package/lib/http/error/bad-gateway.js +10 -0
  306. package/lib/http/error/bad-gateway.js.map +1 -0
  307. package/lib/http/error/bad-request-error.d.ts +5 -0
  308. package/lib/http/error/bad-request-error.js +10 -0
  309. package/lib/http/error/bad-request-error.js.map +1 -0
  310. package/lib/http/error/conflict-error.d.ts +5 -0
  311. package/lib/http/error/conflict-error.js +10 -0
  312. package/lib/http/error/conflict-error.js.map +1 -0
  313. package/lib/http/error/forbidden-error.d.ts +5 -0
  314. package/lib/http/error/forbidden-error.js +10 -0
  315. package/lib/http/error/forbidden-error.js.map +1 -0
  316. package/lib/http/error/gateway-timeout.d.ts +5 -0
  317. package/lib/http/error/gateway-timeout.js +10 -0
  318. package/lib/http/error/gateway-timeout.js.map +1 -0
  319. package/lib/http/error/method-not-allowed-error.d.ts +5 -0
  320. package/lib/http/error/method-not-allowed-error.js +10 -0
  321. package/lib/http/error/method-not-allowed-error.js.map +1 -0
  322. package/lib/http/error/misconfigured-error.d.ts +5 -0
  323. package/lib/http/error/misconfigured-error.js +10 -0
  324. package/lib/http/error/misconfigured-error.js.map +1 -0
  325. package/lib/http/error/not-found-error.d.ts +5 -0
  326. package/lib/http/error/not-found-error.js +10 -0
  327. package/lib/http/error/not-found-error.js.map +1 -0
  328. package/lib/http/error/not-implemented.d.ts +5 -0
  329. package/lib/http/error/not-implemented.js +10 -0
  330. package/lib/http/error/not-implemented.js.map +1 -0
  331. package/lib/http/error/request-timeout-error.d.ts +5 -0
  332. package/lib/http/error/request-timeout-error.js +10 -0
  333. package/lib/http/error/request-timeout-error.js.map +1 -0
  334. package/lib/http/error/service-unavailable.d.ts +5 -0
  335. package/lib/http/error/service-unavailable.js +10 -0
  336. package/lib/http/error/service-unavailable.js.map +1 -0
  337. package/lib/http/error/too-many-requests-error.d.ts +5 -0
  338. package/lib/http/error/too-many-requests-error.js +10 -0
  339. package/lib/http/error/too-many-requests-error.js.map +1 -0
  340. package/lib/http/error/unauthorized-error.d.ts +5 -0
  341. package/lib/http/error/unauthorized-error.js +10 -0
  342. package/lib/http/error/unauthorized-error.js.map +1 -0
  343. package/lib/http/event-util.d.ts +27 -0
  344. package/lib/http/event-util.js +209 -0
  345. package/lib/http/event-util.js.map +1 -0
  346. package/lib/http/index.d.ts +29 -0
  347. package/lib/http/index.js +30 -0
  348. package/lib/http/index.js.map +1 -0
  349. package/lib/http/response-util.d.ts +10 -0
  350. package/lib/http/response-util.js +142 -0
  351. package/lib/http/response-util.js.map +1 -0
  352. package/lib/http/route/epsilon-router.d.ts +8 -0
  353. package/lib/http/route/epsilon-router.js +2 -0
  354. package/lib/http/route/epsilon-router.js.map +1 -0
  355. package/lib/http/route/extended-auth-response-context.d.ts +6 -0
  356. package/lib/http/route/extended-auth-response-context.js +2 -0
  357. package/lib/http/route/extended-auth-response-context.js.map +1 -0
  358. package/lib/http/route/route-mapping.d.ts +12 -0
  359. package/lib/http/route/route-mapping.js +2 -0
  360. package/lib/http/route/route-mapping.js.map +1 -0
  361. package/lib/http/route/route-validator-config.d.ts +5 -0
  362. package/lib/http/route/route-validator-config.js +2 -0
  363. package/lib/http/route/route-validator-config.js.map +1 -0
  364. package/lib/http/route/router-util.d.ts +23 -0
  365. package/lib/http/route/router-util.js +234 -0
  366. package/lib/http/route/router-util.js.map +1 -0
  367. package/lib/http/web-handler.d.ts +23 -0
  368. package/lib/http/web-handler.js +118 -0
  369. package/lib/http/web-handler.js.map +1 -0
  370. package/lib/http/web-v2-handler.d.ts +10 -0
  371. package/lib/http/web-v2-handler.js +23 -0
  372. package/lib/http/web-v2-handler.js.map +1 -0
  373. package/lib/inter-api/index.d.ts +2 -0
  374. package/lib/inter-api/index.js +3 -0
  375. package/lib/inter-api/index.js.map +1 -0
  376. package/lib/inter-api/inter-api-entry.d.ts +7 -0
  377. package/lib/inter-api/inter-api-entry.js +2 -0
  378. package/lib/inter-api/inter-api-entry.js.map +1 -0
  379. package/lib/inter-api/inter-api-util.d.ts +10 -0
  380. package/lib/inter-api/inter-api-util.js +60 -0
  381. package/lib/inter-api/inter-api-util.js.map +1 -0
  382. package/lib/inter-api-manager.d.ts +14 -0
  383. package/lib/inter-api-manager.js +66 -0
  384. package/lib/inter-api-manager.js.map +1 -0
  385. package/lib/lambda-event-handler/cron-epsilon-lambda-event-handler.d.ts +14 -0
  386. package/lib/lambda-event-handler/cron-epsilon-lambda-event-handler.js +74 -0
  387. package/lib/lambda-event-handler/cron-epsilon-lambda-event-handler.js.map +1 -0
  388. package/lib/lambda-event-handler/dynamo-epsilon-lambda-event-handler.d.ts +11 -0
  389. package/lib/lambda-event-handler/dynamo-epsilon-lambda-event-handler.js +36 -0
  390. package/lib/lambda-event-handler/dynamo-epsilon-lambda-event-handler.js.map +1 -0
  391. package/lib/lambda-event-handler/generic-sns-epsilon-lambda-event-handler.d.ts +10 -0
  392. package/lib/lambda-event-handler/generic-sns-epsilon-lambda-event-handler.js +32 -0
  393. package/lib/lambda-event-handler/generic-sns-epsilon-lambda-event-handler.js.map +1 -0
  394. package/lib/lambda-event-handler/generic-sqs-epsilon-lambda-event-handler.d.ts +11 -0
  395. package/lib/lambda-event-handler/generic-sqs-epsilon-lambda-event-handler.js +36 -0
  396. package/lib/lambda-event-handler/generic-sqs-epsilon-lambda-event-handler.js.map +1 -0
  397. package/lib/lambda-event-handler/index.d.ts +6 -0
  398. package/lib/lambda-event-handler/index.js +7 -0
  399. package/lib/lambda-event-handler/index.js.map +1 -0
  400. package/lib/lambda-event-handler/inter-api-epsilon-lambda-event-handler.d.ts +10 -0
  401. package/lib/lambda-event-handler/inter-api-epsilon-lambda-event-handler.js +24 -0
  402. package/lib/lambda-event-handler/inter-api-epsilon-lambda-event-handler.js.map +1 -0
  403. package/lib/lambda-event-handler/s3-epsilon-lambda-event-handler.d.ts +10 -0
  404. package/lib/lambda-event-handler/s3-epsilon-lambda-event-handler.js +42 -0
  405. package/lib/lambda-event-handler/s3-epsilon-lambda-event-handler.js.map +1 -0
  406. package/lib/local-container-server.d.ts +11 -0
  407. package/lib/local-container-server.js +85 -0
  408. package/lib/local-container-server.js.map +1 -0
  409. package/lib/local-server-cert.d.ts +5 -0
  410. package/lib/local-server-cert.js +68 -0
  411. package/lib/local-server-cert.js.map +1 -0
  412. package/lib/local-server.d.ts +19 -0
  413. package/lib/local-server.js +203 -0
  414. package/lib/local-server.js.map +1 -0
  415. package/lib/open-api-util/index.d.ts +3 -0
  416. package/lib/open-api-util/index.js +4 -0
  417. package/lib/open-api-util/index.js.map +1 -0
  418. package/lib/open-api-util/open-api-doc-modifications.d.ts +8 -0
  419. package/lib/open-api-util/open-api-doc-modifications.js +2 -0
  420. package/lib/open-api-util/open-api-doc-modifications.js.map +1 -0
  421. package/lib/open-api-util/open-api-doc-modifier.d.ts +7 -0
  422. package/lib/open-api-util/open-api-doc-modifier.js +80 -0
  423. package/lib/open-api-util/open-api-doc-modifier.js.map +1 -0
  424. package/lib/open-api-util/yaml-combiner.d.ts +3 -0
  425. package/lib/open-api-util/yaml-combiner.js +28 -0
  426. package/lib/open-api-util/yaml-combiner.js.map +1 -0
  427. package/lib/sample/index.d.ts +3 -0
  428. package/lib/sample/index.js +4 -0
  429. package/lib/sample/index.js.map +1 -0
  430. package/lib/sample/sample-server-components.d.ts +10 -0
  431. package/lib/sample/sample-server-components.js +181 -0
  432. package/lib/sample/sample-server-components.js.map +1 -0
  433. package/lib/sample/sample-server-static-files.d.ts +5 -0
  434. package/lib/sample/sample-server-static-files.js +609 -0
  435. package/lib/sample/sample-server-static-files.js.map +1 -0
  436. package/lib/sample/test-error-server.d.ts +10 -0
  437. package/lib/sample/test-error-server.js +45 -0
  438. package/lib/sample/test-error-server.js.map +1 -0
  439. package/lib/util/aws-util.d.ts +8 -0
  440. package/lib/util/aws-util.js +66 -0
  441. package/lib/util/aws-util.js.map +1 -0
  442. package/lib/util/context-util.d.ts +34 -0
  443. package/lib/util/context-util.js +104 -0
  444. package/lib/util/context-util.js.map +1 -0
  445. package/lib/util/cron-util.d.ts +11 -0
  446. package/lib/util/cron-util.js +69 -0
  447. package/lib/util/cron-util.js.map +1 -0
  448. package/lib/util/epsilon-config-parser.d.ts +14 -0
  449. package/lib/util/epsilon-config-parser.js +66 -0
  450. package/lib/util/epsilon-config-parser.js.map +1 -0
  451. package/lib/util/index.d.ts +4 -0
  452. package/lib/util/index.js +5 -0
  453. package/lib/util/index.js.map +1 -0
  454. package/package.json +25 -27
  455. package/lib/index.mjs +0 -2
  456. package/lib/types.d.ts +0 -1202
@@ -0,0 +1,7 @@
1
+ export interface BackgroundAwsConfig {
2
+ queueUrl: string;
3
+ notificationArn: string;
4
+ sendNotificationOnBackgroundError?: boolean;
5
+ sendNotificationOnBackgroundValidationFailure?: boolean;
6
+ backgroundProcessFailureSnsArn?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-aws-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-aws-config.js","sourceRoot":"","sources":["../../../src/config/background/background-aws-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { BackgroundProcessor } from './background-processor.js';
2
+ import { BackgroundErrorProcessor } from './background-error-processor.js';
3
+ import { BackgroundExecutionListener } from '../../background/background-execution-listener.js';
4
+ import { BackgroundTransactionLogger } from './background-transaction-logger.js';
5
+ export interface BackgroundConfig {
6
+ transactionLogger?: BackgroundTransactionLogger;
7
+ errorProcessor?: BackgroundErrorProcessor;
8
+ httpStatusEndpoint?: string;
9
+ httpMetaEndpoint?: string;
10
+ httpSubmissionPath: string;
11
+ implyTypeFromPathSuffix: boolean;
12
+ processors: BackgroundProcessor<any>[];
13
+ executionListeners?: BackgroundExecutionListener<any>[];
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-config.js","sourceRoot":"","sources":["../../../src/config/background/background-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { InternalBackgroundEntry } from '../../background/internal-background-entry.js';
2
+ export interface BackgroundErrorProcessor {
3
+ handleError(submission: InternalBackgroundEntry<any>, error: Error): Promise<void>;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-error-processor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-error-processor.js","sourceRoot":"","sources":["../../../src/config/background/background-error-processor.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { BackgroundManagerLike } from '../../background/manager/background-manager-like.js';
2
+ export interface BackgroundProcessor<T> {
3
+ typeName: string;
4
+ dataSchemaName?: string;
5
+ handleEvent(data: T, mgr: BackgroundManagerLike): Promise<any>;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-processor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-processor.js","sourceRoot":"","sources":["../../../src/config/background/background-processor.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { InternalBackgroundEntry } from '../../background/internal-background-entry.js';
2
+ export interface BackgroundTransactionLog {
3
+ request: InternalBackgroundEntry<any>;
4
+ running: boolean;
5
+ runtimeMS?: number;
6
+ result?: any;
7
+ error?: any;
8
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-transaction-log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-transaction-log.js","sourceRoot":"","sources":["../../../src/config/background/background-transaction-log.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { BackgroundTransactionLog } from './background-transaction-log.js';
2
+ export interface BackgroundTransactionLogger {
3
+ logTransaction(txLog: BackgroundTransactionLog): Promise<void>;
4
+ readTransactionLog(txGuid: string): Promise<BackgroundTransactionLog>;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=background-transaction-logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-transaction-logger.js","sourceRoot":"","sources":["../../../src/config/background/background-transaction-logger.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ export interface AbstractCronEntry {
2
+ name?: string;
3
+ eventFilter?: RegExp;
4
+ minuteFilter?: number[];
5
+ hourFilter?: number[];
6
+ dayOfWeekFilter?: number[];
7
+ dayOfMonthFilter?: number[];
8
+ monthOfYearFilter?: number[];
9
+ contextMatchFilter?: RegExp;
10
+ contextNoMatchFilter?: RegExp;
11
+ overrideTimezone?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=abstract-cron-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abstract-cron-entry.js","sourceRoot":"","sources":["../../../src/config/cron/abstract-cron-entry.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { AbstractCronEntry } from './abstract-cron-entry.js';
2
+ export interface CronBackgroundEntry extends AbstractCronEntry {
3
+ backgroundTaskType: string;
4
+ fireImmediate: boolean;
5
+ data?: any;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cron-background-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron-background-entry.js","sourceRoot":"","sources":["../../../src/config/cron/cron-background-entry.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { CronBackgroundEntry } from './cron-background-entry.js';
2
+ export interface CronConfig {
3
+ timezone: string;
4
+ context: string;
5
+ entries: CronBackgroundEntry[];
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cron-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron-config.js","sourceRoot":"","sources":["../../../src/config/cron/cron-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { GenericAwsEventHandlerFunction } from './generic-aws-event-handler-function.js';
2
+ import { DynamoDBStreamEvent } from 'aws-lambda';
3
+ export interface DynamoDbConfig {
4
+ handlers: Map<string, GenericAwsEventHandlerFunction<DynamoDBStreamEvent>>;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dynamo-db-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-db-config.js","sourceRoot":"","sources":["../../src/config/dynamo-db-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import { HttpConfig } from './http/http-config.js';
2
+ import { BackgroundConfig } from './background/background-config.js';
3
+ import { CronConfig } from './cron/cron-config.js';
4
+ import { DynamoDbConfig } from './dynamo-db-config.js';
5
+ import { S3Config } from './s3-config.js';
6
+ import { SnsConfig } from './sns-config.js';
7
+ import { EpsilonLoggerConfig } from './epsilon-logger-config.js';
8
+ import { InterApiConfig } from './inter-api/inter-api-config.js';
9
+ import { SqsConfig } from './sqs-config.js';
10
+ export interface EpsilonConfig {
11
+ label?: string;
12
+ disableLastResortTimeout?: boolean;
13
+ throwErrorIfNoSuitableEventHandlers?: boolean;
14
+ openApiYamlString: string;
15
+ httpConfig?: HttpConfig;
16
+ backgroundConfig?: BackgroundConfig;
17
+ interApiConfig?: InterApiConfig;
18
+ cron?: CronConfig;
19
+ dynamoDb?: DynamoDbConfig;
20
+ s3?: S3Config;
21
+ sns?: SnsConfig;
22
+ sqs?: SqsConfig;
23
+ loggerConfig?: EpsilonLoggerConfig;
24
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=epsilon-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epsilon-config.js","sourceRoot":"","sources":["../../src/config/epsilon-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { Context, ProxyResult } from 'aws-lambda';
2
+ export interface EpsilonLambdaEventHandler<T> {
3
+ handlesEvent(evt: any): boolean;
4
+ extractLabel(evt: T, context: Context): string;
5
+ processEvent(evt: T, context: Context): Promise<ProxyResult>;
6
+ processUncaughtError?(evt: T, context: Context, err: Error): Promise<ProxyResult>;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=epsilon-lambda-event-handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epsilon-lambda-event-handler.js","sourceRoot":"","sources":["../../src/config/epsilon-lambda-event-handler.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { LoggerLevelName } from '@bitblit/ratchet-common/logger/logger-level-name';
2
+ import { LogMessageFormatType } from '@bitblit/ratchet-common/logger/log-message-format-type';
3
+ import { LoggingTraceIdGenerator } from './logging-trace-id-generator.js';
4
+ export interface EpsilonLoggerConfig {
5
+ envParamLogLevelName?: string;
6
+ queryParamLogLevelName?: string;
7
+ queryParamTracePrefixName?: string;
8
+ traceIdGenerator?: LoggingTraceIdGenerator;
9
+ logMessageFormatType?: LogMessageFormatType;
10
+ traceHeaderName?: string;
11
+ traceDepthHeaderName?: string;
12
+ epsilonStartEndMessageLogLevel?: LoggerLevelName;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=epsilon-logger-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epsilon-logger-config.js","sourceRoot":"","sources":["../../src/config/epsilon-logger-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type GenericAwsEventHandlerFunction<T> = (event: T) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generic-aws-event-handler-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generic-aws-event-handler-function.js","sourceRoot":"","sources":["../../src/config/generic-aws-event-handler-function.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { RouteMapping } from '../../http/route/route-mapping.js';
2
+ import { EpsilonAuthorizationContext } from './epsilon-authorization-context.js';
3
+ import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event.js';
4
+ export type AuthorizerFunction = (authData: EpsilonAuthorizationContext<any>, event?: ExtendedAPIGatewayEvent, route?: RouteMapping) => Promise<boolean>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=authorizer-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizer-function.js","sourceRoot":"","sources":["../../../src/config/http/authorizer-function.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export interface EpsilonAuthorizationContext<T> {
2
+ raw: string;
3
+ auth: T;
4
+ error: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=epsilon-authorization-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epsilon-authorization-context.js","sourceRoot":"","sources":["../../../src/config/http/epsilon-authorization-context.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { APIGatewayEvent } from 'aws-lambda';
2
+ import { EpsilonAuthorizationContext } from './epsilon-authorization-context.js';
3
+ export interface ExtendedAPIGatewayEvent extends APIGatewayEvent {
4
+ parsedBody: any;
5
+ authorization: EpsilonAuthorizationContext<any>;
6
+ convertedFromV2Event: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extended-api-gateway-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extended-api-gateway-event.js","sourceRoot":"","sources":["../../../src/config/http/extended-api-gateway-event.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { Context, ProxyResult } from 'aws-lambda';
2
+ import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event.js';
3
+ import { RouteAndParse } from '../../http/web-handler.js';
4
+ import { ModelValidator } from '@bitblit/ratchet-misc/model-validator/model-validator';
5
+ import { AuthorizerFunction } from './authorizer-function.js';
6
+ export interface FilterChainContext {
7
+ event: ExtendedAPIGatewayEvent;
8
+ context: Context;
9
+ rawResult: any;
10
+ result: ProxyResult;
11
+ routeAndParse: RouteAndParse;
12
+ modelValidator: ModelValidator;
13
+ authenticators: Map<string, AuthorizerFunction>;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=filter-chain-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-chain-context.js","sourceRoot":"","sources":["../../../src/config/http/filter-chain-context.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { FilterChainContext } from './filter-chain-context.js';
2
+ export type FilterFunction = (fCtx: FilterChainContext) => Promise<boolean>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=filter-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-function.js","sourceRoot":"","sources":["../../../src/config/http/filter-function.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { Context } from 'aws-lambda';
2
+ import { ExtendedAPIGatewayEvent } from './extended-api-gateway-event.js';
3
+ export type HandlerFunction<T> = (event: ExtendedAPIGatewayEvent, context?: Context) => Promise<T>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=handler-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler-function.js","sourceRoot":"","sources":["../../../src/config/http/handler-function.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { HandlerFunction } from './handler-function.js';
2
+ import { AuthorizerFunction } from './authorizer-function.js';
3
+ import { HttpProcessingConfig } from './http-processing-config.js';
4
+ import { ModelValidator } from '@bitblit/ratchet-misc/model-validator/model-validator';
5
+ import { MappedHttpProcessingConfig } from './mapped-http-processing-config.js';
6
+ export interface HttpConfig {
7
+ defaultMetaHandling: HttpProcessingConfig;
8
+ overrideMetaHandling?: MappedHttpProcessingConfig[];
9
+ handlers: Map<string, HandlerFunction<any>>;
10
+ authorizers?: Map<string, AuthorizerFunction>;
11
+ staticContentRoutes?: Record<string, string>;
12
+ prefixesToStripBeforeRouteMatch?: string[];
13
+ overrideModelValidator?: ModelValidator;
14
+ filterHandledRouteMatches?: string[];
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=http-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-config.js","sourceRoot":"","sources":["../../../src/config/http/http-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { NullReturnedObjectHandling } from './null-returned-object-handling.js';
2
+ import { FilterFunction } from './filter-function.js';
3
+ export interface HttpProcessingConfig {
4
+ configName?: string;
5
+ timeoutMS: number;
6
+ overrideAuthorizerName?: string;
7
+ preFilters?: FilterFunction[];
8
+ postFilters?: FilterFunction[];
9
+ errorFilters?: FilterFunction[];
10
+ nullReturnedObjectHandling?: NullReturnedObjectHandling;
11
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=http-processing-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-processing-config.js","sourceRoot":"","sources":["../../../src/config/http/http-processing-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { HttpProcessingConfig } from './http-processing-config.js';
2
+ export interface MappedHttpProcessingConfig {
3
+ methods?: string[];
4
+ pathRegex: string;
5
+ invertPathMatching?: boolean;
6
+ config: HttpProcessingConfig;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mapped-http-processing-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapped-http-processing-config.js","sourceRoot":"","sources":["../../../src/config/http/mapped-http-processing-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export declare const NullReturnedObjectHandling: {
2
+ Error: string;
3
+ ConvertToEmptyString: string;
4
+ Return404NotFoundResponse: string;
5
+ };
6
+ export type NullReturnedObjectHandling = (typeof NullReturnedObjectHandling)[keyof typeof NullReturnedObjectHandling];
@@ -0,0 +1,6 @@
1
+ export const NullReturnedObjectHandling = {
2
+ Error: 'Error',
3
+ ConvertToEmptyString: 'ConvertToEmptyString',
4
+ Return404NotFoundResponse: 'Return404NotFoundResponse',
5
+ };
6
+ //# sourceMappingURL=null-returned-object-handling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"null-returned-object-handling.js","sourceRoot":"","sources":["../../../src/config/http/null-returned-object-handling.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,KAAK,EAAE,OAAO;IACd,oBAAoB,EAAE,sBAAsB;IAC5C,yBAAyB,EAAE,2BAA2B;CACvD,CAAC"}
@@ -0,0 +1,35 @@
1
+ export * from './dynamo-db-config.js';
2
+ export * from './epsilon-config.js';
3
+ export * from './epsilon-lambda-event-handler.js';
4
+ export * from './epsilon-logger-config.js';
5
+ export * from './generic-aws-event-handler-function.js';
6
+ export * from './logging-trace-id-generator.js';
7
+ export * from './no-handlers-found-error.js';
8
+ export * from './s3-config.js';
9
+ export * from './sns-config.js';
10
+ export * from './sqs-config.js';
11
+ export * from './background/background-aws-config.js';
12
+ export * from './background/background-config.js';
13
+ export * from './background/background-error-processor.js';
14
+ export * from './background/background-processor.js';
15
+ export * from './background/background-transaction-log.js';
16
+ export * from './background/background-transaction-logger.js';
17
+ export * from './cron/abstract-cron-entry.js';
18
+ export * from './cron/cron-background-entry.js';
19
+ export * from './cron/cron-config.js';
20
+ export * from './http/authorizer-function.js';
21
+ export * from './http/epsilon-authorization-context.js';
22
+ export * from './http/extended-api-gateway-event.js';
23
+ export * from './http/filter-chain-context.js';
24
+ export * from './http/filter-function.js';
25
+ export * from './http/handler-function.js';
26
+ export * from './http/http-config.js';
27
+ export * from './http/http-processing-config.js';
28
+ export * from './http/mapped-http-processing-config.js';
29
+ export * from './http/null-returned-object-handling.js';
30
+ export * from './inter-api/inter-api-aws-config.js';
31
+ export * from './inter-api/inter-api-config.js';
32
+ export * from './inter-api/inter-api-process-mapping.js';
33
+ export * from './open-api/open-api-document-components.js';
34
+ export * from './open-api/open-api-document-path.js';
35
+ export * from './open-api/open-api-document.js';
@@ -0,0 +1,36 @@
1
+ export * from './dynamo-db-config.js';
2
+ export * from './epsilon-config.js';
3
+ export * from './epsilon-lambda-event-handler.js';
4
+ export * from './epsilon-logger-config.js';
5
+ export * from './generic-aws-event-handler-function.js';
6
+ export * from './logging-trace-id-generator.js';
7
+ export * from './no-handlers-found-error.js';
8
+ export * from './s3-config.js';
9
+ export * from './sns-config.js';
10
+ export * from './sqs-config.js';
11
+ export * from './background/background-aws-config.js';
12
+ export * from './background/background-config.js';
13
+ export * from './background/background-error-processor.js';
14
+ export * from './background/background-processor.js';
15
+ export * from './background/background-transaction-log.js';
16
+ export * from './background/background-transaction-logger.js';
17
+ export * from './cron/abstract-cron-entry.js';
18
+ export * from './cron/cron-background-entry.js';
19
+ export * from './cron/cron-config.js';
20
+ export * from './http/authorizer-function.js';
21
+ export * from './http/epsilon-authorization-context.js';
22
+ export * from './http/extended-api-gateway-event.js';
23
+ export * from './http/filter-chain-context.js';
24
+ export * from './http/filter-function.js';
25
+ export * from './http/handler-function.js';
26
+ export * from './http/http-config.js';
27
+ export * from './http/http-processing-config.js';
28
+ export * from './http/mapped-http-processing-config.js';
29
+ export * from './http/null-returned-object-handling.js';
30
+ export * from './inter-api/inter-api-aws-config.js';
31
+ export * from './inter-api/inter-api-config.js';
32
+ export * from './inter-api/inter-api-process-mapping.js';
33
+ export * from './open-api/open-api-document-components.js';
34
+ export * from './open-api/open-api-document-path.js';
35
+ export * from './open-api/open-api-document.js';
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface InterApiAwsConfig {
2
+ localMode: boolean;
3
+ source: string;
4
+ snsArn: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=inter-api-aws-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inter-api-aws-config.js","sourceRoot":"","sources":["../../../src/config/inter-api/inter-api-aws-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { InterApiAwsConfig } from './inter-api-aws-config.js';
2
+ import { InterApiProcessMapping } from './inter-api-process-mapping.js';
3
+ export interface InterApiConfig {
4
+ aws: InterApiAwsConfig;
5
+ processMappings: InterApiProcessMapping[];
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=inter-api-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inter-api-config.js","sourceRoot":"","sources":["../../../src/config/inter-api/inter-api-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface InterApiProcessMapping {
2
+ sourceRegex: string;
3
+ typeRegex: string;
4
+ disabled: boolean;
5
+ backgroundProcessTypes: string[];
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=inter-api-process-mapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inter-api-process-mapping.js","sourceRoot":"","sources":["../../../src/config/inter-api/inter-api-process-mapping.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Context } from 'aws-lambda';
2
+ export type LoggingTraceIdGenerator = (event?: any, context?: Context) => string;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=logging-trace-id-generator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logging-trace-id-generator.js","sourceRoot":"","sources":["../../src/config/logging-trace-id-generator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare class NoHandlersFoundError extends Error {
2
+ constructor(msg?: string);
3
+ }
@@ -0,0 +1,7 @@
1
+ export class NoHandlersFoundError extends Error {
2
+ constructor(msg) {
3
+ super(msg ?? 'No handlers found');
4
+ Object.setPrototypeOf(this, NoHandlersFoundError.prototype);
5
+ }
6
+ }
7
+ //# sourceMappingURL=no-handlers-found-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-handlers-found-error.js","sourceRoot":"","sources":["../../src/config/no-handlers-found-error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,oBAAqB,SAAQ,KAAK;IAC7C,YAAY,GAAY;QACtB,KAAK,CAAC,GAAG,IAAI,mBAAmB,CAAC,CAAC;QAClC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC9D,CAAC;CACF"}
@@ -0,0 +1,4 @@
1
+ export interface OpenApiDocumentComponents {
2
+ securitySchemes: any[];
3
+ schemas: any[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=open-api-document-components.js.map