@hedhog/admin 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. package/dist/admin.module.d.ts.map +1 -1
  2. package/dist/admin.module.js +10 -6
  3. package/dist/admin.module.js.map +1 -1
  4. package/dist/auth/auth.controller.d.ts.map +1 -0
  5. package/dist/auth/auth.controller.js.map +1 -0
  6. package/dist/auth/auth.module.d.ts.map +1 -0
  7. package/dist/auth/auth.module.js.map +1 -0
  8. package/dist/auth/auth.service.d.ts.map +1 -0
  9. package/dist/auth/auth.service.js.map +1 -0
  10. package/dist/auth/auth.service.spec.d.ts.map +1 -0
  11. package/dist/auth/auth.service.spec.js.map +1 -0
  12. package/dist/auth/decorators/public.decorator.d.ts.map +1 -0
  13. package/dist/auth/decorators/public.decorator.js.map +1 -0
  14. package/dist/auth/decorators/user.decorator.d.ts.map +1 -0
  15. package/dist/auth/decorators/user.decorator.js.map +1 -0
  16. package/dist/auth/dto/forget.dto.d.ts.map +1 -0
  17. package/dist/auth/dto/forget.dto.js.map +1 -0
  18. package/dist/auth/dto/login.dto.d.ts.map +1 -0
  19. package/dist/auth/dto/login.dto.js.map +1 -0
  20. package/dist/auth/dto/otp.dto.d.ts.map +1 -0
  21. package/dist/auth/dto/otp.dto.js.map +1 -0
  22. package/dist/auth/enums/multifactor-type.enum.d.ts.map +1 -0
  23. package/dist/auth/enums/multifactor-type.enum.js.map +1 -0
  24. package/dist/auth/guards/auth.guard.d.ts.map +1 -0
  25. package/dist/auth/guards/auth.guard.js.map +1 -0
  26. package/dist/auth/migrations/index.d.ts.map +1 -0
  27. package/dist/auth/migrations/index.js.map +1 -0
  28. package/dist/auth/types/user.type.d.ts.map +1 -0
  29. package/dist/auth/types/user.type.js.map +1 -0
  30. package/dist/index.d.ts +12 -16
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +12 -16
  33. package/dist/index.js.map +1 -1
  34. package/dist/menu/dto/create.dto.d.ts.map +1 -0
  35. package/dist/menu/dto/create.dto.js.map +1 -0
  36. package/dist/menu/dto/delete.dto.d.ts.map +1 -0
  37. package/dist/menu/dto/delete.dto.js.map +1 -0
  38. package/dist/menu/dto/order.dto.d.ts.map +1 -0
  39. package/dist/menu/dto/order.dto.js.map +1 -0
  40. package/dist/menu/dto/update.dto.d.ts.map +1 -0
  41. package/dist/menu/dto/update.dto.js.map +1 -0
  42. package/dist/menu/menu.controller.d.ts.map +1 -0
  43. package/dist/menu/{src/menu.controller.js → menu.controller.js} +12 -10
  44. package/dist/menu/menu.controller.js.map +1 -0
  45. package/dist/menu/menu.module.d.ts.map +1 -0
  46. package/dist/menu/{src/menu.module.js → menu.module.js} +4 -2
  47. package/dist/menu/menu.module.js.map +1 -0
  48. package/dist/menu/menu.service.d.ts.map +1 -0
  49. package/dist/menu/menu.service.js.map +1 -0
  50. package/dist/menu/migrations/index.d.ts.map +1 -0
  51. package/dist/menu/migrations/index.js.map +1 -0
  52. package/dist/permission/decorators/permission.decorator.d.ts.map +1 -0
  53. package/dist/permission/decorators/permission.decorator.js.map +1 -0
  54. package/dist/permission/dto/create.dto.d.ts.map +1 -0
  55. package/dist/permission/dto/create.dto.js.map +1 -0
  56. package/dist/permission/dto/delete.dto.d.ts.map +1 -0
  57. package/dist/permission/dto/delete.dto.js.map +1 -0
  58. package/dist/permission/dto/update.dto.d.ts.map +1 -0
  59. package/dist/permission/dto/update.dto.js.map +1 -0
  60. package/dist/permission/guards/permission.guard.d.ts.map +1 -0
  61. package/dist/permission/guards/permission.guard.js.map +1 -0
  62. package/dist/permission/migrations/index.d.ts.map +1 -0
  63. package/dist/permission/migrations/index.js.map +1 -0
  64. package/dist/permission/permission.controller.d.ts.map +1 -0
  65. package/dist/permission/{src/permission.controller.js → permission.controller.js} +6 -6
  66. package/dist/permission/permission.controller.js.map +1 -0
  67. package/dist/permission/permission.module.d.ts.map +1 -0
  68. package/dist/permission/{src/permission.module.js → permission.module.js} +2 -2
  69. package/dist/permission/permission.module.js.map +1 -0
  70. package/dist/permission/permission.service.d.ts.map +1 -0
  71. package/dist/permission/permission.service.js.map +1 -0
  72. package/dist/permission/types/permission.types.d.ts.map +1 -0
  73. package/dist/permission/types/permission.types.js.map +1 -0
  74. package/dist/screen/dto/create.dto.d.ts.map +1 -0
  75. package/dist/screen/dto/create.dto.js.map +1 -0
  76. package/dist/screen/dto/delete.dto.d.ts.map +1 -0
  77. package/dist/screen/dto/delete.dto.js.map +1 -0
  78. package/dist/screen/dto/update.dto.d.ts.map +1 -0
  79. package/dist/screen/dto/update.dto.js.map +1 -0
  80. package/dist/screen/migrations/index.d.ts.map +1 -0
  81. package/dist/{migrations/migrate-02.js.map → screen/migrations/index.js.map} +1 -1
  82. package/dist/screen/screen.controller.d.ts.map +1 -0
  83. package/dist/screen/{src/screen.controller.js → screen.controller.js} +8 -7
  84. package/dist/screen/screen.controller.js.map +1 -0
  85. package/dist/screen/screen.module.d.ts.map +1 -0
  86. package/dist/screen/{src/screen.module.js → screen.module.js} +2 -2
  87. package/dist/screen/screen.module.js.map +1 -0
  88. package/dist/screen/screen.service.d.ts.map +1 -0
  89. package/dist/screen/screen.service.js.map +1 -0
  90. package/dist/user/constants/user.constants.d.ts.map +1 -0
  91. package/dist/user/constants/user.constants.js.map +1 -0
  92. package/dist/user/dto/create.dto.d.ts.map +1 -0
  93. package/dist/user/dto/create.dto.js.map +1 -0
  94. package/dist/user/dto/delete.dto.d.ts.map +1 -0
  95. package/dist/user/dto/delete.dto.js.map +1 -0
  96. package/dist/user/dto/update.dto.d.ts.map +1 -0
  97. package/dist/user/dto/update.dto.js.map +1 -0
  98. package/dist/user/user.controller.d.ts.map +1 -0
  99. package/dist/user/{src/user.controller.js → user.controller.js} +8 -7
  100. package/dist/user/user.controller.js.map +1 -0
  101. package/dist/user/user.module.d.ts.map +1 -0
  102. package/dist/user/{src/user.module.js → user.module.js} +2 -2
  103. package/dist/user/user.module.js.map +1 -0
  104. package/dist/user/user.service.d.ts.map +1 -0
  105. package/dist/user/user.service.js.map +1 -0
  106. package/dist/user/user.service.spec.d.ts.map +1 -0
  107. package/dist/user/user.service.spec.js.map +1 -0
  108. package/package.json +3 -1
  109. package/dist/auth/src/auth.controller.d.ts.map +0 -1
  110. package/dist/auth/src/auth.controller.js.map +0 -1
  111. package/dist/auth/src/auth.module.d.ts.map +0 -1
  112. package/dist/auth/src/auth.module.js.map +0 -1
  113. package/dist/auth/src/auth.service.d.ts.map +0 -1
  114. package/dist/auth/src/auth.service.js.map +0 -1
  115. package/dist/auth/src/auth.service.spec.d.ts.map +0 -1
  116. package/dist/auth/src/auth.service.spec.js.map +0 -1
  117. package/dist/auth/src/decorators/public.decorator.d.ts.map +0 -1
  118. package/dist/auth/src/decorators/public.decorator.js.map +0 -1
  119. package/dist/auth/src/decorators/user.decorator.d.ts.map +0 -1
  120. package/dist/auth/src/decorators/user.decorator.js.map +0 -1
  121. package/dist/auth/src/dto/forget.dto.d.ts.map +0 -1
  122. package/dist/auth/src/dto/forget.dto.js.map +0 -1
  123. package/dist/auth/src/dto/login.dto.d.ts.map +0 -1
  124. package/dist/auth/src/dto/login.dto.js.map +0 -1
  125. package/dist/auth/src/dto/otp.dto.d.ts.map +0 -1
  126. package/dist/auth/src/dto/otp.dto.js.map +0 -1
  127. package/dist/auth/src/enums/multifactor-type.enum.d.ts.map +0 -1
  128. package/dist/auth/src/enums/multifactor-type.enum.js.map +0 -1
  129. package/dist/auth/src/guards/auth.guard.d.ts.map +0 -1
  130. package/dist/auth/src/guards/auth.guard.js.map +0 -1
  131. package/dist/auth/src/migrations/index.d.ts.map +0 -1
  132. package/dist/auth/src/migrations/index.js.map +0 -1
  133. package/dist/auth/src/types/user.type.d.ts.map +0 -1
  134. package/dist/auth/src/types/user.type.js.map +0 -1
  135. package/dist/menu/src/dto/create.dto.d.ts.map +0 -1
  136. package/dist/menu/src/dto/create.dto.js.map +0 -1
  137. package/dist/menu/src/dto/delete.dto.d.ts.map +0 -1
  138. package/dist/menu/src/dto/delete.dto.js.map +0 -1
  139. package/dist/menu/src/dto/order.dto.d.ts.map +0 -1
  140. package/dist/menu/src/dto/order.dto.js.map +0 -1
  141. package/dist/menu/src/dto/update.dto.d.ts.map +0 -1
  142. package/dist/menu/src/dto/update.dto.js.map +0 -1
  143. package/dist/menu/src/menu.controller.d.ts.map +0 -1
  144. package/dist/menu/src/menu.controller.js.map +0 -1
  145. package/dist/menu/src/menu.module.d.ts.map +0 -1
  146. package/dist/menu/src/menu.module.js.map +0 -1
  147. package/dist/menu/src/menu.service.d.ts.map +0 -1
  148. package/dist/menu/src/menu.service.js.map +0 -1
  149. package/dist/menu/src/migrations/index.d.ts.map +0 -1
  150. package/dist/menu/src/migrations/index.js.map +0 -1
  151. package/dist/migrations/migrate-01.d.ts +0 -6
  152. package/dist/migrations/migrate-01.d.ts.map +0 -1
  153. package/dist/migrations/migrate-01.js +0 -121
  154. package/dist/migrations/migrate-01.js.map +0 -1
  155. package/dist/migrations/migrate-02.d.ts +0 -6
  156. package/dist/migrations/migrate-02.d.ts.map +0 -1
  157. package/dist/migrations/migrate-02.js +0 -40
  158. package/dist/migrations/migrate-03.d.ts +0 -7
  159. package/dist/migrations/migrate-03.d.ts.map +0 -1
  160. package/dist/migrations/migrate-03.js +0 -101
  161. package/dist/migrations/migrate-03.js.map +0 -1
  162. package/dist/migrations/migrate-04.d.ts +0 -6
  163. package/dist/migrations/migrate-04.d.ts.map +0 -1
  164. package/dist/migrations/migrate-04.js +0 -525
  165. package/dist/migrations/migrate-04.js.map +0 -1
  166. package/dist/permission/src/decorators/permission.decorator.d.ts.map +0 -1
  167. package/dist/permission/src/decorators/permission.decorator.js.map +0 -1
  168. package/dist/permission/src/dto/create.dto.d.ts.map +0 -1
  169. package/dist/permission/src/dto/create.dto.js.map +0 -1
  170. package/dist/permission/src/dto/delete.dto.d.ts.map +0 -1
  171. package/dist/permission/src/dto/delete.dto.js.map +0 -1
  172. package/dist/permission/src/dto/update.dto.d.ts.map +0 -1
  173. package/dist/permission/src/dto/update.dto.js.map +0 -1
  174. package/dist/permission/src/guards/permission.guard.d.ts.map +0 -1
  175. package/dist/permission/src/guards/permission.guard.js.map +0 -1
  176. package/dist/permission/src/migrations/index.d.ts.map +0 -1
  177. package/dist/permission/src/migrations/index.js.map +0 -1
  178. package/dist/permission/src/permission.controller.d.ts.map +0 -1
  179. package/dist/permission/src/permission.controller.js.map +0 -1
  180. package/dist/permission/src/permission.module.d.ts.map +0 -1
  181. package/dist/permission/src/permission.module.js.map +0 -1
  182. package/dist/permission/src/permission.service.d.ts.map +0 -1
  183. package/dist/permission/src/permission.service.js.map +0 -1
  184. package/dist/permission/src/types/permission.types.d.ts.map +0 -1
  185. package/dist/permission/src/types/permission.types.js.map +0 -1
  186. package/dist/screen/src/dto/create.dto.d.ts.map +0 -1
  187. package/dist/screen/src/dto/create.dto.js.map +0 -1
  188. package/dist/screen/src/dto/delete.dto.d.ts.map +0 -1
  189. package/dist/screen/src/dto/delete.dto.js.map +0 -1
  190. package/dist/screen/src/dto/update.dto.d.ts.map +0 -1
  191. package/dist/screen/src/dto/update.dto.js.map +0 -1
  192. package/dist/screen/src/migrations/index.d.ts.map +0 -1
  193. package/dist/screen/src/migrations/index.js.map +0 -1
  194. package/dist/screen/src/screen.controller.d.ts.map +0 -1
  195. package/dist/screen/src/screen.controller.js.map +0 -1
  196. package/dist/screen/src/screen.module.d.ts.map +0 -1
  197. package/dist/screen/src/screen.module.js.map +0 -1
  198. package/dist/screen/src/screen.service.d.ts.map +0 -1
  199. package/dist/screen/src/screen.service.js.map +0 -1
  200. package/dist/user/src/constants/user.constants.d.ts.map +0 -1
  201. package/dist/user/src/constants/user.constants.js.map +0 -1
  202. package/dist/user/src/dto/create.dto.d.ts.map +0 -1
  203. package/dist/user/src/dto/create.dto.js.map +0 -1
  204. package/dist/user/src/dto/delete.dto.d.ts.map +0 -1
  205. package/dist/user/src/dto/delete.dto.js.map +0 -1
  206. package/dist/user/src/dto/update.dto.d.ts.map +0 -1
  207. package/dist/user/src/dto/update.dto.js.map +0 -1
  208. package/dist/user/src/user.controller.d.ts.map +0 -1
  209. package/dist/user/src/user.controller.js.map +0 -1
  210. package/dist/user/src/user.module.d.ts.map +0 -1
  211. package/dist/user/src/user.module.js.map +0 -1
  212. package/dist/user/src/user.service.d.ts.map +0 -1
  213. package/dist/user/src/user.service.js.map +0 -1
  214. package/dist/user/src/user.service.spec.d.ts.map +0 -1
  215. package/dist/user/src/user.service.spec.js.map +0 -1
  216. /package/dist/auth/{src/auth.controller.d.ts → auth.controller.d.ts} +0 -0
  217. /package/dist/auth/{src/auth.controller.js → auth.controller.js} +0 -0
  218. /package/dist/auth/{src/auth.module.d.ts → auth.module.d.ts} +0 -0
  219. /package/dist/auth/{src/auth.module.js → auth.module.js} +0 -0
  220. /package/dist/auth/{src/auth.service.d.ts → auth.service.d.ts} +0 -0
  221. /package/dist/auth/{src/auth.service.js → auth.service.js} +0 -0
  222. /package/dist/auth/{src/auth.service.spec.d.ts → auth.service.spec.d.ts} +0 -0
  223. /package/dist/auth/{src/auth.service.spec.js → auth.service.spec.js} +0 -0
  224. /package/dist/auth/{src/decorators → decorators}/public.decorator.d.ts +0 -0
  225. /package/dist/auth/{src/decorators → decorators}/public.decorator.js +0 -0
  226. /package/dist/auth/{src/decorators → decorators}/user.decorator.d.ts +0 -0
  227. /package/dist/auth/{src/decorators → decorators}/user.decorator.js +0 -0
  228. /package/dist/auth/{src/dto → dto}/forget.dto.d.ts +0 -0
  229. /package/dist/auth/{src/dto → dto}/forget.dto.js +0 -0
  230. /package/dist/auth/{src/dto → dto}/login.dto.d.ts +0 -0
  231. /package/dist/auth/{src/dto → dto}/login.dto.js +0 -0
  232. /package/dist/auth/{src/dto → dto}/otp.dto.d.ts +0 -0
  233. /package/dist/auth/{src/dto → dto}/otp.dto.js +0 -0
  234. /package/dist/auth/{src/enums → enums}/multifactor-type.enum.d.ts +0 -0
  235. /package/dist/auth/{src/enums → enums}/multifactor-type.enum.js +0 -0
  236. /package/dist/auth/{src/guards → guards}/auth.guard.d.ts +0 -0
  237. /package/dist/auth/{src/guards → guards}/auth.guard.js +0 -0
  238. /package/dist/auth/{src/migrations → migrations}/index.d.ts +0 -0
  239. /package/dist/auth/{src/migrations → migrations}/index.js +0 -0
  240. /package/dist/auth/{src/types → types}/user.type.d.ts +0 -0
  241. /package/dist/auth/{src/types → types}/user.type.js +0 -0
  242. /package/dist/menu/{src/dto → dto}/create.dto.d.ts +0 -0
  243. /package/dist/menu/{src/dto → dto}/create.dto.js +0 -0
  244. /package/dist/menu/{src/dto → dto}/delete.dto.d.ts +0 -0
  245. /package/dist/menu/{src/dto → dto}/delete.dto.js +0 -0
  246. /package/dist/menu/{src/dto → dto}/order.dto.d.ts +0 -0
  247. /package/dist/menu/{src/dto → dto}/order.dto.js +0 -0
  248. /package/dist/menu/{src/dto → dto}/update.dto.d.ts +0 -0
  249. /package/dist/menu/{src/dto → dto}/update.dto.js +0 -0
  250. /package/dist/menu/{src/menu.controller.d.ts → menu.controller.d.ts} +0 -0
  251. /package/dist/menu/{src/menu.module.d.ts → menu.module.d.ts} +0 -0
  252. /package/dist/menu/{src/menu.service.d.ts → menu.service.d.ts} +0 -0
  253. /package/dist/menu/{src/menu.service.js → menu.service.js} +0 -0
  254. /package/dist/menu/{src/migrations → migrations}/index.d.ts +0 -0
  255. /package/dist/menu/{src/migrations → migrations}/index.js +0 -0
  256. /package/dist/permission/{src/decorators → decorators}/permission.decorator.d.ts +0 -0
  257. /package/dist/permission/{src/decorators → decorators}/permission.decorator.js +0 -0
  258. /package/dist/permission/{src/dto → dto}/create.dto.d.ts +0 -0
  259. /package/dist/permission/{src/dto → dto}/create.dto.js +0 -0
  260. /package/dist/permission/{src/dto → dto}/delete.dto.d.ts +0 -0
  261. /package/dist/permission/{src/dto → dto}/delete.dto.js +0 -0
  262. /package/dist/permission/{src/dto → dto}/update.dto.d.ts +0 -0
  263. /package/dist/permission/{src/dto → dto}/update.dto.js +0 -0
  264. /package/dist/permission/{src/guards → guards}/permission.guard.d.ts +0 -0
  265. /package/dist/permission/{src/guards → guards}/permission.guard.js +0 -0
  266. /package/dist/permission/{src/migrations → migrations}/index.d.ts +0 -0
  267. /package/dist/permission/{src/migrations → migrations}/index.js +0 -0
  268. /package/dist/permission/{src/permission.controller.d.ts → permission.controller.d.ts} +0 -0
  269. /package/dist/permission/{src/permission.module.d.ts → permission.module.d.ts} +0 -0
  270. /package/dist/permission/{src/permission.service.d.ts → permission.service.d.ts} +0 -0
  271. /package/dist/permission/{src/permission.service.js → permission.service.js} +0 -0
  272. /package/dist/permission/{src/types → types}/permission.types.d.ts +0 -0
  273. /package/dist/permission/{src/types → types}/permission.types.js +0 -0
  274. /package/dist/screen/{src/dto → dto}/create.dto.d.ts +0 -0
  275. /package/dist/screen/{src/dto → dto}/create.dto.js +0 -0
  276. /package/dist/screen/{src/dto → dto}/delete.dto.d.ts +0 -0
  277. /package/dist/screen/{src/dto → dto}/delete.dto.js +0 -0
  278. /package/dist/screen/{src/dto → dto}/update.dto.d.ts +0 -0
  279. /package/dist/screen/{src/dto → dto}/update.dto.js +0 -0
  280. /package/dist/screen/{src/migrations → migrations}/index.d.ts +0 -0
  281. /package/dist/screen/{src/migrations → migrations}/index.js +0 -0
  282. /package/dist/screen/{src/screen.controller.d.ts → screen.controller.d.ts} +0 -0
  283. /package/dist/screen/{src/screen.module.d.ts → screen.module.d.ts} +0 -0
  284. /package/dist/screen/{src/screen.service.d.ts → screen.service.d.ts} +0 -0
  285. /package/dist/screen/{src/screen.service.js → screen.service.js} +0 -0
  286. /package/dist/user/{src/constants → constants}/user.constants.d.ts +0 -0
  287. /package/dist/user/{src/constants → constants}/user.constants.js +0 -0
  288. /package/dist/user/{src/dto → dto}/create.dto.d.ts +0 -0
  289. /package/dist/user/{src/dto → dto}/create.dto.js +0 -0
  290. /package/dist/user/{src/dto → dto}/delete.dto.d.ts +0 -0
  291. /package/dist/user/{src/dto → dto}/delete.dto.js +0 -0
  292. /package/dist/user/{src/dto → dto}/update.dto.d.ts +0 -0
  293. /package/dist/user/{src/dto → dto}/update.dto.js +0 -0
  294. /package/dist/user/{src/user.controller.d.ts → user.controller.d.ts} +0 -0
  295. /package/dist/user/{src/user.module.d.ts → user.module.d.ts} +0 -0
  296. /package/dist/user/{src/user.service.d.ts → user.service.d.ts} +0 -0
  297. /package/dist/user/{src/user.service.js → user.service.js} +0 -0
  298. /package/dist/user/{src/user.service.spec.d.ts → user.service.spec.d.ts} +0 -0
  299. /package/dist/user/{src/user.service.spec.js → user.service.spec.js} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.dto.d.ts","sourceRoot":"","sources":["../../../../src/menu/src/dto/order.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IAInB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.dto.js","sourceRoot":"","sources":["../../../../src/menu/src/dto/order.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,QAAQ;CAKpB;AALD,4BAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qCACR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.dto.d.ts","sourceRoot":"","sources":["../../../../src/menu/src/dto/update.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../../src/menu/src/dto/update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAE1E,MAAa,SAAS;CAgBrB;AAhBD,8BAgBC;AAbC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnD,IAAA,4BAAU,GAAE;;uCACC;AAId;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;IAClD,IAAA,4BAAU,GAAE;;sCACA;AAIb;IAFC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;IAC/C,IAAA,4BAAU,GAAE;;wCACE;AAIf;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACpD,IAAA,4BAAU,GAAE;;uCACC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.controller.d.ts","sourceRoot":"","sources":["../../../src/menu/src/menu.controller.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,qBAEa,cAAc;IAGvB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAKrC,aAAa,CAAS,EAAE,EAAE,EAAE;;KAAA;IAM5B,OAAO,CAAe,gBAAgB,KAAA;IAMtC,IAAI,CAAgC,MAAM,EAAE,MAAM;IAMlD,MAAM,CAAS,IAAI,EAAE,SAAS;IAM9B,MAAM,CACqB,MAAM,EAAE,MAAM,EACrC,IAAI,EAAE,SAAS;IAUnB,MAAM,CAAS,IAAI,EAAE,SAAS;IAM9B,WAAW,CAAS,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAGzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.controller.js","sourceRoot":"","sources":["../../../src/menu/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../../../src/menu/src/menu.module.ts"],"names":[],"mappings":"AAOA,qBAUa,UAAU;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.module.js","sourceRoot":"","sources":["../../../src/menu/src/menu.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,8BAAoC;AACpC,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,uDAAmD;AACnD,iDAA6C;AAYtC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IAVtB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,0BAAW,CAAC;QACxB,OAAO,EAAE,CAAC,0BAAW,CAAC;QACtB,WAAW,EAAE,CAAC,gCAAc,CAAC;QAC7B,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,cAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;SACnC;KACF,CAAC;GACW,UAAU,CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.service.d.ts","sourceRoot":"","sources":["../../../src/menu/src/menu.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAO/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,qBACa,WAAW;IAGpB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,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EAAE;SAC3B,CAAC,CACH,CACF,CAAC;IACJ,CAAC;CACF,CAAA;AAvHY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAA;IAEvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAiB,CAAC,CAAC,CAAA;qCADZ,sBAAa;QAET,8BAAiB;GAL5C,WAAW,CAuHvB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/menu/src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAGZ,MAAM,SAAS,CAAC;AAGjB,qBAAa,OAAQ,YAAW,kBAAkB;IACnC,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;YA0H1C,UAAU;IAyBX,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAI3D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/menu/src/migrations/index.ts"],"names":[],"mappings":";;;AAAA,qCAKiB;AACjB,yCAA0D;AAE1D,MAAa,OAAO;IACX,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,OAAO;YACb,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,KAAK;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,IAAI;iBACjB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,KAAK;oBACX,OAAO,EAAE,CAAC;oBACV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terface, QueryRunner } from 'typeorm';
2
- export declare class Migrate implements MigrationInterface {
3
- up(queryRunner: QueryRunner): Promise<void>;
4
- down(queryRunner: QueryRunner): Promise<void>;
5
- }
6
- //# sourceMappingURL=migrate-01.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-01.d.ts","sourceRoot":"","sources":["../../src/migrations/migrate-01.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAGZ,MAAM,SAAS,CAAC;AAIjB,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IA4F3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAIpC"}
@@ -1,121 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Migrate = void 0;
27
- const typeorm_1 = require("typeorm");
28
- const utils_1 = require("@hedhog/utils");
29
- const bcrypt = __importStar(require("bcrypt"));
30
- class Migrate {
31
- async up(queryRunner) {
32
- await queryRunner.createTable(new typeorm_1.Table({
33
- name: 'multifactors',
34
- columns: [
35
- (0, utils_1.idColumn)(),
36
- {
37
- name: 'name',
38
- type: 'varchar',
39
- },
40
- (0, utils_1.timestampColumn)(),
41
- (0, utils_1.timestampColumn)('updated_at'),
42
- ],
43
- }));
44
- await queryRunner.manager
45
- .createQueryBuilder()
46
- .insert()
47
- .into('multifactors', ['name'])
48
- .values([
49
- {
50
- name: 'Email',
51
- },
52
- {
53
- name: 'Applicativo',
54
- },
55
- ])
56
- .execute();
57
- await queryRunner.createTable(new typeorm_1.Table({
58
- name: 'users',
59
- columns: [
60
- (0, utils_1.idColumn)(),
61
- {
62
- name: 'name',
63
- type: 'varchar',
64
- },
65
- {
66
- name: 'email',
67
- type: 'varchar',
68
- },
69
- {
70
- name: 'password',
71
- type: 'varchar',
72
- },
73
- {
74
- name: 'multifactor_id',
75
- type: 'int',
76
- isNullable: true,
77
- unsigned: true,
78
- },
79
- {
80
- name: 'code',
81
- type: 'varchar',
82
- isNullable: true,
83
- },
84
- (0, utils_1.timestampColumn)(),
85
- (0, utils_1.timestampColumn)('updated_at'),
86
- ],
87
- }));
88
- await queryRunner.createForeignKeys('users', [
89
- new typeorm_1.TableForeignKey({
90
- columnNames: ['multifactor_id'],
91
- referencedColumnNames: ['id'],
92
- referencedTableName: 'multifactors',
93
- name: 'fk_users_to_multifactors_on_multifactor_id',
94
- onDelete: 'Cascade',
95
- }),
96
- ]);
97
- await queryRunner.manager
98
- .createQueryBuilder()
99
- .insert()
100
- .into('users', ['name', 'email', 'password'])
101
- .values([
102
- {
103
- name: 'Superuser',
104
- email: 'root@hedhog.com',
105
- password: await bcrypt.hash(`hedhog`, 12),
106
- },
107
- {
108
- name: 'User',
109
- email: 'user@hedhog.com',
110
- password: await bcrypt.hash(`hedhog`, 12),
111
- },
112
- ])
113
- .execute();
114
- }
115
- async down(queryRunner) {
116
- await queryRunner.dropTable('multifactors');
117
- await queryRunner.dropTable('users');
118
- }
119
- }
120
- exports.Migrate = Migrate;
121
- //# sourceMappingURL=migrate-01.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-01.js","sourceRoot":"","sources":["../../src/migrations/migrate-01.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAKiB;AACjB,yCAA0D;AAC1D,+CAAiC;AAEjC,MAAa,OAAO;IAClB,KAAK,CAAC,EAAE,CAAC,WAAwB;QAC/B,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;gBACD,IAAA,uBAAe,GAAE;gBACjB,IAAA,uBAAe,EAAC,YAAY,CAAC;aAC9B;SACF,CAAC,CACH,CAAC;QAEF,MAAM,WAAW,CAAC,OAAO;aACtB,kBAAkB,EAAE;aACpB,MAAM,EAAE;aACR,IAAI,CAAC,cAAc,EAAE,CAAC,MAAM,CAAC,CAAC;aAC9B,MAAM,CAAC;YACN;gBACE,IAAI,EAAE,OAAO;aACd;YACD;gBACE,IAAI,EAAE,aAAa;aACpB;SACF,CAAC;aACD,OAAO,EAAE,CAAC;QAEb,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,OAAO;YACb,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,gBAAgB;oBACtB,IAAI,EAAE,KAAK;oBACX,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,IAAI;iBACf;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,IAAI;iBACjB;gBACD,IAAA,uBAAe,GAAE;gBACjB,IAAA,uBAAe,EAAC,YAAY,CAAC;aAC9B;SACF,CAAC,CACH,CAAC;QAEF,MAAM,WAAW,CAAC,iBAAiB,CAAC,OAAO,EAAE;YAC3C,IAAI,yBAAe,CAAC;gBAClB,WAAW,EAAE,CAAC,gBAAgB,CAAC;gBAC/B,qBAAqB,EAAE,CAAC,IAAI,CAAC;gBAC7B,mBAAmB,EAAE,cAAc;gBACnC,IAAI,EAAE,4CAA4C;gBAClD,QAAQ,EAAE,SAAS;aACpB,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,WAAW,CAAC,OAAO;aACtB,kBAAkB,EAAE;aACpB,MAAM,EAAE;aACR,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;aAC5C,MAAM,CAAC;YACN;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;aAC1C;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;aAC1C;SACF,CAAC;aACD,OAAO,EAAE,CAAC;IACf,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,MAAM,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QAC5C,MAAM,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;CACF;AAjGD,0BAiGC"}
@@ -1,6 +0,0 @@
1
- import { MigrationInterface, QueryRunner } from 'typeorm';
2
- export declare class Migrate implements MigrationInterface {
3
- up(queryRunner: QueryRunner): Promise<void>;
4
- down(queryRunner: QueryRunner): Promise<void>;
5
- }
6
- //# sourceMappingURL=migrate-02.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-02.d.ts","sourceRoot":"","sources":["../../src/migrations/migrate-02.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAS,MAAM,SAAS,CAAC;AAEjE,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IA+B3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAGpC"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migrate = void 0;
4
- const utils_1 = require("@hedhog/utils");
5
- const typeorm_1 = require("typeorm");
6
- class Migrate {
7
- async up(queryRunner) {
8
- await queryRunner.createTable(new typeorm_1.Table({
9
- name: 'screens',
10
- columns: [
11
- (0, utils_1.idColumn)(),
12
- {
13
- name: 'name',
14
- type: 'varchar',
15
- },
16
- {
17
- name: 'slug',
18
- type: 'varchar',
19
- isUnique: true,
20
- },
21
- {
22
- name: 'description',
23
- type: 'varchar',
24
- },
25
- {
26
- name: 'icon',
27
- type: 'varchar',
28
- isNullable: true,
29
- },
30
- (0, utils_1.timestampColumn)(),
31
- (0, utils_1.timestampColumn)('updated_at'),
32
- ],
33
- }));
34
- }
35
- async down(queryRunner) {
36
- await queryRunner.dropTable('screens');
37
- }
38
- }
39
- exports.Migrate = Migrate;
40
- //# sourceMappingURL=migrate-02.js.map
@@ -1,7 +0,0 @@
1
- import { MigrationInterface, QueryRunner } from 'typeorm';
2
- export declare class Migrate implements MigrationInterface {
3
- up(queryRunner: QueryRunner): Promise<void>;
4
- private insertMenu;
5
- down(queryRunner: QueryRunner): Promise<void>;
6
- }
7
- //# sourceMappingURL=migrate-03.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-03.d.ts","sourceRoot":"","sources":["../../src/migrations/migrate-03.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAGZ,MAAM,SAAS,CAAC;AAGjB,qBAAa,OAAQ,YAAW,kBAAkB;IACnC,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;YA0H1C,UAAU;IAyBX,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAI3D"}
@@ -1,101 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migrate = void 0;
4
- const typeorm_1 = require("typeorm");
5
- const utils_1 = require("@hedhog/utils");
6
- class Migrate {
7
- async up(queryRunner) {
8
- await queryRunner.createTable(new typeorm_1.Table({
9
- name: 'menus',
10
- columns: [
11
- (0, utils_1.idColumn)(),
12
- {
13
- name: 'name',
14
- type: 'varchar',
15
- },
16
- {
17
- name: 'url',
18
- type: 'varchar',
19
- isNullable: true,
20
- },
21
- {
22
- name: 'order',
23
- type: 'int',
24
- default: 0,
25
- unsigned: true,
26
- },
27
- {
28
- name: 'menu_id',
29
- type: 'int',
30
- isNullable: true,
31
- unsigned: true,
32
- },
33
- {
34
- name: 'icon',
35
- type: 'varchar',
36
- isNullable: true,
37
- },
38
- (0, utils_1.timestampColumn)(),
39
- (0, utils_1.timestampColumn)('updated_at'),
40
- ],
41
- }));
42
- await queryRunner.createTable(new typeorm_1.Table({
43
- name: 'menu_screens',
44
- columns: [
45
- {
46
- name: 'menu_id',
47
- type: 'int',
48
- isPrimary: true,
49
- unsigned: true,
50
- },
51
- {
52
- name: 'screen_id',
53
- type: 'int',
54
- isPrimary: true,
55
- unsigned: true,
56
- },
57
- ],
58
- }));
59
- await queryRunner.createForeignKey('menu_screens', new typeorm_1.TableForeignKey({
60
- columnNames: ['menu_id'],
61
- referencedColumnNames: ['id'],
62
- referencedTableName: 'menus',
63
- onDelete: 'CASCADE',
64
- }));
65
- await queryRunner.createForeignKey('menu_screens', new typeorm_1.TableForeignKey({
66
- columnNames: ['screen_id'],
67
- referencedColumnNames: ['id'],
68
- referencedTableName: 'screens',
69
- onDelete: 'CASCADE',
70
- }));
71
- //System Populating
72
- await this.insertMenu(queryRunner, 'Dashboard', '/', 0, null, 'dashboard');
73
- const managementId = await this.insertMenu(queryRunner, 'Management', null, 1, null, 'settings');
74
- await this.insertMenu(queryRunner, 'Users', '/management/users', 0, managementId, 'users');
75
- await this.insertMenu(queryRunner, 'Roles', '/management/roles', 1, managementId, 'circles');
76
- await this.insertMenu(queryRunner, 'Screens', '/management/screens', 2, managementId, 'screem');
77
- await this.insertMenu(queryRunner, 'Menus', '/management/menus', 3, managementId, 'menu');
78
- }
79
- async insertMenu(queryRunner, name, url, order, menuId, icon) {
80
- const result = await queryRunner.manager
81
- .createQueryBuilder()
82
- .insert()
83
- .into('menus')
84
- .values({
85
- name,
86
- url,
87
- order,
88
- menu_id: menuId,
89
- icon,
90
- })
91
- .returning('id')
92
- .execute();
93
- return result.raw[0].id;
94
- }
95
- async down(queryRunner) {
96
- await queryRunner.dropTable('menu_screens');
97
- await queryRunner.dropTable('menus');
98
- }
99
- }
100
- exports.Migrate = Migrate;
101
- //# sourceMappingURL=migrate-03.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-03.js","sourceRoot":"","sources":["../../src/migrations/migrate-03.ts"],"names":[],"mappings":";;;AAAA,qCAKiB;AACjB,yCAA0D;AAE1D,MAAa,OAAO;IACX,KAAK,CAAC,EAAE,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,OAAO;YACb,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,KAAK;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,IAAI;iBACjB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,KAAK;oBACX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,6 +0,0 @@
1
- import { MigrationInterface, QueryRunner } from 'typeorm';
2
- export declare class Migrate implements MigrationInterface {
3
- up(queryRunner: QueryRunner): Promise<void>;
4
- down(queryRunner: QueryRunner): Promise<void>;
5
- }
6
- //# sourceMappingURL=migrate-04.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-04.d.ts","sourceRoot":"","sources":["../../src/migrations/migrate-04.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAIZ,MAAM,SAAS,CAAC;AAEjB,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IA0hB3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAuBpC"}