@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,525 +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: 'routes',
10
- columns: [
11
- (0, utils_1.idColumn)(),
12
- {
13
- name: 'url',
14
- type: 'varchar',
15
- },
16
- {
17
- name: 'method',
18
- type: 'enum',
19
- enum: ['GET', 'POST', 'PATCH', 'DELETE', 'PUT', 'OPTIONS', 'HEAD'],
20
- },
21
- (0, utils_1.timestampColumn)(),
22
- (0, utils_1.timestampColumn)('updated_at'),
23
- ],
24
- }));
25
- await queryRunner.createUniqueConstraint('routes', new typeorm_1.TableUnique({
26
- columnNames: ['url', 'method'],
27
- name: 'unique_routes',
28
- }));
29
- await queryRunner.createTable(new typeorm_1.Table({
30
- name: 'roles',
31
- columns: [
32
- (0, utils_1.idColumn)(),
33
- {
34
- name: 'name',
35
- type: 'varchar',
36
- isNullable: false,
37
- },
38
- {
39
- name: 'description',
40
- type: 'varchar',
41
- },
42
- (0, utils_1.timestampColumn)(),
43
- (0, utils_1.timestampColumn)('updated_at'),
44
- ],
45
- }));
46
- await queryRunner.createTable(new typeorm_1.Table({
47
- name: 'role_menus',
48
- columns: [
49
- {
50
- name: 'role_id',
51
- type: 'int',
52
- isPrimary: true,
53
- unsigned: true,
54
- },
55
- {
56
- name: 'menu_id',
57
- type: 'int',
58
- isPrimary: true,
59
- unsigned: true,
60
- },
61
- (0, utils_1.timestampColumn)(),
62
- (0, utils_1.timestampColumn)('updated_at'),
63
- ],
64
- }));
65
- await queryRunner.createForeignKeys('role_menus', [
66
- new typeorm_1.TableForeignKey({
67
- columnNames: ['role_id'],
68
- referencedColumnNames: ['id'],
69
- referencedTableName: 'roles',
70
- onDelete: 'CASCADE',
71
- name: 'fk_role_menus_roles',
72
- }),
73
- new typeorm_1.TableForeignKey({
74
- columnNames: ['menu_id'],
75
- referencedColumnNames: ['id'],
76
- referencedTableName: 'menus',
77
- onDelete: 'CASCADE',
78
- name: 'fk_role_menus_menus',
79
- }),
80
- ]);
81
- await queryRunner.createTable(new typeorm_1.Table({
82
- name: 'role_screens',
83
- columns: [
84
- {
85
- name: 'role_id',
86
- type: 'int',
87
- isPrimary: true,
88
- unsigned: true,
89
- },
90
- {
91
- name: 'screen_id',
92
- type: 'int',
93
- isPrimary: true,
94
- unsigned: true,
95
- },
96
- (0, utils_1.timestampColumn)(),
97
- (0, utils_1.timestampColumn)('updated_at'),
98
- ],
99
- }));
100
- await queryRunner.createForeignKeys('role_screens', [
101
- new typeorm_1.TableForeignKey({
102
- columnNames: ['role_id'],
103
- referencedColumnNames: ['id'],
104
- referencedTableName: 'roles',
105
- onDelete: 'CASCADE',
106
- name: 'fk_role_screens_roles',
107
- }),
108
- new typeorm_1.TableForeignKey({
109
- columnNames: ['screen_id'],
110
- referencedColumnNames: ['id'],
111
- referencedTableName: 'screens',
112
- onDelete: 'CASCADE',
113
- name: 'fk_role_screens_screens',
114
- }),
115
- ]);
116
- await queryRunner.createTable(new typeorm_1.Table({
117
- name: 'role_users',
118
- columns: [
119
- {
120
- name: 'role_id',
121
- type: 'int',
122
- isPrimary: true,
123
- unsigned: true,
124
- },
125
- {
126
- name: 'user_id',
127
- type: 'int',
128
- isPrimary: true,
129
- unsigned: true,
130
- },
131
- (0, utils_1.timestampColumn)(),
132
- (0, utils_1.timestampColumn)('updated_at'),
133
- ],
134
- }));
135
- await queryRunner.createForeignKeys('role_users', [
136
- new typeorm_1.TableForeignKey({
137
- columnNames: ['role_id'],
138
- referencedColumnNames: ['id'],
139
- referencedTableName: 'roles',
140
- onDelete: 'CASCADE',
141
- name: 'fk_role_users_roles',
142
- }),
143
- new typeorm_1.TableForeignKey({
144
- columnNames: ['user_id'],
145
- referencedColumnNames: ['id'],
146
- referencedTableName: 'users',
147
- onDelete: 'CASCADE',
148
- name: 'fk_role_users_users',
149
- }),
150
- ]);
151
- await queryRunner.createTable(new typeorm_1.Table({
152
- name: 'role_routes',
153
- columns: [
154
- {
155
- name: 'role_id',
156
- type: 'int',
157
- isPrimary: true,
158
- unsigned: true,
159
- },
160
- {
161
- name: 'route_id',
162
- type: 'int',
163
- isPrimary: true,
164
- unsigned: true,
165
- },
166
- (0, utils_1.timestampColumn)(),
167
- (0, utils_1.timestampColumn)('updated_at'),
168
- ],
169
- }));
170
- await queryRunner.createForeignKeys('role_routes', [
171
- new typeorm_1.TableForeignKey({
172
- columnNames: ['role_id'],
173
- referencedColumnNames: ['id'],
174
- referencedTableName: 'roles',
175
- onDelete: 'CASCADE',
176
- name: 'fk_role_routes_roles',
177
- }),
178
- new typeorm_1.TableForeignKey({
179
- columnNames: ['route_id'],
180
- referencedColumnNames: ['id'],
181
- referencedTableName: 'routes',
182
- onDelete: 'CASCADE',
183
- name: 'fk_role_routes_routes',
184
- }),
185
- ]);
186
- await queryRunner.manager
187
- .createQueryBuilder()
188
- .insert()
189
- .into('routes', ['url', 'method'])
190
- .values([
191
- {
192
- url: '/auth/verify',
193
- method: 'GET',
194
- },
195
- {
196
- url: '/menus',
197
- method: 'GET',
198
- },
199
- {
200
- url: '/menus/system',
201
- method: 'GET',
202
- },
203
- {
204
- url: '/menus/:menuId',
205
- method: 'GET',
206
- },
207
- {
208
- url: '/menus',
209
- method: 'POST',
210
- },
211
- {
212
- url: '/menus/:menuId',
213
- method: 'PATCH',
214
- },
215
- {
216
- url: '/menus',
217
- method: 'DELETE',
218
- },
219
- {
220
- url: '/menus/order',
221
- method: 'PATCH',
222
- },
223
- {
224
- url: '/permissions',
225
- method: 'GET',
226
- },
227
- {
228
- url: '/permissions/:permissionId',
229
- method: 'GET',
230
- },
231
- {
232
- url: '/permissions',
233
- method: 'POST',
234
- },
235
- {
236
- url: '/permissions/:permissionId',
237
- method: 'PATCH',
238
- },
239
- {
240
- url: '/permissions',
241
- method: 'DELETE',
242
- },
243
- {
244
- url: '/screens',
245
- method: 'GET',
246
- },
247
- {
248
- url: '/screens/:screenId',
249
- method: 'GET',
250
- },
251
- {
252
- url: '/screens',
253
- method: 'POST',
254
- },
255
- {
256
- url: '/screens/:screenId',
257
- method: 'PATCH',
258
- },
259
- {
260
- url: '/screens',
261
- method: 'DELETE',
262
- },
263
- {
264
- url: '/settings',
265
- method: 'GET',
266
- },
267
- {
268
- url: '/settings/:settingId',
269
- method: 'GET',
270
- },
271
- {
272
- url: '/settings',
273
- method: 'POST',
274
- },
275
- {
276
- url: '/settings/:settingId',
277
- method: 'PATCH',
278
- },
279
- {
280
- url: '/settings',
281
- method: 'DELETE',
282
- },
283
- {
284
- url: '/users',
285
- method: 'GET',
286
- },
287
- {
288
- url: '/users/:userId',
289
- method: 'GET',
290
- },
291
- {
292
- url: '/users',
293
- method: 'POST',
294
- },
295
- {
296
- url: '/users/:userId',
297
- method: 'PATCH',
298
- },
299
- {
300
- url: '/users',
301
- method: 'DELETE',
302
- },
303
- ])
304
- .execute();
305
- await queryRunner.manager
306
- .createQueryBuilder()
307
- .insert()
308
- .into('roles', ['id', 'name', 'description'])
309
- .values([
310
- {
311
- id: 1,
312
- name: 'Administrator',
313
- description: 'System administrator',
314
- },
315
- {
316
- id: 2,
317
- name: 'Screen Manager',
318
- description: 'Screen manager',
319
- },
320
- ])
321
- .execute();
322
- const routes = await queryRunner.manager
323
- .createQueryBuilder()
324
- .select()
325
- .from('routes', 'r')
326
- .execute();
327
- for (const route of routes) {
328
- await queryRunner.manager
329
- .createQueryBuilder()
330
- .insert()
331
- .into('role_routes')
332
- .values({
333
- role_id: 1,
334
- route_id: route.id,
335
- })
336
- .execute();
337
- }
338
- const menus = await queryRunner.manager
339
- .createQueryBuilder()
340
- .select()
341
- .from('menus', 'm')
342
- .execute();
343
- for (const menu of menus) {
344
- await queryRunner.manager
345
- .createQueryBuilder()
346
- .insert()
347
- .into('role_menus')
348
- .values({
349
- role_id: 1,
350
- menu_id: menu.id,
351
- });
352
- }
353
- const routesScreens = await queryRunner.manager
354
- .createQueryBuilder()
355
- .select()
356
- .from('routes', 's')
357
- .where('s.url LIKE :url', { url: '/screens%' })
358
- .execute();
359
- for (const route of routesScreens) {
360
- await queryRunner.manager
361
- .createQueryBuilder()
362
- .insert()
363
- .into('role_routes')
364
- .values({
365
- role_id: 2,
366
- route_id: route.id,
367
- })
368
- .execute();
369
- }
370
- await queryRunner.createTable(new typeorm_1.Table({
371
- name: 'route_screens',
372
- columns: [
373
- {
374
- name: 'route_id',
375
- type: 'int',
376
- unsigned: true,
377
- isPrimary: true,
378
- },
379
- {
380
- name: 'screen_id',
381
- type: 'int',
382
- unsigned: true,
383
- isPrimary: true,
384
- },
385
- (0, utils_1.timestampColumn)(),
386
- (0, utils_1.timestampColumn)('updated_at'),
387
- ],
388
- }));
389
- await queryRunner.createForeignKeys('route_screens', [
390
- new typeorm_1.TableForeignKey({
391
- columnNames: ['route_id'],
392
- referencedColumnNames: ['id'],
393
- referencedTableName: 'routes',
394
- onDelete: 'CASCADE',
395
- name: 'fk_route_screens_routes',
396
- }),
397
- new typeorm_1.TableForeignKey({
398
- columnNames: ['screen_id'],
399
- referencedColumnNames: ['id'],
400
- referencedTableName: 'screens',
401
- onDelete: 'CASCADE',
402
- name: 'fk_route_screens_screens',
403
- }),
404
- ]);
405
- const screens = await queryRunner.manager
406
- .createQueryBuilder()
407
- .insert()
408
- .into('screens', ['name', 'slug', 'description', 'icon'])
409
- .values([
410
- {
411
- name: 'Users',
412
- slug: '/management/users',
413
- description: 'Check all users registered in the system.',
414
- icon: 'users',
415
- },
416
- {
417
- name: 'Roles',
418
- slug: '/management/roles',
419
- description: 'Check all roles registered in the system.',
420
- icon: 'circles',
421
- },
422
- {
423
- name: 'Screens',
424
- slug: '/management/screens',
425
- description: 'Check all screens registered in the system.',
426
- icon: 'monitor',
427
- },
428
- {
429
- name: 'Menus',
430
- slug: '/management/menus',
431
- description: 'Check all menus registered in the system.',
432
- icon: 'menu',
433
- },
434
- ])
435
- .returning('id')
436
- .execute();
437
- for (const screen of screens.raw) {
438
- await queryRunner.manager
439
- .createQueryBuilder()
440
- .insert()
441
- .into('role_screens')
442
- .values({
443
- role_id: 1,
444
- screen_id: screen.id,
445
- })
446
- .execute();
447
- }
448
- const screenIdScreen = await queryRunner.manager
449
- .createQueryBuilder()
450
- .select()
451
- .from('screens', 's')
452
- .where('slug = :slug', { slug: '/management/screens' })
453
- .execute();
454
- const screenIdRole = await queryRunner.manager
455
- .createQueryBuilder()
456
- .select()
457
- .from('screens', 's')
458
- .where('slug = :slug', { slug: '/management/roles' })
459
- .execute();
460
- const screenIdUser = await queryRunner.manager
461
- .createQueryBuilder()
462
- .select()
463
- .from('screens', 's')
464
- .where('slug = :slug', { slug: '/management/users' })
465
- .execute();
466
- const screenIdMenu = await queryRunner.manager
467
- .createQueryBuilder()
468
- .select()
469
- .from('screens', 's')
470
- .where('slug = :slug', { slug: '/management/menus' })
471
- .execute();
472
- for (const { url, screendId } of [
473
- { url: '/screens%', screendId: screenIdScreen[0].id },
474
- { url: '/roles%', screendId: screenIdRole[0].id },
475
- { url: '/users%', screendId: screenIdUser[0].id },
476
- { url: '/menus%', screendId: screenIdMenu[0].id },
477
- ]) {
478
- const routesScreens = await queryRunner.manager
479
- .createQueryBuilder()
480
- .select()
481
- .from('routes', 's')
482
- .where('s.url LIKE :url', { url })
483
- .execute();
484
- for (const route of routesScreens) {
485
- console.log({
486
- route_id: route.id,
487
- screen_id: screendId,
488
- });
489
- await queryRunner.manager
490
- .createQueryBuilder()
491
- .insert()
492
- .into('route_screens')
493
- .values({
494
- route_id: route.id,
495
- screen_id: screendId,
496
- })
497
- .execute();
498
- }
499
- }
500
- }
501
- async down(queryRunner) {
502
- for (const slug of [
503
- '/management/users',
504
- '/management/roles',
505
- '/management/screens',
506
- '/management/menus',
507
- ]) {
508
- await queryRunner.manager
509
- .createQueryBuilder()
510
- .delete()
511
- .from('screens')
512
- .where('slug = :slug', { slug })
513
- .execute();
514
- }
515
- await queryRunner.dropTable('role_routes');
516
- await queryRunner.dropTable('role_screens');
517
- await queryRunner.dropTable('role_users');
518
- await queryRunner.dropTable('role_menus');
519
- await queryRunner.dropTable('roles');
520
- await queryRunner.dropTable('route_screens');
521
- await queryRunner.dropTable('routes');
522
- }
523
- }
524
- exports.Migrate = Migrate;
525
- //# sourceMappingURL=migrate-04.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-04.js","sourceRoot":"","sources":["../../src/migrations/migrate-04.ts"],"names":[],"mappings":";;;AAAA,yCAA0D;AAE1D,qCAMiB;AAEjB,MAAa,OAAO;IAClB,KAAK,CAAC,EAAE,CAAC,WAAwB;QAC/B,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,KAAK;oBACX,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC;iBACnE;gBACD,IAAA,uBAAe,GAAE;gBACjB,IAAA,uBAAe,EAAC,YAAY,CAAC;aAC9B;SACF,CAAC,CACH,CAAC;QAEF,MAAM,WAAW,CAAC,sBAAsB,CACtC,QAAQ,EACR,IAAI,qBAAW,CAAC;YACd,WAA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SAAS;iBACrB,CAAC,CAAC;gBAEH,MAAM,WAAW,CAAC,OAAO;qBACtB,kBAAkB,EAAE;qBACpB,MAAM,EAAE;qBACR,IAAI,CAAC,eAAe,CAAC;qBACrB,MAAM,CAAC;oBACN,QAAQ,EAAE,KAAK,CAAC,EAAE;oBAClB,SAAS,EAAE,SAAS;iBACrB,CAAC;qBACD,OAAO,EAAE,CAAC;YACf,CAAC;QACH,CAAC;IACH,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,KAAK,MAAM,IAAI,IAAI;YACjB,mBAAmB;YACnB,mBAAmB;YACnB,qBAAqB;YACrB,mBAAmB;SACpB,EAAE,CAAC;YACF,MAAM,WAAW,CAAC,OAAO;iBACtB,kBAAkB,EAAE;iBACpB,MAAM,EAAE;iBACR,IAAI,CAAC,SAAS,CAAC;iBACf,KAAK,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,CAAC;iBAC/B,OAAO,EAAE,CAAC;QACf,CAAC;QAED,MAAM,WAAW,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC3C,MAAM,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QAC5C,MAAM,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1C,MAAM,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1C,MAAM,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACrC,MAAM,WAAW,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QAC7C,MAAM,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;CACF;AAljBD,0BAkjBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.decorator.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/decorators/permission.decorator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,UAAU,wDAA2C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.decorator.js","sourceRoot":"","sources":["../../../../src/permission/src/decorators/permission.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAEhC,QAAA,eAAe,GAAG,gBAAgB,CAAC;AACzC,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,IAAA,oBAAW,EAAC,uBAAe,EAAE,IAAI,CAAC,CAAC;AAAtD,QAAA,UAAU,cAA4C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/dto/create.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,IAAI,EAAE,MAAM,CAAC;IAIb,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/permission/src/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,SAAS;CAQrB;AARD,8BAQC;AALC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;;uCACpC;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IACxD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;8CAClC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/dto/delete.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../../src/permission/src/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sCACR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.dto.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/dto/update.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../../src/permission/src/dto/update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,SAAS;CAQrB;AARD,8BAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;uCACtC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;;8CACpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.guard.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/guards/permission.guard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAIjB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,qBACa,eAAgB,YAAW,WAAW;IAE/C,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,MAAM;gBADN,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,aAAa;IAGzB,WAAW,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAgF9D,OAAO,CAAC,sBAAsB;CAI/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.guard.js","sourceRoot":"","sources":["../../../../src/permission/src/guards/permission.guard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAMwB;AAExB,uCAAyC;AACzC,wDAA2D;AAC3D,6EAAqE;AACrE,2CAA+C;AAGxC,IAAM,eAAe,GAArB,MAAM,eAAe;IAC1B,YACU,SAAoB,EACpB,MAAqB;QADrB,cAAS,GAAT,SAAS,CAAW;QACpB,WAAM,GAAN,MAAM,CAAe;IAC5B,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,OAAyB;;QACzC,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CACrD,sCAAe,EACf,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAC3C,CAAC;QAEF,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,UAAU,EAAW,CAAC;QAC7D,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;QACtC,MAAM,OAAO,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;QACrC,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAS,MAAM,EAAE,UAAU,CAAC,IAAI,EAAE,CAAC;QAC5E,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAS,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC;QAErE,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CACtC,2BAAe,EACf,OAAO,CACR,CAAC;QAEF,MAAM,QAAQ,GAAG,IAAI,cAAc,IAAI,UAAU,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAEzE,MAAM,KAAK,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAA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AAC,CAAC;IACrB,CAAC;IAEO,sBAAsB,CAAC,OAAgB;;QAC7C,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,MAAA,MAAA,OAAO,CAAC,OAAO,CAAC,aAAa,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;QACtE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/C,CAAC;CACF,CAAA;AA1FY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAGU,gBAAS;QACZ,sBAAa;GAHpB,eAAe,CA0F3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/migrations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAIZ,MAAM,SAAS,CAAC;AAEjB,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IAqhB3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAsBpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/permission/src/migrations/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0D;AAE1D,qCAMiB;AAEjB,MAAa,OAAO;IAClB,KAAK,CAAC,EAAE,CAAC,WAAwB;QAC/B,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,KAAK;oBACX,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC;iBACnE;gB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,CAAC;iBACjC,OAAO,EAAE,CAAC;YAEb,KAAK,MAAM,KAAK,IAAI,aAAa,EAAE,CAAC;gBAClC,MAAM,WAAW,CAAC,OAAO;qBACtB,kBAAkB,EAAE;qBACpB,MAAM,EAAE;qBACR,IAAI,CAAC,eAAe,CAAC;qBACrB,MAAM,CAAC;oBACN,QAAQ,EAAE,KAAK,CAAC,EAAE;oBAClB,SAAS,EAAE,SAAS;iBACrB,CAAC;qBACD,OAAO,EAAE,CAAC;YACf,CAAC;QACH,CAAC;IACH,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,KAAK,MAAM,IAAI,IAAI;YACjB,mBAAmB;YACnB,mBAAmB;YACnB,qBAAqB;YACrB,mBAAmB;SACpB,EAAE,CAAC;YACF,MAAM,WAAW,CAAC,OAAO;iBACtB,kBAAkB,EAAE;iBACpB,MAAM,EAAE;iBACR,IAAI,CAAC,SAAS,CAAC;iBACf,KAAK,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,CAAC;iBAC/B,OAAO,EAAE,CAAC;QACf,CAAC;QAED,MAAM,WAAW,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC3C,MAAM,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QAC5C,MAAM,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1C,MAAM,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1C,MAAM,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACrC,MAAM,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;CACF;AA5iBD,0BA4iBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.controller.d.ts","sourceRoot":"","sources":["../../../src/permission/src/permission.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,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,qBAEa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,iBAAiB;IAKjD,cAAc,CAAe,gBAAgB,KAAA;IAM7C,IAAI,CAAsC,YAAY,EAAE,MAAM;IAMpE,MAAM,CAAS,IAAI,EAAE,SAAS;IAMxB,MAAM,CAC2B,YAAY,EAAE,MAAM,EACjD,IAAI,EAAE,SAAS;IAUnB,MAAM,CAAS,IAAI,EAAE,SAAS;CAGrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.controller.js","sourceRoot":"","sources":["../../../src/permission/src/permission.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8BAAmC;AACnC,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,iDAA6C;AAC7C,iDAA6C;AAC7C,6DAAyD;AACzD,4EAA+D;AAIxD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YAEmB,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAIE,AAAN,KAAK,CAAC,cAAc,CAAe,gBAAgB;QACjD,OAAO,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC;IACjE,CAAC;IAIK,AAAN,KAAK,CAAC,IAAI,CAAsC,YAAoB;QAClE,OAAO,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAClD,CAAC;IAID,MAAM,CAAS,IAAe;QAC5B,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CAC2B,YAAoB,EACjD,IAAe;QAEvB,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,C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/permission.module.ts"],"names":[],"mappings":"AASA,qBAgBa,gBAAgB;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.module.js","sourceRoot":"","sources":["../../../src/permission/src/permission.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,8BAAoC;AACpC,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,6DAAyD;AACzD,mEAA+D;AAC/D,gEAA4D;AAC5D,uCAAyC;AAkBlC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAhB5B,IAAA,eAAM,EAAC;QACN,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;QACD,WAAW,EAAE,CAAC,4CAAoB,CAAC;QACnC,SAAS,EAAE;YACT,sCAAiB;YACjB;gBACE,OAAO,EAAE,gBAAS;gBAClB,QAAQ,EAAE,kCAAe;aAC1B;SACF;QACD,OAAO,EAAE,CAAC,sCAAiB,CAAC;KAC7B,CAAC;GACW,gBAAgB,CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.service.d.ts","sourceRoot":"","sources":["../../../src/permission/src/permission.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;AAE7C,qBACa,iBAAiB;IAG1B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,cAAc,CAAC,gBAAgB,EAAE,aAAa;IAmB9C,GAAG,CAAC,YAAY,EAAE,MAAM;IAMxB,MAAM,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,SAAS;IASvC,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE;IAOpD,MAAM,CAAC,EAAE,GAAG,EAAE,EAAE,SAAS;CAehC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.service.js","sourceRoot":"","sources":["../../../src/permission/src/permission.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAsE;AACtE,2CAA+C;AAC/C,2CAKwB;AAMjB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YAEmB,aAA4B,EAE5B,iBAAoC;QAFpC,kBAAa,GAAb,aAAa,CAAe;QAE5B,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAEJ,KAAK,CAAC,cAAc,CAAC,gBAA+B;QAClD,MAAM,MAAM,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QAEvC,MAAM,EAAE,GAAU,IAAI,CAAC,aAAa,CAAC,uBAAuB,CAC1D,MAAM,EACN,gBAAgB,CACjB,CAAC;QAEF,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CACpC,IAAI,CAAC,aAAa,CAAC,KAAK,EACxB,gBAAgB,EAChB;YACE,KAAK,EAAE;gBACL,EAAE;aACH;SACF,CACF,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,YAAoB;QAC5B,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC;YACzC,KAAK,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,WAAW,EAAa;QAC3C,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;YACrC,IAAI,EAAE;gBACJ,IAAI;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAmC;QACxD,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;YACrC,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,IAAI;SACL,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAa;QAC7B,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;YACpC,MAAM,IAAI,4BAAmB,CAC3B,oDAAoD,CACrD,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC;YACzC,KAAK,EAAE;gBACL,EAAE,EAAE;oBACF,EAAE,EAAE,GAAG;iBACR;aACF;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAhEY,8CAAiB;4BAAjB,iBAAiB;IAD7B,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,iBAAiB,CAgE7B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.types.d.ts","sourceRoot":"","sources":["../../../../src/permission/src/types/permission.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.types.js","sourceRoot":"","sources":["../../../../src/permission/src/types/permission.types.ts"],"names":[],"mappings":""}