@elsikora/nestjs-crud-automator 1.4.8 → 1.5.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 (491) hide show
  1. package/dist/class/api/service-base.class.js.map +1 -1
  2. package/dist/class/metadata-storage.class.js.map +1 -1
  3. package/dist/class/utility/dto/index.d.ts +1 -1
  4. package/dist/class/utility/dto/index.js +1 -1
  5. package/dist/class/utility/dto/property/factory/boolean.class.js +2 -1
  6. package/dist/class/utility/dto/property/factory/boolean.class.js.map +1 -1
  7. package/dist/class/utility/dto/property/factory/date.class.js +2 -1
  8. package/dist/class/utility/dto/property/factory/date.class.js.map +1 -1
  9. package/dist/class/utility/dto/property/factory/enum.class.d.ts +5 -0
  10. package/dist/class/utility/dto/property/factory/enum.class.js +16 -0
  11. package/dist/class/utility/dto/property/factory/enum.class.js.map +1 -0
  12. package/dist/class/utility/dto/property/factory/index.d.ts +4 -4
  13. package/dist/class/utility/dto/property/factory/index.js +4 -4
  14. package/dist/class/utility/dto/property/factory/index.js.map +1 -1
  15. package/dist/class/utility/dto/property/factory/number.class.js +2 -5
  16. package/dist/class/utility/dto/property/factory/number.class.js.map +1 -1
  17. package/dist/class/utility/dto/property/factory/object.class.js +3 -3
  18. package/dist/class/utility/dto/property/factory/object.class.js.map +1 -1
  19. package/dist/class/utility/dto/property/factory/relation.class.d.ts +1 -1
  20. package/dist/class/utility/dto/property/factory/relation.class.js +2 -7
  21. package/dist/class/utility/dto/property/factory/relation.class.js.map +1 -1
  22. package/dist/class/utility/dto/property/factory/string.class.js +2 -1
  23. package/dist/class/utility/dto/property/factory/string.class.js.map +1 -1
  24. package/dist/class/utility/dto/property/factory/uuid.class.js +2 -1
  25. package/dist/class/utility/dto/property/factory/uuid.class.js.map +1 -1
  26. package/dist/class/utility/dto/strategy/body.class.d.ts +1 -1
  27. package/dist/class/utility/dto/strategy/body.class.js +16 -4
  28. package/dist/class/utility/dto/strategy/body.class.js.map +1 -1
  29. package/dist/class/utility/dto/strategy/index.d.ts +1 -1
  30. package/dist/class/utility/dto/strategy/index.js +1 -1
  31. package/dist/class/utility/dto/strategy/index.js.map +1 -1
  32. package/dist/class/utility/dto/strategy/query.class.d.ts +1 -1
  33. package/dist/class/utility/dto/strategy/query.class.js +15 -3
  34. package/dist/class/utility/dto/strategy/query.class.js.map +1 -1
  35. package/dist/class/utility/dto/strategy/request.class.d.ts +1 -1
  36. package/dist/class/utility/dto/strategy/request.class.js +14 -7
  37. package/dist/class/utility/dto/strategy/request.class.js.map +1 -1
  38. package/dist/class/utility/dto/strategy/response.class.d.ts +1 -1
  39. package/dist/class/utility/dto/strategy/response.class.js +17 -2
  40. package/dist/class/utility/dto/strategy/response.class.js.map +1 -1
  41. package/dist/constant/decorator/api/index.d.ts +1 -1
  42. package/dist/constant/decorator/api/index.js +1 -1
  43. package/dist/constant/decorator/api/index.js.map +1 -1
  44. package/dist/constant/decorator/api/property-describe.constant.js.map +1 -1
  45. package/dist/constant/dto/index.d.ts +2 -0
  46. package/dist/constant/dto/index.js +2 -0
  47. package/dist/constant/dto/index.js.map +1 -1
  48. package/dist/constant/dto/list.constant.d.ts +7 -0
  49. package/dist/constant/dto/list.constant.js +14 -0
  50. package/dist/constant/dto/list.constant.js.map +1 -0
  51. package/dist/constant/dto/transformer-value.constant.d.ts +5 -5
  52. package/dist/constant/index.d.ts +2 -2
  53. package/dist/constant/index.js +2 -2
  54. package/dist/constant/index.js.map +1 -1
  55. package/dist/constant/interface/api/index.d.ts +1 -1
  56. package/dist/constant/interface/api/index.js +1 -1
  57. package/dist/constant/interface/api/index.js.map +1 -1
  58. package/dist/constant/utility/dto/constant.d.ts +1 -1
  59. package/dist/constant/utility/dto/constant.js +2 -0
  60. package/dist/constant/utility/dto/constant.js.map +1 -1
  61. package/dist/decorator/api/controller.decorator.js.map +1 -1
  62. package/dist/decorator/api/function/create.decorator.js.map +1 -1
  63. package/dist/decorator/api/function/delete.decorator.js.map +1 -1
  64. package/dist/decorator/api/function/get-list.decorator.js +3 -8
  65. package/dist/decorator/api/function/get-list.decorator.js.map +1 -1
  66. package/dist/decorator/api/function/get-many.decorator.js.map +1 -1
  67. package/dist/decorator/api/function/get.decorator.js.map +1 -1
  68. package/dist/decorator/api/function/index.d.ts +3 -3
  69. package/dist/decorator/api/function/index.js +3 -3
  70. package/dist/decorator/api/function/index.js.map +1 -1
  71. package/dist/decorator/api/function/update.decorator.js.map +1 -1
  72. package/dist/decorator/api/index.d.ts +2 -2
  73. package/dist/decorator/api/index.js +2 -2
  74. package/dist/decorator/api/index.js.map +1 -1
  75. package/dist/decorator/api/property/boolean.decorator.d.ts +2 -2
  76. package/dist/decorator/api/property/boolean.decorator.js +120 -30
  77. package/dist/decorator/api/property/boolean.decorator.js.map +1 -1
  78. package/dist/decorator/api/property/date.decorator.d.ts +2 -2
  79. package/dist/decorator/api/property/date.decorator.js +155 -51
  80. package/dist/decorator/api/property/date.decorator.js.map +1 -1
  81. package/dist/decorator/api/property/describe.decorator.js.map +1 -1
  82. package/dist/decorator/api/property/enum.decorator.d.ts +2 -0
  83. package/dist/decorator/api/property/enum.decorator.js +106 -0
  84. package/dist/decorator/api/property/enum.decorator.js.map +1 -0
  85. package/dist/decorator/api/property/index.d.ts +2 -3
  86. package/dist/decorator/api/property/index.js +2 -3
  87. package/dist/decorator/api/property/index.js.map +1 -1
  88. package/dist/decorator/api/property/number.decorator.d.ts +2 -2
  89. package/dist/decorator/api/property/number.decorator.js +129 -74
  90. package/dist/decorator/api/property/number.decorator.js.map +1 -1
  91. package/dist/decorator/api/property/object.decorator.d.ts +2 -2
  92. package/dist/decorator/api/property/object.decorator.js +51 -72
  93. package/dist/decorator/api/property/object.decorator.js.map +1 -1
  94. package/dist/decorator/api/property/string.decorator.d.ts +2 -2
  95. package/dist/decorator/api/property/string.decorator.js +131 -204
  96. package/dist/decorator/api/property/string.decorator.js.map +1 -1
  97. package/dist/decorator/api/property/uuid.decorator.d.ts +2 -2
  98. package/dist/decorator/api/property/uuid.decorator.js +76 -34
  99. package/dist/decorator/api/property/uuid.decorator.js.map +1 -1
  100. package/dist/decorator/api/service.decorator.js.map +1 -1
  101. package/dist/enum/decorator/api/controller/index.d.ts +1 -1
  102. package/dist/enum/decorator/api/controller/index.js +1 -1
  103. package/dist/enum/decorator/api/controller/index.js.map +1 -1
  104. package/dist/enum/decorator/api/index.d.ts +3 -3
  105. package/dist/enum/decorator/api/index.js +3 -3
  106. package/dist/enum/decorator/api/index.js.map +1 -1
  107. package/dist/enum/decorator/api/property/data-type.enum.d.ts +0 -5
  108. package/dist/enum/decorator/api/property/data-type.enum.js +1 -20
  109. package/dist/enum/decorator/api/property/data-type.enum.js.map +1 -1
  110. package/dist/enum/decorator/api/property/{date-type.enum.d.ts → date/identifier.enum.d.ts} +1 -1
  111. package/dist/enum/decorator/api/property/date/identifier.enum.js +19 -0
  112. package/dist/enum/decorator/api/property/date/identifier.enum.js.map +1 -0
  113. package/dist/enum/decorator/api/property/date/index.d.ts +2 -0
  114. package/dist/{interface/decorator/api/property → enum/decorator/api/property/date}/index.js +2 -6
  115. package/dist/enum/decorator/api/property/date/index.js.map +1 -0
  116. package/dist/enum/decorator/api/property/date/type.enum.d.ts +5 -0
  117. package/dist/enum/decorator/api/property/date/type.enum.js +11 -0
  118. package/dist/enum/decorator/api/property/date/type.enum.js.map +1 -0
  119. package/dist/enum/decorator/api/property/desribe-type.enum.d.ts +1 -0
  120. package/dist/enum/decorator/api/property/desribe-type.enum.js +1 -0
  121. package/dist/enum/decorator/api/property/desribe-type.enum.js.map +1 -1
  122. package/dist/enum/decorator/api/property/index.d.ts +3 -1
  123. package/dist/enum/decorator/api/property/index.js +3 -1
  124. package/dist/enum/decorator/api/property/index.js.map +1 -1
  125. package/dist/enum/decorator/api/property/number-type.enum.d.ts +4 -0
  126. package/dist/enum/decorator/api/property/number-type.enum.js +10 -0
  127. package/dist/enum/decorator/api/property/number-type.enum.js.map +1 -0
  128. package/dist/enum/decorator/api/property/string-type.enum.d.ts +11 -0
  129. package/dist/enum/decorator/api/property/string-type.enum.js +17 -0
  130. package/dist/enum/decorator/api/property/string-type.enum.js.map +1 -0
  131. package/dist/enum/filter-operation.enum.d.ts +108 -0
  132. package/dist/enum/filter-operation.enum.js +122 -0
  133. package/dist/enum/filter-operation.enum.js.map +1 -0
  134. package/dist/enum/index.d.ts +1 -1
  135. package/dist/enum/index.js +1 -1
  136. package/dist/enum/index.js.map +1 -1
  137. package/dist/enum/utility/error-string-action.enum.d.ts +1 -0
  138. package/dist/enum/utility/error-string-action.enum.js +1 -0
  139. package/dist/enum/utility/error-string-action.enum.js.map +1 -1
  140. package/dist/factory/api/controller.factory.d.ts +2 -2
  141. package/dist/factory/api/controller.factory.js +78 -50
  142. package/dist/factory/api/controller.factory.js.map +1 -1
  143. package/dist/index.d.ts +7 -7
  144. package/dist/index.js +5 -7
  145. package/dist/index.js.map +1 -1
  146. package/dist/interceptor/correlation-id-response-body.interceptor.js.map +1 -1
  147. package/dist/interface/api-request-validator.interface.d.ts +2 -2
  148. package/dist/interface/class/dto/index.d.ts +1 -1
  149. package/dist/interface/class/dto/index.js +0 -15
  150. package/dist/interface/class/dto/index.js.map +1 -1
  151. package/dist/interface/class/index.d.ts +2 -2
  152. package/dist/interface/class/index.js +0 -16
  153. package/dist/interface/class/index.js.map +1 -1
  154. package/dist/interface/decorator/api/controller/index.d.ts +3 -3
  155. package/dist/interface/decorator/api/controller/index.js +0 -17
  156. package/dist/interface/decorator/api/controller/index.js.map +1 -1
  157. package/dist/interface/decorator/api/controller/properties/index.d.ts +1 -1
  158. package/dist/interface/decorator/api/controller/properties/index.js +0 -15
  159. package/dist/interface/decorator/api/controller/properties/index.js.map +1 -1
  160. package/dist/interface/decorator/api/controller/properties/route/authentication.interface.d.ts +1 -1
  161. package/dist/interface/decorator/api/controller/properties/route/base-response.interface.d.ts +1 -1
  162. package/dist/interface/decorator/api/controller/properties/route/base.interface.d.ts +1 -1
  163. package/dist/interface/decorator/api/controller/properties/route/index.d.ts +7 -7
  164. package/dist/interface/decorator/api/controller/properties/route/index.js +0 -21
  165. package/dist/interface/decorator/api/controller/properties/route/index.js.map +1 -1
  166. package/dist/interface/decorator/api/controller/properties/route/with-auto-dto.interface.d.ts +2 -4
  167. package/dist/interface/decorator/api/controller/properties/route/with-dto.interface.d.ts +3 -5
  168. package/dist/interface/decorator/api/function/create-executor-properties.interface.d.ts +1 -1
  169. package/dist/interface/decorator/api/function/delete-executor-properties.type.d.ts +1 -1
  170. package/dist/interface/decorator/api/function/get-executor-properties.interface.d.ts +1 -1
  171. package/dist/interface/decorator/api/function/get-list-executor-properties.type.d.ts +1 -1
  172. package/dist/interface/decorator/api/function/get-many-executor-properties.interface.d.ts +1 -1
  173. package/dist/interface/decorator/api/function/index.d.ts +5 -5
  174. package/dist/interface/decorator/api/function/index.js +0 -19
  175. package/dist/interface/decorator/api/function/index.js.map +1 -1
  176. package/dist/interface/decorator/api/function/update-executor-properties.type.d.ts +1 -1
  177. package/dist/interface/decorator/api/index.d.ts +5 -6
  178. package/dist/interface/decorator/api/index.js +0 -20
  179. package/dist/interface/decorator/api/index.js.map +1 -1
  180. package/dist/interface/decorator/api/method/index.d.ts +2 -2
  181. package/dist/interface/decorator/api/method/index.js +0 -16
  182. package/dist/interface/decorator/api/method/index.js.map +1 -1
  183. package/dist/interface/decorator/api/method/properties.interface.d.ts +2 -2
  184. package/dist/interface/decorator/index.d.ts +1 -1
  185. package/dist/interface/decorator/index.js +0 -15
  186. package/dist/interface/decorator/index.js.map +1 -1
  187. package/dist/interface/dto-generate-factory.interface.d.ts +1 -1
  188. package/dist/interface/entity/index.d.ts +2 -2
  189. package/dist/interface/entity/index.js +0 -16
  190. package/dist/interface/entity/index.js.map +1 -1
  191. package/dist/interface/entity/interface.d.ts +1 -1
  192. package/dist/interface/index.d.ts +8 -8
  193. package/dist/interface/index.js +0 -22
  194. package/dist/interface/index.js.map +1 -1
  195. package/dist/interface/utility/api/controller/index.d.ts +1 -1
  196. package/dist/interface/utility/api/controller/index.js +0 -15
  197. package/dist/interface/utility/api/controller/index.js.map +1 -1
  198. package/dist/interface/utility/api/index.d.ts +1 -1
  199. package/dist/interface/utility/api/index.js +0 -15
  200. package/dist/interface/utility/api/index.js.map +1 -1
  201. package/dist/interface/utility/index.d.ts +2 -2
  202. package/dist/interface/utility/index.js +0 -16
  203. package/dist/interface/utility/index.js.map +1 -1
  204. package/dist/package.json +17 -16
  205. package/dist/type/class/controller/index.d.ts +1 -1
  206. package/dist/type/class/controller/index.js +0 -15
  207. package/dist/type/class/controller/index.js.map +1 -1
  208. package/dist/type/class/index.d.ts +3 -3
  209. package/dist/type/class/index.js +0 -17
  210. package/dist/type/class/index.js.map +1 -1
  211. package/dist/type/decorator/api/controller/get-list-query.type.d.ts +6 -9
  212. package/dist/type/decorator/api/controller/index.d.ts +5 -5
  213. package/dist/type/decorator/api/controller/index.js +0 -19
  214. package/dist/type/decorator/api/controller/index.js.map +1 -1
  215. package/dist/type/decorator/api/controller/properties/index.d.ts +1 -1
  216. package/dist/type/decorator/api/controller/properties/index.js +0 -15
  217. package/dist/type/decorator/api/controller/properties/index.js.map +1 -1
  218. package/dist/type/decorator/api/controller/properties/route/base-request-relations.type.d.ts +6 -6
  219. package/dist/type/decorator/api/controller/properties/route/index.d.ts +3 -3
  220. package/dist/type/decorator/api/controller/properties/route/index.js +0 -17
  221. package/dist/type/decorator/api/controller/properties/route/index.js.map +1 -1
  222. package/dist/type/decorator/api/filter/index.d.ts +4 -4
  223. package/dist/type/decorator/api/filter/index.js +0 -18
  224. package/dist/type/decorator/api/filter/index.js.map +1 -1
  225. package/dist/type/decorator/api/filter/order-by.type.d.ts +1 -1
  226. package/dist/type/decorator/api/function/get-list-properties-where.type.d.ts +7 -0
  227. package/dist/type/decorator/api/function/get-list-properties-where.type.js +3 -0
  228. package/dist/type/decorator/api/function/get-list-properties-where.type.js.map +1 -0
  229. package/dist/type/decorator/api/function/get-list-properties.type.d.ts +2 -5
  230. package/dist/type/decorator/api/function/index.d.ts +9 -8
  231. package/dist/type/decorator/api/function/index.js +0 -22
  232. package/dist/type/decorator/api/function/index.js.map +1 -1
  233. package/dist/type/decorator/api/function/properties.type.d.ts +1 -1
  234. package/dist/type/decorator/api/index.d.ts +5 -5
  235. package/dist/type/decorator/api/index.js +0 -19
  236. package/dist/type/decorator/api/index.js.map +1 -1
  237. package/dist/type/decorator/api/property/base/array/index.d.ts +2 -0
  238. package/dist/{interface/decorator/api/property/base-properties.interface.js → type/decorator/api/property/base/array/index.js} +1 -1
  239. package/dist/type/decorator/api/property/base/array/index.js.map +1 -0
  240. package/dist/type/decorator/api/property/base/array/optional-properties.type.d.ts +3 -0
  241. package/dist/{interface/decorator/api/property/date-properties.interface.js → type/decorator/api/property/base/array/optional-properties.type.js} +1 -1
  242. package/dist/type/decorator/api/property/base/array/optional-properties.type.js.map +1 -0
  243. package/dist/type/decorator/api/property/base/array/required-properties.type.d.ts +6 -0
  244. package/dist/{interface/decorator/api/property/uuid-properties.interface.js → type/decorator/api/property/base/array/required-properties.type.js} +1 -1
  245. package/dist/type/decorator/api/property/base/array/required-properties.type.js.map +1 -0
  246. package/dist/type/decorator/api/property/base/index.d.ts +4 -0
  247. package/dist/{interface/decorator/api/property/number-properties.interface.js → type/decorator/api/property/base/index.js} +1 -1
  248. package/dist/type/decorator/api/property/base/index.js.map +1 -0
  249. package/dist/type/decorator/api/property/base/properties.type.d.ts +9 -0
  250. package/dist/{interface/decorator/api/property/object-properties.interface.js → type/decorator/api/property/base/properties.type.js} +1 -1
  251. package/dist/type/decorator/api/property/base/properties.type.js.map +1 -0
  252. package/dist/type/decorator/api/property/base/request-properties.type.d.ts +4 -0
  253. package/dist/type/decorator/api/property/base/request-properties.type.js +3 -0
  254. package/dist/type/decorator/api/property/base/request-properties.type.js.map +1 -0
  255. package/dist/type/decorator/api/property/base/response-properties.type.d.ts +4 -0
  256. package/dist/type/decorator/api/property/base/response-properties.type.js +3 -0
  257. package/dist/type/decorator/api/property/base/response-properties.type.js.map +1 -0
  258. package/dist/type/decorator/api/property/date-properties.type.d.ts +6 -0
  259. package/dist/type/decorator/api/property/date-properties.type.js +3 -0
  260. package/dist/type/decorator/api/property/date-properties.type.js.map +1 -0
  261. package/dist/type/decorator/api/property/describe/array/index.d.ts +2 -2
  262. package/dist/type/decorator/api/property/describe/array/index.js +0 -16
  263. package/dist/type/decorator/api/property/describe/array/index.js.map +1 -1
  264. package/dist/type/decorator/api/property/describe/array/required-properties.type.d.ts +1 -1
  265. package/dist/type/decorator/api/property/describe/base-properties.type.d.ts +1 -3
  266. package/dist/type/decorator/api/property/describe/boolean-properties.type.d.ts +3 -3
  267. package/dist/type/decorator/api/property/describe/date-properties.type.d.ts +5 -4
  268. package/dist/type/decorator/api/property/describe/dto/body-properties.type.d.ts +1 -1
  269. package/dist/type/decorator/api/property/describe/dto/index.d.ts +5 -5
  270. package/dist/type/decorator/api/property/describe/dto/index.js +0 -19
  271. package/dist/type/decorator/api/property/describe/dto/index.js.map +1 -1
  272. package/dist/type/decorator/api/property/describe/dto/properties.type.d.ts +8 -5
  273. package/dist/type/decorator/api/property/describe/dto/query/index.d.ts +2 -2
  274. package/dist/type/decorator/api/property/describe/dto/query/index.js +0 -16
  275. package/dist/type/decorator/api/property/describe/dto/query/index.js.map +1 -1
  276. package/dist/type/decorator/api/property/describe/dto/query/properties.type.d.ts +1 -1
  277. package/dist/type/decorator/api/property/describe/dto/request-properties.type.d.ts +1 -1
  278. package/dist/type/decorator/api/property/describe/dto/response-properties.type.d.ts +1 -1
  279. package/dist/type/decorator/api/property/describe/enum-properties.type.d.ts +9 -0
  280. package/dist/type/decorator/api/property/describe/enum-properties.type.js +3 -0
  281. package/dist/type/decorator/api/property/describe/enum-properties.type.js.map +1 -0
  282. package/dist/type/decorator/api/property/describe/example-properties.type.d.ts +5 -5
  283. package/dist/type/decorator/api/property/describe/index.d.ts +13 -12
  284. package/dist/type/decorator/api/property/describe/index.js +0 -26
  285. package/dist/type/decorator/api/property/describe/index.js.map +1 -1
  286. package/dist/type/decorator/api/property/describe/number-properties.type.d.ts +4 -5
  287. package/dist/type/decorator/api/property/describe/object-properties.type.d.ts +8 -6
  288. package/dist/type/decorator/api/property/describe/properties/base-dto-properties.type.d.ts +1 -1
  289. package/dist/type/decorator/api/property/describe/properties/base-properties.type.d.ts +1 -1
  290. package/dist/type/decorator/api/property/describe/properties/index.d.ts +2 -2
  291. package/dist/type/decorator/api/property/describe/properties/index.js +0 -16
  292. package/dist/type/decorator/api/property/describe/properties/index.js.map +1 -1
  293. package/dist/type/decorator/api/property/describe/properties.type.d.ts +2 -1
  294. package/dist/type/decorator/api/property/describe/relation-properties.type.d.ts +3 -3
  295. package/dist/type/decorator/api/property/describe/string-properties.type.d.ts +4 -5
  296. package/dist/type/decorator/api/property/describe/uuid-properties.type.d.ts +3 -3
  297. package/dist/type/decorator/api/property/enum-properties.type.d.ts +6 -0
  298. package/dist/type/decorator/api/property/enum-properties.type.js +3 -0
  299. package/dist/type/decorator/api/property/enum-properties.type.js.map +1 -0
  300. package/dist/type/decorator/api/property/index.d.ts +6 -1
  301. package/dist/type/decorator/api/property/index.js +0 -15
  302. package/dist/type/decorator/api/property/index.js.map +1 -1
  303. package/dist/type/decorator/api/property/number-properties.type.d.ts +9 -0
  304. package/dist/type/decorator/api/property/number-properties.type.js +3 -0
  305. package/dist/type/decorator/api/property/number-properties.type.js.map +1 -0
  306. package/dist/type/decorator/api/property/object-properties.type.d.ts +8 -0
  307. package/dist/type/decorator/api/property/object-properties.type.js +3 -0
  308. package/dist/type/decorator/api/property/object-properties.type.js.map +1 -0
  309. package/dist/type/decorator/api/property/string-properties.type.d.ts +9 -0
  310. package/dist/type/decorator/api/property/string-properties.type.js +3 -0
  311. package/dist/type/decorator/api/property/string-properties.type.js.map +1 -0
  312. package/dist/type/decorator/api/property/uuid-properties.type.d.ts +2 -0
  313. package/dist/type/decorator/api/property/uuid-properties.type.js +3 -0
  314. package/dist/type/decorator/api/property/uuid-properties.type.js.map +1 -0
  315. package/dist/type/decorator/api/service/index.d.ts +2 -2
  316. package/dist/type/decorator/api/service/index.js +0 -16
  317. package/dist/type/decorator/api/service/index.js.map +1 -1
  318. package/dist/type/decorator/index.d.ts +1 -1
  319. package/dist/type/decorator/index.js +0 -15
  320. package/dist/type/decorator/index.js.map +1 -1
  321. package/dist/type/factory/api/controller/index.d.ts +4 -4
  322. package/dist/type/factory/api/controller/index.js +0 -18
  323. package/dist/type/factory/api/controller/index.js.map +1 -1
  324. package/dist/type/factory/api/controller/method-map.type.d.ts +3 -3
  325. package/dist/type/factory/api/controller/target-methods.type.d.ts +2 -2
  326. package/dist/type/factory/api/index.d.ts +1 -1
  327. package/dist/type/factory/api/index.js +0 -15
  328. package/dist/type/factory/api/index.js.map +1 -1
  329. package/dist/type/factory/index.d.ts +1 -1
  330. package/dist/type/factory/index.js +0 -15
  331. package/dist/type/factory/index.js.map +1 -1
  332. package/dist/type/index.d.ts +5 -5
  333. package/dist/type/index.js +0 -19
  334. package/dist/type/index.js.map +1 -1
  335. package/dist/type/utility/api/controller/index.d.ts +1 -0
  336. package/dist/type/utility/api/controller/index.js +3 -0
  337. package/dist/type/utility/api/controller/index.js.map +1 -0
  338. package/dist/type/utility/api/controller/transform-data/data.type.d.ts +6 -0
  339. package/dist/type/utility/api/controller/transform-data/data.type.js +3 -0
  340. package/dist/type/utility/api/controller/transform-data/data.type.js.map +1 -0
  341. package/dist/type/utility/api/controller/transform-data/index.d.ts +3 -0
  342. package/dist/type/utility/api/controller/transform-data/index.js +3 -0
  343. package/dist/type/utility/api/controller/transform-data/index.js.map +1 -0
  344. package/dist/type/utility/api/controller/transform-data/is-validation-properties.type.d.ts +3 -0
  345. package/dist/type/utility/api/controller/transform-data/is-validation-properties.type.js +3 -0
  346. package/dist/type/utility/api/controller/transform-data/is-validation-properties.type.js.map +1 -0
  347. package/dist/type/utility/api/controller/transform-data/object-to-transform.type.d.ts +9 -0
  348. package/dist/type/utility/api/controller/transform-data/object-to-transform.type.js +3 -0
  349. package/dist/type/utility/api/controller/transform-data/object-to-transform.type.js.map +1 -0
  350. package/dist/type/utility/api/index.d.ts +1 -0
  351. package/dist/type/utility/api/index.js +3 -0
  352. package/dist/type/utility/api/index.js.map +1 -0
  353. package/dist/type/utility/date-keys.type.d.ts +2 -0
  354. package/dist/type/utility/date-keys.type.js +3 -0
  355. package/dist/type/utility/date-keys.type.js.map +1 -0
  356. package/dist/type/utility/date-range-keys.type.d.ts +4 -0
  357. package/dist/type/utility/date-range-keys.type.js +3 -0
  358. package/dist/type/utility/date-range-keys.type.js.map +1 -0
  359. package/dist/type/utility/dto/generate-is-allowed-combination.type.d.ts +1 -1
  360. package/dist/type/utility/dto/index.d.ts +2 -2
  361. package/dist/type/utility/dto/index.js +0 -16
  362. package/dist/type/utility/dto/index.js.map +1 -1
  363. package/dist/type/utility/filter-keys.type.d.ts +7 -0
  364. package/dist/type/utility/filter-keys.type.js +3 -0
  365. package/dist/type/utility/filter-keys.type.js.map +1 -0
  366. package/dist/type/utility/index.d.ts +7 -2
  367. package/dist/type/utility/index.js +0 -16
  368. package/dist/type/utility/index.js.map +1 -1
  369. package/dist/type/utility/non-date-keys.type.d.ts +2 -0
  370. package/dist/type/utility/non-date-keys.type.js +3 -0
  371. package/dist/type/utility/non-date-keys.type.js.map +1 -0
  372. package/dist/utility/api/controller/apply-metadata.utility.d.ts +1 -1
  373. package/dist/utility/api/controller/apply-metadata.utility.js.map +1 -1
  374. package/dist/utility/api/controller/get-list/index.d.ts +2 -0
  375. package/dist/utility/api/controller/get-list/index.js +19 -0
  376. package/dist/utility/api/controller/get-list/index.js.map +1 -0
  377. package/dist/utility/api/controller/get-list/transform-filter.utility.d.ts +2 -0
  378. package/dist/utility/api/controller/get-list/transform-filter.utility.js +22 -0
  379. package/dist/utility/api/controller/get-list/transform-filter.utility.js.map +1 -0
  380. package/dist/utility/api/controller/get-list/transform-operation.utility.d.ts +3 -0
  381. package/dist/utility/api/controller/get-list/transform-operation.utility.js +80 -0
  382. package/dist/utility/api/controller/get-list/transform-operation.utility.js.map +1 -0
  383. package/dist/utility/api/controller/get-method-name.utility.js.map +1 -1
  384. package/dist/utility/api/controller/get-primary-column.utility.d.ts +1 -1
  385. package/dist/utility/api/controller/get-primary-column.utility.js.map +1 -1
  386. package/dist/utility/api/controller/handle-request-relations.utility.d.ts +3 -3
  387. package/dist/utility/api/controller/handle-request-relations.utility.js +1 -6
  388. package/dist/utility/api/controller/handle-request-relations.utility.js.map +1 -1
  389. package/dist/utility/api/controller/index.d.ts +5 -3
  390. package/dist/utility/api/controller/index.js +5 -3
  391. package/dist/utility/api/controller/index.js.map +1 -1
  392. package/dist/utility/api/controller/transform-data.utility.d.ts +4 -0
  393. package/dist/utility/api/controller/{transform-request.utility.js → transform-data.utility.js} +25 -22
  394. package/dist/utility/api/controller/transform-data.utility.js.map +1 -0
  395. package/dist/utility/api/controller/validate-request.utility.d.ts +2 -2
  396. package/dist/utility/api/controller/validate-request.utility.js.map +1 -1
  397. package/dist/utility/api/controller/write-dto-swagger.utility.d.ts +1 -1
  398. package/dist/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
  399. package/dist/utility/api/controller/write-method.utility.js.map +1 -1
  400. package/dist/utility/api/filter-order-by-from-entity.utility.d.ts +2 -2
  401. package/dist/utility/api/filter-order-by-from-entity.utility.js +1 -1
  402. package/dist/utility/api/filter-order-by-from-entity.utility.js.map +1 -1
  403. package/dist/utility/api/index.d.ts +1 -1
  404. package/dist/utility/api/index.js +1 -1
  405. package/dist/utility/api/index.js.map +1 -1
  406. package/dist/utility/camel-case-string.utility.d.ts +1 -0
  407. package/dist/utility/camel-case-string.utility.js +18 -0
  408. package/dist/utility/camel-case-string.utility.js.map +1 -0
  409. package/dist/utility/capitalize-string.utility.js +1 -1
  410. package/dist/utility/capitalize-string.utility.js.map +1 -1
  411. package/dist/utility/dto/build-decorator.utility.d.ts +3 -3
  412. package/dist/utility/dto/build-decorator.utility.js +3 -4
  413. package/dist/utility/dto/build-decorator.utility.js.map +1 -1
  414. package/dist/utility/dto/generate-decorator.utility.js.map +1 -1
  415. package/dist/utility/dto/generate-exception.utility.js +18 -23
  416. package/dist/utility/dto/generate-exception.utility.js.map +1 -1
  417. package/dist/utility/dto/generate-filter-decorator.utility.d.ts +3 -0
  418. package/dist/utility/dto/generate-filter-decorator.utility.js +35 -0
  419. package/dist/utility/dto/generate-filter-decorator.utility.js.map +1 -0
  420. package/dist/utility/dto/generate-get-list-response.utility.d.ts +4 -0
  421. package/dist/utility/dto/generate-get-list-response.utility.js +94 -0
  422. package/dist/utility/dto/generate-get-list-response.utility.js.map +1 -0
  423. package/dist/utility/dto/generate-relation-response.utility.d.ts +2 -2
  424. package/dist/utility/dto/generate-relation-response.utility.js +1 -1
  425. package/dist/utility/dto/generate-relation-response.utility.js.map +1 -1
  426. package/dist/utility/dto/generate.utility.d.ts +2 -2
  427. package/dist/utility/dto/generate.utility.js +56 -42
  428. package/dist/utility/dto/generate.utility.js.map +1 -1
  429. package/dist/utility/dto/get-decorator-config.utility.js.map +1 -1
  430. package/dist/utility/dto/get-get-list-query-base-class.utility.d.ts +5 -0
  431. package/dist/utility/dto/{get-base-class.utility.js → get-get-list-query-base-class.utility.js} +33 -14
  432. package/dist/utility/dto/get-get-list-query-base-class.utility.js.map +1 -0
  433. package/dist/utility/dto/handle-date-property.utility.d.ts +3 -3
  434. package/dist/utility/dto/handle-date-property.utility.js +8 -8
  435. package/dist/utility/dto/handle-date-property.utility.js.map +1 -1
  436. package/dist/utility/dto/index.d.ts +7 -6
  437. package/dist/utility/dto/index.js +7 -6
  438. package/dist/utility/dto/index.js.map +1 -1
  439. package/dist/utility/dto/is-property-exposed-for-guard.utility.d.ts +2 -2
  440. package/dist/utility/dto/is-property-exposed-for-guard.utility.js.map +1 -1
  441. package/dist/utility/dto/is-property-should-be-marked.utility.d.ts +2 -2
  442. package/dist/utility/dto/is-property-should-be-marked.utility.js +1 -1
  443. package/dist/utility/dto/is-property-should-be-marked.utility.js.map +1 -1
  444. package/dist/utility/dto/is-should-be-generated.utility.js +5 -5
  445. package/dist/utility/dto/is-should-be-generated.utility.js.map +1 -1
  446. package/dist/utility/dto/validate-property-config.utility.d.ts +1 -1
  447. package/dist/utility/dto/validate-property-config.utility.js +1 -9
  448. package/dist/utility/dto/validate-property-config.utility.js.map +1 -1
  449. package/dist/utility/generate-entity-information.utility.js.map +1 -1
  450. package/dist/utility/get-entity-columns.utility.js.map +1 -1
  451. package/dist/utility/index.d.ts +5 -4
  452. package/dist/utility/index.js +5 -4
  453. package/dist/utility/index.js.map +1 -1
  454. package/dist/validator/all-or-none-of-listed-properties.validator.d.ts +2 -2
  455. package/dist/validator/all-or-none-of-listed-properties.validator.js +5 -5
  456. package/dist/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
  457. package/dist/validator/has-at-least-one-and-only-one-of-listed-properties.validator.js.map +1 -1
  458. package/dist/validator/has-at-least-one-of-listed-properties.validator.js.map +1 -1
  459. package/dist/validator/has-at-least-one-property.validator.js.map +1 -1
  460. package/dist/validator/has-paired-custom-suffixes-fields.validator.d.ts +7 -0
  461. package/dist/validator/has-paired-custom-suffixes-fields.validator.js +220 -0
  462. package/dist/validator/has-paired-custom-suffixes-fields.validator.js.map +1 -0
  463. package/dist/validator/index.d.ts +1 -1
  464. package/dist/validator/index.js +1 -1
  465. package/dist/validator/index.js.map +1 -1
  466. package/dist/validator/is-regular-expression.validator.js.map +1 -1
  467. package/package.json +19 -18
  468. package/dist/decorator/api/property/wallet.decorator.d.ts +0 -2
  469. package/dist/decorator/api/property/wallet.decorator.js +0 -25
  470. package/dist/decorator/api/property/wallet.decorator.js.map +0 -1
  471. package/dist/enum/decorator/api/property/date-type.enum.js +0 -19
  472. package/dist/enum/decorator/api/property/date-type.enum.js.map +0 -1
  473. package/dist/interface/decorator/api/property/base-properties.interface.d.ts +0 -13
  474. package/dist/interface/decorator/api/property/base-properties.interface.js.map +0 -1
  475. package/dist/interface/decorator/api/property/date-properties.interface.d.ts +0 -5
  476. package/dist/interface/decorator/api/property/date-properties.interface.js.map +0 -1
  477. package/dist/interface/decorator/api/property/index.d.ts +0 -6
  478. package/dist/interface/decorator/api/property/index.js.map +0 -1
  479. package/dist/interface/decorator/api/property/number-properties.interface.d.ts +0 -9
  480. package/dist/interface/decorator/api/property/number-properties.interface.js.map +0 -1
  481. package/dist/interface/decorator/api/property/object-properties.interface.d.ts +0 -10
  482. package/dist/interface/decorator/api/property/object-properties.interface.js.map +0 -1
  483. package/dist/interface/decorator/api/property/string-properties.interface.d.ts +0 -10
  484. package/dist/interface/decorator/api/property/string-properties.interface.js +0 -3
  485. package/dist/interface/decorator/api/property/string-properties.interface.js.map +0 -1
  486. package/dist/interface/decorator/api/property/uuid-properties.interface.d.ts +0 -8
  487. package/dist/interface/decorator/api/property/uuid-properties.interface.js.map +0 -1
  488. package/dist/utility/api/controller/transform-request.utility.d.ts +0 -17
  489. package/dist/utility/api/controller/transform-request.utility.js.map +0 -1
  490. package/dist/utility/dto/get-base-class.utility.d.ts +0 -3
  491. package/dist/utility/dto/get-base-class.utility.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"service-base.class.js","sourceRoot":"","sources":["../../../src/class/api/service-base.class.ts"],"names":[],"mappings":";;;AAKA,MAAa,cAAc;IAC1B,MAAM,CAAC,UAA2C;QACjD,KAAK,UAAU,CAAC;QAEhB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,QAAuC;QAC7C,KAAK,QAAQ,CAAC;QAEd,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC;IAED,GAAG,CAAC,UAAwC;QAC3C,KAAK,UAAU,CAAC;QAEhB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC,CAAC;IACjC,CAAC;IAED,OAAO,CAAC,UAA4C;QACnD,KAAK,UAAU,CAAC;QAEhB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,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,2 @@
1
- export * from "./strategy";
2
1
  export * from "./property";
2
+ export * from "./strategy";
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./strategy"), exports);
18
17
  __exportStar(require("./property"), exports);
18
+ __exportStar(require("./strategy"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -4,10 +4,11 @@ exports.DtoPropertyFactoryBoolean = void 0;
4
4
  const boolean_decorator_1 = require("../../../../../decorator/api/property/boolean.decorator");
5
5
  class DtoPropertyFactoryBoolean {
6
6
  create(metadata, entity, config) {
7
+ const { type, ...restProperties } = metadata;
7
8
  return (0, boolean_decorator_1.ApiPropertyBoolean)({
8
- description: metadata.description,
9
9
  entity,
10
10
  ...config,
11
+ ...restProperties,
11
12
  });
12
13
  }
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"boolean.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/boolean.class.ts"],"names":[],"mappings":";;;AAAA,+FAA6F;AAK7F,MAAa,yBAAyB;IACrC,MAAM,CAAC,QAA+C,EAAE,MAAqB,EAAE,MAAyC;QACvH,OAAO,IAAA,sCAAkB,EAAC;YACzB,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,MAAM;YACN,GAAG,MAAM;SACT,CAAC,CAAC;IACJ,CAAC;CACD;AARD,8DAQC"}
1
+ {"version":3,"file":"boolean.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/boolean.class.ts"],"names":[],"mappings":";;;AAGA,+FAA6F;AAE7F,MAAa,yBAAyB;IACrC,MAAM,CAAC,QAA+C,EAAE,MAAqB,EAAE,MAAyC;QACvH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAA0C,QAAQ,CAAC;QAEpF,OAAO,IAAA,sCAAkB,EAAC;YACzB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,8DAUC"}
@@ -4,10 +4,11 @@ exports.DtoPropertyFactoryDate = void 0;
4
4
  const date_decorator_1 = require("../../../../../decorator/api/property/date.decorator");
5
5
  class DtoPropertyFactoryDate {
6
6
  create(metadata, entity, config) {
7
+ const { type, ...restProperties } = metadata;
7
8
  return (0, date_decorator_1.ApiPropertyDate)({
8
9
  entity,
9
10
  ...config,
10
- type: metadata.dataType,
11
+ ...restProperties,
11
12
  });
12
13
  }
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"date.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/date.class.ts"],"names":[],"mappings":";;;AAAA,yFAAuF;AAKvF,MAAa,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,OAAO,IAAA,gCAAe,EAAC;YACtB,MAAM;YACN,GAAG,MAAM;YACT,IAAI,EAAE,QAAQ,CAAC,QAAQ;SACvB,CAAC,CAAC;IACJ,CAAC;CACD;AARD,wDAQC"}
1
+ {"version":3,"file":"date.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/date.class.ts"],"names":[],"mappings":";;;AAGA,yFAAuF;AAEvF,MAAa,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAuC,QAAQ,CAAC;QAEjF,OAAO,IAAA,gCAAe,EAAC;YACtB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,wDAUC"}
@@ -0,0 +1,5 @@
1
+ import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
2
+ import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeEnumProperties } from "../../../../../type";
3
+ export declare class DtoPropertyFactoryEnum<E> implements IDtoGenerateFactory<E> {
4
+ create(metadata: TApiPropertyDescribeEnumProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties): PropertyDecorator;
5
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DtoPropertyFactoryEnum = void 0;
4
+ const enum_decorator_1 = require("../../../../../decorator/api/property/enum.decorator");
5
+ class DtoPropertyFactoryEnum {
6
+ create(metadata, entity, config) {
7
+ const { type, ...restProperties } = metadata;
8
+ return (0, enum_decorator_1.ApiPropertyEnum)({
9
+ entity,
10
+ ...config,
11
+ ...restProperties,
12
+ });
13
+ }
14
+ }
15
+ exports.DtoPropertyFactoryEnum = DtoPropertyFactoryEnum;
16
+ //# sourceMappingURL=enum.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/enum.class.ts"],"names":[],"mappings":";;;AAGA,yFAAuF;AAEvF,MAAa,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAuC,QAAQ,CAAC;QAEjF,OAAO,IAAA,gCAAe,EAAC;YACtB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,wDAUC"}
@@ -1,6 +1,6 @@
1
- export * from "./uuid.class";
2
- export * from "./string.class";
3
- export * from "./object.class";
4
- export * from "./number.class";
5
1
  export * from "./boolean.class";
6
2
  export * from "./date.class";
3
+ export * from "./number.class";
4
+ export * from "./object.class";
5
+ export * from "./string.class";
6
+ export * from "./uuid.class";
@@ -14,10 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./uuid.class"), exports);
18
- __exportStar(require("./string.class"), exports);
19
- __exportStar(require("./object.class"), exports);
20
- __exportStar(require("./number.class"), exports);
21
17
  __exportStar(require("./boolean.class"), exports);
22
18
  __exportStar(require("./date.class"), exports);
19
+ __exportStar(require("./number.class"), exports);
20
+ __exportStar(require("./object.class"), exports);
21
+ __exportStar(require("./string.class"), exports);
22
+ __exportStar(require("./uuid.class"), exports);
23
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,+CAA6B"}
@@ -4,14 +4,11 @@ exports.DtoPropertyFactoryNumber = void 0;
4
4
  const number_decorator_1 = require("../../../../../decorator/api/property/number.decorator");
5
5
  class DtoPropertyFactoryNumber {
6
6
  create(metadata, entity, config) {
7
+ const { type, ...restProperties } = metadata;
7
8
  return (0, number_decorator_1.ApiPropertyNumber)({
8
- description: metadata.description,
9
9
  entity,
10
10
  ...config,
11
- maximum: metadata.maximum,
12
- minimum: metadata.minimum,
13
- multipleOf: metadata.multipleOf,
14
- type: metadata.dataType,
11
+ ...restProperties,
15
12
  });
16
13
  }
17
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"number.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/number.class.ts"],"names":[],"mappings":";;;AAAA,6FAA2F;AAK3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,IAAA,oCAAiB,EAAC;YACxB,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,MAAM;YACN,GAAG,MAAM;YACT,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,IAAI,EAAE,QAAQ,CAAC,QAAQ;SACvB,CAAC,CAAC;IACJ,CAAC;CACD;AAZD,4DAYC"}
1
+ {"version":3,"file":"number.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/number.class.ts"],"names":[],"mappings":";;;AAGA,6FAA2F;AAE3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAyC,QAAQ,CAAC;QAEnF,OAAO,IAAA,oCAAiB,EAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,4DAUC"}
@@ -4,12 +4,12 @@ exports.DtoPropertyFactoryObject = void 0;
4
4
  const object_decorator_1 = require("../../../../../decorator/api/property/object.decorator");
5
5
  class DtoPropertyFactoryObject {
6
6
  create(metadata, entity, config) {
7
+ const { dataType, type, ...restProperties } = metadata;
7
8
  return (0, object_decorator_1.ApiPropertyObject)({
8
9
  entity,
10
+ type: dataType,
9
11
  ...config,
10
- enum: metadata.enum,
11
- ...metadata,
12
- type: metadata.dataType,
12
+ ...restProperties,
13
13
  });
14
14
  }
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"object.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/object.class.ts"],"names":[],"mappings":";;;AAAA,6FAA2F;AAK3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,IAAA,oCAAiB,EAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,GAAG,QAAQ;YACX,IAAI,EAAE,QAAQ,CAAC,QAAQ;SACvB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,4DAUC"}
1
+ {"version":3,"file":"object.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/object.class.ts"],"names":[],"mappings":";;;AAGA,6FAA2F;AAE3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAyC,QAAQ,CAAC;QAE7F,OAAO,IAAA,oCAAiB,EAAC;YACxB,MAAM;YACN,IAAI,EAAE,QAAQ;YACd,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAXD,4DAWC"}
@@ -1,7 +1,7 @@
1
- import { EApiDtoType } from "../../../../../enum";
2
1
  import type { EApiRouteType } from "../../../../../enum";
3
2
  import type { IApiEntity, IDtoGenerateFactory } from "../../../../../interface";
4
3
  import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeUuidProperties } from "../../../../../type";
4
+ import { EApiDtoType } from "../../../../../enum";
5
5
  export declare class DtoPropertyFactoryRelation<E> implements IDtoGenerateFactory<E> {
6
6
  create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties, method: EApiRouteType, dtoType: EApiDtoType, propertyName: string): PropertyDecorator;
7
7
  }
@@ -7,13 +7,8 @@ const enum_1 = require("../../../../../enum");
7
7
  const generate_relation_response_utility_1 = require("../../../../../utility/dto/generate-relation-response.utility");
8
8
  class DtoPropertyFactoryRelation {
9
9
  create(metadata, entity, config, method, dtoType, propertyName) {
10
- if (dtoType === enum_1.EApiDtoType.RESPONSE) {
11
- console.log("PIDOR CONFIG", { description: metadata.description, entity, type: (0, generate_relation_response_utility_1.DtoGenerateRelationResponse)(entity, method, dtoType, propertyName), ...config });
12
- return (0, object_decorator_1.ApiPropertyObject)({ description: metadata.description, entity, type: (0, generate_relation_response_utility_1.DtoGenerateRelationResponse)(entity, method, dtoType, propertyName), ...config });
13
- }
14
- else {
15
- return (0, uuid_decorator_1.ApiPropertyUUID)({ description: metadata.description, entity, ...config });
16
- }
10
+ const { type, ...restProperties } = metadata;
11
+ return dtoType === enum_1.EApiDtoType.RESPONSE ? (0, object_decorator_1.ApiPropertyObject)({ description: metadata.description, entity, isArray: false, type: (0, generate_relation_response_utility_1.DtoGenerateRelationResponse)(entity, method, dtoType, propertyName), ...config, ...restProperties }) : (0, uuid_decorator_1.ApiPropertyUUID)({ description: metadata.description, entity, isArray: false, ...config, ...restProperties });
17
12
  }
18
13
  }
19
14
  exports.DtoPropertyFactoryRelation = DtoPropertyFactoryRelation;
@@ -1 +1 @@
1
- {"version":3,"file":"relation.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/relation.class.ts"],"names":[],"mappings":";;;AAAA,6FAA2F;AAC3F,yFAAuF;AACvF,8CAAkD;AAElD,sHAA4G;AAM5G,MAAa,0BAA0B;IACtC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC,EAAE,MAAqB,EAAE,OAAoB,EAAE,YAAoB;QACvL,IAAI,OAAO,KAAK,kBAAW,CAAC,QAAQ,EAAE,CAAC;YACtC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,IAAA,gEAA2B,EAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;YAEhK,OAAO,IAAA,oCAAiB,EAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,IAAA,gEAA2B,EAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;QAC9J,CAAC;aAAM,CAAC;YACP,OAAO,IAAA,gCAAe,EAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;QAClF,CAAC;IACF,CAAC;CACD;AAVD,gEAUC"}
1
+ {"version":3,"file":"relation.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/relation.class.ts"],"names":[],"mappings":";;;AAIA,6FAA2F;AAC3F,yFAAuF;AACvF,8CAAkD;AAClD,sHAA4G;AAE5G,MAAa,0BAA0B;IACtC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC,EAAE,MAAqB,EAAE,OAAoB,EAAE,YAAoB;QACvL,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAuC,QAAQ,CAAC;QAEjF,OAAO,OAAO,KAAK,kBAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAA,oCAAiB,EAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAA,gEAA2B,EAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,GAAG,MAAM,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,IAAA,gCAAe,EAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,MAAM,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;IACnV,CAAC;CACD;AAND,gEAMC"}
@@ -4,10 +4,11 @@ exports.DtoPropertyFactoryString = void 0;
4
4
  const string_decorator_1 = require("../../../../../decorator/api/property/string.decorator");
5
5
  class DtoPropertyFactoryString {
6
6
  create(metadata, entity, config) {
7
+ const { type, ...restProperties } = metadata;
7
8
  return (0, string_decorator_1.ApiPropertyString)({
8
9
  entity,
9
10
  ...config,
10
- ...metadata,
11
+ ...restProperties,
11
12
  });
12
13
  }
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"string.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/string.class.ts"],"names":[],"mappings":";;;AAAA,6FAA2F;AAK3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,OAAO,IAAA,oCAAiB,EAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,QAAQ;SAC+C,CAAC,CAAC;IAC9D,CAAC;CACD;AARD,4DAQC"}
1
+ {"version":3,"file":"string.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/string.class.ts"],"names":[],"mappings":";;;AAGA,6FAA2F;AAE3F,MAAa,wBAAwB;IACpC,MAAM,CAAC,QAA8C,EAAE,MAAqB,EAAE,MAAyC;QACtH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAyC,QAAQ,CAAC;QAEnF,OAAO,IAAA,oCAAiB,EAAC;YACxB,MAAM;YACN,GAAG,MAAM;YACT,GAAG,cAAc;SACjB,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,4DAUC"}
@@ -4,7 +4,8 @@ exports.DtoPropertyFactoryUuid = void 0;
4
4
  const uuid_decorator_1 = require("../../../../../decorator/api/property/uuid.decorator");
5
5
  class DtoPropertyFactoryUuid {
6
6
  create(metadata, entity, config) {
7
- return (0, uuid_decorator_1.ApiPropertyUUID)({ description: metadata.description, entity, ...config });
7
+ const { type, ...restProperties } = metadata;
8
+ return (0, uuid_decorator_1.ApiPropertyUUID)({ entity, ...config, ...restProperties });
8
9
  }
9
10
  }
10
11
  exports.DtoPropertyFactoryUuid = DtoPropertyFactoryUuid;
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/uuid.class.ts"],"names":[],"mappings":";;;AAAA,yFAAuF;AAIvF,MAAa,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,OAAO,IAAA,gCAAe,EAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAClF,CAAC;CACD;AAJD,wDAIC"}
1
+ {"version":3,"file":"uuid.class.js","sourceRoot":"","sources":["../../../../../../src/class/utility/dto/property/factory/uuid.class.ts"],"names":[],"mappings":";;;AAGA,yFAAuF;AAEvF,MAAa,sBAAsB;IAClC,MAAM,CAAC,QAA4C,EAAE,MAAqB,EAAE,MAAyC;QACpH,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAuC,QAAQ,CAAC;QAEjF,OAAO,IAAA,gCAAe,EAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;IAClE,CAAC;CACD;AAND,wDAMC"}
@@ -1,6 +1,6 @@
1
- import { EApiRouteType } from "../../../../enum";
2
1
  import type { IDtoStrategy } from "../../../../interface";
3
2
  import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeProperties } from "../../../../type";
3
+ import { EApiRouteType } from "../../../../enum";
4
4
  export declare class DtoStrategyBody implements IDtoStrategy {
5
5
  getDecoratorConfig(method: EApiRouteType, _metadata: TApiPropertyDescribeProperties): TApiPropertyDescribeDtoProperties;
6
6
  }
@@ -5,14 +5,26 @@ const enum_1 = require("../../../../enum");
5
5
  class DtoStrategyBody {
6
6
  getDecoratorConfig(method, _metadata) {
7
7
  switch (method) {
8
- case enum_1.EApiRouteType.UPDATE: {
9
- return { expose: false, required: true, response: false };
8
+ case enum_1.EApiRouteType.CREATE: {
9
+ return { isRequired: false };
10
+ }
11
+ case enum_1.EApiRouteType.DELETE: {
12
+ return { isRequired: false };
13
+ }
14
+ case enum_1.EApiRouteType.GET: {
15
+ return { isRequired: false };
16
+ }
17
+ case enum_1.EApiRouteType.GET_LIST: {
18
+ return { isRequired: false };
10
19
  }
11
20
  case enum_1.EApiRouteType.PARTIAL_UPDATE: {
12
- return { expose: false, required: false, response: false };
21
+ return { isRequired: false };
22
+ }
23
+ case enum_1.EApiRouteType.UPDATE: {
24
+ return { isRequired: true };
13
25
  }
14
26
  default: {
15
- return { expose: false, required: false, response: false };
27
+ return { isRequired: false };
16
28
  }
17
29
  }
18
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"body.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/body.class.ts"],"names":[],"mappings":";;;AAAA,2CAAiD;AAKjD,MAAa,eAAe;IAC3B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC3D,CAAC;YAED,KAAK,oBAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC5D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;YAC5D,CAAC;QACF,CAAC;IACF,CAAC;CACD;AAhBD,0CAgBC"}
1
+ {"version":3,"file":"body.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/body.class.ts"],"names":[],"mappings":";;;AAGA,2CAAiD;AAEjD,MAAa,eAAe;IAC3B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;YAED,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;YAED,KAAK,oBAAa,CAAC,GAAG,CAAC,CAAC,CAAC;gBACxB,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;YAED,KAAK,oBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAC7B,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;YAED,KAAK,oBAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;YAED,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;CACD;AAhCD,0CAgCC"}
@@ -1,4 +1,4 @@
1
1
  export * from "./body.class";
2
- export * from "./response.class";
3
2
  export * from "./query.class";
4
3
  export * from "./request.class";
4
+ export * from "./response.class";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./body.class"), exports);
18
- __exportStar(require("./response.class"), exports);
19
18
  __exportStar(require("./query.class"), exports);
20
19
  __exportStar(require("./request.class"), exports);
20
+ __exportStar(require("./response.class"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,mDAAiC"}
@@ -1,6 +1,6 @@
1
- import { EApiRouteType } from "../../../../enum";
2
1
  import type { IDtoStrategy } from "../../../../interface";
3
2
  import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeProperties } from "../../../../type";
3
+ import { EApiRouteType } from "../../../../enum";
4
4
  export declare class DtoStrategyQuery implements IDtoStrategy {
5
5
  getDecoratorConfig(method: EApiRouteType, _metadata: TApiPropertyDescribeProperties): TApiPropertyDescribeDtoProperties;
6
6
  }
@@ -5,11 +5,23 @@ const enum_1 = require("../../../../enum");
5
5
  class DtoStrategyQuery {
6
6
  getDecoratorConfig(method, _metadata) {
7
7
  switch (method) {
8
+ case enum_1.EApiRouteType.CREATE: {
9
+ return { isRequired: false };
10
+ }
11
+ case enum_1.EApiRouteType.DELETE: {
12
+ return { isRequired: false };
13
+ }
14
+ case enum_1.EApiRouteType.GET: {
15
+ return { isRequired: false };
16
+ }
8
17
  case enum_1.EApiRouteType.GET_LIST: {
9
- return { expose: false, required: false, response: false };
18
+ return { isRequired: false };
19
+ }
20
+ case enum_1.EApiRouteType.PARTIAL_UPDATE: {
21
+ return { isRequired: false };
10
22
  }
11
- default: {
12
- return { expose: true, required: false, response: false };
23
+ case enum_1.EApiRouteType.UPDATE: {
24
+ return { isRequired: false };
13
25
  }
14
26
  }
15
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"query.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/query.class.ts"],"names":[],"mappings":";;;AAAA,2CAAi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CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;CACD;AA5BD,4CA4BC"}
@@ -1,6 +1,6 @@
1
- import { EApiRouteType } from "../../../../enum";
2
1
  import type { IDtoStrategy } from "../../../../interface";
3
2
  import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeProperties } from "../../../../type";
3
+ import { EApiRouteType } from "../../../../enum";
4
4
  export declare class DtoStrategyRequest implements IDtoStrategy {
5
5
  getDecoratorConfig(method: EApiRouteType, _metadata: TApiPropertyDescribeProperties): TApiPropertyDescribeDtoProperties;
6
6
  }
@@ -5,19 +5,26 @@ const enum_1 = require("../../../../enum");
5
5
  class DtoStrategyRequest {
6
6
  getDecoratorConfig(method, _metadata) {
7
7
  switch (method) {
8
- case enum_1.EApiRouteType.GET:
8
+ case enum_1.EApiRouteType.CREATE: {
9
+ return { isRequired: true };
10
+ }
9
11
  case enum_1.EApiRouteType.DELETE: {
10
- return { expose: false, required: true, response: false };
12
+ return { isRequired: true };
11
13
  }
12
- case enum_1.EApiRouteType.CREATE:
13
- case enum_1.EApiRouteType.UPDATE: {
14
- return { expose: false, required: true, response: false };
14
+ case enum_1.EApiRouteType.GET: {
15
+ return { isRequired: true };
16
+ }
17
+ case enum_1.EApiRouteType.GET_LIST: {
18
+ return { isRequired: true };
15
19
  }
16
20
  case enum_1.EApiRouteType.PARTIAL_UPDATE: {
17
- return { expose: false, required: true, response: false };
21
+ return { isRequired: true };
22
+ }
23
+ case enum_1.EApiRouteType.UPDATE: {
24
+ return { isRequired: true };
18
25
  }
19
26
  default: {
20
- return { expose: false, required: true, response: false };
27
+ return { isRequired: true };
21
28
  }
22
29
  }
23
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"request.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/request.class.ts"],"names":[],"mappings":";;;AAAA,2CAAiD;AAKjD,MAAa,kBAAkB;IAC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7B,CAAC;YAED,KAAK,oBAAa,CAAC,GAAG,CAAC,CAAC,CAAC;gBACxB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAC7B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;QACF,CAAC;IACF,CAAC;CACD;AAhCD,gDAgCC"}
@@ -1,6 +1,6 @@
1
- import { EApiRouteType } from "../../../../enum";
2
1
  import type { IDtoStrategy } from "../../../../interface";
3
2
  import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeProperties } from "../../../../type";
3
+ import { EApiRouteType } from "../../../../enum";
4
4
  export declare class DtoStrategyResponse implements IDtoStrategy {
5
5
  getDecoratorConfig(method: EApiRouteType, _metadata: TApiPropertyDescribeProperties): TApiPropertyDescribeDtoProperties;
6
6
  }
@@ -5,11 +5,26 @@ const enum_1 = require("../../../../enum");
5
5
  class DtoStrategyResponse {
6
6
  getDecoratorConfig(method, _metadata) {
7
7
  switch (method) {
8
+ case enum_1.EApiRouteType.CREATE: {
9
+ return { isResponse: true };
10
+ }
8
11
  case enum_1.EApiRouteType.DELETE: {
9
- return { expose: true, required: false, response: true };
12
+ return { isResponse: true };
13
+ }
14
+ case enum_1.EApiRouteType.GET: {
15
+ return { isResponse: true };
16
+ }
17
+ case enum_1.EApiRouteType.GET_LIST: {
18
+ return { isExpose: true, isResponse: true };
19
+ }
20
+ case enum_1.EApiRouteType.PARTIAL_UPDATE: {
21
+ return { isResponse: true };
22
+ }
23
+ case enum_1.EApiRouteType.UPDATE: {
24
+ return { isResponse: true };
10
25
  }
11
26
  default: {
12
- return { expose: true, required: false, response: true };
27
+ return { isResponse: true };
13
28
  }
14
29
  }
15
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"response.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/response.class.ts"],"names":[],"mappings":";;;AAAA,2CAAiD;AAKjD,MAAa,mBAAmB;IAC/B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YAC1D,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YAC1D,CAAC;QACF,CAAC;IACF,CAAC;CACD;AAZD,kDAYC"}
1
+ {"version":3,"file":"response.class.js","sourceRoot":"","sources":["../../../../../src/class/utility/dto/strategy/response.class.ts"],"names":[],"mappings":";;;AAGA,2CAAiD;AAEjD,MAAa,mBAAmB;IAC/B,kBAAkB,CAAC,MAAqB,EAAE,SAAyC;QAClF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,GAAG,CAAC,CAAC,CAAC;gBACxB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAC7B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7C,CAAC;YAED,KAAK,oBAAa,CAAC,cAAc,CAAC,CAAC,CAAC;gBACnC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,KAAK,oBAAa,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;YAED,OAAO,CAAC,CAAC,CAAC;gBACT,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC7B,CAAC;QACF,CAAC;IACF,CAAC;CACD;AAhCD,kDAgCC"}
@@ -1,3 +1,3 @@
1
- export * from "./function.constant";
2
1
  export * from "./controller.constant";
2
+ export * from "./function.constant";
3
3
  export * from "./property-describe.constant";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./function.constant"), exports);
18
17
  __exportStar(require("./controller.constant"), exports);
18
+ __exportStar(require("./function.constant"), exports);
19
19
  __exportStar(require("./property-describe.constant"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC;AACtC,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC;AACpC,+DAA6C"}
@@ -1 +1 @@
1
- {"version":3,"file":"property-describe.constant.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/property-describe.constant.ts"],"names":[],"mappings":";;;AACA,MAAM,sBAAsB,GAA4B,uBAAgC,CAAC;AAE5E,QAAA,wCAAwC,GAAiE;IACrH,sBAAsB;CACb,CAAC"}
1
+ {"version":3,"file":"property-describe.constant.js","sourceRoot":"","sources":["../../../../src/constant/decorator/api/property-describe.constant.ts"],"names":[],"mappings":";;;AACA,MAAM,sBAAsB,GAA4B,uBAAuB,CAAC;AAEnE,QAAA,wCAAwC,GAAiE;IACrH,sBAAsB;CACb,CAAC"}
@@ -1 +1,3 @@
1
1
  export * from "./exception.constant";
2
+ export * from "./list.constant";
3
+ export * from "./transformer-value.constant";
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./exception.constant"), exports);
18
+ __exportStar(require("./list.constant"), exports);
19
+ __exportStar(require("./transformer-value.constant"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constant/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constant/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,kDAAgC;AAChC,+DAA6C"}
@@ -0,0 +1,7 @@
1
+ declare const LIST_DTO_CONSTANT: {
2
+ readonly MAXIMUM_LIST_LENGTH: number;
3
+ readonly MAXIMUM_LIST_PAGES_COUNT: number;
4
+ readonly MINIMUM_LIST_LENGTH: number;
5
+ readonly MINIMUM_LIST_PAGES_COUNT: number;
6
+ };
7
+ export default LIST_DTO_CONSTANT;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const MINIMUM_LIST_LENGTH = 1;
4
+ const MAXIMUM_LIST_LENGTH = 100;
5
+ const MINIMUM_LIST_PAGES_COUNT = 1;
6
+ const MAXIMUM_LIST_PAGES_COUNT = 100;
7
+ const LIST_DTO_CONSTANT = {
8
+ MAXIMUM_LIST_LENGTH,
9
+ MAXIMUM_LIST_PAGES_COUNT,
10
+ MINIMUM_LIST_LENGTH,
11
+ MINIMUM_LIST_PAGES_COUNT,
12
+ };
13
+ exports.default = LIST_DTO_CONSTANT;
14
+ //# sourceMappingURL=list.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.constant.js","sourceRoot":"","sources":["../../../src/constant/dto/list.constant.ts"],"names":[],"mappings":";;AAAA,MAAM,mBAAmB,GAAW,CAAC,CAAC;AACtC,MAAM,mBAAmB,GAAW,GAAG,CAAC;AACxC,MAAM,wBAAwB,GAAW,CAAC,CAAC;AAC3C,MAAM,wBAAwB,GAAW,GAAG,CAAC;AAE7C,MAAM,iBAAiB,GAKnB;IACH,mBAAmB;IACnB,wBAAwB;IACxB,mBAAmB;IACnB,wBAAwB;CACf,CAAC;AAEX,kBAAe,iBAAiB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export declare const TRANSFORMER_VALUE_DTO_CONSTANT: {
2
- readonly AUTHORIZED_ENTITY: Symbol;
3
- readonly REQUEST_IP: Symbol;
4
- readonly REQUEST_SIGNATURE: Symbol;
5
- readonly REQUEST_TIMESTAMP: Symbol;
6
- readonly REQUEST_USER_AGENT: Symbol;
2
+ readonly AUTHORIZED_ENTITY: symbol;
3
+ readonly REQUEST_IP: symbol;
4
+ readonly REQUEST_SIGNATURE: symbol;
5
+ readonly REQUEST_TIMESTAMP: symbol;
6
+ readonly REQUEST_USER_AGENT: symbol;
7
7
  };
@@ -1,6 +1,6 @@
1
+ export * from "./date.constant";
1
2
  export * from "./decorator";
2
3
  export * from "./dto";
4
+ export * from "./factory";
3
5
  export * from "./interface";
4
- export * from "./date.constant";
5
6
  export * from "./number.constant";
6
- export * from "./factory";
@@ -14,10 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./date.constant"), exports);
17
18
  __exportStar(require("./decorator"), exports);
18
19
  __exportStar(require("./dto"), exports);
20
+ __exportStar(require("./factory"), exports);
19
21
  __exportStar(require("./interface"), exports);
20
- __exportStar(require("./date.constant"), exports);
21
22
  __exportStar(require("./number.constant"), exports);
22
- __exportStar(require("./factory"), exports);
23
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,kDAAgC;AAChC,oDAAkC;AAClC,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,wCAAsB;AACtB,4CAA0B;AAC1B,8CAA4B;AAC5B,oDAAkC"}
@@ -1,2 +1,2 @@
1
- export * from "./property";
2
1
  export * from "./filter.constant";
2
+ export * from "./property";