@procxo/shared 1.0.2 → 1.0.4

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 (510) hide show
  1. package/package.json +4 -2
  2. package/src/config/index.ts +5 -0
  3. package/src/config/ormconfig.factory.ts +102 -0
  4. package/src/config/typeorm.config.ts +22 -0
  5. package/src/core/constant/index.ts +1 -0
  6. package/src/core/constant/notification-preference.ts +113 -0
  7. package/src/core/json/core-data/currency.json +8 -0
  8. package/{dist → src}/core/json/core-data/department.json +38 -38
  9. package/{dist → src}/core/json/core-data/permission.json +898 -898
  10. package/src/core/json/core-data/role.json +30 -0
  11. package/src/core/json/core-data/user.json +12 -0
  12. package/src/core/json/geographic-data/cities.json +54693 -0
  13. package/src/core/json/geographic-data/countries.json +31 -0
  14. package/src/database/entities/activity-logs.entity.ts +31 -0
  15. package/src/database/entities/address.entity.ts +31 -0
  16. package/src/database/entities/alert.entity.ts +139 -0
  17. package/src/database/entities/approval-condition.entity.ts +48 -0
  18. package/src/database/entities/approval-hierarchy-role.entity.ts +24 -0
  19. package/src/database/entities/approval-hierarchy-user.entity.ts +24 -0
  20. package/src/database/entities/approval-hierarchy.entity.ts +59 -0
  21. package/src/database/entities/approval-journey.entity.ts +75 -0
  22. package/src/database/entities/approval-level-escalation-user.entity.ts +23 -0
  23. package/src/database/entities/approval-level-escalation.entity.ts +45 -0
  24. package/src/database/entities/approval-level-user.entity.ts +25 -0
  25. package/src/database/entities/approval-level.entity.ts +51 -0
  26. package/src/database/entities/base.entity.ts +31 -0
  27. package/src/database/entities/chat.entity.ts +36 -0
  28. package/src/database/entities/city.entity.ts +25 -0
  29. package/src/database/entities/client.entity.ts +91 -0
  30. package/src/database/entities/contact.entity.ts +27 -0
  31. package/src/database/entities/country.entity.ts +69 -0
  32. package/src/database/entities/credit-note.entity.ts +88 -0
  33. package/src/database/entities/currency.entity.ts +21 -0
  34. package/src/database/entities/department.entity.ts +21 -0
  35. package/src/database/entities/entitlement.entity.ts +64 -0
  36. package/src/database/entities/expense.entity.ts +141 -0
  37. package/src/database/entities/file.entity.ts +22 -0
  38. package/src/database/entities/fixed-invoice-item.entity.ts +29 -0
  39. package/src/database/entities/group.entity.ts +21 -0
  40. package/src/database/entities/gst.entity.ts +32 -0
  41. package/src/database/entities/holiday.entity.ts +51 -0
  42. package/{dist/database/entities/index.d.ts → src/database/entities/index.ts} +79 -78
  43. package/src/database/entities/invoice-template-footer.entity.ts +70 -0
  44. package/src/database/entities/invoice-template-header.entity.ts +34 -0
  45. package/src/database/entities/invoice-template-table.entity.ts +83 -0
  46. package/src/database/entities/invoice-template.entity.ts +119 -0
  47. package/src/database/entities/invoice.entity.ts +139 -0
  48. package/src/database/entities/invoice_item.entity.ts +69 -0
  49. package/src/database/entities/leave-balance.entity.ts +118 -0
  50. package/src/database/entities/leave-request.entity.ts +155 -0
  51. package/src/database/entities/leave-type.entity.ts +37 -0
  52. package/src/database/entities/matter-tag.entity.ts +21 -0
  53. package/src/database/entities/matter-task-view-filter.entity.ts +21 -0
  54. package/src/database/entities/matter-team-member.entity.ts +30 -0
  55. package/src/database/entities/matter.entity.ts +156 -0
  56. package/src/database/entities/payment.entity.ts +72 -0
  57. package/src/database/entities/permission.entity.ts +27 -0
  58. package/src/database/entities/quickbooks-connection.entity.ts +35 -0
  59. package/src/database/entities/quickbooks-sync-log.entity.ts +79 -0
  60. package/src/database/entities/role-permission.entity.ts +30 -0
  61. package/src/database/entities/role-shift.entity.ts +43 -0
  62. package/src/database/entities/role.entity.ts +30 -0
  63. package/src/database/entities/sequence-generator.entity.ts +40 -0
  64. package/src/database/entities/shift.entity.ts +72 -0
  65. package/src/database/entities/sub-task-tag.entity.ts +22 -0
  66. package/src/database/entities/subtask-user.entity.ts +21 -0
  67. package/src/database/entities/subtask.entity.ts +125 -0
  68. package/src/database/entities/summary-task-status.entity.ts +15 -0
  69. package/src/database/entities/superset.entity.ts +38 -0
  70. package/src/database/entities/tag.entity.ts +19 -0
  71. package/src/database/entities/task-comment.entity.ts +41 -0
  72. package/src/database/entities/task-milestone.entity.ts +14 -0
  73. package/src/database/entities/task-remainder.entity.ts +29 -0
  74. package/src/database/entities/task-tag.entity.ts +22 -0
  75. package/src/database/entities/task-type.entity.ts +14 -0
  76. package/src/database/entities/task-user.entity.ts +21 -0
  77. package/src/database/entities/task.entity.ts +176 -0
  78. package/src/database/entities/template-task.entity.ts +25 -0
  79. package/src/database/entities/template.entity.ts +28 -0
  80. package/src/database/entities/timesheet-comment.entity.ts +45 -0
  81. package/src/database/entities/timesheet-event.entity.ts +256 -0
  82. package/src/database/entities/timesheet-summary.entity.ts +101 -0
  83. package/src/database/entities/timesheet.entity.ts +76 -0
  84. package/src/database/entities/transfer-ownership.entity.ts +39 -0
  85. package/src/database/entities/upload-log.entity.ts +78 -0
  86. package/src/database/entities/user-notification-channel.entity.ts +43 -0
  87. package/src/database/entities/user-notification-preference.entity.ts +50 -0
  88. package/src/database/entities/user-role.entity.ts +25 -0
  89. package/src/database/entities/user-session-history.entity.ts +45 -0
  90. package/src/database/entities/user-shift.entity.ts +109 -0
  91. package/src/database/entities/user.entity.ts +198 -0
  92. package/src/database/index.ts +1 -0
  93. package/{dist/database/migrations/1770706648232-initialMigration.js → src/database/migrations/1770706648232-initialMigration.ts} +9 -9
  94. package/src/database/seeder/base.seed.ts +104 -0
  95. package/src/database/seeder/config/seeder.config.ts +26 -0
  96. package/src/database/seeder/errors/seeder.error.ts +20 -0
  97. package/src/database/seeder/seed-runner.ts +200 -0
  98. package/src/database/seeder/seeds/city.seed.ts +70 -0
  99. package/src/database/seeder/seeds/country.seed.ts +58 -0
  100. package/src/database/seeder/seeds/currency.seed.ts +52 -0
  101. package/src/database/seeder/seeds/department.seed.ts +47 -0
  102. package/src/database/seeder/seeds/permission.seed.ts +54 -0
  103. package/src/database/seeder/seeds/role-permission.seed.ts +58 -0
  104. package/src/database/seeder/seeds/role.seed.ts +52 -0
  105. package/src/database/seeder/seeds/user-role.seed.ts +72 -0
  106. package/src/database/seeder/seeds/user.seed.ts +87 -0
  107. package/{dist/index.d.ts → src/index.ts} +5 -1
  108. package/src/scripts/create-schema.ts +94 -0
  109. package/dist/config/index.d.ts +0 -2
  110. package/dist/config/index.d.ts.map +0 -1
  111. package/dist/config/index.js +0 -7
  112. package/dist/config/index.js.map +0 -1
  113. package/dist/config/ormconfig.factory.d.ts +0 -10
  114. package/dist/config/ormconfig.factory.d.ts.map +0 -1
  115. package/dist/config/ormconfig.factory.js +0 -47
  116. package/dist/config/ormconfig.factory.js.map +0 -1
  117. package/dist/config/typeorm.config.d.ts +0 -4
  118. package/dist/config/typeorm.config.d.ts.map +0 -1
  119. package/dist/config/typeorm.config.js +0 -22
  120. package/dist/config/typeorm.config.js.map +0 -1
  121. package/dist/core/constant/index.d.ts +0 -2
  122. package/dist/core/constant/index.d.ts.map +0 -1
  123. package/dist/core/constant/index.js +0 -18
  124. package/dist/core/constant/index.js.map +0 -1
  125. package/dist/core/constant/notification-preference.d.ts +0 -29
  126. package/dist/core/constant/notification-preference.d.ts.map +0 -1
  127. package/dist/core/constant/notification-preference.js +0 -81
  128. package/dist/core/constant/notification-preference.js.map +0 -1
  129. package/dist/core/json/core-data/currency.json +0 -8
  130. package/dist/core/json/core-data/role.json +0 -30
  131. package/dist/core/json/core-data/user.json +0 -12
  132. package/dist/core/json/geographic-data/cities.json +0 -54693
  133. package/dist/core/json/geographic-data/countries.json +0 -31
  134. package/dist/database/entities/activity-logs.entity.d.ts +0 -11
  135. package/dist/database/entities/activity-logs.entity.d.ts.map +0 -1
  136. package/dist/database/entities/activity-logs.entity.js +0 -56
  137. package/dist/database/entities/activity-logs.entity.js.map +0 -1
  138. package/dist/database/entities/address.entity.d.ts +0 -13
  139. package/dist/database/entities/address.entity.d.ts.map +0 -1
  140. package/dist/database/entities/address.entity.js +0 -63
  141. package/dist/database/entities/address.entity.js.map +0 -1
  142. package/dist/database/entities/alert.entity.d.ts +0 -37
  143. package/dist/database/entities/alert.entity.d.ts.map +0 -1
  144. package/dist/database/entities/alert.entity.js +0 -171
  145. package/dist/database/entities/alert.entity.js.map +0 -1
  146. package/dist/database/entities/approval-condition.entity.d.ts +0 -16
  147. package/dist/database/entities/approval-condition.entity.d.ts.map +0 -1
  148. package/dist/database/entities/approval-condition.entity.js +0 -66
  149. package/dist/database/entities/approval-condition.entity.js.map +0 -1
  150. package/dist/database/entities/approval-hierarchy-role.entity.d.ts +0 -10
  151. package/dist/database/entities/approval-hierarchy-role.entity.d.ts.map +0 -1
  152. package/dist/database/entities/approval-hierarchy-role.entity.js +0 -47
  153. package/dist/database/entities/approval-hierarchy-role.entity.js.map +0 -1
  154. package/dist/database/entities/approval-hierarchy-user.entity.d.ts +0 -10
  155. package/dist/database/entities/approval-hierarchy-user.entity.d.ts.map +0 -1
  156. package/dist/database/entities/approval-hierarchy-user.entity.js +0 -47
  157. package/dist/database/entities/approval-hierarchy-user.entity.js.map +0 -1
  158. package/dist/database/entities/approval-hierarchy.entity.d.ts +0 -22
  159. package/dist/database/entities/approval-hierarchy.entity.d.ts.map +0 -1
  160. package/dist/database/entities/approval-hierarchy.entity.js +0 -80
  161. package/dist/database/entities/approval-hierarchy.entity.js.map +0 -1
  162. package/dist/database/entities/approval-journey.entity.d.ts +0 -32
  163. package/dist/database/entities/approval-journey.entity.d.ts.map +0 -1
  164. package/dist/database/entities/approval-journey.entity.js +0 -125
  165. package/dist/database/entities/approval-journey.entity.js.map +0 -1
  166. package/dist/database/entities/approval-level-escalation-user.entity.d.ts +0 -10
  167. package/dist/database/entities/approval-level-escalation-user.entity.d.ts.map +0 -1
  168. package/dist/database/entities/approval-level-escalation-user.entity.js +0 -47
  169. package/dist/database/entities/approval-level-escalation-user.entity.js.map +0 -1
  170. package/dist/database/entities/approval-level-escalation.entity.d.ts +0 -14
  171. package/dist/database/entities/approval-level-escalation.entity.d.ts.map +0 -1
  172. package/dist/database/entities/approval-level-escalation.entity.js +0 -65
  173. package/dist/database/entities/approval-level-escalation.entity.js.map +0 -1
  174. package/dist/database/entities/approval-level-user.entity.d.ts +0 -10
  175. package/dist/database/entities/approval-level-user.entity.d.ts.map +0 -1
  176. package/dist/database/entities/approval-level-user.entity.js +0 -49
  177. package/dist/database/entities/approval-level-user.entity.js.map +0 -1
  178. package/dist/database/entities/approval-level.entity.d.ts +0 -17
  179. package/dist/database/entities/approval-level.entity.d.ts.map +0 -1
  180. package/dist/database/entities/approval-level.entity.js +0 -76
  181. package/dist/database/entities/approval-level.entity.js.map +0 -1
  182. package/dist/database/entities/base.entity.d.ts +0 -12
  183. package/dist/database/entities/base.entity.d.ts.map +0 -1
  184. package/dist/database/entities/base.entity.js +0 -63
  185. package/dist/database/entities/base.entity.js.map +0 -1
  186. package/dist/database/entities/chat.entity.d.ts +0 -13
  187. package/dist/database/entities/chat.entity.d.ts.map +0 -1
  188. package/dist/database/entities/chat.entity.js +0 -67
  189. package/dist/database/entities/chat.entity.js.map +0 -1
  190. package/dist/database/entities/city.entity.d.ts +0 -11
  191. package/dist/database/entities/city.entity.d.ts.map +0 -1
  192. package/dist/database/entities/city.entity.js +0 -53
  193. package/dist/database/entities/city.entity.js.map +0 -1
  194. package/dist/database/entities/client.entity.d.ts +0 -40
  195. package/dist/database/entities/client.entity.d.ts.map +0 -1
  196. package/dist/database/entities/client.entity.js +0 -146
  197. package/dist/database/entities/client.entity.js.map +0 -1
  198. package/dist/database/entities/contact.entity.d.ts +0 -12
  199. package/dist/database/entities/contact.entity.d.ts.map +0 -1
  200. package/dist/database/entities/contact.entity.js +0 -57
  201. package/dist/database/entities/contact.entity.js.map +0 -1
  202. package/dist/database/entities/country.entity.d.ts +0 -26
  203. package/dist/database/entities/country.entity.d.ts.map +0 -1
  204. package/dist/database/entities/country.entity.js +0 -127
  205. package/dist/database/entities/country.entity.js.map +0 -1
  206. package/dist/database/entities/credit-note.entity.d.ts +0 -35
  207. package/dist/database/entities/credit-note.entity.d.ts.map +0 -1
  208. package/dist/database/entities/credit-note.entity.js +0 -144
  209. package/dist/database/entities/credit-note.entity.js.map +0 -1
  210. package/dist/database/entities/currency.entity.d.ts +0 -10
  211. package/dist/database/entities/currency.entity.d.ts.map +0 -1
  212. package/dist/database/entities/currency.entity.js +0 -47
  213. package/dist/database/entities/currency.entity.js.map +0 -1
  214. package/dist/database/entities/department.entity.d.ts +0 -10
  215. package/dist/database/entities/department.entity.d.ts.map +0 -1
  216. package/dist/database/entities/department.entity.js +0 -47
  217. package/dist/database/entities/department.entity.js.map +0 -1
  218. package/dist/database/entities/entitlement.entity.d.ts +0 -24
  219. package/dist/database/entities/entitlement.entity.d.ts.map +0 -1
  220. package/dist/database/entities/entitlement.entity.js +0 -106
  221. package/dist/database/entities/entitlement.entity.js.map +0 -1
  222. package/dist/database/entities/expense.entity.d.ts +0 -47
  223. package/dist/database/entities/expense.entity.d.ts.map +0 -1
  224. package/dist/database/entities/expense.entity.js +0 -221
  225. package/dist/database/entities/expense.entity.js.map +0 -1
  226. package/dist/database/entities/file.entity.d.ts +0 -9
  227. package/dist/database/entities/file.entity.d.ts.map +0 -1
  228. package/dist/database/entities/file.entity.js +0 -46
  229. package/dist/database/entities/file.entity.js.map +0 -1
  230. package/dist/database/entities/fixed-invoice-item.entity.d.ts +0 -9
  231. package/dist/database/entities/fixed-invoice-item.entity.d.ts.map +0 -1
  232. package/dist/database/entities/fixed-invoice-item.entity.js +0 -52
  233. package/dist/database/entities/fixed-invoice-item.entity.js.map +0 -1
  234. package/dist/database/entities/group.entity.d.ts +0 -9
  235. package/dist/database/entities/group.entity.d.ts.map +0 -1
  236. package/dist/database/entities/group.entity.js +0 -45
  237. package/dist/database/entities/group.entity.js.map +0 -1
  238. package/dist/database/entities/gst.entity.d.ts +0 -6
  239. package/dist/database/entities/gst.entity.d.ts.map +0 -1
  240. package/dist/database/entities/gst.entity.js +0 -44
  241. package/dist/database/entities/gst.entity.js.map +0 -1
  242. package/dist/database/entities/holiday.entity.d.ts +0 -14
  243. package/dist/database/entities/holiday.entity.d.ts.map +0 -1
  244. package/dist/database/entities/holiday.entity.js +0 -79
  245. package/dist/database/entities/holiday.entity.js.map +0 -1
  246. package/dist/database/entities/index.d.ts.map +0 -1
  247. package/dist/database/entities/index.js +0 -94
  248. package/dist/database/entities/index.js.map +0 -1
  249. package/dist/database/entities/invoice-template-footer.entity.d.ts +0 -24
  250. package/dist/database/entities/invoice-template-footer.entity.d.ts.map +0 -1
  251. package/dist/database/entities/invoice-template-footer.entity.js +0 -118
  252. package/dist/database/entities/invoice-template-footer.entity.js.map +0 -1
  253. package/dist/database/entities/invoice-template-header.entity.d.ts +0 -14
  254. package/dist/database/entities/invoice-template-header.entity.d.ts.map +0 -1
  255. package/dist/database/entities/invoice-template-header.entity.js +0 -68
  256. package/dist/database/entities/invoice-template-header.entity.js.map +0 -1
  257. package/dist/database/entities/invoice-template-table.entity.d.ts +0 -35
  258. package/dist/database/entities/invoice-template-table.entity.d.ts.map +0 -1
  259. package/dist/database/entities/invoice-template-table.entity.js +0 -143
  260. package/dist/database/entities/invoice-template-table.entity.js.map +0 -1
  261. package/dist/database/entities/invoice-template.entity.d.ts +0 -39
  262. package/dist/database/entities/invoice-template.entity.d.ts.map +0 -1
  263. package/dist/database/entities/invoice-template.entity.js +0 -157
  264. package/dist/database/entities/invoice-template.entity.js.map +0 -1
  265. package/dist/database/entities/invoice.entity.d.ts +0 -46
  266. package/dist/database/entities/invoice.entity.d.ts.map +0 -1
  267. package/dist/database/entities/invoice.entity.js +0 -212
  268. package/dist/database/entities/invoice.entity.js.map +0 -1
  269. package/dist/database/entities/invoice_item.entity.d.ts +0 -22
  270. package/dist/database/entities/invoice_item.entity.d.ts.map +0 -1
  271. package/dist/database/entities/invoice_item.entity.js +0 -89
  272. package/dist/database/entities/invoice_item.entity.js.map +0 -1
  273. package/dist/database/entities/leave-balance.entity.d.ts +0 -38
  274. package/dist/database/entities/leave-balance.entity.d.ts.map +0 -1
  275. package/dist/database/entities/leave-balance.entity.js +0 -166
  276. package/dist/database/entities/leave-balance.entity.js.map +0 -1
  277. package/dist/database/entities/leave-request.entity.d.ts +0 -64
  278. package/dist/database/entities/leave-request.entity.d.ts.map +0 -1
  279. package/dist/database/entities/leave-request.entity.js +0 -219
  280. package/dist/database/entities/leave-request.entity.js.map +0 -1
  281. package/dist/database/entities/leave-type.entity.d.ts +0 -15
  282. package/dist/database/entities/leave-type.entity.d.ts.map +0 -1
  283. package/dist/database/entities/leave-type.entity.js +0 -72
  284. package/dist/database/entities/leave-type.entity.js.map +0 -1
  285. package/dist/database/entities/matter-tag.entity.d.ts +0 -10
  286. package/dist/database/entities/matter-tag.entity.d.ts.map +0 -1
  287. package/dist/database/entities/matter-tag.entity.js +0 -45
  288. package/dist/database/entities/matter-tag.entity.js.map +0 -1
  289. package/dist/database/entities/matter-task-view-filter.entity.d.ts +0 -11
  290. package/dist/database/entities/matter-task-view-filter.entity.d.ts.map +0 -1
  291. package/dist/database/entities/matter-task-view-filter.entity.js +0 -42
  292. package/dist/database/entities/matter-task-view-filter.entity.js.map +0 -1
  293. package/dist/database/entities/matter-team-member.entity.d.ts +0 -11
  294. package/dist/database/entities/matter-team-member.entity.d.ts.map +0 -1
  295. package/dist/database/entities/matter-team-member.entity.js +0 -56
  296. package/dist/database/entities/matter-team-member.entity.js.map +0 -1
  297. package/dist/database/entities/matter.entity.d.ts +0 -62
  298. package/dist/database/entities/matter.entity.d.ts.map +0 -1
  299. package/dist/database/entities/matter.entity.js +0 -249
  300. package/dist/database/entities/matter.entity.js.map +0 -1
  301. package/dist/database/entities/payment.entity.d.ts +0 -26
  302. package/dist/database/entities/payment.entity.d.ts.map +0 -1
  303. package/dist/database/entities/payment.entity.js +0 -127
  304. package/dist/database/entities/payment.entity.js.map +0 -1
  305. package/dist/database/entities/permission.entity.d.ts +0 -11
  306. package/dist/database/entities/permission.entity.d.ts.map +0 -1
  307. package/dist/database/entities/permission.entity.js +0 -52
  308. package/dist/database/entities/permission.entity.js.map +0 -1
  309. package/dist/database/entities/quickbooks-connection.entity.d.ts +0 -14
  310. package/dist/database/entities/quickbooks-connection.entity.d.ts.map +0 -1
  311. package/dist/database/entities/quickbooks-connection.entity.js +0 -71
  312. package/dist/database/entities/quickbooks-connection.entity.js.map +0 -1
  313. package/dist/database/entities/quickbooks-sync-log.entity.d.ts +0 -34
  314. package/dist/database/entities/quickbooks-sync-log.entity.d.ts.map +0 -1
  315. package/dist/database/entities/quickbooks-sync-log.entity.js +0 -116
  316. package/dist/database/entities/quickbooks-sync-log.entity.js.map +0 -1
  317. package/dist/database/entities/role-permission.entity.d.ts +0 -10
  318. package/dist/database/entities/role-permission.entity.d.ts.map +0 -1
  319. package/dist/database/entities/role-permission.entity.js +0 -49
  320. package/dist/database/entities/role-permission.entity.js.map +0 -1
  321. package/dist/database/entities/role-shift.entity.d.ts +0 -8
  322. package/dist/database/entities/role-shift.entity.d.ts.map +0 -1
  323. package/dist/database/entities/role-shift.entity.js +0 -48
  324. package/dist/database/entities/role-shift.entity.js.map +0 -1
  325. package/dist/database/entities/role.entity.d.ts +0 -13
  326. package/dist/database/entities/role.entity.d.ts.map +0 -1
  327. package/dist/database/entities/role.entity.js +0 -58
  328. package/dist/database/entities/role.entity.js.map +0 -1
  329. package/dist/database/entities/sequence-generator.entity.d.ts +0 -8
  330. package/dist/database/entities/sequence-generator.entity.d.ts.map +0 -1
  331. package/dist/database/entities/sequence-generator.entity.js +0 -64
  332. package/dist/database/entities/sequence-generator.entity.js.map +0 -1
  333. package/dist/database/entities/shift.entity.d.ts +0 -18
  334. package/dist/database/entities/shift.entity.d.ts.map +0 -1
  335. package/dist/database/entities/shift.entity.js +0 -110
  336. package/dist/database/entities/shift.entity.js.map +0 -1
  337. package/dist/database/entities/sub-task-tag.entity.d.ts +0 -10
  338. package/dist/database/entities/sub-task-tag.entity.d.ts.map +0 -1
  339. package/dist/database/entities/sub-task-tag.entity.js +0 -45
  340. package/dist/database/entities/sub-task-tag.entity.js.map +0 -1
  341. package/dist/database/entities/subtask-user.entity.d.ts +0 -10
  342. package/dist/database/entities/subtask-user.entity.d.ts.map +0 -1
  343. package/dist/database/entities/subtask-user.entity.js +0 -45
  344. package/dist/database/entities/subtask-user.entity.js.map +0 -1
  345. package/dist/database/entities/subtask.entity.d.ts +0 -47
  346. package/dist/database/entities/subtask.entity.d.ts.map +0 -1
  347. package/dist/database/entities/subtask.entity.js +0 -185
  348. package/dist/database/entities/subtask.entity.js.map +0 -1
  349. package/dist/database/entities/summary-task-status.entity.d.ts +0 -7
  350. package/dist/database/entities/summary-task-status.entity.d.ts.map +0 -1
  351. package/dist/database/entities/summary-task-status.entity.js +0 -37
  352. package/dist/database/entities/summary-task-status.entity.js.map +0 -1
  353. package/dist/database/entities/superset.entity.d.ts +0 -15
  354. package/dist/database/entities/superset.entity.d.ts.map +0 -1
  355. package/dist/database/entities/superset.entity.js +0 -73
  356. package/dist/database/entities/superset.entity.js.map +0 -1
  357. package/dist/database/entities/tag.entity.d.ts +0 -10
  358. package/dist/database/entities/tag.entity.d.ts.map +0 -1
  359. package/dist/database/entities/tag.entity.js +0 -43
  360. package/dist/database/entities/tag.entity.js.map +0 -1
  361. package/dist/database/entities/task-comment.entity.d.ts +0 -15
  362. package/dist/database/entities/task-comment.entity.d.ts.map +0 -1
  363. package/dist/database/entities/task-comment.entity.js +0 -67
  364. package/dist/database/entities/task-comment.entity.js.map +0 -1
  365. package/dist/database/entities/task-milestone.entity.d.ts +0 -7
  366. package/dist/database/entities/task-milestone.entity.d.ts.map +0 -1
  367. package/dist/database/entities/task-milestone.entity.js +0 -36
  368. package/dist/database/entities/task-milestone.entity.js.map +0 -1
  369. package/dist/database/entities/task-remainder.entity.d.ts +0 -12
  370. package/dist/database/entities/task-remainder.entity.d.ts.map +0 -1
  371. package/dist/database/entities/task-remainder.entity.js +0 -57
  372. package/dist/database/entities/task-remainder.entity.js.map +0 -1
  373. package/dist/database/entities/task-tag.entity.d.ts +0 -10
  374. package/dist/database/entities/task-tag.entity.d.ts.map +0 -1
  375. package/dist/database/entities/task-tag.entity.js +0 -45
  376. package/dist/database/entities/task-tag.entity.js.map +0 -1
  377. package/dist/database/entities/task-type.entity.d.ts +0 -7
  378. package/dist/database/entities/task-type.entity.d.ts.map +0 -1
  379. package/dist/database/entities/task-type.entity.js +0 -36
  380. package/dist/database/entities/task-type.entity.js.map +0 -1
  381. package/dist/database/entities/task-user.entity.d.ts +0 -10
  382. package/dist/database/entities/task-user.entity.d.ts.map +0 -1
  383. package/dist/database/entities/task-user.entity.js +0 -45
  384. package/dist/database/entities/task-user.entity.js.map +0 -1
  385. package/dist/database/entities/task.entity.d.ts +0 -53
  386. package/dist/database/entities/task.entity.d.ts.map +0 -1
  387. package/dist/database/entities/task.entity.js +0 -259
  388. package/dist/database/entities/task.entity.js.map +0 -1
  389. package/dist/database/entities/template-task.entity.d.ts +0 -11
  390. package/dist/database/entities/template-task.entity.d.ts.map +0 -1
  391. package/dist/database/entities/template-task.entity.js +0 -53
  392. package/dist/database/entities/template-task.entity.js.map +0 -1
  393. package/dist/database/entities/template.entity.d.ts +0 -13
  394. package/dist/database/entities/template.entity.d.ts.map +0 -1
  395. package/dist/database/entities/template.entity.js +0 -58
  396. package/dist/database/entities/template.entity.js.map +0 -1
  397. package/dist/database/entities/timesheet-comment.entity.d.ts +0 -11
  398. package/dist/database/entities/timesheet-comment.entity.d.ts.map +0 -1
  399. package/dist/database/entities/timesheet-comment.entity.js +0 -65
  400. package/dist/database/entities/timesheet-comment.entity.js.map +0 -1
  401. package/dist/database/entities/timesheet-event.entity.d.ts +0 -48
  402. package/dist/database/entities/timesheet-event.entity.d.ts.map +0 -1
  403. package/dist/database/entities/timesheet-event.entity.js +0 -328
  404. package/dist/database/entities/timesheet-event.entity.js.map +0 -1
  405. package/dist/database/entities/timesheet-summary.entity.d.ts +0 -27
  406. package/dist/database/entities/timesheet-summary.entity.d.ts.map +0 -1
  407. package/dist/database/entities/timesheet-summary.entity.js +0 -161
  408. package/dist/database/entities/timesheet-summary.entity.js.map +0 -1
  409. package/dist/database/entities/timesheet.entity.d.ts +0 -32
  410. package/dist/database/entities/timesheet.entity.d.ts.map +0 -1
  411. package/dist/database/entities/timesheet.entity.js +0 -112
  412. package/dist/database/entities/timesheet.entity.js.map +0 -1
  413. package/dist/database/entities/transfer-ownership.entity.d.ts +0 -15
  414. package/dist/database/entities/transfer-ownership.entity.d.ts.map +0 -1
  415. package/dist/database/entities/transfer-ownership.entity.js +0 -75
  416. package/dist/database/entities/transfer-ownership.entity.js.map +0 -1
  417. package/dist/database/entities/upload-log.entity.d.ts +0 -31
  418. package/dist/database/entities/upload-log.entity.d.ts.map +0 -1
  419. package/dist/database/entities/upload-log.entity.js +0 -111
  420. package/dist/database/entities/upload-log.entity.js.map +0 -1
  421. package/dist/database/entities/user-notification-channel.entity.d.ts +0 -8
  422. package/dist/database/entities/user-notification-channel.entity.d.ts.map +0 -1
  423. package/dist/database/entities/user-notification-channel.entity.js +0 -63
  424. package/dist/database/entities/user-notification-channel.entity.js.map +0 -1
  425. package/dist/database/entities/user-notification-preference.entity.d.ts +0 -10
  426. package/dist/database/entities/user-notification-preference.entity.d.ts.map +0 -1
  427. package/dist/database/entities/user-notification-preference.entity.js +0 -72
  428. package/dist/database/entities/user-notification-preference.entity.js.map +0 -1
  429. package/dist/database/entities/user-role.entity.d.ts +0 -10
  430. package/dist/database/entities/user-role.entity.d.ts.map +0 -1
  431. package/dist/database/entities/user-role.entity.js +0 -45
  432. package/dist/database/entities/user-role.entity.js.map +0 -1
  433. package/dist/database/entities/user-session-history.entity.d.ts +0 -16
  434. package/dist/database/entities/user-session-history.entity.d.ts.map +0 -1
  435. package/dist/database/entities/user-session-history.entity.js +0 -78
  436. package/dist/database/entities/user-session-history.entity.js.map +0 -1
  437. package/dist/database/entities/user-shift.entity.d.ts +0 -24
  438. package/dist/database/entities/user-shift.entity.d.ts.map +0 -1
  439. package/dist/database/entities/user-shift.entity.js +0 -153
  440. package/dist/database/entities/user-shift.entity.js.map +0 -1
  441. package/dist/database/entities/user.entity.d.ts +0 -74
  442. package/dist/database/entities/user.entity.d.ts.map +0 -1
  443. package/dist/database/entities/user.entity.js +0 -280
  444. package/dist/database/entities/user.entity.js.map +0 -1
  445. package/dist/database/index.d.ts +0 -2
  446. package/dist/database/index.d.ts.map +0 -1
  447. package/dist/database/index.js +0 -18
  448. package/dist/database/index.js.map +0 -1
  449. package/dist/database/migrations/1770706648232-initialMigration.d.ts +0 -7
  450. package/dist/database/migrations/1770706648232-initialMigration.d.ts.map +0 -1
  451. package/dist/database/migrations/1770706648232-initialMigration.js.map +0 -1
  452. package/dist/database/seeder/base.seed.d.ts +0 -19
  453. package/dist/database/seeder/base.seed.d.ts.map +0 -1
  454. package/dist/database/seeder/base.seed.js +0 -83
  455. package/dist/database/seeder/base.seed.js.map +0 -1
  456. package/dist/database/seeder/config/seeder.config.d.ts +0 -7
  457. package/dist/database/seeder/config/seeder.config.d.ts.map +0 -1
  458. package/dist/database/seeder/config/seeder.config.js +0 -21
  459. package/dist/database/seeder/config/seeder.config.js.map +0 -1
  460. package/dist/database/seeder/errors/seeder.error.d.ts +0 -11
  461. package/dist/database/seeder/errors/seeder.error.d.ts.map +0 -1
  462. package/dist/database/seeder/errors/seeder.error.js +0 -27
  463. package/dist/database/seeder/errors/seeder.error.js.map +0 -1
  464. package/dist/database/seeder/seed-runner.d.ts +0 -2
  465. package/dist/database/seeder/seed-runner.d.ts.map +0 -1
  466. package/dist/database/seeder/seed-runner.js +0 -157
  467. package/dist/database/seeder/seed-runner.js.map +0 -1
  468. package/dist/database/seeder/seeds/city.seed.d.ts +0 -8
  469. package/dist/database/seeder/seeds/city.seed.d.ts.map +0 -1
  470. package/dist/database/seeder/seeds/city.seed.js +0 -62
  471. package/dist/database/seeder/seeds/city.seed.js.map +0 -1
  472. package/dist/database/seeder/seeds/country.seed.d.ts +0 -8
  473. package/dist/database/seeder/seeds/country.seed.d.ts.map +0 -1
  474. package/dist/database/seeder/seeds/country.seed.js +0 -54
  475. package/dist/database/seeder/seeds/country.seed.js.map +0 -1
  476. package/dist/database/seeder/seeds/currency.seed.d.ts +0 -8
  477. package/dist/database/seeder/seeds/currency.seed.d.ts.map +0 -1
  478. package/dist/database/seeder/seeds/currency.seed.js +0 -50
  479. package/dist/database/seeder/seeds/currency.seed.js.map +0 -1
  480. package/dist/database/seeder/seeds/department.seed.d.ts +0 -8
  481. package/dist/database/seeder/seeds/department.seed.d.ts.map +0 -1
  482. package/dist/database/seeder/seeds/department.seed.js +0 -48
  483. package/dist/database/seeder/seeds/department.seed.js.map +0 -1
  484. package/dist/database/seeder/seeds/permission.seed.d.ts +0 -8
  485. package/dist/database/seeder/seeds/permission.seed.d.ts.map +0 -1
  486. package/dist/database/seeder/seeds/permission.seed.js +0 -54
  487. package/dist/database/seeder/seeds/permission.seed.js.map +0 -1
  488. package/dist/database/seeder/seeds/role-permission.seed.d.ts +0 -8
  489. package/dist/database/seeder/seeds/role-permission.seed.d.ts.map +0 -1
  490. package/dist/database/seeder/seeds/role-permission.seed.js +0 -47
  491. package/dist/database/seeder/seeds/role-permission.seed.js.map +0 -1
  492. package/dist/database/seeder/seeds/role.seed.d.ts +0 -8
  493. package/dist/database/seeder/seeds/role.seed.d.ts.map +0 -1
  494. package/dist/database/seeder/seeds/role.seed.js +0 -52
  495. package/dist/database/seeder/seeds/role.seed.js.map +0 -1
  496. package/dist/database/seeder/seeds/user-role.seed.d.ts +0 -8
  497. package/dist/database/seeder/seeds/user-role.seed.d.ts.map +0 -1
  498. package/dist/database/seeder/seeds/user-role.seed.js +0 -66
  499. package/dist/database/seeder/seeds/user-role.seed.js.map +0 -1
  500. package/dist/database/seeder/seeds/user.seed.d.ts +0 -8
  501. package/dist/database/seeder/seeds/user.seed.d.ts.map +0 -1
  502. package/dist/database/seeder/seeds/user.seed.js +0 -110
  503. package/dist/database/seeder/seeds/user.seed.js.map +0 -1
  504. package/dist/index.d.ts.map +0 -1
  505. package/dist/index.js.map +0 -1
  506. package/dist/scripts/create-schema.d.ts +0 -2
  507. package/dist/scripts/create-schema.d.ts.map +0 -1
  508. package/dist/scripts/create-schema.js +0 -77
  509. package/dist/scripts/create-schema.js.map +0 -1
  510. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1,22 +0,0 @@
1
- import { BaseEntity } from './base.entity';
2
- import { ApprovalCondition } from './approval-condition.entity';
3
- import { ApprovalLevel } from './approval-level.entity';
4
- import { ApprovalHierarchyUser } from './approval-hierarchy-user.entity';
5
- import { ApprovalHierarchyRole } from './approval-hierarchy-role.entity';
6
- export declare enum InitiatorTypeEnum {
7
- Role = "Role",
8
- User = "User"
9
- }
10
- export declare class ApprovalHierarchy extends BaseEntity {
11
- name: string;
12
- slug: string;
13
- module: string;
14
- task: string;
15
- initiator_type: InitiatorTypeEnum;
16
- is_active: boolean;
17
- approval_condition: ApprovalCondition[];
18
- approval_level: ApprovalLevel[];
19
- initiator_users: ApprovalHierarchyUser[];
20
- initiator_roles: ApprovalHierarchyRole[];
21
- }
22
- //# sourceMappingURL=approval-hierarchy.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-hierarchy.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-hierarchy.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,oBAAY,iBAAiB;IAC3B,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,qBACa,iBAAkB,SAAQ,UAAU;IAE/C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,cAAc,EAAE,iBAAiB,CAAC;IAGlC,SAAS,EAAE,OAAO,CAAC;IAMnB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IAGxC,cAAc,EAAE,aAAa,EAAE,CAAC;IAOhC,eAAe,EAAE,qBAAqB,EAAE,CAAC;IAOzC,eAAe,EAAE,qBAAqB,EAAE,CAAC;CAI1C"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalHierarchy = exports.InitiatorTypeEnum = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const base_entity_1 = require("./base.entity");
15
- const approval_condition_entity_1 = require("./approval-condition.entity");
16
- const approval_level_entity_1 = require("./approval-level.entity");
17
- const approval_hierarchy_user_entity_1 = require("./approval-hierarchy-user.entity");
18
- const approval_hierarchy_role_entity_1 = require("./approval-hierarchy-role.entity");
19
- var InitiatorTypeEnum;
20
- (function (InitiatorTypeEnum) {
21
- InitiatorTypeEnum["Role"] = "Role";
22
- InitiatorTypeEnum["User"] = "User";
23
- })(InitiatorTypeEnum || (exports.InitiatorTypeEnum = InitiatorTypeEnum = {}));
24
- let ApprovalHierarchy = class ApprovalHierarchy extends base_entity_1.BaseEntity {
25
- name;
26
- slug;
27
- module;
28
- task;
29
- initiator_type;
30
- is_active;
31
- approval_condition;
32
- approval_level;
33
- initiator_users;
34
- initiator_roles;
35
- };
36
- exports.ApprovalHierarchy = ApprovalHierarchy;
37
- __decorate([
38
- (0, typeorm_1.Column)({ name: 'name', nullable: true }),
39
- __metadata("design:type", String)
40
- ], ApprovalHierarchy.prototype, "name", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ name: 'slug', unique: true, nullable: true }),
43
- __metadata("design:type", String)
44
- ], ApprovalHierarchy.prototype, "slug", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ name: 'module', nullable: true }),
47
- __metadata("design:type", String)
48
- ], ApprovalHierarchy.prototype, "module", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ name: 'task', nullable: true }),
51
- __metadata("design:type", String)
52
- ], ApprovalHierarchy.prototype, "task", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ name: 'initiator_type', type: 'enum', enum: InitiatorTypeEnum }),
55
- __metadata("design:type", String)
56
- ], ApprovalHierarchy.prototype, "initiator_type", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ name: 'is_active', default: true }),
59
- __metadata("design:type", Boolean)
60
- ], ApprovalHierarchy.prototype, "is_active", void 0);
61
- __decorate([
62
- (0, typeorm_1.OneToMany)(() => approval_condition_entity_1.ApprovalCondition, (condition) => condition.approval_hierarchy),
63
- __metadata("design:type", Array)
64
- ], ApprovalHierarchy.prototype, "approval_condition", void 0);
65
- __decorate([
66
- (0, typeorm_1.OneToMany)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_hierarchy),
67
- __metadata("design:type", Array)
68
- ], ApprovalHierarchy.prototype, "approval_level", void 0);
69
- __decorate([
70
- (0, typeorm_1.OneToMany)(() => approval_hierarchy_user_entity_1.ApprovalHierarchyUser, (hierarchyUser) => hierarchyUser.approval_hierarchy, { cascade: true }),
71
- __metadata("design:type", Array)
72
- ], ApprovalHierarchy.prototype, "initiator_users", void 0);
73
- __decorate([
74
- (0, typeorm_1.OneToMany)(() => approval_hierarchy_role_entity_1.ApprovalHierarchyRole, (hierarchyRole) => hierarchyRole.approval_hierarchy, { cascade: true }),
75
- __metadata("design:type", Array)
76
- ], ApprovalHierarchy.prototype, "initiator_roles", void 0);
77
- exports.ApprovalHierarchy = ApprovalHierarchy = __decorate([
78
- (0, typeorm_1.Entity)({ name: 'approval_hierarchy', schema: 'user' })
79
- ], ApprovalHierarchy);
80
- //# sourceMappingURL=approval-hierarchy.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-hierarchy.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-hierarchy.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAA2C;AAC3C,2EAAgE;AAChE,mEAAwD;AACxD,qFAAyE;AACzE,qFAAyE;AAGzE,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,kCAAa,CAAA;AACf,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAGM,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAU;IAE/C,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,MAAM,CAAS;IAGf,IAAI,CAAS;IAGb,cAAc,CAAoB;IAGlC,SAAS,CAAU;IAMnB,kBAAkB,CAAsB;IAGxC,cAAc,CAAkB;IAOhC,eAAe,CAA0B;IAOzC,eAAe,CAA0B;CAI1C,CAAA;AA5CY,8CAAiB;AAE5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC1C;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC5B;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;yDACxC;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;oDAC1B;AAMnB;IAJC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,6CAAiB,EACvB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,kBAAkB,CAC5C;;6DACuC;AAGxC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC;;yDACpC;AAOhC;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,sDAAqB,EAC3B,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,kBAAkB,EACnD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;0DACwC;AAOzC;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,sDAAqB,EAC3B,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,kBAAkB,EACnD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;0DACwC;4BAxC9B,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC1C,iBAAiB,CA4C7B"}
@@ -1,32 +0,0 @@
1
- import { ApprovalHierarchy } from './approval-hierarchy.entity';
2
- import { BaseEntity } from './base.entity';
3
- import { User } from './user.entity';
4
- export declare enum ApprovalJourneyStatusEnum {
5
- PENDING = "Pending",
6
- APPROVED = "Approved",
7
- REJECTED = "Rejected",
8
- AUTO_APPROVED = "AutoApproved",
9
- AUTO_REJECTED = "AutoRejected",
10
- ESCALATED = "Escalated",
11
- NA = "NA"
12
- }
13
- export declare class ApprovalJourney extends BaseEntity {
14
- parent_id?: string;
15
- journy_type?: string;
16
- task_type?: string;
17
- approval_hierarchy_id?: number;
18
- approval_hierarchy?: ApprovalHierarchy;
19
- approvar_id?: number;
20
- requester_id?: number;
21
- requester?: User;
22
- user?: User;
23
- level?: string;
24
- status: ApprovalJourneyStatusEnum;
25
- reject_reason?: string;
26
- is_approver_turn: boolean;
27
- valid_till?: Date;
28
- duration?: string;
29
- valid_to?: Date;
30
- journey_batch_id?: string;
31
- }
32
- //# sourceMappingURL=approval-journey.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-journey.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-journey.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,oBAAY,yBAAyB;IACnC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,cAAc;IACvB,EAAE,OAAO;CACV;AAED,qBACa,eAAgB,SAAQ,UAAU;IAE7C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAI/B,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;IAGvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,CAAC,EAAE,IAAI,CAAC;IAIjB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,MAAM,EAAE,yBAAyB,CAAC;IAGlC,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,UAAU,CAAC,EAAE,IAAI,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAGhB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -1,125 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalJourney = exports.ApprovalJourneyStatusEnum = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const approval_hierarchy_entity_1 = require("./approval-hierarchy.entity");
15
- const base_entity_1 = require("./base.entity");
16
- const user_entity_1 = require("./user.entity");
17
- var ApprovalJourneyStatusEnum;
18
- (function (ApprovalJourneyStatusEnum) {
19
- ApprovalJourneyStatusEnum["PENDING"] = "Pending";
20
- ApprovalJourneyStatusEnum["APPROVED"] = "Approved";
21
- ApprovalJourneyStatusEnum["REJECTED"] = "Rejected";
22
- ApprovalJourneyStatusEnum["AUTO_APPROVED"] = "AutoApproved";
23
- ApprovalJourneyStatusEnum["AUTO_REJECTED"] = "AutoRejected";
24
- ApprovalJourneyStatusEnum["ESCALATED"] = "Escalated";
25
- ApprovalJourneyStatusEnum["NA"] = "NA";
26
- })(ApprovalJourneyStatusEnum || (exports.ApprovalJourneyStatusEnum = ApprovalJourneyStatusEnum = {}));
27
- let ApprovalJourney = class ApprovalJourney extends base_entity_1.BaseEntity {
28
- parent_id;
29
- journy_type;
30
- task_type;
31
- approval_hierarchy_id;
32
- approval_hierarchy;
33
- approvar_id;
34
- requester_id;
35
- requester;
36
- user;
37
- level;
38
- status;
39
- reject_reason;
40
- is_approver_turn;
41
- valid_till;
42
- duration;
43
- valid_to;
44
- journey_batch_id;
45
- };
46
- exports.ApprovalJourney = ApprovalJourney;
47
- __decorate([
48
- (0, typeorm_1.Column)({ name: 'parent_id', type: 'varchar', nullable: true }),
49
- __metadata("design:type", String)
50
- ], ApprovalJourney.prototype, "parent_id", void 0);
51
- __decorate([
52
- (0, typeorm_1.Column)({ name: 'journy_type', type: 'varchar', nullable: true }),
53
- __metadata("design:type", String)
54
- ], ApprovalJourney.prototype, "journy_type", void 0);
55
- __decorate([
56
- (0, typeorm_1.Column)({ name: 'task_type', type: 'varchar', nullable: true }),
57
- __metadata("design:type", String)
58
- ], ApprovalJourney.prototype, "task_type", void 0);
59
- __decorate([
60
- (0, typeorm_1.Column)({ name: 'approval_hierarchy_id', type: 'int', nullable: true }),
61
- __metadata("design:type", Number)
62
- ], ApprovalJourney.prototype, "approval_hierarchy_id", void 0);
63
- __decorate([
64
- (0, typeorm_1.ManyToOne)(() => approval_hierarchy_entity_1.ApprovalHierarchy, { onDelete: 'CASCADE' }),
65
- (0, typeorm_1.JoinColumn)({ name: 'approval_hierarchy_id' }),
66
- __metadata("design:type", approval_hierarchy_entity_1.ApprovalHierarchy)
67
- ], ApprovalJourney.prototype, "approval_hierarchy", void 0);
68
- __decorate([
69
- (0, typeorm_1.Column)({ name: 'approvar_id', type: 'int', nullable: true }),
70
- __metadata("design:type", Number)
71
- ], ApprovalJourney.prototype, "approvar_id", void 0);
72
- __decorate([
73
- (0, typeorm_1.Column)({ name: 'requester_id', type: 'int', nullable: true }),
74
- __metadata("design:type", Number)
75
- ], ApprovalJourney.prototype, "requester_id", void 0);
76
- __decorate([
77
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'CASCADE' }),
78
- (0, typeorm_1.JoinColumn)({ name: 'requester_id' }),
79
- __metadata("design:type", user_entity_1.User)
80
- ], ApprovalJourney.prototype, "requester", void 0);
81
- __decorate([
82
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'CASCADE' }),
83
- (0, typeorm_1.JoinColumn)({ name: 'approvar_id' }),
84
- __metadata("design:type", user_entity_1.User)
85
- ], ApprovalJourney.prototype, "user", void 0);
86
- __decorate([
87
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
88
- __metadata("design:type", String)
89
- ], ApprovalJourney.prototype, "level", void 0);
90
- __decorate([
91
- (0, typeorm_1.Column)({
92
- type: 'enum',
93
- enum: ApprovalJourneyStatusEnum,
94
- default: ApprovalJourneyStatusEnum.PENDING,
95
- }),
96
- __metadata("design:type", String)
97
- ], ApprovalJourney.prototype, "status", void 0);
98
- __decorate([
99
- (0, typeorm_1.Column)({ name: 'reject_reason', type: 'text', nullable: true }),
100
- __metadata("design:type", String)
101
- ], ApprovalJourney.prototype, "reject_reason", void 0);
102
- __decorate([
103
- (0, typeorm_1.Column)({ name: 'is_approver_turn', type: 'boolean', default: false }),
104
- __metadata("design:type", Boolean)
105
- ], ApprovalJourney.prototype, "is_approver_turn", void 0);
106
- __decorate([
107
- (0, typeorm_1.Column)({ name: 'valid_till', type: 'timestamp', nullable: true }),
108
- __metadata("design:type", Date)
109
- ], ApprovalJourney.prototype, "valid_till", void 0);
110
- __decorate([
111
- (0, typeorm_1.Column)({ name: 'duration', type: 'varchar', nullable: true }),
112
- __metadata("design:type", String)
113
- ], ApprovalJourney.prototype, "duration", void 0);
114
- __decorate([
115
- (0, typeorm_1.Column)({ name: 'valid_to', type: 'timestamp', nullable: true }),
116
- __metadata("design:type", Date)
117
- ], ApprovalJourney.prototype, "valid_to", void 0);
118
- __decorate([
119
- (0, typeorm_1.Column)({ name: 'journey_batch_id', type: 'uuid', nullable: true }),
120
- __metadata("design:type", String)
121
- ], ApprovalJourney.prototype, "journey_batch_id", void 0);
122
- exports.ApprovalJourney = ApprovalJourney = __decorate([
123
- (0, typeorm_1.Entity)({ name: 'approval_journey', schema: 'user' })
124
- ], ApprovalJourney);
125
- //# sourceMappingURL=approval-journey.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-journey.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-journey.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,2EAAgE;AAChE,+CAA2C;AAC3C,+CAAqC;AAErC,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,kDAAqB,CAAA;IACrB,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,2DAA8B,CAAA;IAC9B,oDAAuB,CAAA;IACvB,sCAAS,CAAA;AACX,CAAC,EARW,yBAAyB,yCAAzB,yBAAyB,QAQpC;AAGM,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,wBAAU;IAE7C,SAAS,CAAU;IAGnB,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,qBAAqB,CAAU;IAI/B,kBAAkB,CAAqB;IAGvC,WAAW,CAAU;IAGrB,YAAY,CAAU;IAItB,SAAS,CAAQ;IAIjB,IAAI,CAAQ;IAGZ,KAAK,CAAU;IAOf,MAAM,CAA4B;IAGlC,aAAa,CAAU;IAGvB,gBAAgB,CAAU;IAG1B,UAAU,CAAQ;IAGlB,QAAQ,CAAU;IAGlB,QAAQ,CAAQ;IAGhB,gBAAgB,CAAU;CAC3B,CAAA;AA1DY,0CAAe;AAE1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC5C;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC5C;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC5C;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACxC;AAI/B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BACzB,6CAAiB;2DAAC;AAGvC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACxC;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACxC;AAItB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9C,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;8BACzB,kBAAI;kDAAC;AAIjB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9C,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC7B,kBAAI;6CAAC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC7B;AAOf;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,yBAAyB,CAAC,OAAO;KAC3C,CAAC;;+CACgC;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACzC;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yDAC5C;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrD,IAAI;mDAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC5C;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrD,IAAI;iDAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACzC;0BAzDf,eAAe;IAD3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACxC,eAAe,CA0D3B"}
@@ -1,10 +0,0 @@
1
- import { BaseEntity } from "./base.entity";
2
- import { ApprovalLevelEscalation } from "./approval-level-escalation.entity";
3
- import { User } from "./user.entity";
4
- export declare class ApprovalLevelEscalationUser extends BaseEntity {
5
- approval_level_escalation_id: number;
6
- approval_level_escalation: ApprovalLevelEscalation;
7
- approver_id: number;
8
- user: User;
9
- }
10
- //# sourceMappingURL=approval-level-escalation-user.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-escalation-user.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation-user.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,qBACa,2BAA4B,SAAQ,UAAU;IAEzD,4BAA4B,EAAE,MAAM,CAAC;IAMrC,yBAAyB,EAAE,uBAAuB,CAAC;IAGnD,WAAW,EAAE,MAAM,CAAC;IAIpB,IAAI,EAAE,IAAI,CAAC;CACZ"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalLevelEscalationUser = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const base_entity_1 = require("./base.entity");
15
- const approval_level_escalation_entity_1 = require("./approval-level-escalation.entity");
16
- const user_entity_1 = require("./user.entity");
17
- let ApprovalLevelEscalationUser = class ApprovalLevelEscalationUser extends base_entity_1.BaseEntity {
18
- approval_level_escalation_id;
19
- approval_level_escalation;
20
- approver_id;
21
- user;
22
- };
23
- exports.ApprovalLevelEscalationUser = ApprovalLevelEscalationUser;
24
- __decorate([
25
- (0, typeorm_1.Column)({ name: 'approval_level_escalation_id', nullable: true }),
26
- __metadata("design:type", Number)
27
- ], ApprovalLevelEscalationUser.prototype, "approval_level_escalation_id", void 0);
28
- __decorate([
29
- (0, typeorm_1.ManyToOne)(() => approval_level_escalation_entity_1.ApprovalLevelEscalation, (approval_level_escalation) => approval_level_escalation.approval_level_escalation_user, {
30
- onDelete: "CASCADE",
31
- }),
32
- (0, typeorm_1.JoinColumn)({ name: 'approval_level_escalation_id' }),
33
- __metadata("design:type", approval_level_escalation_entity_1.ApprovalLevelEscalation)
34
- ], ApprovalLevelEscalationUser.prototype, "approval_level_escalation", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)({ name: 'approver_id', nullable: true }),
37
- __metadata("design:type", Number)
38
- ], ApprovalLevelEscalationUser.prototype, "approver_id", void 0);
39
- __decorate([
40
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_escalation_user, { onDelete: "CASCADE" }),
41
- (0, typeorm_1.JoinColumn)({ name: 'approver_id' }),
42
- __metadata("design:type", user_entity_1.User)
43
- ], ApprovalLevelEscalationUser.prototype, "user", void 0);
44
- exports.ApprovalLevelEscalationUser = ApprovalLevelEscalationUser = __decorate([
45
- (0, typeorm_1.Entity)({ name: 'approval_level_escalation_users', schema: 'user' })
46
- ], ApprovalLevelEscalationUser);
47
- //# sourceMappingURL=approval-level-escalation-user.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-escalation-user.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,+CAA2C;AAC3C,yFAA6E;AAC7E,+CAAqC;AAG9B,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAU;IAEzD,4BAA4B,CAAS;IAMrC,yBAAyB,CAA0B;IAGnD,WAAW,CAAS;IAIpB,IAAI,CAAO;CACZ,CAAA;AAhBY,kEAA2B;AAEtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iFAC5B;AAMrC;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0DAAuB,EAAE,CAAC,yBAAyB,EAAE,EAAE,CAAC,yBAAyB,CAAC,8BAA8B,EAAE;QACjI,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;8BAC1B,0DAAuB;8EAAC;AAGnD;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEAC5B;AAIpB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7F,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC9B,kBAAI;yDAAC;sCAfA,2BAA2B;IADvC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iCAAiC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvD,2BAA2B,CAgBvC"}
@@ -1,14 +0,0 @@
1
- import { ApprovalLevel } from './approval-level.entity';
2
- import { User } from './user.entity';
3
- import { ApprovalLevelEscalationUser } from './approval-level-escalation-user.entity';
4
- import { BaseEntity } from './base.entity';
5
- export declare class ApprovalLevelEscalation extends BaseEntity {
6
- approval_level_id: number;
7
- approval_level: ApprovalLevel;
8
- escalation_approver_id: number;
9
- user: User;
10
- valid_till_hours: number;
11
- valid_till_minutes: number;
12
- approval_level_escalation_user: ApprovalLevelEscalationUser[];
13
- }
14
- //# sourceMappingURL=approval-level-escalation.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-escalation.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation.entity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBACa,uBAAwB,SAAQ,UAAU;IAErD,iBAAiB,EAAE,MAAM,CAAC;IAM1B,cAAc,EAAE,aAAa,CAAC;IAG9B,sBAAsB,EAAE,MAAM,CAAC;IAM/B,IAAI,EAAE,IAAI,CAAC;IAGX,gBAAgB,EAAE,MAAM,CAAC;IAGzB,kBAAkB,EAAE,MAAM,CAAC;IAO3B,8BAA8B,EAAE,2BAA2B,EAAE,CAAC;CAC/D"}
@@ -1,65 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalLevelEscalation = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const approval_level_entity_1 = require("./approval-level.entity");
15
- const user_entity_1 = require("./user.entity");
16
- const approval_level_escalation_user_entity_1 = require("./approval-level-escalation-user.entity");
17
- const base_entity_1 = require("./base.entity");
18
- let ApprovalLevelEscalation = class ApprovalLevelEscalation extends base_entity_1.BaseEntity {
19
- approval_level_id;
20
- approval_level;
21
- escalation_approver_id;
22
- user;
23
- valid_till_hours;
24
- valid_till_minutes;
25
- approval_level_escalation_user;
26
- };
27
- exports.ApprovalLevelEscalation = ApprovalLevelEscalation;
28
- __decorate([
29
- (0, typeorm_1.Column)({ name: 'approval_level_id', nullable: true }),
30
- __metadata("design:type", Number)
31
- ], ApprovalLevelEscalation.prototype, "approval_level_id", void 0);
32
- __decorate([
33
- (0, typeorm_1.ManyToOne)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_level_escalation, {
34
- onDelete: 'CASCADE',
35
- }),
36
- (0, typeorm_1.JoinColumn)({ name: 'approval_level_id', referencedColumnName: 'id' }),
37
- __metadata("design:type", approval_level_entity_1.ApprovalLevel)
38
- ], ApprovalLevelEscalation.prototype, "approval_level", void 0);
39
- __decorate([
40
- (0, typeorm_1.Column)({ name: 'escalation_approver_id', nullable: true }),
41
- __metadata("design:type", Number)
42
- ], ApprovalLevelEscalation.prototype, "escalation_approver_id", void 0);
43
- __decorate([
44
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_escalation, {
45
- onDelete: 'CASCADE',
46
- }),
47
- (0, typeorm_1.JoinColumn)({ name: 'escalation_approver_id' }),
48
- __metadata("design:type", user_entity_1.User)
49
- ], ApprovalLevelEscalation.prototype, "user", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ name: 'valid_till_hours', nullable: true }),
52
- __metadata("design:type", Number)
53
- ], ApprovalLevelEscalation.prototype, "valid_till_hours", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ name: 'valid_till_minutes', nullable: true }),
56
- __metadata("design:type", Number)
57
- ], ApprovalLevelEscalation.prototype, "valid_till_minutes", void 0);
58
- __decorate([
59
- (0, typeorm_1.OneToMany)(() => approval_level_escalation_user_entity_1.ApprovalLevelEscalationUser, (approval_level_escalation_user) => approval_level_escalation_user.approval_level_escalation),
60
- __metadata("design:type", Array)
61
- ], ApprovalLevelEscalation.prototype, "approval_level_escalation_user", void 0);
62
- exports.ApprovalLevelEscalation = ApprovalLevelEscalation = __decorate([
63
- (0, typeorm_1.Entity)({ name: 'approval_level_escalations', schema: 'user' })
64
- ], ApprovalLevelEscalation);
65
- //# sourceMappingURL=approval-level-escalation.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-escalation.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,mEAAwD;AACxD,+CAAqC;AACrC,mGAAsF;AACtF,+CAA2C;AAGpC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAU;IAErD,iBAAiB,CAAS;IAM1B,cAAc,CAAgB;IAG9B,sBAAsB,CAAS;IAM/B,IAAI,CAAO;IAGX,gBAAgB,CAAS;IAGzB,kBAAkB,CAAS;IAO3B,8BAA8B,CAAgC;CAC/D,CAAA;AA/BY,0DAAuB;AAElC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEAC5B;AAM1B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,yBAAyB,EAAE;QAC1E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACtD,qCAAa;+DAAC;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEAC5B;AAM/B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE;QAC/D,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;8BACzC,kBAAI;qDAAC;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEAC5B;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEAC5B;AAO3B;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,mEAA2B,EACjC,CAAC,8BAA8B,EAAE,EAAE,CACjC,8BAA8B,CAAC,yBAAyB,CAC3D;;+EAC6D;kCA9BnD,uBAAuB;IADnC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAClD,uBAAuB,CA+BnC"}
@@ -1,10 +0,0 @@
1
- import { BaseEntity } from './base.entity';
2
- import { ApprovalLevel } from './approval-level.entity';
3
- import { User } from './user.entity';
4
- export declare class ApprovalLevelUser extends BaseEntity {
5
- approval_level_id: number;
6
- approval_level: ApprovalLevel;
7
- approver_id: number;
8
- user: User;
9
- }
10
- //# sourceMappingURL=approval-level-user.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-user.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-user.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,qBACa,iBAAkB,SAAQ,UAAU;IAE/C,iBAAiB,EAAE,MAAM,CAAC;IAM1B,cAAc,EAAE,aAAa,CAAC;IAG9B,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,IAAI,CAAC;CACZ"}
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalLevelUser = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const base_entity_1 = require("./base.entity");
15
- const approval_level_entity_1 = require("./approval-level.entity");
16
- const user_entity_1 = require("./user.entity");
17
- let ApprovalLevelUser = class ApprovalLevelUser extends base_entity_1.BaseEntity {
18
- approval_level_id;
19
- approval_level;
20
- approver_id;
21
- user;
22
- };
23
- exports.ApprovalLevelUser = ApprovalLevelUser;
24
- __decorate([
25
- (0, typeorm_1.Column)({ name: 'approval_level_id', nullable: true }),
26
- __metadata("design:type", Number)
27
- ], ApprovalLevelUser.prototype, "approval_level_id", void 0);
28
- __decorate([
29
- (0, typeorm_1.ManyToOne)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_level_users, {
30
- onDelete: 'CASCADE',
31
- }),
32
- (0, typeorm_1.JoinColumn)({ name: 'approval_level_id' }),
33
- __metadata("design:type", approval_level_entity_1.ApprovalLevel)
34
- ], ApprovalLevelUser.prototype, "approval_level", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)({ name: 'approver_id', nullable: true }),
37
- __metadata("design:type", Number)
38
- ], ApprovalLevelUser.prototype, "approver_id", void 0);
39
- __decorate([
40
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_user, {
41
- onDelete: 'CASCADE',
42
- }),
43
- (0, typeorm_1.JoinColumn)({ name: 'approver_id' }),
44
- __metadata("design:type", user_entity_1.User)
45
- ], ApprovalLevelUser.prototype, "user", void 0);
46
- exports.ApprovalLevelUser = ApprovalLevelUser = __decorate([
47
- (0, typeorm_1.Entity)({ name: 'approval_level_users', schema: 'user' })
48
- ], ApprovalLevelUser);
49
- //# sourceMappingURL=approval-level-user.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level-user.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,+CAA2C;AAC3C,mEAAwD;AACxD,+CAAqC;AAG9B,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAU;IAE/C,iBAAiB,CAAS;IAM1B,cAAc,CAAgB;IAG9B,WAAW,CAAS;IAMpB,IAAI,CAAO;CACZ,CAAA;AAlBY,8CAAiB;AAE5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DAC5B;AAM1B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,EAAE;QACrE,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;8BAC1B,qCAAa;yDAAC;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC5B;AAMpB;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE;QACzD,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC9B,kBAAI;+CAAC;4BAjBA,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC5C,iBAAiB,CAkB7B"}
@@ -1,17 +0,0 @@
1
- import { ApprovalHierarchy } from './approval-hierarchy.entity';
2
- import { ApprovalCondition } from './approval-condition.entity';
3
- import { ApprovalLevelUser } from './approval-level-user.entity';
4
- import { ApprovalLevelEscalation } from './approval-level-escalation.entity';
5
- import { BaseEntity } from './base.entity';
6
- export declare class ApprovalLevel extends BaseEntity {
7
- approval_hierarchy_id: number;
8
- approval_hierarchy: ApprovalHierarchy;
9
- approval_condition_id: number;
10
- approval_condition: ApprovalCondition;
11
- level: string;
12
- valid_till_hours: number;
13
- valid_till_minutes: number;
14
- approval_level_escalation: ApprovalLevelEscalation[];
15
- approval_level_users: ApprovalLevelUser[];
16
- }
17
- //# sourceMappingURL=approval-level.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level.entity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBACa,aAAc,SAAQ,UAAU;IAE3C,qBAAqB,EAAE,MAAM,CAAC;IAM9B,kBAAkB,EAAE,iBAAiB,CAAC;IAGtC,qBAAqB,EAAE,MAAM,CAAC;IAM9B,kBAAkB,EAAE,iBAAiB,CAAC;IAGtC,KAAK,EAAE,MAAM,CAAC;IAGd,gBAAgB,EAAE,MAAM,CAAC;IAGzB,kBAAkB,EAAE,MAAM,CAAC;IAM3B,yBAAyB,EAAE,uBAAuB,EAAE,CAAC;IAGrD,oBAAoB,EAAE,iBAAiB,EAAE,CAAC;CAC3C"}
@@ -1,76 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ApprovalLevel = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const approval_hierarchy_entity_1 = require("./approval-hierarchy.entity");
15
- const approval_condition_entity_1 = require("./approval-condition.entity");
16
- const approval_level_user_entity_1 = require("./approval-level-user.entity");
17
- const approval_level_escalation_entity_1 = require("./approval-level-escalation.entity");
18
- const base_entity_1 = require("./base.entity");
19
- let ApprovalLevel = class ApprovalLevel extends base_entity_1.BaseEntity {
20
- approval_hierarchy_id;
21
- approval_hierarchy;
22
- approval_condition_id;
23
- approval_condition;
24
- level;
25
- valid_till_hours;
26
- valid_till_minutes;
27
- approval_level_escalation;
28
- approval_level_users;
29
- };
30
- exports.ApprovalLevel = ApprovalLevel;
31
- __decorate([
32
- (0, typeorm_1.Column)({ nullable: true }),
33
- __metadata("design:type", Number)
34
- ], ApprovalLevel.prototype, "approval_hierarchy_id", void 0);
35
- __decorate([
36
- (0, typeorm_1.ManyToOne)(() => approval_hierarchy_entity_1.ApprovalHierarchy, (hierarchy) => hierarchy.approval_level, {
37
- onDelete: 'CASCADE',
38
- }),
39
- (0, typeorm_1.JoinColumn)({ name: 'approval_hierarchy_id' }),
40
- __metadata("design:type", approval_hierarchy_entity_1.ApprovalHierarchy)
41
- ], ApprovalLevel.prototype, "approval_hierarchy", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ name: 'approval_condition_id', nullable: true }),
44
- __metadata("design:type", Number)
45
- ], ApprovalLevel.prototype, "approval_condition_id", void 0);
46
- __decorate([
47
- (0, typeorm_1.ManyToOne)(() => approval_condition_entity_1.ApprovalCondition, (condition) => condition.approval_level, {
48
- onDelete: 'CASCADE',
49
- }),
50
- (0, typeorm_1.JoinColumn)({ name: 'approval_condition_id' }),
51
- __metadata("design:type", approval_condition_entity_1.ApprovalCondition)
52
- ], ApprovalLevel.prototype, "approval_condition", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ name: 'level', nullable: true }),
55
- __metadata("design:type", String)
56
- ], ApprovalLevel.prototype, "level", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ name: 'valid_till_hours', nullable: true }),
59
- __metadata("design:type", Number)
60
- ], ApprovalLevel.prototype, "valid_till_hours", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)({ name: 'valid_till_minutes', nullable: true }),
63
- __metadata("design:type", Number)
64
- ], ApprovalLevel.prototype, "valid_till_minutes", void 0);
65
- __decorate([
66
- (0, typeorm_1.OneToMany)(() => approval_level_escalation_entity_1.ApprovalLevelEscalation, (escalation) => escalation.approval_level),
67
- __metadata("design:type", Array)
68
- ], ApprovalLevel.prototype, "approval_level_escalation", void 0);
69
- __decorate([
70
- (0, typeorm_1.OneToMany)(() => approval_level_user_entity_1.ApprovalLevelUser, (user) => user.approval_level),
71
- __metadata("design:type", Array)
72
- ], ApprovalLevel.prototype, "approval_level_users", void 0);
73
- exports.ApprovalLevel = ApprovalLevel = __decorate([
74
- (0, typeorm_1.Entity)({ name: 'approval_levels', schema: 'user' })
75
- ], ApprovalLevel);
76
- //# sourceMappingURL=approval-level.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-level.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,2EAAgE;AAChE,2EAAgE;AAChE,6EAAiE;AACjE,yFAA6E;AAC7E,+CAA2C;AAGpC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;IAE3C,qBAAqB,CAAS;IAM9B,kBAAkB,CAAoB;IAGtC,qBAAqB,CAAS;IAM9B,kBAAkB,CAAoB;IAGtC,KAAK,CAAS;IAGd,gBAAgB,CAAS;IAGzB,kBAAkB,CAAS;IAM3B,yBAAyB,CAA4B;IAGrD,oBAAoB,CAAsB;CAC3C,CAAA;AApCY,sCAAa;AAExB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACG;AAM9B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE;QAC3E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BAC1B,6CAAiB;yDAAC;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DAC5B;AAM9B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE;QAC3E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BAC1B,6CAAiB;yDAAC;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC5B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC5B;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAC5B;AAM3B;IAJC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,0DAAuB,EAC7B,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,cAAc,CAC1C;;gEACoD;AAGrD;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;;2DACxB;wBAnC/B,aAAa;IADzB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvC,aAAa,CAoCzB"}
@@ -1,12 +0,0 @@
1
- export declare abstract class BaseEntity {
2
- id: number;
3
- uuid: string;
4
- createdAt: Date | null;
5
- createdBy: number | null;
6
- updatedAt: Date | null;
7
- updatedBy: number | null;
8
- isDeleted: boolean;
9
- deletedBy: number | null;
10
- deletedAt: Date | null;
11
- }
12
- //# sourceMappingURL=base.entity.d.ts.map