@depup/nestjs__common 11.1.16-depup.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 (378) hide show
  1. package/LICENSE +22 -0
  2. package/PACKAGE.md +1 -0
  3. package/Readme.md +31 -0
  4. package/changes.json +10 -0
  5. package/constants.d.ts +42 -0
  6. package/constants.js +44 -0
  7. package/decorators/core/apply-decorators.d.ts +10 -0
  8. package/decorators/core/apply-decorators.js +23 -0
  9. package/decorators/core/bind.decorator.d.ts +11 -0
  10. package/decorators/core/bind.decorator.js +19 -0
  11. package/decorators/core/catch.decorator.d.ts +19 -0
  12. package/decorators/core/catch.decorator.js +27 -0
  13. package/decorators/core/controller.decorator.d.ts +102 -0
  14. package/decorators/core/controller.decorator.js +61 -0
  15. package/decorators/core/dependencies.decorator.d.ts +7 -0
  16. package/decorators/core/dependencies.decorator.js +23 -0
  17. package/decorators/core/exception-filters.decorator.d.ts +23 -0
  18. package/decorators/core/exception-filters.decorator.js +43 -0
  19. package/decorators/core/index.d.ts +14 -0
  20. package/decorators/core/index.js +17 -0
  21. package/decorators/core/inject.decorator.d.ts +31 -0
  22. package/decorators/core/inject.decorator.js +53 -0
  23. package/decorators/core/injectable.decorator.d.ts +43 -0
  24. package/decorators/core/injectable.decorator.js +50 -0
  25. package/decorators/core/optional.decorator.d.ts +14 -0
  26. package/decorators/core/optional.decorator.js +29 -0
  27. package/decorators/core/set-metadata.decorator.d.ts +20 -0
  28. package/decorators/core/set-metadata.decorator.js +32 -0
  29. package/decorators/core/use-guards.decorator.d.ts +23 -0
  30. package/decorators/core/use-guards.decorator.js +41 -0
  31. package/decorators/core/use-interceptors.decorator.d.ts +23 -0
  32. package/decorators/core/use-interceptors.decorator.js +42 -0
  33. package/decorators/core/use-pipes.decorator.d.ts +23 -0
  34. package/decorators/core/use-pipes.decorator.js +40 -0
  35. package/decorators/core/version.decorator.d.ts +7 -0
  36. package/decorators/core/version.decorator.js +19 -0
  37. package/decorators/http/create-route-param-metadata.decorator.d.ts +13 -0
  38. package/decorators/http/create-route-param-metadata.decorator.js +32 -0
  39. package/decorators/http/header.decorator.d.ts +15 -0
  40. package/decorators/http/header.decorator.js +25 -0
  41. package/decorators/http/http-code.decorator.d.ts +11 -0
  42. package/decorators/http/http-code.decorator.js +20 -0
  43. package/decorators/http/index.d.ts +8 -0
  44. package/decorators/http/index.js +11 -0
  45. package/decorators/http/redirect.decorator.d.ts +6 -0
  46. package/decorators/http/redirect.decorator.js +15 -0
  47. package/decorators/http/render.decorator.d.ts +12 -0
  48. package/decorators/http/render.decorator.js +21 -0
  49. package/decorators/http/request-mapping.decorator.d.ts +134 -0
  50. package/decorators/http/request-mapping.decorator.js +154 -0
  51. package/decorators/http/route-params.decorator.d.ts +445 -0
  52. package/decorators/http/route-params.decorator.js +265 -0
  53. package/decorators/http/sse.decorator.d.ts +10 -0
  54. package/decorators/http/sse.decorator.js +21 -0
  55. package/decorators/index.d.ts +3 -0
  56. package/decorators/index.js +6 -0
  57. package/decorators/modules/global.decorator.d.ts +12 -0
  58. package/decorators/modules/global.decorator.js +20 -0
  59. package/decorators/modules/index.d.ts +2 -0
  60. package/decorators/modules/index.js +5 -0
  61. package/decorators/modules/module.decorator.d.ts +16 -0
  62. package/decorators/modules/module.decorator.js +29 -0
  63. package/enums/http-status.enum.d.ts +60 -0
  64. package/enums/http-status.enum.js +64 -0
  65. package/enums/index.d.ts +4 -0
  66. package/enums/index.js +7 -0
  67. package/enums/request-method.enum.d.ts +18 -0
  68. package/enums/request-method.enum.js +22 -0
  69. package/enums/route-paramtypes.enum.d.ts +16 -0
  70. package/enums/route-paramtypes.enum.js +20 -0
  71. package/enums/shutdown-signal.enum.d.ts +16 -0
  72. package/enums/shutdown-signal.enum.js +20 -0
  73. package/enums/version-type.enum.d.ts +9 -0
  74. package/enums/version-type.enum.js +13 -0
  75. package/exceptions/bad-gateway.exception.d.ts +35 -0
  76. package/exceptions/bad-gateway.exception.js +43 -0
  77. package/exceptions/bad-request.exception.d.ts +35 -0
  78. package/exceptions/bad-request.exception.js +43 -0
  79. package/exceptions/conflict.exception.d.ts +35 -0
  80. package/exceptions/conflict.exception.js +43 -0
  81. package/exceptions/forbidden.exception.d.ts +35 -0
  82. package/exceptions/forbidden.exception.js +43 -0
  83. package/exceptions/gateway-timeout.exception.d.ts +35 -0
  84. package/exceptions/gateway-timeout.exception.js +43 -0
  85. package/exceptions/gone.exception.d.ts +35 -0
  86. package/exceptions/gone.exception.js +43 -0
  87. package/exceptions/http-version-not-supported.exception.d.ts +35 -0
  88. package/exceptions/http-version-not-supported.exception.js +43 -0
  89. package/exceptions/http.exception.d.ts +85 -0
  90. package/exceptions/http.exception.js +133 -0
  91. package/exceptions/im-a-teapot.exception.d.ts +38 -0
  92. package/exceptions/im-a-teapot.exception.js +46 -0
  93. package/exceptions/index.d.ts +23 -0
  94. package/exceptions/index.js +26 -0
  95. package/exceptions/internal-server-error.exception.d.ts +35 -0
  96. package/exceptions/internal-server-error.exception.js +43 -0
  97. package/exceptions/intrinsic.exception.d.ts +8 -0
  98. package/exceptions/intrinsic.exception.js +12 -0
  99. package/exceptions/method-not-allowed.exception.d.ts +35 -0
  100. package/exceptions/method-not-allowed.exception.js +43 -0
  101. package/exceptions/misdirected.exception.d.ts +35 -0
  102. package/exceptions/misdirected.exception.js +43 -0
  103. package/exceptions/not-acceptable.exception.d.ts +35 -0
  104. package/exceptions/not-acceptable.exception.js +43 -0
  105. package/exceptions/not-found.exception.d.ts +35 -0
  106. package/exceptions/not-found.exception.js +43 -0
  107. package/exceptions/not-implemented.exception.d.ts +35 -0
  108. package/exceptions/not-implemented.exception.js +43 -0
  109. package/exceptions/payload-too-large.exception.d.ts +35 -0
  110. package/exceptions/payload-too-large.exception.js +43 -0
  111. package/exceptions/precondition-failed.exception.d.ts +35 -0
  112. package/exceptions/precondition-failed.exception.js +43 -0
  113. package/exceptions/request-timeout.exception.d.ts +35 -0
  114. package/exceptions/request-timeout.exception.js +43 -0
  115. package/exceptions/service-unavailable.exception.d.ts +35 -0
  116. package/exceptions/service-unavailable.exception.js +43 -0
  117. package/exceptions/unauthorized.exception.d.ts +35 -0
  118. package/exceptions/unauthorized.exception.js +43 -0
  119. package/exceptions/unprocessable-entity.exception.d.ts +35 -0
  120. package/exceptions/unprocessable-entity.exception.js +43 -0
  121. package/exceptions/unsupported-media-type.exception.d.ts +35 -0
  122. package/exceptions/unsupported-media-type.exception.js +43 -0
  123. package/file-stream/index.d.ts +1 -0
  124. package/file-stream/index.js +4 -0
  125. package/file-stream/interfaces/index.d.ts +2 -0
  126. package/file-stream/interfaces/index.js +5 -0
  127. package/file-stream/interfaces/streamable-handler-response.interface.d.ts +12 -0
  128. package/file-stream/interfaces/streamable-handler-response.interface.js +2 -0
  129. package/file-stream/interfaces/streamable-options.interface.d.ts +22 -0
  130. package/file-stream/interfaces/streamable-options.interface.js +2 -0
  131. package/file-stream/streamable-file.d.ts +27 -0
  132. package/file-stream/streamable-file.js +68 -0
  133. package/index.d.ts +11 -0
  134. package/index.js +23 -0
  135. package/interfaces/abstract.interface.d.ts +3 -0
  136. package/interfaces/abstract.interface.js +2 -0
  137. package/interfaces/controllers/controller-metadata.interface.d.ts +3 -0
  138. package/interfaces/controllers/controller-metadata.interface.js +2 -0
  139. package/interfaces/controllers/controller.interface.d.ts +1 -0
  140. package/interfaces/controllers/controller.interface.js +2 -0
  141. package/interfaces/controllers/index.d.ts +2 -0
  142. package/interfaces/controllers/index.js +5 -0
  143. package/interfaces/exceptions/exception-filter-metadata.interface.d.ts +6 -0
  144. package/interfaces/exceptions/exception-filter-metadata.interface.js +2 -0
  145. package/interfaces/exceptions/exception-filter.interface.d.ts +18 -0
  146. package/interfaces/exceptions/exception-filter.interface.js +2 -0
  147. package/interfaces/exceptions/index.d.ts +5 -0
  148. package/interfaces/exceptions/index.js +8 -0
  149. package/interfaces/exceptions/rpc-exception-filter-metadata.interface.d.ts +6 -0
  150. package/interfaces/exceptions/rpc-exception-filter-metadata.interface.js +2 -0
  151. package/interfaces/exceptions/rpc-exception-filter.interface.d.ts +19 -0
  152. package/interfaces/exceptions/rpc-exception-filter.interface.js +2 -0
  153. package/interfaces/exceptions/ws-exception-filter.interface.d.ts +18 -0
  154. package/interfaces/exceptions/ws-exception-filter.interface.js +2 -0
  155. package/interfaces/external/class-transform-options.interface.d.ts +65 -0
  156. package/interfaces/external/class-transform-options.interface.js +2 -0
  157. package/interfaces/external/cors-options.interface.d.ts +58 -0
  158. package/interfaces/external/cors-options.interface.js +2 -0
  159. package/interfaces/external/https-options.interface.d.ts +105 -0
  160. package/interfaces/external/https-options.interface.js +2 -0
  161. package/interfaces/external/transformer-package.interface.d.ts +6 -0
  162. package/interfaces/external/transformer-package.interface.js +2 -0
  163. package/interfaces/external/validation-error.interface.d.ts +42 -0
  164. package/interfaces/external/validation-error.interface.js +2 -0
  165. package/interfaces/external/validator-options.interface.d.ts +76 -0
  166. package/interfaces/external/validator-options.interface.js +2 -0
  167. package/interfaces/external/validator-package.interface.d.ts +5 -0
  168. package/interfaces/external/validator-package.interface.js +2 -0
  169. package/interfaces/features/arguments-host.interface.d.ts +88 -0
  170. package/interfaces/features/arguments-host.interface.js +2 -0
  171. package/interfaces/features/can-activate.interface.d.ts +22 -0
  172. package/interfaces/features/can-activate.interface.js +2 -0
  173. package/interfaces/features/custom-route-param-factory.interface.d.ts +5 -0
  174. package/interfaces/features/custom-route-param-factory.interface.js +2 -0
  175. package/interfaces/features/execution-context.interface.d.ts +20 -0
  176. package/interfaces/features/execution-context.interface.js +2 -0
  177. package/interfaces/features/nest-interceptor.interface.d.ts +34 -0
  178. package/interfaces/features/nest-interceptor.interface.js +2 -0
  179. package/interfaces/features/paramtype.interface.d.ts +4 -0
  180. package/interfaces/features/paramtype.interface.js +2 -0
  181. package/interfaces/features/pipe-transform.interface.d.ts +42 -0
  182. package/interfaces/features/pipe-transform.interface.js +2 -0
  183. package/interfaces/global-prefix-options.interface.d.ts +7 -0
  184. package/interfaces/global-prefix-options.interface.js +2 -0
  185. package/interfaces/hooks/before-application-shutdown.interface.d.ts +3 -0
  186. package/interfaces/hooks/before-application-shutdown.interface.js +2 -0
  187. package/interfaces/hooks/index.d.ts +5 -0
  188. package/interfaces/hooks/index.js +8 -0
  189. package/interfaces/hooks/on-application-bootstrap.interface.d.ts +11 -0
  190. package/interfaces/hooks/on-application-bootstrap.interface.js +2 -0
  191. package/interfaces/hooks/on-application-shutdown.interface.d.ts +11 -0
  192. package/interfaces/hooks/on-application-shutdown.interface.js +2 -0
  193. package/interfaces/hooks/on-destroy.interface.d.ts +12 -0
  194. package/interfaces/hooks/on-destroy.interface.js +2 -0
  195. package/interfaces/hooks/on-init.interface.d.ts +10 -0
  196. package/interfaces/hooks/on-init.interface.js +2 -0
  197. package/interfaces/http/http-exception-body.interface.d.ts +6 -0
  198. package/interfaces/http/http-exception-body.interface.js +2 -0
  199. package/interfaces/http/http-redirect-response.interface.d.ts +5 -0
  200. package/interfaces/http/http-redirect-response.interface.js +2 -0
  201. package/interfaces/http/http-server.interface.d.ts +70 -0
  202. package/interfaces/http/http-server.interface.js +2 -0
  203. package/interfaces/http/index.d.ts +5 -0
  204. package/interfaces/http/index.js +8 -0
  205. package/interfaces/http/message-event.interface.d.ts +6 -0
  206. package/interfaces/http/message-event.interface.js +2 -0
  207. package/interfaces/http/raw-body-request.interface.d.ts +6 -0
  208. package/interfaces/http/raw-body-request.interface.js +2 -0
  209. package/interfaces/index.d.ts +30 -0
  210. package/interfaces/index.js +33 -0
  211. package/interfaces/injectable.interface.d.ts +1 -0
  212. package/interfaces/injectable.interface.js +2 -0
  213. package/interfaces/microservices/nest-hybrid-application-options.interface.d.ts +7 -0
  214. package/interfaces/microservices/nest-hybrid-application-options.interface.js +2 -0
  215. package/interfaces/microservices/nest-microservice-options.interface.d.ts +5 -0
  216. package/interfaces/microservices/nest-microservice-options.interface.js +2 -0
  217. package/interfaces/middleware/index.d.ts +4 -0
  218. package/interfaces/middleware/index.js +7 -0
  219. package/interfaces/middleware/middleware-config-proxy.interface.d.ts +24 -0
  220. package/interfaces/middleware/middleware-config-proxy.interface.js +2 -0
  221. package/interfaces/middleware/middleware-configuration.interface.d.ts +12 -0
  222. package/interfaces/middleware/middleware-configuration.interface.js +2 -0
  223. package/interfaces/middleware/middleware-consumer.interface.d.ts +18 -0
  224. package/interfaces/middleware/middleware-consumer.interface.js +2 -0
  225. package/interfaces/middleware/nest-middleware.interface.d.ts +8 -0
  226. package/interfaces/middleware/nest-middleware.interface.js +2 -0
  227. package/interfaces/modules/dynamic-module.interface.d.ts +25 -0
  228. package/interfaces/modules/dynamic-module.interface.js +2 -0
  229. package/interfaces/modules/forward-reference.interface.d.ts +3 -0
  230. package/interfaces/modules/forward-reference.interface.js +2 -0
  231. package/interfaces/modules/index.d.ts +8 -0
  232. package/interfaces/modules/index.js +11 -0
  233. package/interfaces/modules/injection-token.interface.d.ts +6 -0
  234. package/interfaces/modules/injection-token.interface.js +2 -0
  235. package/interfaces/modules/introspection-result.interface.d.ts +10 -0
  236. package/interfaces/modules/introspection-result.interface.js +2 -0
  237. package/interfaces/modules/module-metadata.interface.d.ts +34 -0
  238. package/interfaces/modules/module-metadata.interface.js +2 -0
  239. package/interfaces/modules/nest-module.interface.d.ts +7 -0
  240. package/interfaces/modules/nest-module.interface.js +2 -0
  241. package/interfaces/modules/optional-factory-dependency.interface.d.ts +8 -0
  242. package/interfaces/modules/optional-factory-dependency.interface.js +2 -0
  243. package/interfaces/modules/provider.interface.d.ts +156 -0
  244. package/interfaces/modules/provider.interface.js +2 -0
  245. package/interfaces/nest-application-context-options.interface.d.ts +68 -0
  246. package/interfaces/nest-application-context-options.interface.js +9 -0
  247. package/interfaces/nest-application-context.interface.d.ts +139 -0
  248. package/interfaces/nest-application-context.interface.js +2 -0
  249. package/interfaces/nest-application-options.interface.d.ts +29 -0
  250. package/interfaces/nest-application-options.interface.js +2 -0
  251. package/interfaces/nest-application.interface.d.ts +135 -0
  252. package/interfaces/nest-application.interface.js +2 -0
  253. package/interfaces/nest-microservice.interface.d.ts +75 -0
  254. package/interfaces/nest-microservice.interface.js +2 -0
  255. package/interfaces/scope-options.interface.d.ts +37 -0
  256. package/interfaces/scope-options.interface.js +23 -0
  257. package/interfaces/shutdown-hooks-options.interface.d.ts +21 -0
  258. package/interfaces/shutdown-hooks-options.interface.js +2 -0
  259. package/interfaces/type.interface.d.ts +3 -0
  260. package/interfaces/type.interface.js +2 -0
  261. package/interfaces/version-options.interface.d.ts +92 -0
  262. package/interfaces/version-options.interface.js +9 -0
  263. package/interfaces/websockets/web-socket-adapter.interface.d.ts +19 -0
  264. package/interfaces/websockets/web-socket-adapter.interface.js +2 -0
  265. package/module-utils/configurable-module.builder.d.ts +93 -0
  266. package/module-utils/configurable-module.builder.js +219 -0
  267. package/module-utils/constants.d.ts +9 -0
  268. package/module-utils/constants.js +19 -0
  269. package/module-utils/index.d.ts +2 -0
  270. package/module-utils/index.js +5 -0
  271. package/module-utils/interfaces/configurable-module-async-options.interface.d.ts +42 -0
  272. package/module-utils/interfaces/configurable-module-async-options.interface.js +2 -0
  273. package/module-utils/interfaces/configurable-module-cls.interface.d.ts +13 -0
  274. package/module-utils/interfaces/configurable-module-cls.interface.js +2 -0
  275. package/module-utils/interfaces/configurable-module-host.interface.d.ts +62 -0
  276. package/module-utils/interfaces/configurable-module-host.interface.js +2 -0
  277. package/module-utils/interfaces/index.d.ts +3 -0
  278. package/module-utils/interfaces/index.js +6 -0
  279. package/module-utils/utils/generate-options-injection-token.util.d.ts +1 -0
  280. package/module-utils/utils/generate-options-injection-token.util.js +8 -0
  281. package/module-utils/utils/get-injection-providers.util.d.ts +8 -0
  282. package/module-utils/utils/get-injection-providers.util.js +35 -0
  283. package/module-utils/utils/index.d.ts +2 -0
  284. package/module-utils/utils/index.js +5 -0
  285. package/package.json +61 -0
  286. package/pipes/default-value.pipe.d.ts +13 -0
  287. package/pipes/default-value.pipe.js +30 -0
  288. package/pipes/file/file-type.validator.d.ts +62 -0
  289. package/pipes/file/file-type.validator.js +102 -0
  290. package/pipes/file/file-validator-context.interface.d.ts +5 -0
  291. package/pipes/file/file-validator-context.interface.js +2 -0
  292. package/pipes/file/file-validator.interface.d.ts +21 -0
  293. package/pipes/file/file-validator.interface.js +15 -0
  294. package/pipes/file/index.d.ts +6 -0
  295. package/pipes/file/index.js +9 -0
  296. package/pipes/file/interfaces/file.interface.d.ts +5 -0
  297. package/pipes/file/interfaces/file.interface.js +2 -0
  298. package/pipes/file/interfaces/index.d.ts +1 -0
  299. package/pipes/file/interfaces/index.js +4 -0
  300. package/pipes/file/max-file-size.validator.d.ts +44 -0
  301. package/pipes/file/max-file-size.validator.js +37 -0
  302. package/pipes/file/parse-file-options.interface.d.ts +15 -0
  303. package/pipes/file/parse-file-options.interface.js +2 -0
  304. package/pipes/file/parse-file-pipe.builder.d.ts +15 -0
  305. package/pipes/file/parse-file-pipe.builder.js +33 -0
  306. package/pipes/file/parse-file.pipe.d.ts +28 -0
  307. package/pipes/file/parse-file.pipe.js +76 -0
  308. package/pipes/index.d.ts +10 -0
  309. package/pipes/index.js +13 -0
  310. package/pipes/parse-array.pipe.d.ts +52 -0
  311. package/pipes/parse-array.pipe.js +148 -0
  312. package/pipes/parse-bool.pipe.d.ts +55 -0
  313. package/pipes/parse-bool.pipe.js +67 -0
  314. package/pipes/parse-date.pipe.d.ts +37 -0
  315. package/pipes/parse-date.pipe.js +42 -0
  316. package/pipes/parse-enum.pipe.d.ts +46 -0
  317. package/pipes/parse-enum.pipe.js +55 -0
  318. package/pipes/parse-float.pipe.d.ts +49 -0
  319. package/pipes/parse-float.pipe.js +56 -0
  320. package/pipes/parse-int.pipe.d.ts +48 -0
  321. package/pipes/parse-int.pipe.js +57 -0
  322. package/pipes/parse-uuid.pipe.d.ts +49 -0
  323. package/pipes/parse-uuid.pipe.js +57 -0
  324. package/pipes/validation.pipe.d.ts +51 -0
  325. package/pipes/validation.pipe.js +245 -0
  326. package/serializer/class-serializer.constants.d.ts +1 -0
  327. package/serializer/class-serializer.constants.js +4 -0
  328. package/serializer/class-serializer.interceptor.d.ts +29 -0
  329. package/serializer/class-serializer.interceptor.js +77 -0
  330. package/serializer/class-serializer.interfaces.d.ts +8 -0
  331. package/serializer/class-serializer.interfaces.js +2 -0
  332. package/serializer/decorators/index.d.ts +1 -0
  333. package/serializer/decorators/index.js +4 -0
  334. package/serializer/decorators/serialize-options.decorator.d.ts +5 -0
  335. package/serializer/decorators/serialize-options.decorator.js +10 -0
  336. package/serializer/index.d.ts +3 -0
  337. package/serializer/index.js +6 -0
  338. package/services/console-logger.service.d.ts +202 -0
  339. package/services/console-logger.service.js +379 -0
  340. package/services/index.d.ts +3 -0
  341. package/services/index.js +6 -0
  342. package/services/logger.service.d.ts +152 -0
  343. package/services/logger.service.js +251 -0
  344. package/services/utils/filter-log-levels.util.d.ts +5 -0
  345. package/services/utils/filter-log-levels.util.js +23 -0
  346. package/services/utils/index.d.ts +3 -0
  347. package/services/utils/index.js +6 -0
  348. package/services/utils/is-log-level-enabled.util.d.ts +7 -0
  349. package/services/utils/is-log-level-enabled.util.js +32 -0
  350. package/services/utils/is-log-level.util.d.ts +5 -0
  351. package/services/utils/is-log-level.util.js +10 -0
  352. package/tsconfig.build.json +10 -0
  353. package/utils/assign-custom-metadata.util.d.ts +4 -0
  354. package/utils/assign-custom-metadata.util.js +15 -0
  355. package/utils/cli-colors.util.d.ts +10 -0
  356. package/utils/cli-colors.util.js +15 -0
  357. package/utils/extend-metadata.util.d.ts +1 -0
  358. package/utils/extend-metadata.util.js +8 -0
  359. package/utils/forward-ref.util.d.ts +5 -0
  360. package/utils/forward-ref.util.js +10 -0
  361. package/utils/http-error-by-code.util.d.ts +4 -0
  362. package/utils/http-error-by-code.util.js +26 -0
  363. package/utils/index.d.ts +1 -0
  364. package/utils/index.js +4 -0
  365. package/utils/load-package.util.d.ts +1 -0
  366. package/utils/load-package.util.js +16 -0
  367. package/utils/merge-with-values.util.d.ts +4 -0
  368. package/utils/merge-with-values.util.js +18 -0
  369. package/utils/random-string-generator.util.d.ts +1 -0
  370. package/utils/random-string-generator.util.js +6 -0
  371. package/utils/select-exception-filter-metadata.util.d.ts +2 -0
  372. package/utils/select-exception-filter-metadata.util.js +6 -0
  373. package/utils/shared.utils.d.ts +13 -0
  374. package/utils/shared.utils.js +51 -0
  375. package/utils/validate-each.util.d.ts +8 -0
  376. package/utils/validate-each.util.js +25 -0
  377. package/utils/validate-module-keys.util.d.ts +2 -0
  378. package/utils/validate-module-keys.util.js +22 -0
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { RequestMethod } from '../../enums';
2
+ import { Type } from '../type.interface';
3
+ import { VersionValue } from '../version-options.interface';
4
+ export interface RouteInfo {
5
+ path: string;
6
+ method: RequestMethod;
7
+ version?: VersionValue;
8
+ }
9
+ export interface MiddlewareConfiguration<T = any> {
10
+ middleware: T;
11
+ forRoutes: (Type<any> | string | RouteInfo)[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { Type } from '../type.interface';
2
+ import { MiddlewareConfigProxy } from './middleware-config-proxy.interface';
3
+ /**
4
+ * Interface defining method for applying user defined middleware to routes.
5
+ *
6
+ * @see [MiddlewareConsumer](https://docs.nestjs.com/middleware#middleware-consumer)
7
+ *
8
+ * @publicApi
9
+ */
10
+ export interface MiddlewareConsumer {
11
+ /**
12
+ * @param {...(Type | Function)} middleware middleware class/function or array of classes/functions
13
+ * to be attached to the passed routes.
14
+ *
15
+ * @returns {MiddlewareConfigProxy}
16
+ */
17
+ apply(...middleware: (Type<any> | Function)[]): MiddlewareConfigProxy;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @see [Middleware](https://docs.nestjs.com/middleware)
3
+ *
4
+ * @publicApi
5
+ */
6
+ export interface NestMiddleware<TRequest = any, TResponse = any> {
7
+ use(req: TRequest, res: TResponse, next: (error?: any) => void): any;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ import { Type } from '../type.interface';
2
+ import { ModuleMetadata } from './module-metadata.interface';
3
+ /**
4
+ * Interface defining a Dynamic Module.
5
+ *
6
+ * @see [Dynamic Modules](https://docs.nestjs.com/modules#dynamic-modules)
7
+ *
8
+ * @publicApi
9
+ */
10
+ export interface DynamicModule extends ModuleMetadata {
11
+ /**
12
+ * A module reference
13
+ */
14
+ module: Type<any>;
15
+ /**
16
+ * When "true", makes a module global-scoped.
17
+ *
18
+ * Once imported into any module, a global-scoped module will be visible
19
+ * in all modules. Thereafter, modules that wish to inject a service exported
20
+ * from a global module do not need to import the provider module.
21
+ *
22
+ * @default false
23
+ */
24
+ global?: boolean;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface ForwardReference<T = any> {
2
+ forwardRef: T;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export * from './dynamic-module.interface';
2
+ export * from './forward-reference.interface';
3
+ export * from './injection-token.interface';
4
+ export * from './introspection-result.interface';
5
+ export * from './module-metadata.interface';
6
+ export * from './nest-module.interface';
7
+ export * from './optional-factory-dependency.interface';
8
+ export * from './provider.interface';
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./dynamic-module.interface"), exports);
5
+ tslib_1.__exportStar(require("./forward-reference.interface"), exports);
6
+ tslib_1.__exportStar(require("./injection-token.interface"), exports);
7
+ tslib_1.__exportStar(require("./introspection-result.interface"), exports);
8
+ tslib_1.__exportStar(require("./module-metadata.interface"), exports);
9
+ tslib_1.__exportStar(require("./nest-module.interface"), exports);
10
+ tslib_1.__exportStar(require("./optional-factory-dependency.interface"), exports);
11
+ tslib_1.__exportStar(require("./provider.interface"), exports);
@@ -0,0 +1,6 @@
1
+ import { Abstract } from '../abstract.interface';
2
+ import { Type } from '../type.interface';
3
+ /**
4
+ * @publicApi
5
+ */
6
+ export type InjectionToken<T = any> = string | symbol | Type<T> | Abstract<T> | Function;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { Scope } from '../scope-options.interface';
2
+ /**
3
+ * @publicApi
4
+ */
5
+ export interface IntrospectionResult {
6
+ /**
7
+ * Enum defining lifetime of host class or factory.
8
+ */
9
+ scope: Scope;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ import { Abstract } from '../abstract.interface';
2
+ import { Type } from '../type.interface';
3
+ import { DynamicModule } from './dynamic-module.interface';
4
+ import { ForwardReference } from './forward-reference.interface';
5
+ import { Provider } from './provider.interface';
6
+ /**
7
+ * Interface defining the property object that describes the module.
8
+ *
9
+ * @see [Modules](https://docs.nestjs.com/modules)
10
+ *
11
+ * @publicApi
12
+ */
13
+ export interface ModuleMetadata {
14
+ /**
15
+ * Optional list of imported modules that export the providers which are
16
+ * required in this module.
17
+ */
18
+ imports?: Array<Type<any> | DynamicModule | Promise<DynamicModule> | ForwardReference>;
19
+ /**
20
+ * Optional list of controllers defined in this module which have to be
21
+ * instantiated.
22
+ */
23
+ controllers?: Type<any>[];
24
+ /**
25
+ * Optional list of providers that will be instantiated by the Nest injector
26
+ * and that may be shared at least across this module.
27
+ */
28
+ providers?: Provider[];
29
+ /**
30
+ * Optional list of the subset of providers that are provided by this module
31
+ * and should be available in other modules which import this module.
32
+ */
33
+ exports?: Array<DynamicModule | string | symbol | Provider | ForwardReference | Abstract<any> | Function>;
34
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { MiddlewareConsumer } from '../middleware/middleware-consumer.interface';
2
+ /**
3
+ * @publicApi
4
+ */
5
+ export interface NestModule {
6
+ configure(consumer: MiddlewareConsumer): any;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { InjectionToken } from './injection-token.interface';
2
+ /**
3
+ * @publicApi
4
+ */
5
+ export type OptionalFactoryDependency = {
6
+ token: InjectionToken;
7
+ optional: boolean;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,156 @@
1
+ import { Scope } from '../scope-options.interface';
2
+ import { Type } from '../type.interface';
3
+ import { InjectionToken } from './injection-token.interface';
4
+ import { OptionalFactoryDependency } from './optional-factory-dependency.interface';
5
+ /**
6
+ *
7
+ * @publicApi
8
+ */
9
+ export type Provider<T = any> = Type<any> | ClassProvider<T> | ValueProvider<T> | FactoryProvider<T> | ExistingProvider<T>;
10
+ /**
11
+ * Interface defining a *Class* type provider.
12
+ *
13
+ * For example:
14
+ * ```typescript
15
+ * const configServiceProvider = {
16
+ * provide: ConfigService,
17
+ * useClass:
18
+ * process.env.NODE_ENV === 'development'
19
+ * ? DevelopmentConfigService
20
+ * : ProductionConfigService,
21
+ * };
22
+ * ```
23
+ *
24
+ * @see [Class providers](https://docs.nestjs.com/fundamentals/custom-providers#class-providers-useclass)
25
+ * @see [Injection scopes](https://docs.nestjs.com/fundamentals/injection-scopes)
26
+ *
27
+ * @publicApi
28
+ */
29
+ export interface ClassProvider<T = any> {
30
+ /**
31
+ * Injection token
32
+ */
33
+ provide: InjectionToken;
34
+ /**
35
+ * Type (class name) of provider (instance to be injected).
36
+ */
37
+ useClass: Type<T>;
38
+ /**
39
+ * Optional enum defining lifetime of the provider that is injected.
40
+ */
41
+ scope?: Scope;
42
+ /**
43
+ * This option is only available on factory providers!
44
+ *
45
+ * @see [Use factory](https://docs.nestjs.com/fundamentals/custom-providers#factory-providers-usefactory)
46
+ */
47
+ inject?: never;
48
+ /**
49
+ * Flags provider as durable. This flag can be used in combination with custom context id
50
+ * factory strategy to construct lazy DI subtrees.
51
+ *
52
+ * This flag can be used only in conjunction with scope = Scope.REQUEST.
53
+ */
54
+ durable?: boolean;
55
+ }
56
+ /**
57
+ * Interface defining a *Value* type provider.
58
+ *
59
+ * For example:
60
+ * ```typescript
61
+ * const connectionProvider = {
62
+ * provide: 'CONNECTION',
63
+ * useValue: connection,
64
+ * };
65
+ * ```
66
+ *
67
+ * @see [Value providers](https://docs.nestjs.com/fundamentals/custom-providers#value-providers-usevalue)
68
+ *
69
+ * @publicApi
70
+ */
71
+ export interface ValueProvider<T = any> {
72
+ /**
73
+ * Injection token
74
+ */
75
+ provide: InjectionToken;
76
+ /**
77
+ * Instance of a provider to be injected.
78
+ */
79
+ useValue: T;
80
+ /**
81
+ * This option is only available on factory providers!
82
+ *
83
+ * @see [Use factory](https://docs.nestjs.com/fundamentals/custom-providers#factory-providers-usefactory)
84
+ */
85
+ inject?: never;
86
+ }
87
+ /**
88
+ * Interface defining a *Factory* type provider.
89
+ *
90
+ * For example:
91
+ * ```typescript
92
+ * const connectionFactory = {
93
+ * provide: 'CONNECTION',
94
+ * useFactory: (optionsProvider: OptionsProvider) => {
95
+ * const options = optionsProvider.get();
96
+ * return new DatabaseConnection(options);
97
+ * },
98
+ * inject: [OptionsProvider],
99
+ * };
100
+ * ```
101
+ *
102
+ * @see [Factory providers](https://docs.nestjs.com/fundamentals/custom-providers#factory-providers-usefactory)
103
+ * @see [Injection scopes](https://docs.nestjs.com/fundamentals/injection-scopes)
104
+ *
105
+ * @publicApi
106
+ */
107
+ export interface FactoryProvider<T = any> {
108
+ /**
109
+ * Injection token
110
+ */
111
+ provide: InjectionToken;
112
+ /**
113
+ * Factory function that returns an instance of the provider to be injected.
114
+ */
115
+ useFactory: (...args: any[]) => T | Promise<T>;
116
+ /**
117
+ * Optional list of providers to be injected into the context of the Factory function.
118
+ */
119
+ inject?: Array<InjectionToken | OptionalFactoryDependency>;
120
+ /**
121
+ * Optional enum defining lifetime of the provider that is returned by the Factory function.
122
+ */
123
+ scope?: Scope;
124
+ /**
125
+ * Flags provider as durable. This flag can be used in combination with custom context id
126
+ * factory strategy to construct lazy DI subtrees.
127
+ *
128
+ * This flag can be used only in conjunction with scope = Scope.REQUEST.
129
+ */
130
+ durable?: boolean;
131
+ }
132
+ /**
133
+ * Interface defining an *Existing* (aliased) type provider.
134
+ *
135
+ * For example:
136
+ * ```typescript
137
+ * const loggerAliasProvider = {
138
+ * provide: 'AliasedLoggerService',
139
+ * useExisting: LoggerService
140
+ * };
141
+ * ```
142
+ *
143
+ * @see [Alias providers](https://docs.nestjs.com/fundamentals/custom-providers#alias-providers-useexisting)
144
+ *
145
+ * @publicApi
146
+ */
147
+ export interface ExistingProvider<T = any> {
148
+ /**
149
+ * Injection token
150
+ */
151
+ provide: InjectionToken;
152
+ /**
153
+ * Provider to be aliased by the Injection token.
154
+ */
155
+ useExisting: any;
156
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,68 @@
1
+ import { LoggerService, LogLevel } from '../services/logger.service';
2
+ /**
3
+ * @publicApi
4
+ */
5
+ export declare class NestApplicationContextOptions {
6
+ /**
7
+ * Specifies the logger to use. Pass `false` to turn off logging.
8
+ */
9
+ logger?: LoggerService | LogLevel[] | false;
10
+ /**
11
+ * Whether to abort the process on Error. By default, the process is exited.
12
+ * Pass `false` to override the default behavior. If `false` is passed, Nest will not exit
13
+ * the application and instead will rethrow the exception.
14
+ * @default true
15
+ */
16
+ abortOnError?: boolean | undefined;
17
+ /**
18
+ * If enabled, logs will be buffered until the "Logger#flush" method is called.
19
+ * @default false
20
+ */
21
+ bufferLogs?: boolean;
22
+ /**
23
+ * If enabled, logs will be automatically flushed and buffer detached when
24
+ * application initialization process either completes or fails.
25
+ * @default true
26
+ */
27
+ autoFlushLogs?: boolean;
28
+ /**
29
+ * Whether to run application in the preview mode.
30
+ * In the preview mode, providers/controllers are not instantiated & resolved.
31
+ *
32
+ * @default false
33
+ */
34
+ preview?: boolean;
35
+ /**
36
+ * Whether to generate a serialized graph snapshot.
37
+ *
38
+ * @default false
39
+ */
40
+ snapshot?: boolean;
41
+ /**
42
+ * Determines what algorithm use to generate module ids.
43
+ * When set to `deep-hash`, the module id is generated based on the serialized module definition.
44
+ * When set to `reference`, each module obtains a unique id based on its reference.
45
+ *
46
+ * @default 'reference'
47
+ */
48
+ moduleIdGeneratorAlgorithm?: 'deep-hash' | 'reference';
49
+ /**
50
+ * Instrument the application context.
51
+ * This option allows you to add custom instrumentation to the application context.
52
+ */
53
+ instrument?: {
54
+ /**
55
+ * Function that decorates each instance created by the application context.
56
+ * This function can be used to add custom properties or methods to the instance.
57
+ * @param instance The instance to decorate.
58
+ * @returns The decorated instance.
59
+ */
60
+ instanceDecorator: (instance: unknown) => unknown;
61
+ };
62
+ /**
63
+ * If enabled, will force the use of console.log/console.error instead of process.stdout/stderr.write
64
+ * in the default ConsoleLogger. This is useful for test environments like Jest that can buffer console calls.
65
+ * @default false
66
+ */
67
+ forceConsole?: boolean;
68
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NestApplicationContextOptions = void 0;
4
+ /**
5
+ * @publicApi
6
+ */
7
+ class NestApplicationContextOptions {
8
+ }
9
+ exports.NestApplicationContextOptions = NestApplicationContextOptions;
@@ -0,0 +1,139 @@
1
+ import { ShutdownSignal } from '../enums/shutdown-signal.enum';
2
+ import { LoggerService, LogLevel } from '../services/logger.service';
3
+ import { DynamicModule } from './modules';
4
+ import { NestApplicationContextOptions } from './nest-application-context-options.interface';
5
+ import { ShutdownHooksOptions } from './shutdown-hooks-options.interface';
6
+ import { Type } from './type.interface';
7
+ export type SelectOptions = Pick<NestApplicationContextOptions, 'abortOnError'>;
8
+ export interface GetOrResolveOptions {
9
+ /**
10
+ * If enabled, lookup will only be performed in the host module.
11
+ * @default false
12
+ */
13
+ strict?: boolean;
14
+ /**
15
+ * If enabled, instead of returning a first instance registered under a given token,
16
+ * a list of instances will be returned.
17
+ * @default false
18
+ */
19
+ each?: boolean;
20
+ }
21
+ /**
22
+ * Interface defining NestApplicationContext.
23
+ *
24
+ * @publicApi
25
+ */
26
+ export interface INestApplicationContext {
27
+ /**
28
+ * Allows navigating through the modules tree, for example, to pull out a specific instance from the selected module.
29
+ * @returns {INestApplicationContext}
30
+ */
31
+ select<T>(module: Type<T> | DynamicModule, options?: SelectOptions): INestApplicationContext;
32
+ /**
33
+ * Retrieves an instance of either injectable or controller, otherwise, throws exception.
34
+ * @returns {TResult}
35
+ */
36
+ get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol): TResult;
37
+ /**
38
+ * Retrieves an instance of either injectable or controller, otherwise, throws exception.
39
+ * @returns {TResult}
40
+ */
41
+ get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, options: {
42
+ strict?: boolean;
43
+ each?: undefined | false;
44
+ }): TResult;
45
+ /**
46
+ * Retrieves a list of instances of either injectables or controllers, otherwise, throws exception.
47
+ * @returns {Array<TResult>}
48
+ */
49
+ get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, options: {
50
+ strict?: boolean;
51
+ each: true;
52
+ }): Array<TResult>;
53
+ /**
54
+ * Retrieves an instance (or a list of instances) of either injectable or controller, otherwise, throws exception.
55
+ * @returns {TResult | Array<TResult>}
56
+ */
57
+ get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, options?: GetOrResolveOptions): TResult | Array<TResult>;
58
+ /**
59
+ * Resolves transient or request-scoped instance of either injectable or controller, otherwise, throws exception.
60
+ * @returns {Array<TResult>}
61
+ */
62
+ resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol): Promise<TResult>;
63
+ /**
64
+ * Resolves transient or request-scoped instance of either injectable or controller, otherwise, throws exception.
65
+ * @returns {Array<TResult>}
66
+ */
67
+ resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, contextId?: {
68
+ id: number;
69
+ }): Promise<TResult>;
70
+ /**
71
+ * Resolves transient or request-scoped instance of either injectable or controller, otherwise, throws exception.
72
+ * @returns {Array<TResult>}
73
+ */
74
+ resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, contextId?: {
75
+ id: number;
76
+ }, options?: {
77
+ strict?: boolean;
78
+ each?: undefined | false;
79
+ }): Promise<TResult>;
80
+ /**
81
+ * Resolves transient or request-scoped instances of either injectables or controllers, otherwise, throws exception.
82
+ * @returns {Array<TResult>}
83
+ */
84
+ resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, contextId?: {
85
+ id: number;
86
+ }, options?: {
87
+ strict?: boolean;
88
+ each: true;
89
+ }): Promise<Array<TResult>>;
90
+ /**
91
+ * Resolves transient or request-scoped instance (or a list of instances) of either injectable or controller, otherwise, throws exception.
92
+ * @returns {Promise<TResult | Array<TResult>>}
93
+ */
94
+ resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, contextId?: {
95
+ id: number;
96
+ }, options?: GetOrResolveOptions): Promise<TResult | Array<TResult>>;
97
+ /**
98
+ * Registers the request/context object for a given context ID (DI container sub-tree).
99
+ * @returns {void}
100
+ */
101
+ registerRequestByContextId<T = any>(request: T, contextId: {
102
+ id: number;
103
+ }): void;
104
+ /**
105
+ * Terminates the application
106
+ * @returns {Promise<void>}
107
+ */
108
+ close(): Promise<void>;
109
+ /**
110
+ * Sets custom logger service.
111
+ * Flushes buffered logs if auto flush is on.
112
+ * @returns {void}
113
+ */
114
+ useLogger(logger: LoggerService | LogLevel[] | false): void;
115
+ /**
116
+ * Prints buffered logs and detaches buffer.
117
+ * @returns {void}
118
+ */
119
+ flushLogs(): void;
120
+ /**
121
+ * Enables the usage of shutdown hooks. Will call the
122
+ * `onApplicationShutdown` function of a provider if the
123
+ * process receives a shutdown signal.
124
+ *
125
+ * @param {ShutdownSignal[] | string[]} [signals] The system signals to listen to
126
+ * @param {ShutdownHooksOptions} [options] Options for configuring shutdown hooks behavior
127
+ *
128
+ * @returns {this} The Nest application context instance
129
+ */
130
+ enableShutdownHooks(signals?: ShutdownSignal[] | string[], options?: ShutdownHooksOptions): this;
131
+ /**
132
+ * Initializes the Nest application.
133
+ * Calls the Nest lifecycle events.
134
+ * It isn't mandatory to call this method directly.
135
+ *
136
+ * @returns {Promise<this>} The NestApplicationContext instance as Promise
137
+ */
138
+ init(): Promise<this>;
139
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ import { CorsOptions, CorsOptionsDelegate } from './external/cors-options.interface';
2
+ import { HttpsOptions } from './external/https-options.interface';
3
+ import { NestApplicationContextOptions } from './nest-application-context-options.interface';
4
+ /**
5
+ * @publicApi
6
+ */
7
+ export interface NestApplicationOptions extends NestApplicationContextOptions {
8
+ /**
9
+ * CORS options from [CORS package](https://github.com/expressjs/cors#configuration-options)
10
+ */
11
+ cors?: boolean | CorsOptions | CorsOptionsDelegate<any>;
12
+ /**
13
+ * Whether to use underlying platform body parser.
14
+ */
15
+ bodyParser?: boolean;
16
+ /**
17
+ * Set of configurable HTTPS options
18
+ */
19
+ httpsOptions?: HttpsOptions;
20
+ /**
21
+ * Whether to register the raw request body on the request. Use `req.rawBody`.
22
+ */
23
+ rawBody?: boolean;
24
+ /**
25
+ * Force close open HTTP connections. Useful if restarting your application hangs due to
26
+ * keep-alive connections in the HTTP adapter.
27
+ */
28
+ forceCloseConnections?: boolean;
29
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });