pg-manipulator 1.0.36 → 1.0.38

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 (308) hide show
  1. package/README.md +2 -2
  2. package/bin/dump/index.cjs +9 -9
  3. package/bin/update/index.cjs +9 -9
  4. package/dist/@types/admin/atributos_fields.d.ts +8 -0
  5. package/dist/@types/admin/atributos_order.d.ts +8 -0
  6. package/dist/@types/admin/atributos_select.d.ts +12 -0
  7. package/dist/@types/admin/atributos_update.d.ts +10 -0
  8. package/dist/@types/admin/atributos_where.d.ts +9 -0
  9. package/dist/@types/admin/categoria_fields.d.ts +9 -0
  10. package/dist/@types/admin/categoria_order.d.ts +9 -0
  11. package/dist/@types/admin/categoria_select.d.ts +13 -0
  12. package/dist/@types/admin/categoria_update.d.ts +11 -0
  13. package/dist/@types/admin/categoria_where.d.ts +10 -0
  14. package/dist/@types/admin/ecommerce_fields.d.ts +17 -0
  15. package/dist/@types/admin/ecommerce_item_fields.d.ts +5 -0
  16. package/dist/@types/admin/ecommerce_item_order.d.ts +5 -0
  17. package/dist/@types/admin/ecommerce_item_select.d.ts +9 -0
  18. package/dist/@types/admin/ecommerce_item_update.d.ts +7 -0
  19. package/dist/@types/admin/ecommerce_item_where.d.ts +6 -0
  20. package/dist/@types/admin/ecommerce_order.d.ts +17 -0
  21. package/dist/@types/admin/ecommerce_select.d.ts +21 -0
  22. package/dist/@types/admin/ecommerce_update.d.ts +19 -0
  23. package/dist/@types/admin/ecommerce_where.d.ts +18 -0
  24. package/dist/@types/admin/empresa_fields.d.ts +26 -0
  25. package/dist/@types/admin/empresa_order.d.ts +26 -0
  26. package/dist/@types/admin/empresa_select.d.ts +30 -0
  27. package/dist/@types/admin/empresa_update.d.ts +28 -0
  28. package/dist/@types/admin/empresa_where.d.ts +27 -0
  29. package/dist/@types/admin/entidade_endereco_fields.d.ts +18 -0
  30. package/dist/@types/admin/entidade_endereco_order.d.ts +18 -0
  31. package/dist/@types/admin/entidade_endereco_select.d.ts +22 -0
  32. package/dist/@types/admin/entidade_endereco_update.d.ts +20 -0
  33. package/dist/@types/admin/entidade_endereco_where.d.ts +19 -0
  34. package/dist/@types/admin/entidade_fields.d.ts +12 -0
  35. package/dist/@types/admin/entidade_order.d.ts +12 -0
  36. package/dist/@types/admin/entidade_select.d.ts +16 -0
  37. package/dist/@types/admin/entidade_update.d.ts +14 -0
  38. package/dist/@types/admin/entidade_where.d.ts +13 -0
  39. package/dist/@types/admin/item_fields.d.ts +26 -0
  40. package/dist/@types/admin/item_order.d.ts +26 -0
  41. package/dist/@types/admin/item_select.d.ts +30 -0
  42. package/dist/@types/admin/item_update.d.ts +28 -0
  43. package/dist/@types/admin/item_variacao_fields.d.ts +11 -0
  44. package/dist/@types/admin/item_variacao_order.d.ts +11 -0
  45. package/dist/@types/admin/item_variacao_select.d.ts +15 -0
  46. package/dist/@types/admin/item_variacao_update.d.ts +13 -0
  47. package/dist/@types/admin/item_variacao_where.d.ts +12 -0
  48. package/dist/@types/admin/item_where.d.ts +27 -0
  49. package/dist/@types/admin/marca_fields.d.ts +8 -0
  50. package/dist/@types/admin/marca_order.d.ts +8 -0
  51. package/dist/@types/admin/marca_select.d.ts +12 -0
  52. package/dist/@types/admin/marca_update.d.ts +10 -0
  53. package/dist/@types/admin/marca_where.d.ts +9 -0
  54. package/dist/@types/admin/operacao_fields.d.ts +23 -0
  55. package/dist/@types/admin/operacao_item_fields.d.ts +10 -0
  56. package/dist/@types/admin/operacao_item_order.d.ts +10 -0
  57. package/dist/@types/admin/operacao_item_select.d.ts +14 -0
  58. package/dist/@types/admin/operacao_item_update.d.ts +12 -0
  59. package/dist/@types/admin/operacao_item_where.d.ts +11 -0
  60. package/dist/@types/admin/operacao_item_where.js +2 -0
  61. package/dist/@types/admin/operacao_order.d.ts +23 -0
  62. package/dist/@types/admin/operacao_order.js +2 -0
  63. package/dist/@types/admin/operacao_pagamento_fields.d.ts +9 -0
  64. package/dist/@types/admin/operacao_pagamento_fields.js +2 -0
  65. package/dist/@types/admin/operacao_pagamento_order.d.ts +9 -0
  66. package/dist/@types/admin/operacao_pagamento_order.js +2 -0
  67. package/dist/@types/admin/operacao_pagamento_select.d.ts +13 -0
  68. package/dist/@types/admin/operacao_pagamento_select.js +2 -0
  69. package/dist/@types/admin/operacao_pagamento_update.d.ts +11 -0
  70. package/dist/@types/admin/operacao_pagamento_update.js +2 -0
  71. package/dist/@types/admin/operacao_pagamento_where.d.ts +10 -0
  72. package/dist/@types/admin/operacao_pagamento_where.js +2 -0
  73. package/dist/@types/admin/operacao_select.d.ts +27 -0
  74. package/dist/@types/admin/operacao_select.js +2 -0
  75. package/dist/@types/admin/operacao_update.d.ts +25 -0
  76. package/dist/@types/admin/operacao_update.js +2 -0
  77. package/dist/@types/admin/operacao_where.d.ts +24 -0
  78. package/dist/@types/admin/operacao_where.js +2 -0
  79. package/dist/@types/admin/unidade_medida_fields.d.ts +9 -0
  80. package/dist/@types/admin/unidade_medida_fields.js +2 -0
  81. package/dist/@types/admin/unidade_medida_order.d.ts +9 -0
  82. package/dist/@types/admin/unidade_medida_order.js +2 -0
  83. package/dist/@types/admin/unidade_medida_select.d.ts +13 -0
  84. package/dist/@types/admin/unidade_medida_select.js +2 -0
  85. package/dist/@types/admin/unidade_medida_update.d.ts +11 -0
  86. package/dist/@types/admin/unidade_medida_update.js +2 -0
  87. package/dist/@types/admin/unidade_medida_where.d.ts +10 -0
  88. package/dist/@types/admin/unidade_medida_where.js +2 -0
  89. package/dist/@types/admin/usuario_fields.d.ts +6 -0
  90. package/dist/@types/admin/usuario_fields.js +2 -0
  91. package/dist/@types/admin/usuario_order.d.ts +6 -0
  92. package/dist/@types/admin/usuario_order.js +2 -0
  93. package/dist/@types/admin/usuario_select.d.ts +10 -0
  94. package/dist/@types/admin/usuario_select.js +2 -0
  95. package/dist/@types/admin/usuario_update.d.ts +8 -0
  96. package/dist/@types/admin/usuario_update.js +2 -0
  97. package/dist/@types/admin/usuario_where.d.ts +7 -0
  98. package/dist/@types/admin/usuario_where.js +2 -0
  99. package/dist/class/admin/atributos.d.ts +13 -0
  100. package/dist/class/{users/users_bet.js → admin/atributos.js} +7 -7
  101. package/dist/class/admin/categoria.d.ts +13 -0
  102. package/dist/class/{championships/teams.js → admin/categoria.js} +7 -7
  103. package/dist/class/admin/ecommerce.d.ts +13 -0
  104. package/dist/class/{championships/bet_users.js → admin/ecommerce.js} +7 -7
  105. package/dist/class/admin/ecommerce_item.d.ts +13 -0
  106. package/dist/class/admin/ecommerce_item.js +24 -0
  107. package/dist/class/admin/empresa.d.ts +13 -0
  108. package/dist/class/admin/empresa.js +24 -0
  109. package/dist/class/admin/entidade.d.ts +13 -0
  110. package/dist/class/admin/entidade.js +24 -0
  111. package/dist/class/admin/entidade_endereco.d.ts +13 -0
  112. package/dist/class/admin/entidade_endereco.js +24 -0
  113. package/dist/class/admin/index.d.ts +37 -0
  114. package/dist/class/admin/index.js +44 -0
  115. package/dist/class/admin/item.d.ts +13 -0
  116. package/dist/class/admin/item.js +24 -0
  117. package/dist/class/admin/item_variacao.d.ts +13 -0
  118. package/dist/class/admin/item_variacao.js +24 -0
  119. package/dist/class/admin/marca.d.ts +13 -0
  120. package/dist/class/{users/users.js → admin/marca.js} +7 -7
  121. package/dist/class/admin/operacao.d.ts +13 -0
  122. package/dist/class/admin/operacao.js +24 -0
  123. package/dist/class/admin/operacao_item.d.ts +13 -0
  124. package/dist/class/admin/operacao_item.js +24 -0
  125. package/dist/class/admin/operacao_pagamento.d.ts +13 -0
  126. package/dist/class/admin/operacao_pagamento.js +24 -0
  127. package/dist/class/admin/unidade_medida.d.ts +13 -0
  128. package/dist/class/admin/unidade_medida.js +24 -0
  129. package/dist/class/admin/usuario.d.ts +13 -0
  130. package/dist/class/admin/usuario.js +24 -0
  131. package/dist/generator/index.js +2 -2
  132. package/dist/generator/template/entity.js +27 -27
  133. package/dist/generator/template/entity_store.js +7 -7
  134. package/dist/generator/template/fields.js +1 -1
  135. package/dist/generator/template/order.js +1 -1
  136. package/dist/generator/template/select.js +6 -6
  137. package/dist/generator/template/update.js +4 -4
  138. package/dist/generator/template/where.js +3 -3
  139. package/dist/index.d.ts +2 -3
  140. package/dist/index.js +3 -5
  141. package/dist/mapping/{users/users.d.ts → admin/atributos.d.ts} +0 -10
  142. package/dist/mapping/{users/users.js → admin/atributos.js} +9 -20
  143. package/dist/mapping/{championships/bet_users.js → admin/categoria.js} +18 -40
  144. package/dist/mapping/admin/ecommerce.js +186 -0
  145. package/dist/mapping/{users/users_bet.d.ts → admin/ecommerce_item.d.ts} +2 -12
  146. package/dist/mapping/{championships/championships_users.js → admin/ecommerce_item.js} +18 -18
  147. package/dist/mapping/admin/empresa.d.ts +27 -0
  148. package/dist/mapping/admin/empresa.js +273 -0
  149. package/dist/mapping/admin/entidade.d.ts +37 -0
  150. package/dist/mapping/{championships/championships_teams.js → admin/entidade.js} +33 -44
  151. package/dist/mapping/admin/entidade_endereco.js +197 -0
  152. package/dist/mapping/admin/index.d.ts +513 -0
  153. package/dist/mapping/admin/index.js +37 -0
  154. package/dist/mapping/admin/item.js +319 -0
  155. package/dist/mapping/admin/item_variacao.d.ts +27 -0
  156. package/dist/mapping/{championships/championships.js → admin/item_variacao.js} +21 -33
  157. package/dist/mapping/admin/marca.d.ts +37 -0
  158. package/dist/mapping/{users/users_bet.js → admin/marca.js} +16 -49
  159. package/dist/mapping/admin/operacao.d.ts +47 -0
  160. package/dist/mapping/{championships/championships_matches.js → admin/operacao.js} +108 -53
  161. package/dist/mapping/{championships/teams.js → admin/operacao_item.js} +37 -37
  162. package/dist/mapping/admin/operacao_pagamento.js +98 -0
  163. package/dist/mapping/admin/unidade_medida.d.ts +37 -0
  164. package/dist/mapping/admin/unidade_medida.js +98 -0
  165. package/dist/mapping/admin/usuario.d.ts +27 -0
  166. package/dist/mapping/{users/users_championships.js → admin/usuario.js} +13 -25
  167. package/dist/middleware/select/index.js +4 -4
  168. package/dist/scripts/index.js +61 -61
  169. package/package.json +40 -40
  170. package/dist/@types/championships/bet_users_fields.d.ts +0 -11
  171. package/dist/@types/championships/bet_users_order.d.ts +0 -11
  172. package/dist/@types/championships/bet_users_select.d.ts +0 -15
  173. package/dist/@types/championships/bet_users_update.d.ts +0 -13
  174. package/dist/@types/championships/bet_users_where.d.ts +0 -12
  175. package/dist/@types/championships/championships_fields.d.ts +0 -11
  176. package/dist/@types/championships/championships_matches_fields.d.ts +0 -16
  177. package/dist/@types/championships/championships_matches_order.d.ts +0 -16
  178. package/dist/@types/championships/championships_matches_select.d.ts +0 -20
  179. package/dist/@types/championships/championships_matches_update.d.ts +0 -18
  180. package/dist/@types/championships/championships_matches_where.d.ts +0 -17
  181. package/dist/@types/championships/championships_order.d.ts +0 -11
  182. package/dist/@types/championships/championships_select.d.ts +0 -15
  183. package/dist/@types/championships/championships_teams_fields.d.ts +0 -13
  184. package/dist/@types/championships/championships_teams_order.d.ts +0 -13
  185. package/dist/@types/championships/championships_teams_select.d.ts +0 -17
  186. package/dist/@types/championships/championships_teams_update.d.ts +0 -15
  187. package/dist/@types/championships/championships_teams_where.d.ts +0 -14
  188. package/dist/@types/championships/championships_update.d.ts +0 -13
  189. package/dist/@types/championships/championships_users_fields.d.ts +0 -6
  190. package/dist/@types/championships/championships_users_order.d.ts +0 -6
  191. package/dist/@types/championships/championships_users_select.d.ts +0 -10
  192. package/dist/@types/championships/championships_users_update.d.ts +0 -8
  193. package/dist/@types/championships/championships_users_where.d.ts +0 -7
  194. package/dist/@types/championships/championships_where.d.ts +0 -12
  195. package/dist/@types/championships/teams_fields.d.ts +0 -8
  196. package/dist/@types/championships/teams_order.d.ts +0 -8
  197. package/dist/@types/championships/teams_select.d.ts +0 -12
  198. package/dist/@types/championships/teams_update.d.ts +0 -10
  199. package/dist/@types/championships/teams_where.d.ts +0 -9
  200. package/dist/@types/users/transaction_historics_fields.d.ts +0 -6
  201. package/dist/@types/users/transaction_historics_order.d.ts +0 -6
  202. package/dist/@types/users/transaction_historics_select.d.ts +0 -10
  203. package/dist/@types/users/transaction_historics_update.d.ts +0 -8
  204. package/dist/@types/users/transaction_historics_where.d.ts +0 -7
  205. package/dist/@types/users/transactions_fields.d.ts +0 -11
  206. package/dist/@types/users/transactions_order.d.ts +0 -11
  207. package/dist/@types/users/transactions_select.d.ts +0 -15
  208. package/dist/@types/users/transactions_update.d.ts +0 -13
  209. package/dist/@types/users/transactions_where.d.ts +0 -12
  210. package/dist/@types/users/users_bet_fields.d.ts +0 -11
  211. package/dist/@types/users/users_bet_order.d.ts +0 -11
  212. package/dist/@types/users/users_bet_select.d.ts +0 -15
  213. package/dist/@types/users/users_bet_update.d.ts +0 -13
  214. package/dist/@types/users/users_bet_where.d.ts +0 -12
  215. package/dist/@types/users/users_championships_fields.d.ts +0 -6
  216. package/dist/@types/users/users_championships_order.d.ts +0 -6
  217. package/dist/@types/users/users_championships_select.d.ts +0 -10
  218. package/dist/@types/users/users_championships_update.d.ts +0 -8
  219. package/dist/@types/users/users_championships_where.d.ts +0 -7
  220. package/dist/@types/users/users_fields.d.ts +0 -9
  221. package/dist/@types/users/users_order.d.ts +0 -9
  222. package/dist/@types/users/users_select.d.ts +0 -13
  223. package/dist/@types/users/users_update.d.ts +0 -11
  224. package/dist/@types/users/users_where.d.ts +0 -10
  225. package/dist/class/championships/bet_users.d.ts +0 -13
  226. package/dist/class/championships/championships.d.ts +0 -13
  227. package/dist/class/championships/championships.js +0 -24
  228. package/dist/class/championships/championships_matches.d.ts +0 -13
  229. package/dist/class/championships/championships_matches.js +0 -24
  230. package/dist/class/championships/championships_teams.d.ts +0 -13
  231. package/dist/class/championships/championships_teams.js +0 -24
  232. package/dist/class/championships/championships_users.d.ts +0 -13
  233. package/dist/class/championships/championships_users.js +0 -24
  234. package/dist/class/championships/index.d.ts +0 -19
  235. package/dist/class/championships/index.js +0 -26
  236. package/dist/class/championships/teams.d.ts +0 -13
  237. package/dist/class/users/index.d.ts +0 -9
  238. package/dist/class/users/index.js +0 -16
  239. package/dist/class/users/users.d.ts +0 -13
  240. package/dist/class/users/users_bet.d.ts +0 -13
  241. package/dist/class/users/users_championships.d.ts +0 -13
  242. package/dist/class/users/users_championships.js +0 -24
  243. package/dist/mapping/championships/index.d.ts +0 -229
  244. package/dist/mapping/championships/index.js +0 -19
  245. package/dist/mapping/users/index.d.ts +0 -39
  246. package/dist/mapping/users/index.js +0 -9
  247. package/dist/mapping/users/users_championships.d.ts +0 -37
  248. /package/dist/@types/{championships/bet_users_fields.js → admin/atributos_fields.js} +0 -0
  249. /package/dist/@types/{championships/bet_users_order.js → admin/atributos_order.js} +0 -0
  250. /package/dist/@types/{championships/bet_users_select.js → admin/atributos_select.js} +0 -0
  251. /package/dist/@types/{championships/bet_users_update.js → admin/atributos_update.js} +0 -0
  252. /package/dist/@types/{championships/bet_users_where.js → admin/atributos_where.js} +0 -0
  253. /package/dist/@types/{championships/championships_fields.js → admin/categoria_fields.js} +0 -0
  254. /package/dist/@types/{championships/championships_matches_fields.js → admin/categoria_order.js} +0 -0
  255. /package/dist/@types/{championships/championships_matches_order.js → admin/categoria_select.js} +0 -0
  256. /package/dist/@types/{championships/championships_matches_select.js → admin/categoria_update.js} +0 -0
  257. /package/dist/@types/{championships/championships_matches_update.js → admin/categoria_where.js} +0 -0
  258. /package/dist/@types/{championships/championships_matches_where.js → admin/ecommerce_fields.js} +0 -0
  259. /package/dist/@types/{championships/championships_order.js → admin/ecommerce_item_fields.js} +0 -0
  260. /package/dist/@types/{championships/championships_select.js → admin/ecommerce_item_order.js} +0 -0
  261. /package/dist/@types/{championships/championships_teams_fields.js → admin/ecommerce_item_select.js} +0 -0
  262. /package/dist/@types/{championships/championships_teams_order.js → admin/ecommerce_item_update.js} +0 -0
  263. /package/dist/@types/{championships/championships_teams_select.js → admin/ecommerce_item_where.js} +0 -0
  264. /package/dist/@types/{championships/championships_teams_update.js → admin/ecommerce_order.js} +0 -0
  265. /package/dist/@types/{championships/championships_teams_where.js → admin/ecommerce_select.js} +0 -0
  266. /package/dist/@types/{championships/championships_update.js → admin/ecommerce_update.js} +0 -0
  267. /package/dist/@types/{championships/championships_users_fields.js → admin/ecommerce_where.js} +0 -0
  268. /package/dist/@types/{championships/championships_users_order.js → admin/empresa_fields.js} +0 -0
  269. /package/dist/@types/{championships/championships_users_select.js → admin/empresa_order.js} +0 -0
  270. /package/dist/@types/{championships/championships_users_update.js → admin/empresa_select.js} +0 -0
  271. /package/dist/@types/{championships/championships_users_where.js → admin/empresa_update.js} +0 -0
  272. /package/dist/@types/{championships/championships_where.js → admin/empresa_where.js} +0 -0
  273. /package/dist/@types/{championships/teams_fields.js → admin/entidade_endereco_fields.js} +0 -0
  274. /package/dist/@types/{championships/teams_order.js → admin/entidade_endereco_order.js} +0 -0
  275. /package/dist/@types/{championships/teams_select.js → admin/entidade_endereco_select.js} +0 -0
  276. /package/dist/@types/{championships/teams_update.js → admin/entidade_endereco_update.js} +0 -0
  277. /package/dist/@types/{championships/teams_where.js → admin/entidade_endereco_where.js} +0 -0
  278. /package/dist/@types/{users/transaction_historics_fields.js → admin/entidade_fields.js} +0 -0
  279. /package/dist/@types/{users/transaction_historics_order.js → admin/entidade_order.js} +0 -0
  280. /package/dist/@types/{users/transaction_historics_select.js → admin/entidade_select.js} +0 -0
  281. /package/dist/@types/{users/transaction_historics_update.js → admin/entidade_update.js} +0 -0
  282. /package/dist/@types/{users/transaction_historics_where.js → admin/entidade_where.js} +0 -0
  283. /package/dist/@types/{users/transactions_fields.js → admin/item_fields.js} +0 -0
  284. /package/dist/@types/{users/transactions_order.js → admin/item_order.js} +0 -0
  285. /package/dist/@types/{users/transactions_select.js → admin/item_select.js} +0 -0
  286. /package/dist/@types/{users/transactions_update.js → admin/item_update.js} +0 -0
  287. /package/dist/@types/{users/transactions_where.js → admin/item_variacao_fields.js} +0 -0
  288. /package/dist/@types/{users/users_bet_fields.js → admin/item_variacao_order.js} +0 -0
  289. /package/dist/@types/{users/users_bet_order.js → admin/item_variacao_select.js} +0 -0
  290. /package/dist/@types/{users/users_bet_select.js → admin/item_variacao_update.js} +0 -0
  291. /package/dist/@types/{users/users_bet_update.js → admin/item_variacao_where.js} +0 -0
  292. /package/dist/@types/{users/users_bet_where.js → admin/item_where.js} +0 -0
  293. /package/dist/@types/{users/users_championships_fields.js → admin/marca_fields.js} +0 -0
  294. /package/dist/@types/{users/users_championships_order.js → admin/marca_order.js} +0 -0
  295. /package/dist/@types/{users/users_championships_select.js → admin/marca_select.js} +0 -0
  296. /package/dist/@types/{users/users_championships_update.js → admin/marca_update.js} +0 -0
  297. /package/dist/@types/{users/users_championships_where.js → admin/marca_where.js} +0 -0
  298. /package/dist/@types/{users/users_fields.js → admin/operacao_fields.js} +0 -0
  299. /package/dist/@types/{users/users_order.js → admin/operacao_item_fields.js} +0 -0
  300. /package/dist/@types/{users/users_select.js → admin/operacao_item_order.js} +0 -0
  301. /package/dist/@types/{users/users_update.js → admin/operacao_item_select.js} +0 -0
  302. /package/dist/@types/{users/users_where.js → admin/operacao_item_update.js} +0 -0
  303. /package/dist/mapping/{championships/championships.d.ts → admin/categoria.d.ts} +0 -0
  304. /package/dist/mapping/{championships/teams.d.ts → admin/ecommerce.d.ts} +0 -0
  305. /package/dist/mapping/{championships/bet_users.d.ts → admin/entidade_endereco.d.ts} +0 -0
  306. /package/dist/mapping/{championships/championships_matches.d.ts → admin/item.d.ts} +0 -0
  307. /package/dist/mapping/{championships/championships_teams.d.ts → admin/operacao_item.d.ts} +0 -0
  308. /package/dist/mapping/{championships/championships_users.d.ts → admin/operacao_pagamento.d.ts} +0 -0
@@ -1,17 +0,0 @@
1
- import { championships_teams_where } from './championships_teams_where';
2
- import { championships_teams_order } from './championships_teams_order';
3
- export type championships_teams_select = {
4
- id?: number;
5
- team?: number;
6
- championship?: number;
7
- points?: number;
8
- goals_favor?: number;
9
- goals_against?: number;
10
- matches?: number;
11
- defeats?: number;
12
- draws?: number;
13
- victors?: number;
14
- user_create?: number;
15
- where: championships_teams_where;
16
- order?: championships_teams_order;
17
- };
@@ -1,15 +0,0 @@
1
- import { championships_teams_where } from './championships_teams_where';
2
- export type championships_teams_update = {
3
- id?: number;
4
- team?: number;
5
- championship?: number;
6
- points?: number;
7
- goals_favor?: number;
8
- goals_against?: number;
9
- matches?: number;
10
- defeats?: number;
11
- draws?: number;
12
- victors?: number;
13
- user_create?: number;
14
- where: championships_teams_where;
15
- };
@@ -1,14 +0,0 @@
1
- import { where_number } from '../';
2
- export type championships_teams_where = {
3
- id?: where_number | number;
4
- team?: where_number | number;
5
- championship?: where_number | number;
6
- points?: where_number | number;
7
- goals_favor?: where_number | number;
8
- goals_against?: where_number | number;
9
- matches?: where_number | number;
10
- defeats?: where_number | number;
11
- draws?: where_number | number;
12
- victors?: where_number | number;
13
- user_create?: where_number | number;
14
- };
@@ -1,13 +0,0 @@
1
- import { championships_where } from './championships_where';
2
- export type championships_update = {
3
- id?: number;
4
- type?: number;
5
- name?: string;
6
- icon?: string;
7
- description?: string;
8
- date_init?: Date;
9
- date_end?: Date;
10
- locale?: string;
11
- user_create?: number;
12
- where: championships_where;
13
- };
@@ -1,6 +0,0 @@
1
- export type championships_users_fields = {
2
- id?: number;
3
- type?: number;
4
- user_id?: number;
5
- championship: number;
6
- };
@@ -1,6 +0,0 @@
1
- export type championships_users_order = {
2
- id?: 'desc' | 'asc';
3
- type?: 'desc' | 'asc';
4
- user_id?: 'desc' | 'asc';
5
- championship?: 'desc' | 'asc';
6
- };
@@ -1,10 +0,0 @@
1
- import { championships_users_where } from './championships_users_where';
2
- import { championships_users_order } from './championships_users_order';
3
- export type championships_users_select = {
4
- id?: number;
5
- type?: number;
6
- user_id?: number;
7
- championship?: number;
8
- where: championships_users_where;
9
- order?: championships_users_order;
10
- };
@@ -1,8 +0,0 @@
1
- import { championships_users_where } from './championships_users_where';
2
- export type championships_users_update = {
3
- id?: number;
4
- type?: number;
5
- user_id?: number;
6
- championship?: number;
7
- where: championships_users_where;
8
- };
@@ -1,7 +0,0 @@
1
- import { where_number } from '../';
2
- export type championships_users_where = {
3
- id?: where_number | number;
4
- type?: where_number | number;
5
- user_id?: where_number | number;
6
- championship?: where_number | number;
7
- };
@@ -1,12 +0,0 @@
1
- import { where_number, where_string, where_date } from '../';
2
- export type championships_where = {
3
- id?: where_number | number;
4
- type?: where_number | number;
5
- name?: where_string | string;
6
- icon?: where_string | string;
7
- description?: where_string | string;
8
- date_init?: where_date | Date;
9
- date_end?: where_date | Date;
10
- locale?: where_string | string;
11
- user_create?: where_number | number;
12
- };
@@ -1,8 +0,0 @@
1
- export type teams_fields = {
2
- id?: number;
3
- name: string;
4
- icon?: string;
5
- acronym: string;
6
- locale: string;
7
- user_create?: number;
8
- };
@@ -1,8 +0,0 @@
1
- export type teams_order = {
2
- id?: 'desc' | 'asc';
3
- name?: 'desc' | 'asc';
4
- icon?: 'desc' | 'asc';
5
- acronym?: 'desc' | 'asc';
6
- locale?: 'desc' | 'asc';
7
- user_create?: 'desc' | 'asc';
8
- };
@@ -1,12 +0,0 @@
1
- import { teams_where } from './teams_where';
2
- import { teams_order } from './teams_order';
3
- export type teams_select = {
4
- id?: number;
5
- name?: string;
6
- icon?: string;
7
- acronym?: string;
8
- locale?: string;
9
- user_create?: number;
10
- where: teams_where;
11
- order?: teams_order;
12
- };
@@ -1,10 +0,0 @@
1
- import { teams_where } from './teams_where';
2
- export type teams_update = {
3
- id?: number;
4
- name?: string;
5
- icon?: string;
6
- acronym?: string;
7
- locale?: string;
8
- user_create?: number;
9
- where: teams_where;
10
- };
@@ -1,9 +0,0 @@
1
- import { where_number, where_string } from '../';
2
- export type teams_where = {
3
- id?: where_number | number;
4
- name?: where_string | string;
5
- icon?: where_string | string;
6
- acronym?: where_string | string;
7
- locale?: where_string | string;
8
- user_create?: where_number | number;
9
- };
@@ -1,6 +0,0 @@
1
- export type transaction_historics_fields = {
2
- id: number;
3
- transactions: number;
4
- status: string;
5
- date: Date;
6
- };
@@ -1,6 +0,0 @@
1
- export type transaction_historics_order = {
2
- id: 'desc' | 'asc';
3
- transactions: 'desc' | 'asc';
4
- status: 'desc' | 'asc';
5
- date: 'desc' | 'asc';
6
- };
@@ -1,10 +0,0 @@
1
- import { transaction_historics_where } from './transaction_historics_where';
2
- import { transaction_historics_order } from './transaction_historics_order';
3
- export type transaction_historics_select = {
4
- id: number | undefined;
5
- transactions: number | undefined;
6
- status: string | undefined;
7
- date: Date | undefined;
8
- where: transaction_historics_where;
9
- order: transaction_historics_order;
10
- };
@@ -1,8 +0,0 @@
1
- import { transaction_historics_where } from './transaction_historics_where';
2
- export type transaction_historics_update = {
3
- id: number | undefined;
4
- transactions: number | undefined;
5
- status: string | undefined;
6
- date: Date | undefined;
7
- where: transaction_historics_where;
8
- };
@@ -1,7 +0,0 @@
1
- import { where_number, where_string, where_date } from '../';
2
- export type transaction_historics_where = {
3
- id: where_number | undefined;
4
- transactions: where_number | undefined;
5
- status: where_string | undefined;
6
- date: where_date | undefined;
7
- };
@@ -1,11 +0,0 @@
1
- export type transactions_fields = {
2
- id: string;
3
- txid: string;
4
- value: number;
5
- email: string;
6
- status: string;
7
- type: string;
8
- error: any;
9
- success: any;
10
- observation: string;
11
- };
@@ -1,11 +0,0 @@
1
- export type transactions_order = {
2
- id: 'desc' | 'asc';
3
- txid: 'desc' | 'asc';
4
- value: 'desc' | 'asc';
5
- email: 'desc' | 'asc';
6
- status: 'desc' | 'asc';
7
- type: 'desc' | 'asc';
8
- error: 'desc' | 'asc';
9
- success: 'desc' | 'asc';
10
- observation: 'desc' | 'asc';
11
- };
@@ -1,15 +0,0 @@
1
- import { transactions_where } from './transactions_where';
2
- import { transactions_order } from './transactions_order';
3
- export type transactions_select = {
4
- id: string | undefined;
5
- txid: string | undefined;
6
- value: number | undefined;
7
- email: string | undefined;
8
- status: string | undefined;
9
- type: string | undefined;
10
- error: any | undefined;
11
- success: any | undefined;
12
- observation: string | undefined;
13
- where: transactions_where;
14
- order: transactions_order;
15
- };
@@ -1,13 +0,0 @@
1
- import { transactions_where } from './transactions_where';
2
- export type transactions_update = {
3
- id: string | undefined;
4
- txid: string | undefined;
5
- value: number | undefined;
6
- email: string | undefined;
7
- status: string | undefined;
8
- type: string | undefined;
9
- error: any | undefined;
10
- success: any | undefined;
11
- observation: string | undefined;
12
- where: transactions_where;
13
- };
@@ -1,12 +0,0 @@
1
- import { where_number, where_string } from '../';
2
- export type transactions_where = {
3
- id: where_string | undefined;
4
- txid: where_string | undefined;
5
- value: where_number | undefined;
6
- email: where_string | undefined;
7
- status: where_string | undefined;
8
- type: where_string | undefined;
9
- error: any | undefined;
10
- success: any | undefined;
11
- observation: where_string | undefined;
12
- };
@@ -1,11 +0,0 @@
1
- export type users_bet_fields = {
2
- id: number;
3
- user_id: number;
4
- match: number;
5
- team_a_points: number;
6
- team_a_goals: number;
7
- team_b_points: number;
8
- team_b_goals: number;
9
- date_create: Date;
10
- processed: boolean;
11
- };
@@ -1,11 +0,0 @@
1
- export type users_bet_order = {
2
- id?: 'desc' | 'asc';
3
- user_id?: 'desc' | 'asc';
4
- match?: 'desc' | 'asc';
5
- team_a_points?: 'desc' | 'asc';
6
- team_a_goals?: 'desc' | 'asc';
7
- team_b_points?: 'desc' | 'asc';
8
- team_b_goals?: 'desc' | 'asc';
9
- date_create?: 'desc' | 'asc';
10
- processed?: 'desc' | 'asc';
11
- };
@@ -1,15 +0,0 @@
1
- import { users_bet_where } from './users_bet_where';
2
- import { users_bet_order } from './users_bet_order';
3
- export type users_bet_select = {
4
- id?: number;
5
- user_id?: number;
6
- match?: number;
7
- team_a_points?: number;
8
- team_a_goals?: number;
9
- team_b_points?: number;
10
- team_b_goals?: number;
11
- date_create?: Date;
12
- processed?: boolean;
13
- where: users_bet_where;
14
- order?: users_bet_order;
15
- };
@@ -1,13 +0,0 @@
1
- import { users_bet_where } from './users_bet_where';
2
- export type users_bet_update = {
3
- id?: number;
4
- user_id?: number;
5
- match?: number;
6
- team_a_points?: number;
7
- team_a_goals?: number;
8
- team_b_points?: number;
9
- team_b_goals?: number;
10
- date_create?: Date;
11
- processed?: boolean;
12
- where: users_bet_where;
13
- };
@@ -1,12 +0,0 @@
1
- import { where_number, where_boolean, where_date } from '../';
2
- export type users_bet_where = {
3
- id?: where_number | number;
4
- user_id?: where_number | number;
5
- match?: where_number | number;
6
- team_a_points?: where_number | number;
7
- team_a_goals?: where_number | number;
8
- team_b_points?: where_number | number;
9
- team_b_goals?: where_number | number;
10
- date_create?: where_date | Date;
11
- processed?: where_boolean | boolean;
12
- };
@@ -1,6 +0,0 @@
1
- export type users_championships_fields = {
2
- id: number;
3
- type: number;
4
- user_id: number;
5
- championship: number;
6
- };
@@ -1,6 +0,0 @@
1
- export type users_championships_order = {
2
- id?: 'desc' | 'asc';
3
- type?: 'desc' | 'asc';
4
- user_id?: 'desc' | 'asc';
5
- championship?: 'desc' | 'asc';
6
- };
@@ -1,10 +0,0 @@
1
- import { users_championships_where } from './users_championships_where';
2
- import { users_championships_order } from './users_championships_order';
3
- export type users_championships_select = {
4
- id?: number;
5
- type?: number;
6
- user_id?: number;
7
- championship?: number;
8
- where: users_championships_where;
9
- order?: users_championships_order;
10
- };
@@ -1,8 +0,0 @@
1
- import { users_championships_where } from './users_championships_where';
2
- export type users_championships_update = {
3
- id?: number;
4
- type?: number;
5
- user_id?: number;
6
- championship?: number;
7
- where: users_championships_where;
8
- };
@@ -1,7 +0,0 @@
1
- import { where_number } from '../';
2
- export type users_championships_where = {
3
- id?: where_number | number;
4
- type?: where_number | number;
5
- user_id?: where_number | number;
6
- championship?: where_number | number;
7
- };
@@ -1,9 +0,0 @@
1
- export type users_fields = {
2
- id?: number;
3
- nickname: string;
4
- email: string;
5
- password: string;
6
- language: string;
7
- type?: number;
8
- theme?: string;
9
- };
@@ -1,9 +0,0 @@
1
- export type users_order = {
2
- id?: 'desc' | 'asc';
3
- nickname?: 'desc' | 'asc';
4
- email?: 'desc' | 'asc';
5
- password?: 'desc' | 'asc';
6
- language?: 'desc' | 'asc';
7
- type?: 'desc' | 'asc';
8
- theme?: 'desc' | 'asc';
9
- };
@@ -1,13 +0,0 @@
1
- import { users_where } from './users_where';
2
- import { users_order } from './users_order';
3
- export type users_select = {
4
- id?: number;
5
- nickname?: string;
6
- email?: string;
7
- password?: string;
8
- language?: string;
9
- type?: number;
10
- theme?: string;
11
- where: users_where;
12
- order?: users_order;
13
- };
@@ -1,11 +0,0 @@
1
- import { users_where } from './users_where';
2
- export type users_update = {
3
- id?: number;
4
- nickname?: string;
5
- email?: string;
6
- password?: string;
7
- language?: string;
8
- type?: number;
9
- theme?: string;
10
- where: users_where;
11
- };
@@ -1,10 +0,0 @@
1
- import { where_number, where_string } from '../';
2
- export type users_where = {
3
- id?: where_number | number;
4
- nickname?: where_string | string;
5
- email?: where_string | string;
6
- password?: where_string | string;
7
- language?: where_string | string;
8
- type?: where_number | number;
9
- theme?: where_string | string;
10
- };
@@ -1,13 +0,0 @@
1
- import base from '../../base';
2
- import { PoolClient } from 'pg';
3
- import { bet_users_select } from '../../@types/championships/bet_users_select';
4
- import { bet_users_where } from '../../@types/championships/bet_users_where';
5
- import { bet_users_update } from '../../@types/championships/bet_users_update';
6
- import { bet_users_fields } from '../../@types/championships/bet_users_fields';
7
- export default class bet_users extends base {
8
- static get(fields: bet_users_select, transaction?: PoolClient | any): Promise<bet_users_fields>;
9
- static get_all(fields: bet_users_select, transaction?: PoolClient | any): Promise<bet_users_fields[]>;
10
- static create(fields: bet_users_fields, transaction?: PoolClient | any): Promise<bet_users_fields>;
11
- static update(fields: bet_users_update, transaction?: PoolClient | any): Promise<any>;
12
- static delete(fields: bet_users_where, transaction?: PoolClient | any): Promise<any>;
13
- }
@@ -1,13 +0,0 @@
1
- import base from '../../base';
2
- import { PoolClient } from 'pg';
3
- import { championships_select } from '../../@types/championships/championships_select';
4
- import { championships_where } from '../../@types/championships/championships_where';
5
- import { championships_update } from '../../@types/championships/championships_update';
6
- import { championships_fields } from '../../@types/championships/championships_fields';
7
- export default class championships extends base {
8
- static get(fields: championships_select, transaction?: PoolClient | any): Promise<championships_fields>;
9
- static get_all(fields: championships_select, transaction?: PoolClient | any): Promise<championships_fields[]>;
10
- static create(fields: championships_fields, transaction?: PoolClient | any): Promise<championships_fields>;
11
- static update(fields: championships_update, transaction?: PoolClient | any): Promise<any>;
12
- static delete(fields: championships_where, transaction?: PoolClient | any): Promise<any>;
13
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const base_1 = __importDefault(require("../../base"));
7
- class championships extends base_1.default {
8
- static async get(fields, transaction = undefined) {
9
- return await super.b_get('championships', fields, 'championships', transaction);
10
- }
11
- static async get_all(fields, transaction = undefined) {
12
- return await super.b_get_all('championships', fields, 'championships', transaction);
13
- }
14
- static async create(fields, transaction = undefined) {
15
- return await super.b_create('championships', fields, 'championships', transaction);
16
- }
17
- static async update(fields, transaction = undefined) {
18
- return await super.b_update('championships', fields, 'championships', transaction);
19
- }
20
- static async delete(fields, transaction = undefined) {
21
- return await super.b_delete('championships', fields, 'championships', transaction);
22
- }
23
- }
24
- exports.default = championships;
@@ -1,13 +0,0 @@
1
- import base from '../../base';
2
- import { PoolClient } from 'pg';
3
- import { championships_matches_select } from '../../@types/championships/championships_matches_select';
4
- import { championships_matches_where } from '../../@types/championships/championships_matches_where';
5
- import { championships_matches_update } from '../../@types/championships/championships_matches_update';
6
- import { championships_matches_fields } from '../../@types/championships/championships_matches_fields';
7
- export default class championships_matches extends base {
8
- static get(fields: championships_matches_select, transaction?: PoolClient | any): Promise<championships_matches_fields>;
9
- static get_all(fields: championships_matches_select, transaction?: PoolClient | any): Promise<championships_matches_fields[]>;
10
- static create(fields: championships_matches_fields, transaction?: PoolClient | any): Promise<championships_matches_fields>;
11
- static update(fields: championships_matches_update, transaction?: PoolClient | any): Promise<any>;
12
- static delete(fields: championships_matches_where, transaction?: PoolClient | any): Promise<any>;
13
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const base_1 = __importDefault(require("../../base"));
7
- class championships_matches extends base_1.default {
8
- static async get(fields, transaction = undefined) {
9
- return await super.b_get('championships', fields, 'championships_matches', transaction);
10
- }
11
- static async get_all(fields, transaction = undefined) {
12
- return await super.b_get_all('championships', fields, 'championships_matches', transaction);
13
- }
14
- static async create(fields, transaction = undefined) {
15
- return await super.b_create('championships', fields, 'championships_matches', transaction);
16
- }
17
- static async update(fields, transaction = undefined) {
18
- return await super.b_update('championships', fields, 'championships_matches', transaction);
19
- }
20
- static async delete(fields, transaction = undefined) {
21
- return await super.b_delete('championships', fields, 'championships_matches', transaction);
22
- }
23
- }
24
- exports.default = championships_matches;
@@ -1,13 +0,0 @@
1
- import base from '../../base';
2
- import { PoolClient } from 'pg';
3
- import { championships_teams_select } from '../../@types/championships/championships_teams_select';
4
- import { championships_teams_where } from '../../@types/championships/championships_teams_where';
5
- import { championships_teams_update } from '../../@types/championships/championships_teams_update';
6
- import { championships_teams_fields } from '../../@types/championships/championships_teams_fields';
7
- export default class championships_teams extends base {
8
- static get(fields: championships_teams_select, transaction?: PoolClient | any): Promise<championships_teams_fields>;
9
- static get_all(fields: championships_teams_select, transaction?: PoolClient | any): Promise<championships_teams_fields[]>;
10
- static create(fields: championships_teams_fields, transaction?: PoolClient | any): Promise<championships_teams_fields>;
11
- static update(fields: championships_teams_update, transaction?: PoolClient | any): Promise<any>;
12
- static delete(fields: championships_teams_where, transaction?: PoolClient | any): Promise<any>;
13
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const base_1 = __importDefault(require("../../base"));
7
- class championships_teams extends base_1.default {
8
- static async get(fields, transaction = undefined) {
9
- return await super.b_get('championships', fields, 'championships_teams', transaction);
10
- }
11
- static async get_all(fields, transaction = undefined) {
12
- return await super.b_get_all('championships', fields, 'championships_teams', transaction);
13
- }
14
- static async create(fields, transaction = undefined) {
15
- return await super.b_create('championships', fields, 'championships_teams', transaction);
16
- }
17
- static async update(fields, transaction = undefined) {
18
- return await super.b_update('championships', fields, 'championships_teams', transaction);
19
- }
20
- static async delete(fields, transaction = undefined) {
21
- return await super.b_delete('championships', fields, 'championships_teams', transaction);
22
- }
23
- }
24
- exports.default = championships_teams;
@@ -1,13 +0,0 @@
1
- import base from '../../base';
2
- import { PoolClient } from 'pg';
3
- import { championships_users_select } from '../../@types/championships/championships_users_select';
4
- import { championships_users_where } from '../../@types/championships/championships_users_where';
5
- import { championships_users_update } from '../../@types/championships/championships_users_update';
6
- import { championships_users_fields } from '../../@types/championships/championships_users_fields';
7
- export default class championships_users extends base {
8
- static get(fields: championships_users_select, transaction?: PoolClient | any): Promise<championships_users_fields>;
9
- static get_all(fields: championships_users_select, transaction?: PoolClient | any): Promise<championships_users_fields[]>;
10
- static create(fields: championships_users_fields, transaction?: PoolClient | any): Promise<championships_users_fields>;
11
- static update(fields: championships_users_update, transaction?: PoolClient | any): Promise<any>;
12
- static delete(fields: championships_users_where, transaction?: PoolClient | any): Promise<any>;
13
- }