@elsikora/nestjs-crud-automator 1.17.1-dev.1 → 1.18.0-dev.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 (295) hide show
  1. package/dist/cjs/class/api/authorization/policy/registry.class.d.ts +1 -5
  2. package/dist/cjs/class/api/authorization/policy/registry.class.js +41 -34
  3. package/dist/cjs/class/api/authorization/policy/registry.class.js.map +1 -1
  4. package/dist/cjs/class/api/subscriber/registry.class.js +13 -0
  5. package/dist/cjs/class/api/subscriber/registry.class.js.map +1 -1
  6. package/dist/cjs/class/metadata-storage.class.d.ts +2 -1
  7. package/dist/cjs/class/metadata-storage.class.js +53 -17
  8. package/dist/cjs/class/metadata-storage.class.js.map +1 -1
  9. package/dist/cjs/constant/dto/auto-context.constant.d.ts +4 -0
  10. package/dist/cjs/constant/dto/auto-context.constant.js +10 -0
  11. package/dist/cjs/constant/dto/auto-context.constant.js.map +1 -0
  12. package/dist/cjs/constant/dto/index.d.ts +1 -0
  13. package/dist/cjs/decorator/api/authorization/policy.decorator.d.ts +1 -0
  14. package/dist/cjs/decorator/api/authorization/policy.decorator.js +1 -0
  15. package/dist/cjs/decorator/api/authorization/policy.decorator.js.map +1 -1
  16. package/dist/cjs/decorator/api/controller/decorator.d.ts +1 -1
  17. package/dist/cjs/decorator/api/controller/decorator.js +1 -1
  18. package/dist/cjs/decorator/api/controller/observable.decorator.d.ts +1 -0
  19. package/dist/cjs/decorator/api/controller/observable.decorator.js +1 -0
  20. package/dist/cjs/decorator/api/controller/observable.decorator.js.map +1 -1
  21. package/dist/cjs/decorator/api/controller/securable.decorator.d.ts +1 -0
  22. package/dist/cjs/decorator/api/controller/securable.decorator.js +1 -0
  23. package/dist/cjs/decorator/api/controller/securable.decorator.js.map +1 -1
  24. package/dist/cjs/decorator/api/function/create.decorator.d.ts +1 -0
  25. package/dist/cjs/decorator/api/function/create.decorator.js +1 -0
  26. package/dist/cjs/decorator/api/function/create.decorator.js.map +1 -1
  27. package/dist/cjs/decorator/api/function/decorator.d.ts +1 -0
  28. package/dist/cjs/decorator/api/function/decorator.js +1 -0
  29. package/dist/cjs/decorator/api/function/decorator.js.map +1 -1
  30. package/dist/cjs/decorator/api/function/delete.decorator.d.ts +1 -0
  31. package/dist/cjs/decorator/api/function/delete.decorator.js +1 -0
  32. package/dist/cjs/decorator/api/function/delete.decorator.js.map +1 -1
  33. package/dist/cjs/decorator/api/function/get-list.decorator.d.ts +1 -0
  34. package/dist/cjs/decorator/api/function/get-list.decorator.js +1 -0
  35. package/dist/cjs/decorator/api/function/get-list.decorator.js.map +1 -1
  36. package/dist/cjs/decorator/api/function/get-many.decorator.d.ts +1 -0
  37. package/dist/cjs/decorator/api/function/get-many.decorator.js +1 -0
  38. package/dist/cjs/decorator/api/function/get-many.decorator.js.map +1 -1
  39. package/dist/cjs/decorator/api/function/get.decorator.d.ts +1 -0
  40. package/dist/cjs/decorator/api/function/get.decorator.js +1 -0
  41. package/dist/cjs/decorator/api/function/get.decorator.js.map +1 -1
  42. package/dist/cjs/decorator/api/function/update.decorator.d.ts +1 -0
  43. package/dist/cjs/decorator/api/function/update.decorator.js +1 -0
  44. package/dist/cjs/decorator/api/function/update.decorator.js.map +1 -1
  45. package/dist/cjs/decorator/api/method.decorator.d.ts +1 -0
  46. package/dist/cjs/decorator/api/method.decorator.js +1 -0
  47. package/dist/cjs/decorator/api/method.decorator.js.map +1 -1
  48. package/dist/cjs/decorator/api/property/boolean.decorator.d.ts +1 -0
  49. package/dist/cjs/decorator/api/property/boolean.decorator.js +11 -4
  50. package/dist/cjs/decorator/api/property/boolean.decorator.js.map +1 -1
  51. package/dist/cjs/decorator/api/property/copy.decorator.d.ts +34 -14
  52. package/dist/cjs/decorator/api/property/copy.decorator.js +83 -30
  53. package/dist/cjs/decorator/api/property/copy.decorator.js.map +1 -1
  54. package/dist/cjs/decorator/api/property/date.decorator.d.ts +1 -0
  55. package/dist/cjs/decorator/api/property/date.decorator.js +11 -4
  56. package/dist/cjs/decorator/api/property/date.decorator.js.map +1 -1
  57. package/dist/cjs/decorator/api/property/describe.decorator.d.ts +1 -1
  58. package/dist/cjs/decorator/api/property/describe.decorator.js +1 -1
  59. package/dist/cjs/decorator/api/property/enum.decorator.d.ts +1 -0
  60. package/dist/cjs/decorator/api/property/enum.decorator.js +11 -4
  61. package/dist/cjs/decorator/api/property/enum.decorator.js.map +1 -1
  62. package/dist/cjs/decorator/api/property/number.decorator.d.ts +1 -0
  63. package/dist/cjs/decorator/api/property/number.decorator.js +15 -5
  64. package/dist/cjs/decorator/api/property/number.decorator.js.map +1 -1
  65. package/dist/cjs/decorator/api/property/object.decorator.d.ts +1 -0
  66. package/dist/cjs/decorator/api/property/object.decorator.js +13 -4
  67. package/dist/cjs/decorator/api/property/object.decorator.js.map +1 -1
  68. package/dist/cjs/decorator/api/property/string.decorator.d.ts +1 -0
  69. package/dist/cjs/decorator/api/property/string.decorator.js +15 -5
  70. package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
  71. package/dist/cjs/decorator/api/property/uuid.decorator.d.ts +1 -0
  72. package/dist/cjs/decorator/api/property/uuid.decorator.js +12 -5
  73. package/dist/cjs/decorator/api/property/uuid.decorator.js.map +1 -1
  74. package/dist/cjs/decorator/api/service/observable.decorator.d.ts +1 -0
  75. package/dist/cjs/decorator/api/service/observable.decorator.js +1 -0
  76. package/dist/cjs/decorator/api/service/observable.decorator.js.map +1 -1
  77. package/dist/cjs/decorator/api/service.decorator.d.ts +1 -1
  78. package/dist/cjs/decorator/api/service.decorator.js +1 -1
  79. package/dist/cjs/decorator/api/subscriber/function.decorator.d.ts +1 -0
  80. package/dist/cjs/decorator/api/subscriber/function.decorator.js +1 -0
  81. package/dist/cjs/decorator/api/subscriber/function.decorator.js.map +1 -1
  82. package/dist/cjs/decorator/api/subscriber/route.decorator.d.ts +1 -0
  83. package/dist/cjs/decorator/api/subscriber/route.decorator.js +1 -0
  84. package/dist/cjs/decorator/api/subscriber/route.decorator.js.map +1 -1
  85. package/dist/cjs/factory/api/controller.factory.js +0 -2
  86. package/dist/cjs/factory/api/controller.factory.js.map +1 -1
  87. package/dist/cjs/index.js +27 -2
  88. package/dist/cjs/index.js.map +1 -1
  89. package/dist/cjs/interface/class/api/authorization/policy/registry.interface.d.ts +0 -1
  90. package/dist/cjs/type/auto-context-metadata.type.d.ts +5 -0
  91. package/dist/cjs/type/decorator/api/property/base/properties.type.d.ts +2 -1
  92. package/dist/cjs/type/decorator/api/property/copy-properties.type.d.ts +13 -0
  93. package/dist/cjs/type/decorator/api/property/entity.type.d.ts +3 -0
  94. package/dist/cjs/type/decorator/api/property/index.d.ts +2 -0
  95. package/dist/cjs/type/index.d.ts +1 -0
  96. package/dist/cjs/utility/api/controller/apply-metadata.utility.js +1 -1
  97. package/dist/cjs/utility/auto-dto-context-queue.utility.d.ts +11 -0
  98. package/dist/cjs/utility/auto-dto-context-queue.utility.js +40 -0
  99. package/dist/cjs/utility/auto-dto-context-queue.utility.js.map +1 -0
  100. package/dist/cjs/utility/defer-property-decorator-execution.utility.d.ts +5 -0
  101. package/dist/cjs/utility/defer-property-decorator-execution.utility.js +16 -0
  102. package/dist/cjs/utility/defer-property-decorator-execution.utility.js.map +1 -0
  103. package/dist/cjs/utility/dto/auto-context-pop.utility.d.ts +6 -0
  104. package/dist/cjs/utility/dto/auto-context-pop.utility.js +38 -0
  105. package/dist/cjs/utility/dto/auto-context-pop.utility.js.map +1 -0
  106. package/dist/cjs/utility/dto/auto-context-push.utility.d.ts +9 -0
  107. package/dist/cjs/utility/dto/auto-context-push.utility.js +35 -0
  108. package/dist/cjs/utility/dto/auto-context-push.utility.js.map +1 -0
  109. package/dist/cjs/utility/dto/build-decorator.utility.js +9 -1
  110. package/dist/cjs/utility/dto/build-decorator.utility.js.map +1 -1
  111. package/dist/cjs/utility/dto/generate-dynamic.utility.js +21 -13
  112. package/dist/cjs/utility/dto/generate-dynamic.utility.js.map +1 -1
  113. package/dist/cjs/utility/dto/generate.utility.js +35 -27
  114. package/dist/cjs/utility/dto/generate.utility.js.map +1 -1
  115. package/dist/cjs/utility/dto/index.d.ts +2 -1
  116. package/dist/cjs/utility/get-auto-dto-context.utility.d.ts +7 -0
  117. package/dist/cjs/utility/get-auto-dto-context.utility.js +19 -0
  118. package/dist/cjs/utility/get-auto-dto-context.utility.js.map +1 -0
  119. package/dist/cjs/utility/index.d.ts +9 -0
  120. package/dist/cjs/utility/is-entity-constructor.utility.d.ts +8 -0
  121. package/dist/cjs/utility/is-entity-constructor.utility.js +13 -0
  122. package/dist/cjs/utility/is-entity-constructor.utility.js.map +1 -0
  123. package/dist/cjs/utility/is-entity-factory.utility.d.ts +8 -0
  124. package/dist/cjs/utility/is-entity-factory.utility.js +15 -0
  125. package/dist/cjs/utility/is-entity-factory.utility.js.map +1 -0
  126. package/dist/cjs/utility/is-entity-literal.utility.d.ts +7 -0
  127. package/dist/cjs/utility/is-entity-literal.utility.js +13 -0
  128. package/dist/cjs/utility/is-entity-literal.utility.js.map +1 -0
  129. package/dist/cjs/utility/queue-auto-context-retry.utility.d.ts +6 -0
  130. package/dist/cjs/utility/queue-auto-context-retry.utility.js +23 -0
  131. package/dist/cjs/utility/queue-auto-context-retry.utility.js.map +1 -0
  132. package/dist/cjs/utility/register-auto-dto-child.utility.d.ts +14 -0
  133. package/dist/cjs/utility/register-auto-dto-child.utility.js +69 -0
  134. package/dist/cjs/utility/register-auto-dto-child.utility.js.map +1 -0
  135. package/dist/cjs/utility/resolve/decorator-context.utility.d.ts +13 -0
  136. package/dist/cjs/utility/resolve/decorator-context.utility.js +31 -0
  137. package/dist/cjs/utility/resolve/decorator-context.utility.js.map +1 -0
  138. package/dist/cjs/utility/resolve/index.d.ts +2 -0
  139. package/dist/cjs/utility/resolve/property-entity.utility.d.ts +16 -0
  140. package/dist/cjs/utility/resolve/property-entity.utility.js +43 -0
  141. package/dist/cjs/utility/resolve/property-entity.utility.js.map +1 -0
  142. package/dist/cjs/utility/with-resolved-property-entity.utility.d.ts +11 -0
  143. package/dist/cjs/utility/with-resolved-property-entity.utility.js +30 -0
  144. package/dist/cjs/utility/with-resolved-property-entity.utility.js.map +1 -0
  145. package/dist/esm/class/api/authorization/policy/registry.class.d.ts +1 -5
  146. package/dist/esm/class/api/authorization/policy/registry.class.js +41 -34
  147. package/dist/esm/class/api/authorization/policy/registry.class.js.map +1 -1
  148. package/dist/esm/class/api/subscriber/registry.class.js +13 -0
  149. package/dist/esm/class/api/subscriber/registry.class.js.map +1 -1
  150. package/dist/esm/class/metadata-storage.class.d.ts +2 -1
  151. package/dist/esm/class/metadata-storage.class.js +53 -17
  152. package/dist/esm/class/metadata-storage.class.js.map +1 -1
  153. package/dist/esm/constant/dto/auto-context.constant.d.ts +4 -0
  154. package/dist/esm/constant/dto/auto-context.constant.js +7 -0
  155. package/dist/esm/constant/dto/auto-context.constant.js.map +1 -0
  156. package/dist/esm/constant/dto/index.d.ts +1 -0
  157. package/dist/esm/decorator/api/authorization/policy.decorator.d.ts +1 -0
  158. package/dist/esm/decorator/api/authorization/policy.decorator.js +1 -0
  159. package/dist/esm/decorator/api/authorization/policy.decorator.js.map +1 -1
  160. package/dist/esm/decorator/api/controller/decorator.d.ts +1 -1
  161. package/dist/esm/decorator/api/controller/decorator.js +1 -1
  162. package/dist/esm/decorator/api/controller/observable.decorator.d.ts +1 -0
  163. package/dist/esm/decorator/api/controller/observable.decorator.js +1 -0
  164. package/dist/esm/decorator/api/controller/observable.decorator.js.map +1 -1
  165. package/dist/esm/decorator/api/controller/securable.decorator.d.ts +1 -0
  166. package/dist/esm/decorator/api/controller/securable.decorator.js +1 -0
  167. package/dist/esm/decorator/api/controller/securable.decorator.js.map +1 -1
  168. package/dist/esm/decorator/api/function/create.decorator.d.ts +1 -0
  169. package/dist/esm/decorator/api/function/create.decorator.js +1 -0
  170. package/dist/esm/decorator/api/function/create.decorator.js.map +1 -1
  171. package/dist/esm/decorator/api/function/decorator.d.ts +1 -0
  172. package/dist/esm/decorator/api/function/decorator.js +1 -0
  173. package/dist/esm/decorator/api/function/decorator.js.map +1 -1
  174. package/dist/esm/decorator/api/function/delete.decorator.d.ts +1 -0
  175. package/dist/esm/decorator/api/function/delete.decorator.js +1 -0
  176. package/dist/esm/decorator/api/function/delete.decorator.js.map +1 -1
  177. package/dist/esm/decorator/api/function/get-list.decorator.d.ts +1 -0
  178. package/dist/esm/decorator/api/function/get-list.decorator.js +1 -0
  179. package/dist/esm/decorator/api/function/get-list.decorator.js.map +1 -1
  180. package/dist/esm/decorator/api/function/get-many.decorator.d.ts +1 -0
  181. package/dist/esm/decorator/api/function/get-many.decorator.js +1 -0
  182. package/dist/esm/decorator/api/function/get-many.decorator.js.map +1 -1
  183. package/dist/esm/decorator/api/function/get.decorator.d.ts +1 -0
  184. package/dist/esm/decorator/api/function/get.decorator.js +1 -0
  185. package/dist/esm/decorator/api/function/get.decorator.js.map +1 -1
  186. package/dist/esm/decorator/api/function/update.decorator.d.ts +1 -0
  187. package/dist/esm/decorator/api/function/update.decorator.js +1 -0
  188. package/dist/esm/decorator/api/function/update.decorator.js.map +1 -1
  189. package/dist/esm/decorator/api/method.decorator.d.ts +1 -0
  190. package/dist/esm/decorator/api/method.decorator.js +1 -0
  191. package/dist/esm/decorator/api/method.decorator.js.map +1 -1
  192. package/dist/esm/decorator/api/property/boolean.decorator.d.ts +1 -0
  193. package/dist/esm/decorator/api/property/boolean.decorator.js +12 -5
  194. package/dist/esm/decorator/api/property/boolean.decorator.js.map +1 -1
  195. package/dist/esm/decorator/api/property/copy.decorator.d.ts +34 -14
  196. package/dist/esm/decorator/api/property/copy.decorator.js +83 -30
  197. package/dist/esm/decorator/api/property/copy.decorator.js.map +1 -1
  198. package/dist/esm/decorator/api/property/date.decorator.d.ts +1 -0
  199. package/dist/esm/decorator/api/property/date.decorator.js +12 -5
  200. package/dist/esm/decorator/api/property/date.decorator.js.map +1 -1
  201. package/dist/esm/decorator/api/property/describe.decorator.d.ts +1 -1
  202. package/dist/esm/decorator/api/property/describe.decorator.js +1 -1
  203. package/dist/esm/decorator/api/property/enum.decorator.d.ts +1 -0
  204. package/dist/esm/decorator/api/property/enum.decorator.js +12 -5
  205. package/dist/esm/decorator/api/property/enum.decorator.js.map +1 -1
  206. package/dist/esm/decorator/api/property/number.decorator.d.ts +1 -0
  207. package/dist/esm/decorator/api/property/number.decorator.js +17 -7
  208. package/dist/esm/decorator/api/property/number.decorator.js.map +1 -1
  209. package/dist/esm/decorator/api/property/object.decorator.d.ts +1 -0
  210. package/dist/esm/decorator/api/property/object.decorator.js +14 -5
  211. package/dist/esm/decorator/api/property/object.decorator.js.map +1 -1
  212. package/dist/esm/decorator/api/property/string.decorator.d.ts +1 -0
  213. package/dist/esm/decorator/api/property/string.decorator.js +17 -7
  214. package/dist/esm/decorator/api/property/string.decorator.js.map +1 -1
  215. package/dist/esm/decorator/api/property/uuid.decorator.d.ts +1 -0
  216. package/dist/esm/decorator/api/property/uuid.decorator.js +13 -6
  217. package/dist/esm/decorator/api/property/uuid.decorator.js.map +1 -1
  218. package/dist/esm/decorator/api/service/observable.decorator.d.ts +1 -0
  219. package/dist/esm/decorator/api/service/observable.decorator.js +1 -0
  220. package/dist/esm/decorator/api/service/observable.decorator.js.map +1 -1
  221. package/dist/esm/decorator/api/service.decorator.d.ts +1 -1
  222. package/dist/esm/decorator/api/service.decorator.js +1 -1
  223. package/dist/esm/decorator/api/subscriber/function.decorator.d.ts +1 -0
  224. package/dist/esm/decorator/api/subscriber/function.decorator.js +1 -0
  225. package/dist/esm/decorator/api/subscriber/function.decorator.js.map +1 -1
  226. package/dist/esm/decorator/api/subscriber/route.decorator.d.ts +1 -0
  227. package/dist/esm/decorator/api/subscriber/route.decorator.js +1 -0
  228. package/dist/esm/decorator/api/subscriber/route.decorator.js.map +1 -1
  229. package/dist/esm/factory/api/controller.factory.js +0 -2
  230. package/dist/esm/factory/api/controller.factory.js.map +1 -1
  231. package/dist/esm/index.js +13 -1
  232. package/dist/esm/index.js.map +1 -1
  233. package/dist/esm/interface/class/api/authorization/policy/registry.interface.d.ts +0 -1
  234. package/dist/esm/type/auto-context-metadata.type.d.ts +5 -0
  235. package/dist/esm/type/decorator/api/property/base/properties.type.d.ts +2 -1
  236. package/dist/esm/type/decorator/api/property/copy-properties.type.d.ts +13 -0
  237. package/dist/esm/type/decorator/api/property/entity.type.d.ts +3 -0
  238. package/dist/esm/type/decorator/api/property/index.d.ts +2 -0
  239. package/dist/esm/type/index.d.ts +1 -0
  240. package/dist/esm/utility/api/controller/apply-metadata.utility.js +1 -1
  241. package/dist/esm/utility/auto-dto-context-queue.utility.d.ts +11 -0
  242. package/dist/esm/utility/auto-dto-context-queue.utility.js +37 -0
  243. package/dist/esm/utility/auto-dto-context-queue.utility.js.map +1 -0
  244. package/dist/esm/utility/defer-property-decorator-execution.utility.d.ts +5 -0
  245. package/dist/esm/utility/defer-property-decorator-execution.utility.js +14 -0
  246. package/dist/esm/utility/defer-property-decorator-execution.utility.js.map +1 -0
  247. package/dist/esm/utility/dto/auto-context-pop.utility.d.ts +6 -0
  248. package/dist/esm/utility/dto/auto-context-pop.utility.js +36 -0
  249. package/dist/esm/utility/dto/auto-context-pop.utility.js.map +1 -0
  250. package/dist/esm/utility/dto/auto-context-push.utility.d.ts +9 -0
  251. package/dist/esm/utility/dto/auto-context-push.utility.js +33 -0
  252. package/dist/esm/utility/dto/auto-context-push.utility.js.map +1 -0
  253. package/dist/esm/utility/dto/build-decorator.utility.js +9 -1
  254. package/dist/esm/utility/dto/build-decorator.utility.js.map +1 -1
  255. package/dist/esm/utility/dto/generate-dynamic.utility.js +21 -13
  256. package/dist/esm/utility/dto/generate-dynamic.utility.js.map +1 -1
  257. package/dist/esm/utility/dto/generate.utility.js +35 -27
  258. package/dist/esm/utility/dto/generate.utility.js.map +1 -1
  259. package/dist/esm/utility/dto/index.d.ts +2 -1
  260. package/dist/esm/utility/get-auto-dto-context.utility.d.ts +7 -0
  261. package/dist/esm/utility/get-auto-dto-context.utility.js +17 -0
  262. package/dist/esm/utility/get-auto-dto-context.utility.js.map +1 -0
  263. package/dist/esm/utility/index.d.ts +9 -0
  264. package/dist/esm/utility/is-entity-constructor.utility.d.ts +8 -0
  265. package/dist/esm/utility/is-entity-constructor.utility.js +11 -0
  266. package/dist/esm/utility/is-entity-constructor.utility.js.map +1 -0
  267. package/dist/esm/utility/is-entity-factory.utility.d.ts +8 -0
  268. package/dist/esm/utility/is-entity-factory.utility.js +13 -0
  269. package/dist/esm/utility/is-entity-factory.utility.js.map +1 -0
  270. package/dist/esm/utility/is-entity-literal.utility.d.ts +7 -0
  271. package/dist/esm/utility/is-entity-literal.utility.js +11 -0
  272. package/dist/esm/utility/is-entity-literal.utility.js.map +1 -0
  273. package/dist/esm/utility/queue-auto-context-retry.utility.d.ts +6 -0
  274. package/dist/esm/utility/queue-auto-context-retry.utility.js +21 -0
  275. package/dist/esm/utility/queue-auto-context-retry.utility.js.map +1 -0
  276. package/dist/esm/utility/register-auto-dto-child.utility.d.ts +14 -0
  277. package/dist/esm/utility/register-auto-dto-child.utility.js +66 -0
  278. package/dist/esm/utility/register-auto-dto-child.utility.js.map +1 -0
  279. package/dist/esm/utility/resolve/decorator-context.utility.d.ts +13 -0
  280. package/dist/esm/utility/resolve/decorator-context.utility.js +29 -0
  281. package/dist/esm/utility/resolve/decorator-context.utility.js.map +1 -0
  282. package/dist/esm/utility/resolve/index.d.ts +2 -0
  283. package/dist/esm/utility/resolve/property-entity.utility.d.ts +16 -0
  284. package/dist/esm/utility/resolve/property-entity.utility.js +40 -0
  285. package/dist/esm/utility/resolve/property-entity.utility.js.map +1 -0
  286. package/dist/esm/utility/with-resolved-property-entity.utility.d.ts +11 -0
  287. package/dist/esm/utility/with-resolved-property-entity.utility.js +28 -0
  288. package/dist/esm/utility/with-resolved-property-entity.utility.js.map +1 -0
  289. package/package.json +4 -1
  290. package/dist/cjs/utility/dto/analize.utility.d.ts +0 -8
  291. package/dist/cjs/utility/dto/analize.utility.js +0 -17
  292. package/dist/cjs/utility/dto/analize.utility.js.map +0 -1
  293. package/dist/esm/utility/dto/analize.utility.d.ts +0 -8
  294. package/dist/esm/utility/dto/analize.utility.js +0 -15
  295. package/dist/esm/utility/dto/analize.utility.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"controller.factory.js","sources":["../../../../../src/factory/api/controller.factory.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+Ba,oBAAoB,CAAA;AAQrB,IAAA,MAAA;AACO,IAAA,UAAA;AARlB,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,SAA6C;IACjE;AAEiB,IAAA,MAAM;IAEvB,WAAA,CACW,MAAqC,EAC9B,UAAuC,EAAA;QAD9C,IAAA,CAAA,MAAM,GAAN,MAAM;QACC,IAAA,CAAA,UAAU,GAAV,UAAU;QAE3B,IAAI,CAAC,MAAM,GAAG,yBAAyB,CAAI,UAAU,CAAC,MAAM,CAAC;AAC7D,QAAA,qBAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;AAE7C,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;AAC5B,YAAA,MAAM,cAAc,CAAC,CAAA,uBAAA,EAA0B,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,IAAI,iBAAiB,CAAA,UAAA,CAAY,CAAC;QAC7G;AAEA,QAAA,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QAC9I,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,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AE,aAAa,CAAC;AACjH,gBAAA,MAAM,GAAG,GAA8B,WAAW,CAAC,UAAU,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,CAAC;AAEjO,gBAAA,OAAO,eAAe,CAAC,GAA0B,EAAE,mBAAmB,EAAE;;AAEvE,oBAAA,uBAAuB,EAAE,IAAI;AAC7B,iBAAA,CAAC;YACH;YAAE,OAAO,KAAK,EAAE;AACf,gBAAA,MAAM,qBAAqB,GAAgD;AAC1E,oBAAA,IAAI,EAAE,EAAE,GAAI,sBAAsB,CAAC,IAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE;AACjI,oBAAA,MAAM,EAAE,cAAc;oBACtB,UAAU,EAAE,aAAa,CAAC,MAAM;iBAChC;gBACD,MAAM,qBAAqB,CAAC,4BAA4B,CAAC,IAAI,CAAC,WAA6D,EAAE,cAAc,EAAE,aAAa,CAAC,MAAM,EAAE,oBAAoB,CAAC,WAAW,EAAE,qBAAqB,EAAE,KAAc,CAAC;AAE3O,gBAAA,MAAM,KAAK;YACZ;QACD,CAAC,EACD,MAAM,EACN,EAAE,KAAK,EAAE,UAAU,EAAE,CACrB;IACF;AACA;;;;"}
1
+ {"version":3,"file":"controller.factory.js","sources":["../../../../../src/factory/api/controller.factory.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+Ba,oBAAoB,CAAA;AAQrB,IAAA,MAAA;AACO,IAAA,UAAA;AARlB,IAAA,IAAc,eAAe,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,SAA6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AE,GAAI,sBAAsB,CAAC,IAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE;AACjI,oBAAA,MAAM,EAAE,cAAc;oBACtB,UAAU,EAAE,aAAa,CAAC,MAAM;iBAChC;gBACD,MAAM,qBAAqB,CAAC,4BAA4B,CAAC,IAAI,CAAC,WAA6D,EAAE,cAAc,EAAE,aAAa,CAAC,MAAM,EAAE,oBAAoB,CAAC,WAAW,EAAE,qBAAqB,EAAE,KAAc,CAAC;AAE3O,gBAAA,MAAM,KAAK;YACZ;QACD,CAAC,EACD,MAAM,EACN,EAAE,KAAK,EAAE,UAAU,EAAE,CACrB;IACF;AACA;;;;"}
package/dist/esm/index.js CHANGED
@@ -31,6 +31,7 @@ export { DATE_CONSTANT } from './constant/date.constant.js';
31
31
  export { CONTROLLER_API_DECORATOR_CONSTANT } from './constant/decorator/api/controller.constant.js';
32
32
  export { FUNCTION_API_DECORATOR_CONSTANT } from './constant/decorator/api/function.constant.js';
33
33
  export { PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT } from './constant/decorator/api/property-describe.constant.js';
34
+ export { AUTO_CONTEXT_DTO_CONSTANT } from './constant/dto/auto-context.constant.js';
34
35
  export { EXCEPTION_DTO_CONSTANT } from './constant/dto/exception.constant.js';
35
36
  export { LIST_DTO_CONSTANT } from './constant/dto/list.constant.js';
36
37
  export { TRANSFORMER_VALUE_DTO_CONSTANT } from './constant/dto/transformer-value.constant.js';
@@ -115,7 +116,9 @@ export { AuthorizationScopeMergeWhere } from './utility/authorization/scope/merg
115
116
  export { AuthorizationResolveDefaultSubject } from './utility/authorization/subject/resolve-default-subject.utility.js';
116
117
  export { CamelCaseString } from './utility/camel-case-string.utility.js';
117
118
  export { CapitalizeString } from './utility/capitalize-string.utility.js';
118
- export { analyzeEntityMetadata } from './utility/dto/analize.utility.js';
119
+ export { DeferPropertyDecoratorExecution } from './utility/defer-property-decorator-execution.utility.js';
120
+ export { DtoAutoContextPop } from './utility/dto/auto-context-pop.utility.js';
121
+ export { DtoAutoContextPush } from './utility/dto/auto-context-push.utility.js';
119
122
  export { DtoBuildDecorator } from './utility/dto/build-decorator.utility.js';
120
123
  export { DtoGenerateCacheKey } from './utility/dto/generate-cache-key.utility.js';
121
124
  export { DtoGenerateDecorator } from './utility/dto/generate-decorator.utility.js';
@@ -135,9 +138,18 @@ export { DtoValidatePropertyConfig } from './utility/dto/validate-property-confi
135
138
  export { ErrorException } from './utility/error-exception.utility.js';
136
139
  export { ErrorString } from './utility/error-string.utility.js';
137
140
  export { GenerateEntityInformation } from './utility/generate-entity-information.utility.js';
141
+ export { GetAutoDtoContext } from './utility/get-auto-dto-context.utility.js';
138
142
  export { GetEntityColumns } from './utility/get-entity-columns.utility.js';
143
+ export { IsEntityConstructor } from './utility/is-entity-constructor.utility.js';
144
+ export { IsEntityFactory } from './utility/is-entity-factory.utility.js';
145
+ export { IsEntityLiteral } from './utility/is-entity-literal.utility.js';
139
146
  export { IsErrorOfType } from './utility/is-error-of-type.utility.js';
140
147
  export { LoggerUtility } from './utility/logger.utility.js';
148
+ export { QueueAutoContextRetry } from './utility/queue-auto-context-retry.utility.js';
149
+ export { GetRegisteredAutoDtoChildren, RegisterAutoDtoChild } from './utility/register-auto-dto-child.utility.js';
150
+ export { ResolveDecoratorContext } from './utility/resolve/decorator-context.utility.js';
151
+ export { ResolvePropertyEntity } from './utility/resolve/property-entity.utility.js';
152
+ export { WithResolvedPropertyEntity } from './utility/with-resolved-property-entity.utility.js';
141
153
  export { AllOrNoneOfListedPropertiesValidator } from './validator/all-or-none-of-listed-properties.validator.js';
142
154
  export { HasAtLeastOneAndOnlyOneOfListedPropertiesValidator } from './validator/has-at-least-one-and-only-one-of-listed-properties.validator.js';
143
155
  export { HasAtLeastOneOfListedPropertiesValidator } from './validator/has-at-least-one-of-listed-properties.validator.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,6 +5,5 @@ import type { TApiAuthorizationPolicyHookResult } from '../../../../../type/clas
5
5
  export interface IApiAuthorizationPolicyRegistry {
6
6
  buildAggregatedPolicy<E extends IApiBaseEntity, TAction extends string>(entity: new () => E, action: TAction): Promise<IApiAuthorizationPolicy<E, TApiAuthorizationPolicyHookResult<TAction, E>> | undefined>;
7
7
  clear(): void;
8
- registerPolicy<E extends IApiBaseEntity, R>(policy: IApiAuthorizationPolicy<E, R>): void;
9
8
  registerSubscriber<E extends IApiBaseEntity>(registration: IApiAuthorizationPolicySubscriberRegistration<E>): void;
10
9
  }
@@ -0,0 +1,5 @@
1
+ import type { EApiDtoType, EApiRouteType } from '../enum/decorator/api/index';
2
+ export interface IDtoAutoContextMetadata {
3
+ dtoType: EApiDtoType;
4
+ method: EApiRouteType;
5
+ }
@@ -1,7 +1,8 @@
1
1
  import type { IApiBaseEntity } from '../../../../../interface/api-base-entity.interface';
2
+ import type { Type } from "@nestjs/common";
2
3
  import type { TApiPropertyBaseArrayOptionalProperties, TApiPropertyBaseArrayRequiredProperties, TApiPropertyBaseRequestProperties, TApiPropertyBaseResponseProperties } from '../index';
3
4
  export type TApiPropertyBaseProperties = {
4
5
  description?: string;
5
- entity: IApiBaseEntity;
6
+ entity: IApiBaseEntity | Type<IApiBaseEntity>;
6
7
  isNullable?: boolean;
7
8
  } & (TApiPropertyBaseArrayOptionalProperties | TApiPropertyBaseArrayRequiredProperties) & (TApiPropertyBaseRequestProperties | TApiPropertyBaseResponseProperties);
@@ -0,0 +1,13 @@
1
+ import type { EApiDtoType, EApiRouteType } from '../../../../enum/index';
2
+ import type { Type } from "@nestjs/common";
3
+ import type { IAuthGuard } from "@nestjs/passport";
4
+ import type { TApiPropertyDescribeProperties } from '../../../index';
5
+ export type TApiPropertyCopyProperties<E> = {
6
+ dtoType?: EApiDtoType;
7
+ entity: (() => Type<E> | undefined) | Type<E>;
8
+ guard?: Type<IAuthGuard>;
9
+ metadata?: Partial<TApiPropertyDescribeProperties>;
10
+ method?: EApiRouteType;
11
+ propertyName: keyof E;
12
+ shouldAutoResolveContext?: boolean;
13
+ };
@@ -0,0 +1,3 @@
1
+ import type { IApiBaseEntity } from '../../../../interface/api-base-entity.interface';
2
+ import type { Type } from "@nestjs/common";
3
+ export type TApiPropertyEntity<E extends IApiBaseEntity = IApiBaseEntity> = (() => IApiBaseEntity | Type<E> | undefined) | IApiBaseEntity | Type<E>;
@@ -1,7 +1,9 @@
1
1
  export type * from './base/index';
2
+ export { type TApiPropertyCopyProperties } from './copy-properties.type';
2
3
  export { type TApiPropertyDateProperties } from './date-properties.type';
3
4
  export type * from './default/string/index';
4
5
  export type * from './describe/index';
6
+ export { type TApiPropertyEntity } from './entity.type';
5
7
  export { type TApiPropertyEnumProperties } from './enum-properties.type';
6
8
  export { type TApiPropertyNumberProperties } from './number-properties.type';
7
9
  export type * from './object/index';
@@ -1,4 +1,5 @@
1
1
  export { type TApiRequestTransformer } from './api-request-transformer.type';
2
+ export { type IDtoAutoContextMetadata } from './auto-context-metadata.type';
2
3
  export type * from './class/index';
3
4
  export type * from './class/api/authorization/index';
4
5
  export type * from './decorator/api/controller/index';
@@ -15,7 +15,6 @@ import '../../../enum/decorator/api/route-type.enum.js';
15
15
  import { assignMetadata } from '@nestjs/common';
16
16
  import { ROUTE_ARGS_METADATA, PARAMTYPES_METADATA } from '@nestjs/common/constants';
17
17
  import { RouteParamtypes } from '@nestjs/common/enums/route-paramtypes.enum';
18
- import '../../../constant/decorator/api/function.constant.js';
19
18
  import '../../../constant/utility/dto/constant.js';
20
19
  import '@nestjs/swagger';
21
20
  import '../../../external/tslib/tslib.es6.js';
@@ -29,6 +28,7 @@ import '../../../enum/filter-operation.enum.js';
29
28
  import '../../../validator/must-match-one-of-schemas.validator.js';
30
29
  import { DtoGenerate } from '../../dto/generate.utility.js';
31
30
  import '../../../enum/filter-order-direction.enum.js';
31
+ import '../../../constant/decorator/api/function.constant.js';
32
32
  import 'typeorm';
33
33
  import 'reflect-metadata';
34
34
  import '../../../validator/all-or-none-of-listed-properties.validator.js';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Executes and clears all queued handlers that were waiting for the DTO context on the specified prototype.
3
+ * @param {object} target - DTO prototype whose queued handlers should run.
4
+ */
5
+ export declare function FlushAutoDtoContextExecutions(target: object): void;
6
+ /**
7
+ * Queues a handler to run once the DTO context becomes available for the specified prototype.
8
+ * @param {object} target - DTO prototype awaiting context.
9
+ * @param {() => void} handler - Callback to execute after context is defined.
10
+ */
11
+ export declare function QueueAutoDtoContextExecution(target: object, handler: () => void): void;
@@ -0,0 +1,37 @@
1
+ const AUTO_DTO_CONTEXT_QUEUE = new WeakMap();
2
+ /**
3
+ * Executes and clears all queued handlers that were waiting for the DTO context on the specified prototype.
4
+ * @param {object} target - DTO prototype whose queued handlers should run.
5
+ */
6
+ function FlushAutoDtoContextExecutions(target) {
7
+ const queue = AUTO_DTO_CONTEXT_QUEUE.get(target);
8
+ if (!queue)
9
+ return;
10
+ AUTO_DTO_CONTEXT_QUEUE.delete(target);
11
+ for (const handler of queue.values()) {
12
+ try {
13
+ handler();
14
+ }
15
+ catch {
16
+ // ignore to avoid breaking other handlers
17
+ }
18
+ }
19
+ }
20
+ /**
21
+ * Queues a handler to run once the DTO context becomes available for the specified prototype.
22
+ * @param {object} target - DTO prototype awaiting context.
23
+ * @param {() => void} handler - Callback to execute after context is defined.
24
+ */
25
+ function QueueAutoDtoContextExecution(target, handler) {
26
+ if (!target || typeof handler !== "function")
27
+ return;
28
+ let queue = AUTO_DTO_CONTEXT_QUEUE.get(target);
29
+ if (!queue) {
30
+ queue = new Set();
31
+ AUTO_DTO_CONTEXT_QUEUE.set(target, queue);
32
+ }
33
+ queue.add(handler);
34
+ }
35
+
36
+ export { FlushAutoDtoContextExecutions, QueueAutoDtoContextExecution };
37
+ //# sourceMappingURL=auto-dto-context-queue.utility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auto-dto-context-queue.utility.js","sources":["../../../../src/utility/auto-dto-context-queue.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA,MAAM,sBAAsB,GAAqC,IAAI,OAAO,EAA2B;AAEvG;;;AAGG;AACG,SAAU,6BAA6B,CAAC,MAAc,EAAA;IAC3D,MAAM,KAAK,GAAgC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;AAE7E,IAAA,IAAI,CAAC,KAAK;QAAE;AAEZ,IAAA,sBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC;IAErC,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;AACrC,QAAA,IAAI;AACH,YAAA,OAAO,EAAE;QACV;AAAE,QAAA,MAAM;;QAER;IACD;AACD;AAEA;;;;AAIG;AACG,SAAU,4BAA4B,CAAC,MAAc,EAAE,OAAmB,EAAA;AAC/E,IAAA,IAAI,CAAC,MAAM,IAAI,OAAO,OAAO,KAAK,UAAU;QAAE;IAE9C,IAAI,KAAK,GAAgC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;IAE3E,IAAI,CAAC,KAAK,EAAE;AACX,QAAA,KAAK,GAAG,IAAI,GAAG,EAAc;AAC7B,QAAA,sBAAsB,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC;IAC1C;AAEA,IAAA,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AACnB;;;;"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Defers decorator execution to the next microtask (or macrotask) to allow entity factories to resolve.
3
+ * @param {() => void} handler - Callback executed after the current call stack completes.
4
+ */
5
+ export declare function DeferPropertyDecoratorExecution(handler: () => void): void;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Defers decorator execution to the next microtask (or macrotask) to allow entity factories to resolve.
3
+ * @param {() => void} handler - Callback executed after the current call stack completes.
4
+ */
5
+ function DeferPropertyDecoratorExecution(handler) {
6
+ if (typeof queueMicrotask === "function") {
7
+ queueMicrotask(handler);
8
+ return;
9
+ }
10
+ setTimeout(handler, 0);
11
+ }
12
+
13
+ export { DeferPropertyDecoratorExecution };
14
+ //# sourceMappingURL=defer-property-decorator-execution.utility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defer-property-decorator-execution.utility.js","sources":["../../../../src/utility/defer-property-decorator-execution.utility.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;;;AAGG;AACG,SAAU,+BAA+B,CAAC,OAAmB,EAAA;AAClE,IAAA,IAAI,OAAO,cAAc,KAAK,UAAU,EAAE;QACzC,cAAc,CAAC,OAAO,CAAC;QAEvB;IACD;AAEA,IAAA,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;AACvB;;;;"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Pops DTO auto-context from the provided DTO prototype.
3
+ * @param {object} target - DTO prototype to update.
4
+ * @param {WeakSet<object>} [visited] - Set of visited prototypes to avoid infinite recursion.
5
+ */
6
+ export declare function DtoAutoContextPop(target: object, visited?: WeakSet<object>): void;
@@ -0,0 +1,36 @@
1
+ import { DTO_AUTO_CONTEXT_METADATA_KEY } from '../../constant/dto/auto-context.constant.js';
2
+ import { GetRegisteredAutoDtoChildren } from '../register-auto-dto-child.utility.js';
3
+
4
+ /**
5
+ * Pops DTO auto-context from the provided DTO prototype.
6
+ * @param {object} target - DTO prototype to update.
7
+ * @param {WeakSet<object>} [visited] - Set of visited prototypes to avoid infinite recursion.
8
+ */
9
+ function DtoAutoContextPop(target, visited) {
10
+ if (!target)
11
+ return;
12
+ const stack = Reflect.getMetadata?.(DTO_AUTO_CONTEXT_METADATA_KEY, target);
13
+ if (stack && stack.length > 0) {
14
+ stack.pop();
15
+ if (stack.length === 0) {
16
+ Reflect.deleteMetadata?.(DTO_AUTO_CONTEXT_METADATA_KEY, target);
17
+ }
18
+ else {
19
+ Reflect.defineMetadata?.(DTO_AUTO_CONTEXT_METADATA_KEY, stack, target);
20
+ }
21
+ }
22
+ visited ??= new WeakSet();
23
+ if (visited.has(target))
24
+ return;
25
+ visited.add(target);
26
+ // eslint-disable-next-line @elsikora/typescript/no-unsafe-function-type
27
+ const children = GetRegisteredAutoDtoChildren(target);
28
+ if (!children)
29
+ return;
30
+ for (const child of children) {
31
+ DtoAutoContextPop(child.prototype, visited);
32
+ }
33
+ }
34
+
35
+ export { DtoAutoContextPop };
36
+ //# sourceMappingURL=auto-context-pop.utility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auto-context-pop.utility.js","sources":["../../../../../src/utility/dto/auto-context-pop.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA;;;;AAIG;AACG,SAAU,iBAAiB,CAAC,MAAc,EAAE,OAAyB,EAAA;AAC1E,IAAA,IAAI,CAAC,MAAM;QAAE;IAEb,MAAM,KAAK,GAA+C,OAAO,CAAC,WAAW,GAAG,6BAA6B,EAAE,MAAM,CAA+C;IAEpK,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QAC9B,KAAK,CAAC,GAAG,EAAE;AAEX,QAAA,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACvB,OAAO,CAAC,cAAc,GAAG,6BAA6B,EAAE,MAAM,CAAC;QAChE;aAAO;YACN,OAAO,CAAC,cAAc,GAAG,6BAA6B,EAAE,KAAK,EAAE,MAAM,CAAC;QACvE;IACD;AAEA,IAAA,OAAO,KAAK,IAAI,OAAO,EAAU;AAEjC,IAAA,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE;AACzB,IAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;;AAGnB,IAAA,MAAM,QAAQ,GAA8B,4BAA4B,CAAC,MAAM,CAAC;AAEhF,IAAA,IAAI,CAAC,QAAQ;QAAE;AAEf,IAAA,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;AAC7B,QAAA,iBAAiB,CAAC,KAAK,CAAC,SAAmB,EAAE,OAAO,CAAC;IACtD;AACD;;;;"}
@@ -0,0 +1,9 @@
1
+ import type { EApiDtoType, EApiRouteType } from '../../enum/index';
2
+ /**
3
+ * Pushes DTO auto-context onto the provided DTO prototype so property decorators can read it later.
4
+ * @param {object} target - DTO prototype to annotate.
5
+ * @param {EApiRouteType} method - Route method currently being generated.
6
+ * @param {EApiDtoType} dtoType - DTO type currently being generated.
7
+ * @param {WeakSet<object>} [visited] - Set of visited prototypes to avoid infinite recursion.
8
+ */
9
+ export declare function DtoAutoContextPush(target: object, method: EApiRouteType, dtoType: EApiDtoType, visited?: WeakSet<object>): void;
@@ -0,0 +1,33 @@
1
+ import { DTO_AUTO_CONTEXT_METADATA_KEY } from '../../constant/dto/auto-context.constant.js';
2
+ import { FlushAutoDtoContextExecutions } from '../auto-dto-context-queue.utility.js';
3
+ import { GetRegisteredAutoDtoChildren } from '../register-auto-dto-child.utility.js';
4
+
5
+ /**
6
+ * Pushes DTO auto-context onto the provided DTO prototype so property decorators can read it later.
7
+ * @param {object} target - DTO prototype to annotate.
8
+ * @param {EApiRouteType} method - Route method currently being generated.
9
+ * @param {EApiDtoType} dtoType - DTO type currently being generated.
10
+ * @param {WeakSet<object>} [visited] - Set of visited prototypes to avoid infinite recursion.
11
+ */
12
+ function DtoAutoContextPush(target, method, dtoType, visited) {
13
+ if (!target)
14
+ return;
15
+ const stack = Reflect.getMetadata?.(DTO_AUTO_CONTEXT_METADATA_KEY, target) ?? [];
16
+ stack.push({ dtoType, method });
17
+ Reflect.defineMetadata?.(DTO_AUTO_CONTEXT_METADATA_KEY, stack, target);
18
+ FlushAutoDtoContextExecutions(target);
19
+ visited ??= new WeakSet();
20
+ if (visited.has(target))
21
+ return;
22
+ visited.add(target);
23
+ // eslint-disable-next-line @elsikora/typescript/no-unsafe-function-type
24
+ const children = GetRegisteredAutoDtoChildren(target);
25
+ if (!children)
26
+ return;
27
+ for (const child of children) {
28
+ DtoAutoContextPush(child.prototype, method, dtoType, visited);
29
+ }
30
+ }
31
+
32
+ export { DtoAutoContextPush };
33
+ //# sourceMappingURL=auto-context-push.utility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auto-context-push.utility.js","sources":["../../../../../src/utility/dto/auto-context-push.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;AAMG;AACG,SAAU,kBAAkB,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAoB,EAAE,OAAyB,EAAA;AACxH,IAAA,IAAI,CAAC,MAAM;QAAE;AAEb,IAAA,MAAM,KAAK,GAAoC,OAAO,CAAC,WAAW,GAAG,6BAA6B,EAAE,MAAM,CAAoC,IAAI,EAAE;IACpJ,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAC/B,OAAO,CAAC,cAAc,GAAG,6BAA6B,EAAE,KAAK,EAAE,MAAM,CAAC;IACtE,6BAA6B,CAAC,MAAM,CAAC;AAErC,IAAA,OAAO,KAAK,IAAI,OAAO,EAAU;AAEjC,IAAA,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE;AACzB,IAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;;AAGnB,IAAA,MAAM,QAAQ,GAA8B,4BAA4B,CAAC,MAAM,CAAC;AAEhF,IAAA,IAAI,CAAC,QAAQ;QAAE;AAEf,IAAA,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC7B,kBAAkB,CAAC,KAAK,CAAC,SAAmB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;IACxE;AACD;;;;"}
@@ -16,6 +16,7 @@ import { DtoGenerateDecorator } from './generate-decorator.utility.js';
16
16
  import { DtoGetDecoratorConfig } from './get-decorator-config.utility.js';
17
17
  import { DtoHandleDateProperty } from './handle-date-property.utility.js';
18
18
  import { DtoIsPropertyExposedForGuard } from './is-property-exposed-for-guard.utility.js';
19
+ import { RegisterAutoDtoChild } from '../register-auto-dto-child.utility.js';
19
20
 
20
21
  /**
21
22
  * Creates property decorators for DTOs based on property metadata, entity information, and context.
@@ -56,7 +57,14 @@ function DtoBuildDecorator(method, propertyMetadata, entity, dtoType, propertyNa
56
57
  }
57
58
  }
58
59
  const config = DtoGetDecoratorConfig(method, propertyMetadata, dtoType);
59
- return [DtoGenerateDecorator(propertyMetadata, entity, config, method, dtoType, propertyName, generatedDTOs)];
60
+ const decorators = [];
61
+ if (propertyMetadata.type === EApiPropertyDescribeType.OBJECT && propertyMetadata.dataType) {
62
+ decorators.push((target) => {
63
+ RegisterAutoDtoChild(target, propertyMetadata.dataType);
64
+ });
65
+ }
66
+ decorators.push(DtoGenerateDecorator(propertyMetadata, entity, config, method, dtoType, propertyName, generatedDTOs));
67
+ return decorators;
60
68
  }
61
69
 
62
70
  export { DtoBuildDecorator };
@@ -1 +1 @@
1
- {"version":3,"file":"build-decorator.utility.js","sources":["../../../../../src/utility/dto/build-decorator.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;AAcG;AACH;AACM,SAAU,iBAAiB,CAAoD,MAAS,EAAE,gBAAgD,EAAE,MAAqB,EAAE,OAAU,EAAE,YAAoB,EAAE,YAA+B,EAAE,aAA6C,EAAA;IAKxR,MAAM,UAAU,GAA2C,gBAAgB,CAAC,UAAU,GAAG,MAAM,CAA2C;AAE1I,IAAA,IAAI,UAAU,GAAG,OAAO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AO,cAAc,CAAC,GAAG,CAAC,CAAC,QAAkE,KAAI;AAChG,gBAAA,MAAM,WAAW,GAAmC,EAAE,GAAG,YAAY,EAAE,UAAU,EAAE,QAAQ,CAAC,UAAU,EAAE;AACxG,gBAAA,MAAM,MAAM,GAAsC,qBAAqB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC;AAEpH,gBAAA,OAAO,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC;AACxF,YAAA,CAAC,CAAC;QACH;IACD;AAEA,IAAA,MAAM,MAAM,GAAsC,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAqB,CAAC;IAExH,MAAM,UAAU,GAA6B,EAAE;AAE/C,IAAA,IAAI,gBAAgB,CAAC,IAAI,KAAK,wBAAwB,CAAC,MAAM,IAAI,gBAAgB,CAAC,QAAQ,EAAE;AAC3F,QAAA,UAAU,CAAC,IAAI,CAAC,CAAC,MAAc,KAAU;AACxC,YAAA,oBAAoB,CAAC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,CAAC;AACxD,QAAA,CAAC,CAAC;IACH;IAEA,UAAU,CAAC,IAAI,CAAC,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAErH,IAAA,OAAO,UAAU;AAClB;;;;"}
@@ -16,6 +16,8 @@ import { ApiExtraModels } from '@nestjs/swagger';
16
16
  import { CamelCaseString } from '../camel-case-string.utility.js';
17
17
  import { DtoBuildDecorator } from './build-decorator.utility.js';
18
18
  import { DtoIsPropertyExposedForGuard } from './is-property-exposed-for-guard.utility.js';
19
+ import { DtoAutoContextPop } from './auto-context-pop.utility.js';
20
+ import { DtoAutoContextPush } from './auto-context-push.utility.js';
19
21
 
20
22
  /**
21
23
  * Generates dynamic DTOs for object-type properties based on property metadata.
@@ -88,24 +90,30 @@ function DtoGenerateDynamic(method, propertyMetadata, entity, dtoType, _property
88
90
  }
89
91
  }
90
92
  }
91
- for (const propertyName of Object.keys(data)) {
92
- if (data[propertyName]) {
93
- const propertyGeneratedDTOs = nestedDTOs[propertyName] ?? {};
94
- const decorators = DtoBuildDecorator(method, data[propertyName], entity, dtoType, propertyName, currentGuard, propertyGeneratedDTOs);
95
- if (decorators) {
96
- for (const [, decorator] of decorators.entries()) {
97
- decorator(GeneratedDTO.prototype, propertyName);
93
+ DtoAutoContextPush(GeneratedDTO.prototype, method, dtoType);
94
+ try {
95
+ for (const propertyName of Object.keys(data)) {
96
+ if (data[propertyName]) {
97
+ const propertyGeneratedDTOs = nestedDTOs[propertyName] ?? {};
98
+ const decorators = DtoBuildDecorator(method, data[propertyName], entity, dtoType, propertyName, currentGuard, propertyGeneratedDTOs);
99
+ if (decorators) {
100
+ for (const [, decorator] of decorators.entries()) {
101
+ decorator(GeneratedDTO.prototype, propertyName);
102
+ }
98
103
  }
99
104
  }
100
105
  }
106
+ Object.defineProperty(GeneratedDTO, "name", {
107
+ value: `${entity.name ?? "UnknownResource"}${CamelCaseString(method)}${CamelCaseString(dtoType)}${CamelCaseString(_propertyName)}${CamelCaseString(name)}DTO`,
108
+ });
109
+ if (allNestedTypes.length > 0) {
110
+ ApiExtraModels(...allNestedTypes)(GeneratedDTO);
111
+ }
112
+ generatedDTOs[name] = GeneratedDTO;
101
113
  }
102
- Object.defineProperty(GeneratedDTO, "name", {
103
- value: `${entity.name ?? "UnknownResource"}${CamelCaseString(method)}${CamelCaseString(dtoType)}${CamelCaseString(_propertyName)}${CamelCaseString(name)}DTO`,
104
- });
105
- if (allNestedTypes.length > 0) {
106
- ApiExtraModels(...allNestedTypes)(GeneratedDTO);
114
+ finally {
115
+ DtoAutoContextPop(GeneratedDTO.prototype);
107
116
  }
108
- generatedDTOs[name] = GeneratedDTO;
109
117
  }
110
118
  }
111
119
  return generatedDTOs;
@@ -1 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,gBAAA,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE;AAC9B,oBAAA,cAAc,CAAC,GAAG,cAAc,CAAC,CAAC,YAAY,CAAC;gBAChD;AAEA,gBAAA,aAAa,CAAC,IAAI,CAAC,GAAG,YAAY;YACnC;oBAAU;AACT,gBAAA,iBAAiB,CAAC,YAAY,CAAC,SAAS,CAAC;YAC1C;QACD;IACD;AAEA,IAAA,OAAO,aAAa;AACrB;;;;"}
@@ -28,6 +28,8 @@ import { DtoIsShouldBeGenerated } from './is-should-be-generated.utility.js';
28
28
  import { ErrorException } from '../error-exception.utility.js';
29
29
  import { HasPairedCustomSuffixesFieldsValidator } from '../../validator/has-paired-custom-suffixes-fields.validator.js';
30
30
  import { Validate } from 'class-validator';
31
+ import { DtoAutoContextPop } from './auto-context-pop.utility.js';
32
+ import { DtoAutoContextPush } from './auto-context-push.utility.js';
31
33
 
32
34
  const dtoGenerateCache = new Map();
33
35
  /**
@@ -123,40 +125,46 @@ function DtoGenerate(entity, entityMetadata, method, dtoType, dtoConfig, current
123
125
  }
124
126
  }
125
127
  }
126
- for (const property of markedProperties) {
127
- const generatedDTOs = DtoGenerateDynamic(method, property.metadata, entityMetadata, dtoType, property.name, currentGuard);
128
- const decorators = DtoBuildDecorator(method, property.metadata, entityMetadata, dtoType, property.name, currentGuard, generatedDTOs);
129
- if (decorators) {
130
- for (const [, decorator] of decorators.entries()) {
131
- if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
132
- decorator(GeneratedDTO.prototype, `${property.name}[value]`);
133
- DtoGenerateFilterDecorator(property.metadata, entityMetadata)(GeneratedDTO.prototype, `${property.name}[operator]`);
134
- }
135
- else {
136
- decorator(GeneratedDTO.prototype, property.name);
128
+ DtoAutoContextPush(GeneratedDTO.prototype, method, dtoType);
129
+ try {
130
+ for (const property of markedProperties) {
131
+ const generatedDTOs = DtoGenerateDynamic(method, property.metadata, entityMetadata, dtoType, property.name, currentGuard);
132
+ const decorators = DtoBuildDecorator(method, property.metadata, entityMetadata, dtoType, property.name, currentGuard, generatedDTOs);
133
+ if (decorators) {
134
+ for (const [, decorator] of decorators.entries()) {
135
+ if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
136
+ decorator(GeneratedDTO.prototype, `${property.name}[value]`);
137
+ DtoGenerateFilterDecorator(property.metadata, entityMetadata)(GeneratedDTO.prototype, `${property.name}[operator]`);
138
+ }
139
+ else {
140
+ decorator(GeneratedDTO.prototype, property.name);
141
+ }
137
142
  }
138
143
  }
139
- }
140
- if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
141
- // @ts-ignore
142
- const metadataArray = { ...property.metadata, isArray: true, isUniqueItems: false, maxItems: DTO_GENERATE_CONSTANT.MAXIMUM_FILTER_PROPERTIES, minItems: DTO_GENERATE_CONSTANT.MINIMUM_FILTER_PROPERTIES };
143
- const decoratorsArray = DtoBuildDecorator(method, metadataArray, entityMetadata, dtoType, property.name, currentGuard);
144
- if (decoratorsArray) {
145
- for (const [, decorator] of decoratorsArray.entries()) {
146
- decorator(GeneratedDTO.prototype, `${property.name}[values]`);
144
+ if (method === EApiRouteType.GET_LIST && dtoType === EApiDtoType.QUERY) {
145
+ // @ts-ignore
146
+ const metadataArray = { ...property.metadata, isArray: true, isUniqueItems: false, maxItems: DTO_GENERATE_CONSTANT.MAXIMUM_FILTER_PROPERTIES, minItems: DTO_GENERATE_CONSTANT.MINIMUM_FILTER_PROPERTIES };
147
+ const decoratorsArray = DtoBuildDecorator(method, metadataArray, entityMetadata, dtoType, property.name, currentGuard);
148
+ if (decoratorsArray) {
149
+ for (const [, decorator] of decoratorsArray.entries()) {
150
+ decorator(GeneratedDTO.prototype, `${property.name}[values]`);
151
+ }
147
152
  }
148
153
  }
149
- }
150
- if (property.metadata.type === EApiPropertyDescribeType.OBJECT && Array.isArray(property.metadata.dataType)) {
151
- // @ts-ignore
152
- extraModels.push(...property.metadata.dataType);
153
- }
154
- if (generatedDTOs) {
155
- for (const [, value] of Object.entries(generatedDTOs)) {
156
- extraModels.push(value);
154
+ if (property.metadata.type === EApiPropertyDescribeType.OBJECT && Array.isArray(property.metadata.dataType)) {
155
+ // @ts-ignore
156
+ extraModels.push(...property.metadata.dataType);
157
+ }
158
+ if (generatedDTOs) {
159
+ for (const [, value] of Object.entries(generatedDTOs)) {
160
+ extraModels.push(value);
161
+ }
157
162
  }
158
163
  }
159
164
  }
165
+ finally {
166
+ DtoAutoContextPop(GeneratedDTO.prototype);
167
+ }
160
168
  if (dtoConfig?.validators) {
161
169
  for (const validator of dtoConfig.validators) {
162
170
  Validate(validator.constraintClass, validator.options)(GeneratedDTO.prototype, "object");