@revisium/core 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1854) hide show
  1. package/package.json +6 -2
  2. package/dist/package.json +0 -125
  3. package/dist/prisma/migrations/000000000000_squashed_migrations/migration.sql +0 -298
  4. package/dist/prisma/migrations/migration_lock.toml +0 -3
  5. package/dist/prisma/schema.prisma +0 -208
  6. package/dist/prisma/seed/__generated__/seed.d.ts +0 -285
  7. package/dist/prisma/seed/__generated__/seed.js +0 -390
  8. package/dist/prisma/seed/__generated__/seed.js.map +0 -1
  9. package/dist/prisma/seed/generateSeedApi.d.ts +0 -1
  10. package/dist/prisma/seed/generateSeedApi.js +0 -17
  11. package/dist/prisma/seed/generateSeedApi.js.map +0 -1
  12. package/dist/prisma/seed/loadFromSeedApi.d.ts +0 -1
  13. package/dist/prisma/seed/loadFromSeedApi.js +0 -29
  14. package/dist/prisma/seed/loadFromSeedApi.js.map +0 -1
  15. package/dist/prisma/seed/permissions/add-user.json +0 -5
  16. package/dist/prisma/seed/permissions/create-branch.json +0 -5
  17. package/dist/prisma/seed/permissions/create-endpoint.json +0 -5
  18. package/dist/prisma/seed/permissions/create-project.json +0 -5
  19. package/dist/prisma/seed/permissions/create-revision.json +0 -5
  20. package/dist/prisma/seed/permissions/create-row.json +0 -5
  21. package/dist/prisma/seed/permissions/create-table.json +0 -5
  22. package/dist/prisma/seed/permissions/create-user.json +0 -5
  23. package/dist/prisma/seed/permissions/delete-endpoint.json +0 -5
  24. package/dist/prisma/seed/permissions/delete-organization.json +0 -5
  25. package/dist/prisma/seed/permissions/delete-project.json +0 -5
  26. package/dist/prisma/seed/permissions/delete-row.json +0 -5
  27. package/dist/prisma/seed/permissions/delete-table.json +0 -5
  28. package/dist/prisma/seed/permissions/delete-user.json +0 -5
  29. package/dist/prisma/seed/permissions/read-organization.json +0 -5
  30. package/dist/prisma/seed/permissions/read-project-private.json +0 -7
  31. package/dist/prisma/seed/permissions/read-project-public.json +0 -7
  32. package/dist/prisma/seed/permissions/read-user.json +0 -5
  33. package/dist/prisma/seed/permissions/revert-revision.json +0 -5
  34. package/dist/prisma/seed/permissions/update-organization.json +0 -5
  35. package/dist/prisma/seed/permissions/update-project.json +0 -5
  36. package/dist/prisma/seed/permissions/update-row.json +0 -5
  37. package/dist/prisma/seed/permissions/update-table.json +0 -5
  38. package/dist/prisma/seed/roles/developer.json +0 -21
  39. package/dist/prisma/seed/roles/editor.json +0 -15
  40. package/dist/prisma/seed/roles/guest.json +0 -8
  41. package/dist/prisma/seed/roles/organizationAdmin.json +0 -26
  42. package/dist/prisma/seed/roles/organizationOwner.json +0 -28
  43. package/dist/prisma/seed/roles/reader.json +0 -10
  44. package/dist/prisma/seed/roles/systemAdmin.json +0 -8
  45. package/dist/prisma/seed/roles/systemFullApiRead.json +0 -9
  46. package/dist/prisma/seed/roles/systemUser.json +0 -8
  47. package/dist/prisma/seed.d.ts +0 -1
  48. package/dist/prisma/seed.js +0 -140
  49. package/dist/prisma/seed.js.map +0 -1
  50. package/dist/src/__tests__/utils/createMocks.d.ts +0 -19
  51. package/dist/src/__tests__/utils/createMocks.js +0 -30
  52. package/dist/src/__tests__/utils/createMocks.js.map +0 -1
  53. package/dist/src/__tests__/utils/implementIdService.d.ts +0 -3
  54. package/dist/src/__tests__/utils/implementIdService.js +0 -9
  55. package/dist/src/__tests__/utils/implementIdService.js.map +0 -1
  56. package/dist/src/__tests__/utils/rowMocks.d.ts +0 -5
  57. package/dist/src/__tests__/utils/rowMocks.js +0 -12
  58. package/dist/src/__tests__/utils/rowMocks.js.map +0 -1
  59. package/dist/src/__tests__/utils/schema/schema.mocks.d.ts +0 -25
  60. package/dist/src/__tests__/utils/schema/schema.mocks.js +0 -61
  61. package/dist/src/__tests__/utils/schema/schema.mocks.js.map +0 -1
  62. package/dist/src/app.module.d.ts +0 -2
  63. package/dist/src/app.module.js +0 -21
  64. package/dist/src/app.module.js.map +0 -1
  65. package/dist/src/auth/auth.module.d.ts +0 -2
  66. package/dist/src/auth/auth.module.js +0 -51
  67. package/dist/src/auth/auth.module.js.map +0 -1
  68. package/dist/src/auth/auth.service.d.ts +0 -15
  69. package/dist/src/auth/auth.service.js +0 -42
  70. package/dist/src/auth/auth.service.js.map +0 -1
  71. package/dist/src/auth/casl-ability.factory.d.ts +0 -25
  72. package/dist/src/auth/casl-ability.factory.js +0 -45
  73. package/dist/src/auth/casl-ability.factory.js.map +0 -1
  74. package/dist/src/auth/commands/handlers/check-organization-permission.handler.d.ts +0 -12
  75. package/dist/src/auth/commands/handlers/check-organization-permission.handler.js +0 -67
  76. package/dist/src/auth/commands/handlers/check-organization-permission.handler.js.map +0 -1
  77. package/dist/src/auth/commands/handlers/check-project-permission.handler.d.ts +0 -17
  78. package/dist/src/auth/commands/handlers/check-project-permission.handler.js +0 -149
  79. package/dist/src/auth/commands/handlers/check-project-permission.handler.js.map +0 -1
  80. package/dist/src/auth/commands/handlers/check-system-permission.handler.d.ts +0 -11
  81. package/dist/src/auth/commands/handlers/check-system-permission.handler.js +0 -54
  82. package/dist/src/auth/commands/handlers/check-system-permission.handler.js.map +0 -1
  83. package/dist/src/auth/commands/handlers/confirm-email-code.handler.d.ts +0 -14
  84. package/dist/src/auth/commands/handlers/confirm-email-code.handler.js +0 -62
  85. package/dist/src/auth/commands/handlers/confirm-email-code.handler.js.map +0 -1
  86. package/dist/src/auth/commands/handlers/create-user.handler.d.ts +0 -15
  87. package/dist/src/auth/commands/handlers/create-user.handler.js +0 -103
  88. package/dist/src/auth/commands/handlers/create-user.handler.js.map +0 -1
  89. package/dist/src/auth/commands/handlers/index.d.ts +0 -9
  90. package/dist/src/auth/commands/handlers/index.js +0 -26
  91. package/dist/src/auth/commands/handlers/index.js.map +0 -1
  92. package/dist/src/auth/commands/handlers/login-github.handler.d.ts +0 -17
  93. package/dist/src/auth/commands/handlers/login-github.handler.js +0 -67
  94. package/dist/src/auth/commands/handlers/login-github.handler.js.map +0 -1
  95. package/dist/src/auth/commands/handlers/login-google.handler.d.ts +0 -17
  96. package/dist/src/auth/commands/handlers/login-google.handler.js +0 -67
  97. package/dist/src/auth/commands/handlers/login-google.handler.js.map +0 -1
  98. package/dist/src/auth/commands/handlers/login.handler.d.ts +0 -11
  99. package/dist/src/auth/commands/handlers/login.handler.js +0 -56
  100. package/dist/src/auth/commands/handlers/login.handler.js.map +0 -1
  101. package/dist/src/auth/commands/handlers/sign-up.handler.d.ts +0 -12
  102. package/dist/src/auth/commands/handlers/sign-up.handler.js +0 -48
  103. package/dist/src/auth/commands/handlers/sign-up.handler.js.map +0 -1
  104. package/dist/src/auth/commands/impl/check-organization-permission.command.d.ts +0 -13
  105. package/dist/src/auth/commands/impl/check-organization-permission.command.js +0 -10
  106. package/dist/src/auth/commands/impl/check-organization-permission.command.js.map +0 -1
  107. package/dist/src/auth/commands/impl/check-project-permission.command.d.ts +0 -25
  108. package/dist/src/auth/commands/impl/check-project-permission.command.js +0 -10
  109. package/dist/src/auth/commands/impl/check-project-permission.command.js.map +0 -1
  110. package/dist/src/auth/commands/impl/check-system-permission.command.d.ts +0 -12
  111. package/dist/src/auth/commands/impl/check-system-permission.command.js +0 -10
  112. package/dist/src/auth/commands/impl/check-system-permission.command.js.map +0 -1
  113. package/dist/src/auth/commands/impl/confirm-email-code.command.d.ts +0 -11
  114. package/dist/src/auth/commands/impl/confirm-email-code.command.js +0 -10
  115. package/dist/src/auth/commands/impl/confirm-email-code.command.js.map +0 -1
  116. package/dist/src/auth/commands/impl/create-user.command.d.ts +0 -20
  117. package/dist/src/auth/commands/impl/create-user.command.js +0 -10
  118. package/dist/src/auth/commands/impl/create-user.command.js.map +0 -1
  119. package/dist/src/auth/commands/impl/index.d.ts +0 -9
  120. package/dist/src/auth/commands/impl/index.js +0 -26
  121. package/dist/src/auth/commands/impl/index.js.map +0 -1
  122. package/dist/src/auth/commands/impl/login-github.command.d.ts +0 -11
  123. package/dist/src/auth/commands/impl/login-github.command.js +0 -10
  124. package/dist/src/auth/commands/impl/login-github.command.js.map +0 -1
  125. package/dist/src/auth/commands/impl/login-google.command.d.ts +0 -13
  126. package/dist/src/auth/commands/impl/login-google.command.js +0 -10
  127. package/dist/src/auth/commands/impl/login-google.command.js.map +0 -1
  128. package/dist/src/auth/commands/impl/login.command.d.ts +0 -13
  129. package/dist/src/auth/commands/impl/login.command.js +0 -10
  130. package/dist/src/auth/commands/impl/login.command.js.map +0 -1
  131. package/dist/src/auth/commands/impl/sign-up.command.d.ts +0 -13
  132. package/dist/src/auth/commands/impl/sign-up.command.js +0 -10
  133. package/dist/src/auth/commands/impl/sign-up.command.js.map +0 -1
  134. package/dist/src/auth/commands/index.d.ts +0 -2
  135. package/dist/src/auth/commands/index.js +0 -16
  136. package/dist/src/auth/commands/index.js.map +0 -1
  137. package/dist/src/auth/consts.d.ts +0 -50
  138. package/dist/src/auth/consts.js +0 -66
  139. package/dist/src/auth/consts.js.map +0 -1
  140. package/dist/src/auth/github-oauth.service.d.ts +0 -12
  141. package/dist/src/auth/github-oauth.service.js +0 -86
  142. package/dist/src/auth/github-oauth.service.js.map +0 -1
  143. package/dist/src/auth/google-oauth.service.d.ts +0 -13
  144. package/dist/src/auth/google-oauth.service.js +0 -57
  145. package/dist/src/auth/google-oauth.service.js.map +0 -1
  146. package/dist/src/auth/guards/base-persmission.guard.d.ts +0 -24
  147. package/dist/src/auth/guards/base-persmission.guard.js +0 -72
  148. package/dist/src/auth/guards/base-persmission.guard.js.map +0 -1
  149. package/dist/src/auth/guards/jwt/gql-jwt-auth-guard.service.d.ts +0 -6
  150. package/dist/src/auth/guards/jwt/gql-jwt-auth-guard.service.js +0 -23
  151. package/dist/src/auth/guards/jwt/gql-jwt-auth-guard.service.js.map +0 -1
  152. package/dist/src/auth/guards/jwt/http-jwt-auth-guard.service.d.ts +0 -4
  153. package/dist/src/auth/guards/jwt/http-jwt-auth-guard.service.js +0 -18
  154. package/dist/src/auth/guards/jwt/http-jwt-auth-guard.service.js.map +0 -1
  155. package/dist/src/auth/guards/jwt/local-auth.guard.d.ts +0 -4
  156. package/dist/src/auth/guards/jwt/local-auth.guard.js +0 -18
  157. package/dist/src/auth/guards/jwt/local-auth.guard.js.map +0 -1
  158. package/dist/src/auth/guards/jwt/optional-gql-jwt-auth-guard.service.d.ts +0 -7
  159. package/dist/src/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js +0 -29
  160. package/dist/src/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js.map +0 -1
  161. package/dist/src/auth/guards/jwt/optional-http-jwt-auth-guard.service.d.ts +0 -6
  162. package/dist/src/auth/guards/jwt/optional-http-jwt-auth-guard.service.js +0 -26
  163. package/dist/src/auth/guards/jwt/optional-http-jwt-auth-guard.service.js.map +0 -1
  164. package/dist/src/auth/guards/organization.guard.d.ts +0 -25
  165. package/dist/src/auth/guards/organization.guard.js +0 -31
  166. package/dist/src/auth/guards/organization.guard.js.map +0 -1
  167. package/dist/src/auth/guards/permission-params.d.ts +0 -7
  168. package/dist/src/auth/guards/permission-params.js +0 -8
  169. package/dist/src/auth/guards/permission-params.js.map +0 -1
  170. package/dist/src/auth/guards/project.guard.d.ts +0 -31
  171. package/dist/src/auth/guards/project.guard.js +0 -48
  172. package/dist/src/auth/guards/project.guard.js.map +0 -1
  173. package/dist/src/auth/guards/system.guard.d.ts +0 -20
  174. package/dist/src/auth/guards/system.guard.js +0 -26
  175. package/dist/src/auth/guards/system.guard.js.map +0 -1
  176. package/dist/src/auth/jwt-secret.service.d.ts +0 -7
  177. package/dist/src/auth/jwt-secret.service.js +0 -30
  178. package/dist/src/auth/jwt-secret.service.js.map +0 -1
  179. package/dist/src/auth/strategy/jwt.strategy.d.ts +0 -9
  180. package/dist/src/auth/strategy/jwt.strategy.js +0 -34
  181. package/dist/src/auth/strategy/jwt.strategy.js.map +0 -1
  182. package/dist/src/auth/types.d.ts +0 -8
  183. package/dist/src/auth/types.js +0 -3
  184. package/dist/src/auth/types.js.map +0 -1
  185. package/dist/src/auth/utils.d.ts +0 -2
  186. package/dist/src/auth/utils.js +0 -14
  187. package/dist/src/auth/utils.js.map +0 -1
  188. package/dist/src/branch/branch.module.d.ts +0 -2
  189. package/dist/src/branch/branch.module.js +0 -26
  190. package/dist/src/branch/branch.module.js.map +0 -1
  191. package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +0 -8
  192. package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.js +0 -32
  193. package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.js.map +0 -1
  194. package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +0 -32
  195. package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.js +0 -134
  196. package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +0 -1
  197. package/dist/src/branch/commands/handlers/index.d.ts +0 -3
  198. package/dist/src/branch/commands/handlers/index.js +0 -10
  199. package/dist/src/branch/commands/handlers/index.js.map +0 -1
  200. package/dist/src/branch/commands/impl/api-create-branch-by-revision-id.command.d.ts +0 -10
  201. package/dist/src/branch/commands/impl/api-create-branch-by-revision-id.command.js +0 -10
  202. package/dist/src/branch/commands/impl/api-create-branch-by-revision-id.command.js.map +0 -1
  203. package/dist/src/branch/commands/impl/create-branch-by-revision-id.command.d.ts +0 -10
  204. package/dist/src/branch/commands/impl/create-branch-by-revision-id.command.js +0 -10
  205. package/dist/src/branch/commands/impl/create-branch-by-revision-id.command.js.map +0 -1
  206. package/dist/src/branch/commands/impl/index.d.ts +0 -2
  207. package/dist/src/branch/commands/impl/index.js +0 -19
  208. package/dist/src/branch/commands/impl/index.js.map +0 -1
  209. package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.d.ts +0 -15
  210. package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.js +0 -29
  211. package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.js.map +0 -1
  212. package/dist/src/branch/quieries/handlers/get-branch.handler.d.ts +0 -14
  213. package/dist/src/branch/quieries/handlers/get-branch.handler.js +0 -49
  214. package/dist/src/branch/quieries/handlers/get-branch.handler.js.map +0 -1
  215. package/dist/src/branch/quieries/handlers/get-branches.handler.d.ts +0 -22
  216. package/dist/src/branch/quieries/handlers/get-branches.handler.js +0 -65
  217. package/dist/src/branch/quieries/handlers/get-branches.handler.js.map +0 -1
  218. package/dist/src/branch/quieries/handlers/get-draft-revision.handler.d.ts +0 -9
  219. package/dist/src/branch/quieries/handlers/get-draft-revision.handler.js +0 -31
  220. package/dist/src/branch/quieries/handlers/get-draft-revision.handler.js.map +0 -1
  221. package/dist/src/branch/quieries/handlers/get-head-revision.handler.d.ts +0 -9
  222. package/dist/src/branch/quieries/handlers/get-head-revision.handler.js +0 -31
  223. package/dist/src/branch/quieries/handlers/get-head-revision.handler.js.map +0 -1
  224. package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.d.ts +0 -14
  225. package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.js +0 -31
  226. package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.js.map +0 -1
  227. package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +0 -22
  228. package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.js +0 -65
  229. package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.js.map +0 -1
  230. package/dist/src/branch/quieries/handlers/get-start-revision.handler.d.ts +0 -9
  231. package/dist/src/branch/quieries/handlers/get-start-revision.handler.js +0 -31
  232. package/dist/src/branch/quieries/handlers/get-start-revision.handler.js.map +0 -1
  233. package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +0 -13
  234. package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.js +0 -50
  235. package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.js.map +0 -1
  236. package/dist/src/branch/quieries/handlers/index.d.ts +0 -11
  237. package/dist/src/branch/quieries/handlers/index.js +0 -26
  238. package/dist/src/branch/quieries/handlers/index.js.map +0 -1
  239. package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +0 -16
  240. package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js +0 -53
  241. package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js.map +0 -1
  242. package/dist/src/branch/quieries/impl/get-branch-by-id.query.d.ts +0 -4
  243. package/dist/src/branch/quieries/impl/get-branch-by-id.query.js +0 -10
  244. package/dist/src/branch/quieries/impl/get-branch-by-id.query.js.map +0 -1
  245. package/dist/src/branch/quieries/impl/get-branch.query.d.ts +0 -12
  246. package/dist/src/branch/quieries/impl/get-branch.query.js +0 -10
  247. package/dist/src/branch/quieries/impl/get-branch.query.js.map +0 -1
  248. package/dist/src/branch/quieries/impl/get-branches.query.d.ts +0 -14
  249. package/dist/src/branch/quieries/impl/get-branches.query.js +0 -10
  250. package/dist/src/branch/quieries/impl/get-branches.query.js.map +0 -1
  251. package/dist/src/branch/quieries/impl/get-draft-revision.query.d.ts +0 -4
  252. package/dist/src/branch/quieries/impl/get-draft-revision.query.js +0 -10
  253. package/dist/src/branch/quieries/impl/get-draft-revision.query.js.map +0 -1
  254. package/dist/src/branch/quieries/impl/get-head-revision.query.d.ts +0 -4
  255. package/dist/src/branch/quieries/impl/get-head-revision.query.js +0 -10
  256. package/dist/src/branch/quieries/impl/get-head-revision.query.js.map +0 -1
  257. package/dist/src/branch/quieries/impl/get-project-by-branch.query.d.ts +0 -4
  258. package/dist/src/branch/quieries/impl/get-project-by-branch.query.js +0 -10
  259. package/dist/src/branch/quieries/impl/get-project-by-branch.query.js.map +0 -1
  260. package/dist/src/branch/quieries/impl/get-revisions-by-branch-id.query.d.ts +0 -16
  261. package/dist/src/branch/quieries/impl/get-revisions-by-branch-id.query.js +0 -10
  262. package/dist/src/branch/quieries/impl/get-revisions-by-branch-id.query.js.map +0 -1
  263. package/dist/src/branch/quieries/impl/get-start-revision.query.d.ts +0 -4
  264. package/dist/src/branch/quieries/impl/get-start-revision.query.js +0 -10
  265. package/dist/src/branch/quieries/impl/get-start-revision.query.js.map +0 -1
  266. package/dist/src/branch/quieries/impl/get-touched-by-branch-id.query.d.ts +0 -4
  267. package/dist/src/branch/quieries/impl/get-touched-by-branch-id.query.js +0 -10
  268. package/dist/src/branch/quieries/impl/get-touched-by-branch-id.query.js.map +0 -1
  269. package/dist/src/branch/quieries/impl/index.d.ts +0 -10
  270. package/dist/src/branch/quieries/impl/index.js +0 -27
  271. package/dist/src/branch/quieries/impl/index.js.map +0 -1
  272. package/dist/src/branch/quieries/impl/resolve-parent-branch-by-branch.query.d.ts +0 -8
  273. package/dist/src/branch/quieries/impl/resolve-parent-branch-by-branch.query.js +0 -10
  274. package/dist/src/branch/quieries/impl/resolve-parent-branch-by-branch.query.js.map +0 -1
  275. package/dist/src/branch/quieries/types/get-branch-by-id.types.d.ts +0 -2
  276. package/dist/src/branch/quieries/types/get-branch-by-id.types.js +0 -3
  277. package/dist/src/branch/quieries/types/get-branch-by-id.types.js.map +0 -1
  278. package/dist/src/branch/quieries/types/get-branch.types.d.ts +0 -2
  279. package/dist/src/branch/quieries/types/get-branch.types.js +0 -3
  280. package/dist/src/branch/quieries/types/get-branch.types.js.map +0 -1
  281. package/dist/src/branch/quieries/types/get-draft-revision.types.d.ts +0 -2
  282. package/dist/src/branch/quieries/types/get-draft-revision.types.js +0 -3
  283. package/dist/src/branch/quieries/types/get-draft-revision.types.js.map +0 -1
  284. package/dist/src/branch/quieries/types/get-head-revision.types.d.ts +0 -2
  285. package/dist/src/branch/quieries/types/get-head-revision.types.js +0 -3
  286. package/dist/src/branch/quieries/types/get-head-revision.types.js.map +0 -1
  287. package/dist/src/branch/quieries/types/get-start-revision.types.d.ts +0 -2
  288. package/dist/src/branch/quieries/types/get-start-revision.types.js +0 -3
  289. package/dist/src/branch/quieries/types/get-start-revision.types.js.map +0 -1
  290. package/dist/src/branch/quieries/types/index.d.ts +0 -4
  291. package/dist/src/branch/quieries/types/index.js +0 -3
  292. package/dist/src/branch/quieries/types/index.js.map +0 -1
  293. package/dist/src/clean/clean.module.d.ts +0 -2
  294. package/dist/src/clean/clean.module.js +0 -24
  295. package/dist/src/clean/clean.module.js.map +0 -1
  296. package/dist/src/clean/clean.service.d.ts +0 -7
  297. package/dist/src/clean/clean.service.js +0 -46
  298. package/dist/src/clean/clean.service.js.map +0 -1
  299. package/dist/src/clean/commands/handlers/clean-rows.handler.d.ts +0 -8
  300. package/dist/src/clean/commands/handlers/clean-rows.handler.js +0 -35
  301. package/dist/src/clean/commands/handlers/clean-rows.handler.js.map +0 -1
  302. package/dist/src/clean/commands/handlers/clean-tables.handler.d.ts +0 -8
  303. package/dist/src/clean/commands/handlers/clean-tables.handler.js +0 -35
  304. package/dist/src/clean/commands/handlers/clean-tables.handler.js.map +0 -1
  305. package/dist/src/clean/commands/handlers/index.d.ts +0 -3
  306. package/dist/src/clean/commands/handlers/index.js +0 -7
  307. package/dist/src/clean/commands/handlers/index.js.map +0 -1
  308. package/dist/src/clean/commands/impl/clean-rows.command.d.ts +0 -2
  309. package/dist/src/clean/commands/impl/clean-rows.command.js +0 -7
  310. package/dist/src/clean/commands/impl/clean-rows.command.js.map +0 -1
  311. package/dist/src/clean/commands/impl/clean-tables.command.d.ts +0 -2
  312. package/dist/src/clean/commands/impl/clean-tables.command.js +0 -7
  313. package/dist/src/clean/commands/impl/clean-tables.command.js.map +0 -1
  314. package/dist/src/configuration/configuration.module.d.ts +0 -2
  315. package/dist/src/configuration/configuration.module.js +0 -24
  316. package/dist/src/configuration/configuration.module.js.map +0 -1
  317. package/dist/src/configuration/queries/handlers/get-configuration.handler.d.ts +0 -13
  318. package/dist/src/configuration/queries/handlers/get-configuration.handler.js +0 -48
  319. package/dist/src/configuration/queries/handlers/get-configuration.handler.js.map +0 -1
  320. package/dist/src/configuration/queries/handlers/index.d.ts +0 -1
  321. package/dist/src/configuration/queries/handlers/index.js +0 -18
  322. package/dist/src/configuration/queries/handlers/index.js.map +0 -1
  323. package/dist/src/configuration/queries/impl/get-configuration.query.d.ts +0 -14
  324. package/dist/src/configuration/queries/impl/get-configuration.query.js +0 -8
  325. package/dist/src/configuration/queries/impl/get-configuration.query.js.map +0 -1
  326. package/dist/src/configuration/queries/impl/index.d.ts +0 -1
  327. package/dist/src/configuration/queries/impl/index.js +0 -18
  328. package/dist/src/configuration/queries/impl/index.js.map +0 -1
  329. package/dist/src/configuration/queries/index.d.ts +0 -2
  330. package/dist/src/configuration/queries/index.js +0 -6
  331. package/dist/src/configuration/queries/index.js.map +0 -1
  332. package/dist/src/core/core.module.d.ts +0 -2
  333. package/dist/src/core/core.module.js +0 -67
  334. package/dist/src/core/core.module.js.map +0 -1
  335. package/dist/src/database/database.module.d.ts +0 -2
  336. package/dist/src/database/database.module.js +0 -24
  337. package/dist/src/database/database.module.js.map +0 -1
  338. package/dist/src/database/id.service.d.ts +0 -3
  339. package/dist/src/database/id.service.js +0 -21
  340. package/dist/src/database/id.service.js.map +0 -1
  341. package/dist/src/database/prisma.service.d.ts +0 -5
  342. package/dist/src/database/prisma.service.js +0 -21
  343. package/dist/src/database/prisma.service.js.map +0 -1
  344. package/dist/src/database/transaction-prisma.service.d.ts +0 -14
  345. package/dist/src/database/transaction-prisma.service.js +0 -39
  346. package/dist/src/database/transaction-prisma.service.js.map +0 -1
  347. package/dist/src/draft/commands/handlers/api-create-revision.handler.d.ts +0 -13
  348. package/dist/src/draft/commands/handlers/api-create-revision.handler.js +0 -45
  349. package/dist/src/draft/commands/handlers/api-create-revision.handler.js.map +0 -1
  350. package/dist/src/draft/commands/handlers/api-create-row.handler.d.ts +0 -13
  351. package/dist/src/draft/commands/handlers/api-create-row.handler.js +0 -59
  352. package/dist/src/draft/commands/handlers/api-create-row.handler.js.map +0 -1
  353. package/dist/src/draft/commands/handlers/api-create-table.handler.d.ts +0 -13
  354. package/dist/src/draft/commands/handlers/api-create-table.handler.js +0 -45
  355. package/dist/src/draft/commands/handlers/api-create-table.handler.js.map +0 -1
  356. package/dist/src/draft/commands/handlers/api-remove-row.handler.d.ts +0 -13
  357. package/dist/src/draft/commands/handlers/api-remove-row.handler.js +0 -59
  358. package/dist/src/draft/commands/handlers/api-remove-row.handler.js.map +0 -1
  359. package/dist/src/draft/commands/handlers/api-remove-table.handler.d.ts +0 -13
  360. package/dist/src/draft/commands/handlers/api-remove-table.handler.js +0 -43
  361. package/dist/src/draft/commands/handlers/api-remove-table.handler.js.map +0 -1
  362. package/dist/src/draft/commands/handlers/api-revert-changes.handler.d.ts +0 -12
  363. package/dist/src/draft/commands/handlers/api-revert-changes.handler.js +0 -40
  364. package/dist/src/draft/commands/handlers/api-revert-changes.handler.js.map +0 -1
  365. package/dist/src/draft/commands/handlers/api-update-row.handler.d.ts +0 -13
  366. package/dist/src/draft/commands/handlers/api-update-row.handler.js +0 -57
  367. package/dist/src/draft/commands/handlers/api-update-row.handler.js.map +0 -1
  368. package/dist/src/draft/commands/handlers/api-update-table.handler.d.ts +0 -13
  369. package/dist/src/draft/commands/handlers/api-update-table.handler.js +0 -45
  370. package/dist/src/draft/commands/handlers/api-update-table.handler.js.map +0 -1
  371. package/dist/src/draft/commands/handlers/create-revision.handler.d.ts +0 -24
  372. package/dist/src/draft/commands/handlers/create-revision.handler.js +0 -140
  373. package/dist/src/draft/commands/handlers/create-revision.handler.js.map +0 -1
  374. package/dist/src/draft/commands/handlers/create-row.handler.d.ts +0 -29
  375. package/dist/src/draft/commands/handlers/create-row.handler.js +0 -132
  376. package/dist/src/draft/commands/handlers/create-row.handler.js.map +0 -1
  377. package/dist/src/draft/commands/handlers/create-table.handler.d.ts +0 -30
  378. package/dist/src/draft/commands/handlers/create-table.handler.js +0 -123
  379. package/dist/src/draft/commands/handlers/create-table.handler.js.map +0 -1
  380. package/dist/src/draft/commands/handlers/index.d.ts +0 -25
  381. package/dist/src/draft/commands/handlers/index.js +0 -54
  382. package/dist/src/draft/commands/handlers/index.js.map +0 -1
  383. package/dist/src/draft/commands/handlers/remove-row.handler.d.ts +0 -33
  384. package/dist/src/draft/commands/handlers/remove-row.handler.js +0 -232
  385. package/dist/src/draft/commands/handlers/remove-row.handler.js.map +0 -1
  386. package/dist/src/draft/commands/handlers/remove-table.handler.d.ts +0 -33
  387. package/dist/src/draft/commands/handlers/remove-table.handler.js +0 -178
  388. package/dist/src/draft/commands/handlers/remove-table.handler.js.map +0 -1
  389. package/dist/src/draft/commands/handlers/revert-changes.handler.d.ts +0 -17
  390. package/dist/src/draft/commands/handlers/revert-changes.handler.js +0 -96
  391. package/dist/src/draft/commands/handlers/revert-changes.handler.js.map +0 -1
  392. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.d.ts +0 -26
  393. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js +0 -115
  394. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js.map +0 -1
  395. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.d.ts +0 -26
  396. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js +0 -145
  397. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js.map +0 -1
  398. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.d.ts +0 -24
  399. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js +0 -113
  400. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js.map +0 -1
  401. package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +0 -13
  402. package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.js +0 -62
  403. package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.js.map +0 -1
  404. package/dist/src/draft/commands/handlers/transactional/validate-data.handler.d.ts +0 -14
  405. package/dist/src/draft/commands/handlers/transactional/validate-data.handler.js +0 -67
  406. package/dist/src/draft/commands/handlers/transactional/validate-data.handler.js.map +0 -1
  407. package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +0 -10
  408. package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.js +0 -35
  409. package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.js.map +0 -1
  410. package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.d.ts +0 -14
  411. package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.js +0 -51
  412. package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.js.map +0 -1
  413. package/dist/src/draft/commands/handlers/update-row.handler.d.ts +0 -18
  414. package/dist/src/draft/commands/handlers/update-row.handler.js +0 -75
  415. package/dist/src/draft/commands/handlers/update-row.handler.js.map +0 -1
  416. package/dist/src/draft/commands/handlers/update-rows.handler.d.ts +0 -17
  417. package/dist/src/draft/commands/handlers/update-rows.handler.js +0 -74
  418. package/dist/src/draft/commands/handlers/update-rows.handler.js.map +0 -1
  419. package/dist/src/draft/commands/handlers/update-table.handler.d.ts +0 -29
  420. package/dist/src/draft/commands/handlers/update-table.handler.js +0 -166
  421. package/dist/src/draft/commands/handlers/update-table.handler.js.map +0 -1
  422. package/dist/src/draft/commands/impl/api-create-revision.command.d.ts +0 -14
  423. package/dist/src/draft/commands/impl/api-create-revision.command.js +0 -10
  424. package/dist/src/draft/commands/impl/api-create-revision.command.js.map +0 -1
  425. package/dist/src/draft/commands/impl/api-create-row.command.d.ts +0 -17
  426. package/dist/src/draft/commands/impl/api-create-row.command.js +0 -10
  427. package/dist/src/draft/commands/impl/api-create-row.command.js.map +0 -1
  428. package/dist/src/draft/commands/impl/api-create-table.command.d.ts +0 -13
  429. package/dist/src/draft/commands/impl/api-create-table.command.js +0 -10
  430. package/dist/src/draft/commands/impl/api-create-table.command.js.map +0 -1
  431. package/dist/src/draft/commands/impl/api-remove-row.command.d.ts +0 -14
  432. package/dist/src/draft/commands/impl/api-remove-row.command.js +0 -10
  433. package/dist/src/draft/commands/impl/api-remove-row.command.js.map +0 -1
  434. package/dist/src/draft/commands/impl/api-remove-table.command.d.ts +0 -10
  435. package/dist/src/draft/commands/impl/api-remove-table.command.js +0 -10
  436. package/dist/src/draft/commands/impl/api-remove-table.command.js.map +0 -1
  437. package/dist/src/draft/commands/impl/api-revert-changes.command.d.ts +0 -12
  438. package/dist/src/draft/commands/impl/api-revert-changes.command.js +0 -10
  439. package/dist/src/draft/commands/impl/api-revert-changes.command.js.map +0 -1
  440. package/dist/src/draft/commands/impl/api-update-row.command.d.ts +0 -17
  441. package/dist/src/draft/commands/impl/api-update-row.command.js +0 -10
  442. package/dist/src/draft/commands/impl/api-update-row.command.js.map +0 -1
  443. package/dist/src/draft/commands/impl/api-update-table.command.d.ts +0 -13
  444. package/dist/src/draft/commands/impl/api-update-table.command.js +0 -10
  445. package/dist/src/draft/commands/impl/api-update-table.command.js.map +0 -1
  446. package/dist/src/draft/commands/impl/create-revision.command.d.ts +0 -14
  447. package/dist/src/draft/commands/impl/create-revision.command.js +0 -10
  448. package/dist/src/draft/commands/impl/create-revision.command.js.map +0 -1
  449. package/dist/src/draft/commands/impl/create-row.command.d.ts +0 -17
  450. package/dist/src/draft/commands/impl/create-row.command.js +0 -10
  451. package/dist/src/draft/commands/impl/create-row.command.js.map +0 -1
  452. package/dist/src/draft/commands/impl/create-table.command.d.ts +0 -13
  453. package/dist/src/draft/commands/impl/create-table.command.js +0 -10
  454. package/dist/src/draft/commands/impl/create-table.command.js.map +0 -1
  455. package/dist/src/draft/commands/impl/remove-row.command.d.ts +0 -14
  456. package/dist/src/draft/commands/impl/remove-row.command.js +0 -10
  457. package/dist/src/draft/commands/impl/remove-row.command.js.map +0 -1
  458. package/dist/src/draft/commands/impl/remove-table.command.d.ts +0 -10
  459. package/dist/src/draft/commands/impl/remove-table.command.js +0 -10
  460. package/dist/src/draft/commands/impl/remove-table.command.js.map +0 -1
  461. package/dist/src/draft/commands/impl/revert-changes.command.d.ts +0 -12
  462. package/dist/src/draft/commands/impl/revert-changes.command.js +0 -10
  463. package/dist/src/draft/commands/impl/revert-changes.command.js.map +0 -1
  464. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-row.command.d.ts +0 -4
  465. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-row.command.js +0 -10
  466. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-row.command.js.map +0 -1
  467. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-rows.command.d.ts +0 -4
  468. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-rows.command.js +0 -10
  469. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-rows.command.js.map +0 -1
  470. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-table.command.d.ts +0 -4
  471. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-table.command.js +0 -10
  472. package/dist/src/draft/commands/impl/transactional/get-or-create-draft-table.command.js.map +0 -1
  473. package/dist/src/draft/commands/impl/transactional/resolve-draft-revision.command.d.ts +0 -4
  474. package/dist/src/draft/commands/impl/transactional/resolve-draft-revision.command.js +0 -10
  475. package/dist/src/draft/commands/impl/transactional/resolve-draft-revision.command.js.map +0 -1
  476. package/dist/src/draft/commands/impl/transactional/validate-data.command.d.ts +0 -24
  477. package/dist/src/draft/commands/impl/transactional/validate-data.command.js +0 -10
  478. package/dist/src/draft/commands/impl/transactional/validate-data.command.js.map +0 -1
  479. package/dist/src/draft/commands/impl/transactional/validate-not-system-table.command.d.ts +0 -4
  480. package/dist/src/draft/commands/impl/transactional/validate-not-system-table.command.js +0 -10
  481. package/dist/src/draft/commands/impl/transactional/validate-not-system-table.command.js.map +0 -1
  482. package/dist/src/draft/commands/impl/transactional/validate-schema.command.d.ts +0 -5
  483. package/dist/src/draft/commands/impl/transactional/validate-schema.command.js +0 -10
  484. package/dist/src/draft/commands/impl/transactional/validate-schema.command.js.map +0 -1
  485. package/dist/src/draft/commands/impl/update-row.command.d.ts +0 -17
  486. package/dist/src/draft/commands/impl/update-row.command.js +0 -10
  487. package/dist/src/draft/commands/impl/update-row.command.js.map +0 -1
  488. package/dist/src/draft/commands/impl/update-rows.command.d.ts +0 -22
  489. package/dist/src/draft/commands/impl/update-rows.command.js +0 -10
  490. package/dist/src/draft/commands/impl/update-rows.command.js.map +0 -1
  491. package/dist/src/draft/commands/impl/update-table.command.d.ts +0 -13
  492. package/dist/src/draft/commands/impl/update-table.command.js +0 -10
  493. package/dist/src/draft/commands/impl/update-table.command.js.map +0 -1
  494. package/dist/src/draft/commands/types/api-create-row.handler.types.d.ts +0 -7
  495. package/dist/src/draft/commands/types/api-create-row.handler.types.js +0 -3
  496. package/dist/src/draft/commands/types/api-create-row.handler.types.js.map +0 -1
  497. package/dist/src/draft/commands/types/api-create-table.handler.types.d.ts +0 -5
  498. package/dist/src/draft/commands/types/api-create-table.handler.types.js +0 -3
  499. package/dist/src/draft/commands/types/api-create-table.handler.types.js.map +0 -1
  500. package/dist/src/draft/commands/types/api-remove-row.handler.types.d.ts +0 -7
  501. package/dist/src/draft/commands/types/api-remove-row.handler.types.js +0 -3
  502. package/dist/src/draft/commands/types/api-remove-row.handler.types.js.map +0 -1
  503. package/dist/src/draft/commands/types/api-remove-table.handler.types.d.ts +0 -4
  504. package/dist/src/draft/commands/types/api-remove-table.handler.types.js +0 -3
  505. package/dist/src/draft/commands/types/api-remove-table.handler.types.js.map +0 -1
  506. package/dist/src/draft/commands/types/api-update-row.handler.types.d.ts +0 -8
  507. package/dist/src/draft/commands/types/api-update-row.handler.types.js +0 -3
  508. package/dist/src/draft/commands/types/api-update-row.handler.types.js.map +0 -1
  509. package/dist/src/draft/commands/types/api-update-table.handler.types.d.ts +0 -5
  510. package/dist/src/draft/commands/types/api-update-table.handler.types.js +0 -3
  511. package/dist/src/draft/commands/types/api-update-table.handler.types.js.map +0 -1
  512. package/dist/src/draft/commands/types/create-revision.handler.types.d.ts +0 -5
  513. package/dist/src/draft/commands/types/create-revision.handler.types.js +0 -3
  514. package/dist/src/draft/commands/types/create-revision.handler.types.js.map +0 -1
  515. package/dist/src/draft/commands/types/create-row.handler.types.d.ts +0 -5
  516. package/dist/src/draft/commands/types/create-row.handler.types.js +0 -3
  517. package/dist/src/draft/commands/types/create-row.handler.types.js.map +0 -1
  518. package/dist/src/draft/commands/types/create-table.handler.types.d.ts +0 -5
  519. package/dist/src/draft/commands/types/create-table.handler.types.js +0 -3
  520. package/dist/src/draft/commands/types/create-table.handler.types.js.map +0 -1
  521. package/dist/src/draft/commands/types/remove-row.handler.types.d.ts +0 -5
  522. package/dist/src/draft/commands/types/remove-row.handler.types.js +0 -3
  523. package/dist/src/draft/commands/types/remove-row.handler.types.js.map +0 -1
  524. package/dist/src/draft/commands/types/remove-table.handler.types.d.ts +0 -4
  525. package/dist/src/draft/commands/types/remove-table.handler.types.js +0 -3
  526. package/dist/src/draft/commands/types/remove-table.handler.types.js.map +0 -1
  527. package/dist/src/draft/commands/types/revert-changes.handler.types.d.ts +0 -4
  528. package/dist/src/draft/commands/types/revert-changes.handler.types.js +0 -3
  529. package/dist/src/draft/commands/types/revert-changes.handler.types.js.map +0 -1
  530. package/dist/src/draft/commands/types/update-row.handler.types.d.ts +0 -6
  531. package/dist/src/draft/commands/types/update-row.handler.types.js +0 -3
  532. package/dist/src/draft/commands/types/update-row.handler.types.js.map +0 -1
  533. package/dist/src/draft/commands/types/update-table.handler.types.d.ts +0 -4
  534. package/dist/src/draft/commands/types/update-table.handler.types.js +0 -3
  535. package/dist/src/draft/commands/types/update-table.handler.types.js.map +0 -1
  536. package/dist/src/draft/draft-context.service.d.ts +0 -25
  537. package/dist/src/draft/draft-context.service.js +0 -75
  538. package/dist/src/draft/draft-context.service.js.map +0 -1
  539. package/dist/src/draft/draft-request-dto/draft-revision-request.dto.d.ts +0 -14
  540. package/dist/src/draft/draft-request-dto/draft-revision-request.dto.js +0 -52
  541. package/dist/src/draft/draft-request-dto/draft-revision-request.dto.js.map +0 -1
  542. package/dist/src/draft/draft-request-dto/index.d.ts +0 -5
  543. package/dist/src/draft/draft-request-dto/index.js +0 -14
  544. package/dist/src/draft/draft-request-dto/index.js.map +0 -1
  545. package/dist/src/draft/draft-request-dto/row-request.dto.d.ts +0 -11
  546. package/dist/src/draft/draft-request-dto/row-request.dto.js +0 -43
  547. package/dist/src/draft/draft-request-dto/row-request.dto.js.map +0 -1
  548. package/dist/src/draft/draft-request-dto/rows-request.dto.d.ts +0 -13
  549. package/dist/src/draft/draft-request-dto/rows-request.dto.js +0 -31
  550. package/dist/src/draft/draft-request-dto/rows-request.dto.js.map +0 -1
  551. package/dist/src/draft/draft-request-dto/table-request.dto.d.ts +0 -11
  552. package/dist/src/draft/draft-request-dto/table-request.dto.js +0 -43
  553. package/dist/src/draft/draft-request-dto/table-request.dto.js.map +0 -1
  554. package/dist/src/draft/draft.handler.d.ts +0 -13
  555. package/dist/src/draft/draft.handler.js +0 -23
  556. package/dist/src/draft/draft.handler.js.map +0 -1
  557. package/dist/src/draft/draft.module.d.ts +0 -2
  558. package/dist/src/draft/draft.module.js +0 -44
  559. package/dist/src/draft/draft.module.js.map +0 -1
  560. package/dist/src/draft/draft.transactional.commands.d.ts +0 -23
  561. package/dist/src/draft/draft.transactional.commands.js +0 -53
  562. package/dist/src/draft/draft.transactional.commands.js.map +0 -1
  563. package/dist/src/draft/json-schema-validator.service.d.ts +0 -24
  564. package/dist/src/draft/json-schema-validator.service.js +0 -76
  565. package/dist/src/draft/json-schema-validator.service.js.map +0 -1
  566. package/dist/src/draft/session-changelog.service.d.ts +0 -27
  567. package/dist/src/draft/session-changelog.service.js +0 -124
  568. package/dist/src/draft/session-changelog.service.js.map +0 -1
  569. package/dist/src/email/email.module.d.ts +0 -2
  570. package/dist/src/email/email.module.js +0 -25
  571. package/dist/src/email/email.module.js.map +0 -1
  572. package/dist/src/email/email.service.d.ts +0 -14
  573. package/dist/src/email/email.service.js +0 -55
  574. package/dist/src/email/email.service.js.map +0 -1
  575. package/dist/src/email/templates/registration.hbs +0 -286
  576. package/dist/src/email/templates.service.d.ts +0 -8
  577. package/dist/src/email/templates.service.js +0 -53
  578. package/dist/src/email/templates.service.js.map +0 -1
  579. package/dist/src/email/transporter.service.d.ts +0 -16
  580. package/dist/src/email/transporter.service.js +0 -49
  581. package/dist/src/email/transporter.service.js.map +0 -1
  582. package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.d.ts +0 -8
  583. package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.js +0 -32
  584. package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.js.map +0 -1
  585. package/dist/src/endpoint/commands/handlers/create-endpoint.handler.d.ts +0 -13
  586. package/dist/src/endpoint/commands/handlers/create-endpoint.handler.js +0 -61
  587. package/dist/src/endpoint/commands/handlers/create-endpoint.handler.js.map +0 -1
  588. package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.d.ts +0 -12
  589. package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.js +0 -50
  590. package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.js.map +0 -1
  591. package/dist/src/endpoint/commands/handlers/index.d.ts +0 -4
  592. package/dist/src/endpoint/commands/handlers/index.js +0 -12
  593. package/dist/src/endpoint/commands/handlers/index.js.map +0 -1
  594. package/dist/src/endpoint/commands/impl/api-create-endpoint.command.d.ts +0 -11
  595. package/dist/src/endpoint/commands/impl/api-create-endpoint.command.js +0 -10
  596. package/dist/src/endpoint/commands/impl/api-create-endpoint.command.js.map +0 -1
  597. package/dist/src/endpoint/commands/impl/create-endpoint.command.d.ts +0 -11
  598. package/dist/src/endpoint/commands/impl/create-endpoint.command.js +0 -10
  599. package/dist/src/endpoint/commands/impl/create-endpoint.command.js.map +0 -1
  600. package/dist/src/endpoint/commands/impl/delete-endpoint.command.d.ts +0 -8
  601. package/dist/src/endpoint/commands/impl/delete-endpoint.command.js +0 -10
  602. package/dist/src/endpoint/commands/impl/delete-endpoint.command.js.map +0 -1
  603. package/dist/src/endpoint/commands/impl/index.d.ts +0 -3
  604. package/dist/src/endpoint/commands/impl/index.js +0 -20
  605. package/dist/src/endpoint/commands/impl/index.js.map +0 -1
  606. package/dist/src/endpoint/endpoint.module.d.ts +0 -2
  607. package/dist/src/endpoint/endpoint.module.js +0 -25
  608. package/dist/src/endpoint/endpoint.module.js.map +0 -1
  609. package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +0 -14
  610. package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.js +0 -29
  611. package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.js.map +0 -1
  612. package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.d.ts +0 -19
  613. package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js +0 -33
  614. package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js.map +0 -1
  615. package/dist/src/endpoint/queries/handlers/index.d.ts +0 -3
  616. package/dist/src/endpoint/queries/handlers/index.js +0 -10
  617. package/dist/src/endpoint/queries/handlers/index.js.map +0 -1
  618. package/dist/src/endpoint/queries/impl/get-created-endpoint.query.d.ts +0 -8
  619. package/dist/src/endpoint/queries/impl/get-created-endpoint.query.js +0 -10
  620. package/dist/src/endpoint/queries/impl/get-created-endpoint.query.js.map +0 -1
  621. package/dist/src/endpoint/queries/impl/get-revision-by-endpoint-id.query.d.ts +0 -4
  622. package/dist/src/endpoint/queries/impl/get-revision-by-endpoint-id.query.js +0 -10
  623. package/dist/src/endpoint/queries/impl/get-revision-by-endpoint-id.query.js.map +0 -1
  624. package/dist/src/endpoint/queries/impl/index.d.ts +0 -2
  625. package/dist/src/endpoint/queries/impl/index.js +0 -19
  626. package/dist/src/endpoint/queries/impl/index.js.map +0 -1
  627. package/dist/src/graphql-api/auth/auth.resolver.d.ts +0 -13
  628. package/dist/src/graphql-api/auth/auth.resolver.js +0 -103
  629. package/dist/src/graphql-api/auth/auth.resolver.js.map +0 -1
  630. package/dist/src/graphql-api/auth/inputs/confirm-email-code.input.d.ts +0 -3
  631. package/dist/src/graphql-api/auth/inputs/confirm-email-code.input.js +0 -24
  632. package/dist/src/graphql-api/auth/inputs/confirm-email-code.input.js.map +0 -1
  633. package/dist/src/graphql-api/auth/inputs/create-user.input.d.ts +0 -7
  634. package/dist/src/graphql-api/auth/inputs/create-user.input.js +0 -37
  635. package/dist/src/graphql-api/auth/inputs/create-user.input.js.map +0 -1
  636. package/dist/src/graphql-api/auth/inputs/index.d.ts +0 -6
  637. package/dist/src/graphql-api/auth/inputs/index.js +0 -23
  638. package/dist/src/graphql-api/auth/inputs/index.js.map +0 -1
  639. package/dist/src/graphql-api/auth/inputs/login-github.input.d.ts +0 -3
  640. package/dist/src/graphql-api/auth/inputs/login-github.input.js +0 -24
  641. package/dist/src/graphql-api/auth/inputs/login-github.input.js.map +0 -1
  642. package/dist/src/graphql-api/auth/inputs/login-google.input.d.ts +0 -4
  643. package/dist/src/graphql-api/auth/inputs/login-google.input.js +0 -28
  644. package/dist/src/graphql-api/auth/inputs/login-google.input.js.map +0 -1
  645. package/dist/src/graphql-api/auth/inputs/login.input.d.ts +0 -4
  646. package/dist/src/graphql-api/auth/inputs/login.input.js +0 -28
  647. package/dist/src/graphql-api/auth/inputs/login.input.js.map +0 -1
  648. package/dist/src/graphql-api/auth/inputs/sign-up.input.d.ts +0 -5
  649. package/dist/src/graphql-api/auth/inputs/sign-up.input.js +0 -32
  650. package/dist/src/graphql-api/auth/inputs/sign-up.input.js.map +0 -1
  651. package/dist/src/graphql-api/auth/model/index.d.ts +0 -1
  652. package/dist/src/graphql-api/auth/model/index.js +0 -18
  653. package/dist/src/graphql-api/auth/model/index.js.map +0 -1
  654. package/dist/src/graphql-api/auth/model/login.model.d.ts +0 -3
  655. package/dist/src/graphql-api/auth/model/login.model.js +0 -24
  656. package/dist/src/graphql-api/auth/model/login.model.js.map +0 -1
  657. package/dist/src/graphql-api/branch/branch.resolver.d.ts +0 -23
  658. package/dist/src/graphql-api/branch/branch.resolver.js +0 -176
  659. package/dist/src/graphql-api/branch/branch.resolver.js.map +0 -1
  660. package/dist/src/graphql-api/branch/inputs/create-branch-by-revision-id.input.d.ts +0 -5
  661. package/dist/src/graphql-api/branch/inputs/create-branch-by-revision-id.input.js +0 -30
  662. package/dist/src/graphql-api/branch/inputs/create-branch-by-revision-id.input.js.map +0 -1
  663. package/dist/src/graphql-api/branch/inputs/create-branch.input.d.ts +0 -4
  664. package/dist/src/graphql-api/branch/inputs/create-branch.input.js +0 -26
  665. package/dist/src/graphql-api/branch/inputs/create-branch.input.js.map +0 -1
  666. package/dist/src/graphql-api/branch/inputs/get-branch-revisions.input.d.ts +0 -6
  667. package/dist/src/graphql-api/branch/inputs/get-branch-revisions.input.js +0 -36
  668. package/dist/src/graphql-api/branch/inputs/get-branch-revisions.input.js.map +0 -1
  669. package/dist/src/graphql-api/branch/inputs/get-branch.input.d.ts +0 -5
  670. package/dist/src/graphql-api/branch/inputs/get-branch.input.js +0 -32
  671. package/dist/src/graphql-api/branch/inputs/get-branch.input.js.map +0 -1
  672. package/dist/src/graphql-api/branch/inputs/get-branches.input.d.ts +0 -6
  673. package/dist/src/graphql-api/branch/inputs/get-branches.input.js +0 -36
  674. package/dist/src/graphql-api/branch/inputs/get-branches.input.js.map +0 -1
  675. package/dist/src/graphql-api/branch/inputs/index.d.ts +0 -5
  676. package/dist/src/graphql-api/branch/inputs/index.js +0 -22
  677. package/dist/src/graphql-api/branch/inputs/index.js.map +0 -1
  678. package/dist/src/graphql-api/branch/inputs/revert-changes.input.d.ts +0 -5
  679. package/dist/src/graphql-api/branch/inputs/revert-changes.input.js +0 -32
  680. package/dist/src/graphql-api/branch/inputs/revert-changes.input.js.map +0 -1
  681. package/dist/src/graphql-api/branch/model/branch.model.d.ts +0 -21
  682. package/dist/src/graphql-api/branch/model/branch.model.js +0 -78
  683. package/dist/src/graphql-api/branch/model/branch.model.js.map +0 -1
  684. package/dist/src/graphql-api/branch/model/parent-branch.model.d.ts +0 -6
  685. package/dist/src/graphql-api/branch/model/parent-branch.model.js +0 -30
  686. package/dist/src/graphql-api/branch/model/parent-branch.model.js.map +0 -1
  687. package/dist/src/graphql-api/branch/parent-branch.resolver.d.ts +0 -8
  688. package/dist/src/graphql-api/branch/parent-branch.resolver.js +0 -51
  689. package/dist/src/graphql-api/branch/parent-branch.resolver.js.map +0 -1
  690. package/dist/src/graphql-api/configuration/configuration.resolver.d.ts +0 -7
  691. package/dist/src/graphql-api/configuration/configuration.resolver.js +0 -36
  692. package/dist/src/graphql-api/configuration/configuration.resolver.js.map +0 -1
  693. package/dist/src/graphql-api/configuration/model/configuration.model.d.ts +0 -13
  694. package/dist/src/graphql-api/configuration/model/configuration.model.js +0 -60
  695. package/dist/src/graphql-api/configuration/model/configuration.model.js.map +0 -1
  696. package/dist/src/graphql-api/configuration/model/index.d.ts +0 -1
  697. package/dist/src/graphql-api/configuration/model/index.js +0 -18
  698. package/dist/src/graphql-api/configuration/model/index.js.map +0 -1
  699. package/dist/src/graphql-api/current-user.decorator.d.ts +0 -1
  700. package/dist/src/graphql-api/current-user.decorator.js +0 -10
  701. package/dist/src/graphql-api/current-user.decorator.js.map +0 -1
  702. package/dist/src/graphql-api/draft/draft.resolver.d.ts +0 -14
  703. package/dist/src/graphql-api/draft/draft.resolver.js +0 -142
  704. package/dist/src/graphql-api/draft/draft.resolver.js.map +0 -1
  705. package/dist/src/graphql-api/draft/input/create-row.input.d.ts +0 -5
  706. package/dist/src/graphql-api/draft/input/create-row.input.js +0 -27
  707. package/dist/src/graphql-api/draft/input/create-row.input.js.map +0 -1
  708. package/dist/src/graphql-api/draft/input/create-table.input.d.ts +0 -6
  709. package/dist/src/graphql-api/draft/input/create-table.input.js +0 -34
  710. package/dist/src/graphql-api/draft/input/create-table.input.js.map +0 -1
  711. package/dist/src/graphql-api/draft/input/index.d.ts +0 -5
  712. package/dist/src/graphql-api/draft/input/index.js +0 -22
  713. package/dist/src/graphql-api/draft/input/index.js.map +0 -1
  714. package/dist/src/graphql-api/draft/input/remove-row.input.d.ts +0 -3
  715. package/dist/src/graphql-api/draft/input/remove-row.input.js +0 -18
  716. package/dist/src/graphql-api/draft/input/remove-row.input.js.map +0 -1
  717. package/dist/src/graphql-api/draft/input/remove-table.input.d.ts +0 -4
  718. package/dist/src/graphql-api/draft/input/remove-table.input.js +0 -28
  719. package/dist/src/graphql-api/draft/input/remove-table.input.js.map +0 -1
  720. package/dist/src/graphql-api/draft/input/update-row.input.d.ts +0 -5
  721. package/dist/src/graphql-api/draft/input/update-row.input.js +0 -27
  722. package/dist/src/graphql-api/draft/input/update-row.input.js.map +0 -1
  723. package/dist/src/graphql-api/draft/input/update-table.input.d.ts +0 -6
  724. package/dist/src/graphql-api/draft/input/update-table.input.js +0 -33
  725. package/dist/src/graphql-api/draft/input/update-table.input.js.map +0 -1
  726. package/dist/src/graphql-api/draft/model/create-row-result.model.d.ts +0 -7
  727. package/dist/src/graphql-api/draft/model/create-row-result.model.js +0 -34
  728. package/dist/src/graphql-api/draft/model/create-row-result.model.js.map +0 -1
  729. package/dist/src/graphql-api/draft/model/create-table-result.model.d.ts +0 -6
  730. package/dist/src/graphql-api/draft/model/create-table-result.model.js +0 -30
  731. package/dist/src/graphql-api/draft/model/create-table-result.model.js.map +0 -1
  732. package/dist/src/graphql-api/draft/model/remove-row-result.model.d.ts +0 -7
  733. package/dist/src/graphql-api/draft/model/remove-row-result.model.js +0 -34
  734. package/dist/src/graphql-api/draft/model/remove-row-result.model.js.map +0 -1
  735. package/dist/src/graphql-api/draft/model/remove-table-result.model.d.ts +0 -4
  736. package/dist/src/graphql-api/draft/model/remove-table-result.model.js +0 -25
  737. package/dist/src/graphql-api/draft/model/remove-table-result.model.js.map +0 -1
  738. package/dist/src/graphql-api/draft/model/update-row-result.model.d.ts +0 -8
  739. package/dist/src/graphql-api/draft/model/update-row-result.model.js +0 -38
  740. package/dist/src/graphql-api/draft/model/update-row-result.model.js.map +0 -1
  741. package/dist/src/graphql-api/draft/model/update-table-result.model.d.ts +0 -5
  742. package/dist/src/graphql-api/draft/model/update-table-result.model.js +0 -29
  743. package/dist/src/graphql-api/draft/model/update-table-result.model.js.map +0 -1
  744. package/dist/src/graphql-api/endpoint/endpoint.resolver.d.ts +0 -11
  745. package/dist/src/graphql-api/endpoint/endpoint.resolver.js +0 -83
  746. package/dist/src/graphql-api/endpoint/endpoint.resolver.js.map +0 -1
  747. package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.d.ts +0 -5
  748. package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.js +0 -29
  749. package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.js.map +0 -1
  750. package/dist/src/graphql-api/endpoint/inputs/delete-endpoint.input.d.ts +0 -3
  751. package/dist/src/graphql-api/endpoint/inputs/delete-endpoint.input.js +0 -24
  752. package/dist/src/graphql-api/endpoint/inputs/delete-endpoint.input.js.map +0 -1
  753. package/dist/src/graphql-api/endpoint/inputs/get-endpoint.input.d.ts +0 -3
  754. package/dist/src/graphql-api/endpoint/inputs/get-endpoint.input.js +0 -24
  755. package/dist/src/graphql-api/endpoint/inputs/get-endpoint.input.js.map +0 -1
  756. package/dist/src/graphql-api/endpoint/inputs/index.d.ts +0 -3
  757. package/dist/src/graphql-api/endpoint/inputs/index.js +0 -20
  758. package/dist/src/graphql-api/endpoint/inputs/index.js.map +0 -1
  759. package/dist/src/graphql-api/endpoint/model/endpoint.model.d.ts +0 -11
  760. package/dist/src/graphql-api/endpoint/model/endpoint.model.js +0 -42
  761. package/dist/src/graphql-api/endpoint/model/endpoint.model.js.map +0 -1
  762. package/dist/src/graphql-api/endpoint/model/index.d.ts +0 -1
  763. package/dist/src/graphql-api/endpoint/model/index.js +0 -18
  764. package/dist/src/graphql-api/endpoint/model/index.js.map +0 -1
  765. package/dist/src/graphql-api/graphql-api.module.d.ts +0 -2
  766. package/dist/src/graphql-api/graphql-api.module.js +0 -70
  767. package/dist/src/graphql-api/graphql-api.module.js.map +0 -1
  768. package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.d.ts +0 -6
  769. package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.js +0 -33
  770. package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.js.map +0 -1
  771. package/dist/src/graphql-api/organization/inputs/get-users-organization.input.d.ts +0 -5
  772. package/dist/src/graphql-api/organization/inputs/get-users-organization.input.js +0 -32
  773. package/dist/src/graphql-api/organization/inputs/get-users-organization.input.js.map +0 -1
  774. package/dist/src/graphql-api/organization/inputs/index.d.ts +0 -3
  775. package/dist/src/graphql-api/organization/inputs/index.js +0 -20
  776. package/dist/src/graphql-api/organization/inputs/index.js.map +0 -1
  777. package/dist/src/graphql-api/organization/inputs/remove-user-from-organization.input.d.ts +0 -4
  778. package/dist/src/graphql-api/organization/inputs/remove-user-from-organization.input.js +0 -28
  779. package/dist/src/graphql-api/organization/inputs/remove-user-from-organization.input.js.map +0 -1
  780. package/dist/src/graphql-api/organization/model/users-organization.connection.d.ts +0 -5
  781. package/dist/src/graphql-api/organization/model/users-organization.connection.js +0 -19
  782. package/dist/src/graphql-api/organization/model/users-organization.connection.js.map +0 -1
  783. package/dist/src/graphql-api/organization/model/users-organization.model.d.ts +0 -7
  784. package/dist/src/graphql-api/organization/model/users-organization.model.js +0 -34
  785. package/dist/src/graphql-api/organization/model/users-organization.model.js.map +0 -1
  786. package/dist/src/graphql-api/organization/organization.resolver.d.ts +0 -15
  787. package/dist/src/graphql-api/organization/organization.resolver.js +0 -126
  788. package/dist/src/graphql-api/organization/organization.resolver.js.map +0 -1
  789. package/dist/src/graphql-api/project/inputs/add-user-to-project.input.d.ts +0 -7
  790. package/dist/src/graphql-api/project/inputs/add-user-to-project.input.js +0 -37
  791. package/dist/src/graphql-api/project/inputs/add-user-to-project.input.js.map +0 -1
  792. package/dist/src/graphql-api/project/inputs/create-project.input.d.ts +0 -6
  793. package/dist/src/graphql-api/project/inputs/create-project.input.js +0 -36
  794. package/dist/src/graphql-api/project/inputs/create-project.input.js.map +0 -1
  795. package/dist/src/graphql-api/project/inputs/delete-project.input.d.ts +0 -4
  796. package/dist/src/graphql-api/project/inputs/delete-project.input.js +0 -28
  797. package/dist/src/graphql-api/project/inputs/delete-project.input.js.map +0 -1
  798. package/dist/src/graphql-api/project/inputs/get-project-branches.input.d.ts +0 -4
  799. package/dist/src/graphql-api/project/inputs/get-project-branches.input.js +0 -28
  800. package/dist/src/graphql-api/project/inputs/get-project-branches.input.js.map +0 -1
  801. package/dist/src/graphql-api/project/inputs/get-project.input.d.ts +0 -4
  802. package/dist/src/graphql-api/project/inputs/get-project.input.js +0 -28
  803. package/dist/src/graphql-api/project/inputs/get-project.input.js.map +0 -1
  804. package/dist/src/graphql-api/project/inputs/get-projects.input.d.ts +0 -5
  805. package/dist/src/graphql-api/project/inputs/get-projects.input.js +0 -32
  806. package/dist/src/graphql-api/project/inputs/get-projects.input.js.map +0 -1
  807. package/dist/src/graphql-api/project/inputs/get-users-project.input.d.ts +0 -6
  808. package/dist/src/graphql-api/project/inputs/get-users-project.input.js +0 -36
  809. package/dist/src/graphql-api/project/inputs/get-users-project.input.js.map +0 -1
  810. package/dist/src/graphql-api/project/inputs/index.d.ts +0 -7
  811. package/dist/src/graphql-api/project/inputs/index.js +0 -24
  812. package/dist/src/graphql-api/project/inputs/index.js.map +0 -1
  813. package/dist/src/graphql-api/project/inputs/remove-user-from-project.input.d.ts +0 -5
  814. package/dist/src/graphql-api/project/inputs/remove-user-from-project.input.js +0 -32
  815. package/dist/src/graphql-api/project/inputs/remove-user-from-project.input.js.map +0 -1
  816. package/dist/src/graphql-api/project/inputs/update-project.input.d.ts +0 -5
  817. package/dist/src/graphql-api/project/inputs/update-project.input.js +0 -32
  818. package/dist/src/graphql-api/project/inputs/update-project.input.js.map +0 -1
  819. package/dist/src/graphql-api/project/model/index.d.ts +0 -1
  820. package/dist/src/graphql-api/project/model/index.js +0 -18
  821. package/dist/src/graphql-api/project/model/index.js.map +0 -1
  822. package/dist/src/graphql-api/project/model/project.model.d.ts +0 -10
  823. package/dist/src/graphql-api/project/model/project.model.js +0 -49
  824. package/dist/src/graphql-api/project/model/project.model.js.map +0 -1
  825. package/dist/src/graphql-api/project/model/projects.connection.d.ts +0 -5
  826. package/dist/src/graphql-api/project/model/projects.connection.js +0 -19
  827. package/dist/src/graphql-api/project/model/projects.connection.js.map +0 -1
  828. package/dist/src/graphql-api/project/model/users-project.connection.d.ts +0 -5
  829. package/dist/src/graphql-api/project/model/users-project.connection.js +0 -19
  830. package/dist/src/graphql-api/project/model/users-project.connection.js.map +0 -1
  831. package/dist/src/graphql-api/project/model/users-project.model.d.ts +0 -7
  832. package/dist/src/graphql-api/project/model/users-project.model.js +0 -34
  833. package/dist/src/graphql-api/project/model/users-project.model.js.map +0 -1
  834. package/dist/src/graphql-api/project/project.resolver.d.ts +0 -17
  835. package/dist/src/graphql-api/project/project.resolver.js +0 -154
  836. package/dist/src/graphql-api/project/project.resolver.js.map +0 -1
  837. package/dist/src/graphql-api/registerGraphqlEnums.d.ts +0 -1
  838. package/dist/src/graphql-api/registerGraphqlEnums.js +0 -14
  839. package/dist/src/graphql-api/registerGraphqlEnums.js.map +0 -1
  840. package/dist/src/graphql-api/revision/child-branch.resolver.d.ts +0 -8
  841. package/dist/src/graphql-api/revision/child-branch.resolver.js +0 -51
  842. package/dist/src/graphql-api/revision/child-branch.resolver.js.map +0 -1
  843. package/dist/src/graphql-api/revision/inputs/create-revision.input.d.ts +0 -6
  844. package/dist/src/graphql-api/revision/inputs/create-revision.input.js +0 -36
  845. package/dist/src/graphql-api/revision/inputs/create-revision.input.js.map +0 -1
  846. package/dist/src/graphql-api/revision/inputs/get-revision-tables.input.d.ts +0 -4
  847. package/dist/src/graphql-api/revision/inputs/get-revision-tables.input.js +0 -28
  848. package/dist/src/graphql-api/revision/inputs/get-revision-tables.input.js.map +0 -1
  849. package/dist/src/graphql-api/revision/inputs/get-revision.input.d.ts +0 -3
  850. package/dist/src/graphql-api/revision/inputs/get-revision.input.js +0 -24
  851. package/dist/src/graphql-api/revision/inputs/get-revision.input.js.map +0 -1
  852. package/dist/src/graphql-api/revision/model/child-branch.model.d.ts +0 -6
  853. package/dist/src/graphql-api/revision/model/child-branch.model.js +0 -30
  854. package/dist/src/graphql-api/revision/model/child-branch.model.js.map +0 -1
  855. package/dist/src/graphql-api/revision/model/revision.model.d.ts +0 -24
  856. package/dist/src/graphql-api/revision/model/revision.model.js +0 -87
  857. package/dist/src/graphql-api/revision/model/revision.model.js.map +0 -1
  858. package/dist/src/graphql-api/revision/revision.resolver.d.ts +0 -19
  859. package/dist/src/graphql-api/revision/revision.resolver.js +0 -150
  860. package/dist/src/graphql-api/revision/revision.resolver.js.map +0 -1
  861. package/dist/src/graphql-api/role/model/role.model.d.ts +0 -4
  862. package/dist/src/graphql-api/role/model/role.model.js +0 -28
  863. package/dist/src/graphql-api/role/model/role.model.js.map +0 -1
  864. package/dist/src/graphql-api/row/inputs/get-row-count-references-by.input.d.ts +0 -5
  865. package/dist/src/graphql-api/row/inputs/get-row-count-references-by.input.js +0 -32
  866. package/dist/src/graphql-api/row/inputs/get-row-count-references-by.input.js.map +0 -1
  867. package/dist/src/graphql-api/row/inputs/get-row-references.input.d.ts +0 -5
  868. package/dist/src/graphql-api/row/inputs/get-row-references.input.js +0 -32
  869. package/dist/src/graphql-api/row/inputs/get-row-references.input.js.map +0 -1
  870. package/dist/src/graphql-api/row/inputs/get-row.input.d.ts +0 -5
  871. package/dist/src/graphql-api/row/inputs/get-row.input.js +0 -32
  872. package/dist/src/graphql-api/row/inputs/get-row.input.js.map +0 -1
  873. package/dist/src/graphql-api/row/inputs/get-rows.input.d.ts +0 -6
  874. package/dist/src/graphql-api/row/inputs/get-rows.input.js +0 -36
  875. package/dist/src/graphql-api/row/inputs/get-rows.input.js.map +0 -1
  876. package/dist/src/graphql-api/row/inputs/index.d.ts +0 -3
  877. package/dist/src/graphql-api/row/inputs/index.js +0 -20
  878. package/dist/src/graphql-api/row/inputs/index.js.map +0 -1
  879. package/dist/src/graphql-api/row/model/row-reference.model.d.ts +0 -6
  880. package/dist/src/graphql-api/row/model/row-reference.model.js +0 -30
  881. package/dist/src/graphql-api/row/model/row-reference.model.js.map +0 -1
  882. package/dist/src/graphql-api/row/model/row-references-connection.model.d.ts +0 -5
  883. package/dist/src/graphql-api/row/model/row-references-connection.model.js +0 -19
  884. package/dist/src/graphql-api/row/model/row-references-connection.model.js.map +0 -1
  885. package/dist/src/graphql-api/row/model/row.model.d.ts +0 -17
  886. package/dist/src/graphql-api/row/model/row.model.js +0 -55
  887. package/dist/src/graphql-api/row/model/row.model.js.map +0 -1
  888. package/dist/src/graphql-api/row/model/rows-connection.model.d.ts +0 -5
  889. package/dist/src/graphql-api/row/model/rows-connection.model.js +0 -19
  890. package/dist/src/graphql-api/row/model/rows-connection.model.js.map +0 -1
  891. package/dist/src/graphql-api/row/row.resolver.d.ts +0 -16
  892. package/dist/src/graphql-api/row/row.resolver.js +0 -128
  893. package/dist/src/graphql-api/row/row.resolver.js.map +0 -1
  894. package/dist/src/graphql-api/share/model/paginated.model.d.ts +0 -9
  895. package/dist/src/graphql-api/share/model/paginated.model.js +0 -70
  896. package/dist/src/graphql-api/share/model/paginated.model.js.map +0 -1
  897. package/dist/src/graphql-api/table/inputs/get-table-references.input.d.ts +0 -4
  898. package/dist/src/graphql-api/table/inputs/get-table-references.input.js +0 -28
  899. package/dist/src/graphql-api/table/inputs/get-table-references.input.js.map +0 -1
  900. package/dist/src/graphql-api/table/inputs/get-table-rows.input.d.ts +0 -4
  901. package/dist/src/graphql-api/table/inputs/get-table-rows.input.js +0 -28
  902. package/dist/src/graphql-api/table/inputs/get-table-rows.input.js.map +0 -1
  903. package/dist/src/graphql-api/table/inputs/get-table.input.d.ts +0 -4
  904. package/dist/src/graphql-api/table/inputs/get-table.input.js +0 -28
  905. package/dist/src/graphql-api/table/inputs/get-table.input.js.map +0 -1
  906. package/dist/src/graphql-api/table/inputs/get-tables.input.d.ts +0 -5
  907. package/dist/src/graphql-api/table/inputs/get-tables.input.js +0 -32
  908. package/dist/src/graphql-api/table/inputs/get-tables.input.js.map +0 -1
  909. package/dist/src/graphql-api/table/model/table-connection.model.d.ts +0 -5
  910. package/dist/src/graphql-api/table/model/table-connection.model.js +0 -19
  911. package/dist/src/graphql-api/table/model/table-connection.model.js.map +0 -1
  912. package/dist/src/graphql-api/table/model/table.model.d.ts +0 -20
  913. package/dist/src/graphql-api/table/model/table.model.js +0 -68
  914. package/dist/src/graphql-api/table/model/table.model.js.map +0 -1
  915. package/dist/src/graphql-api/table/table.resolver.d.ts +0 -20
  916. package/dist/src/graphql-api/table/table.resolver.js +0 -166
  917. package/dist/src/graphql-api/table/table.resolver.js.map +0 -1
  918. package/dist/src/graphql-api/user/inputs/index.d.ts +0 -3
  919. package/dist/src/graphql-api/user/inputs/index.js +0 -20
  920. package/dist/src/graphql-api/user/inputs/index.js.map +0 -1
  921. package/dist/src/graphql-api/user/inputs/me-projects.input.d.ts +0 -4
  922. package/dist/src/graphql-api/user/inputs/me-projects.input.js +0 -28
  923. package/dist/src/graphql-api/user/inputs/me-projects.input.js.map +0 -1
  924. package/dist/src/graphql-api/user/inputs/set-username.input.d.ts +0 -3
  925. package/dist/src/graphql-api/user/inputs/set-username.input.js +0 -24
  926. package/dist/src/graphql-api/user/inputs/set-username.input.js.map +0 -1
  927. package/dist/src/graphql-api/user/inputs/update-password.input.d.ts +0 -4
  928. package/dist/src/graphql-api/user/inputs/update-password.input.js +0 -28
  929. package/dist/src/graphql-api/user/inputs/update-password.input.js.map +0 -1
  930. package/dist/src/graphql-api/user/model/user.model.d.ts +0 -6
  931. package/dist/src/graphql-api/user/model/user.model.js +0 -36
  932. package/dist/src/graphql-api/user/model/user.model.js.map +0 -1
  933. package/dist/src/graphql-api/user/user.resolver.d.ts +0 -15
  934. package/dist/src/graphql-api/user/user.resolver.js +0 -104
  935. package/dist/src/graphql-api/user/user.resolver.js.map +0 -1
  936. package/dist/src/health/health.controller.d.ts +0 -3
  937. package/dist/src/health/health.controller.js +0 -31
  938. package/dist/src/health/health.controller.js.map +0 -1
  939. package/dist/src/health/health.module.d.ts +0 -2
  940. package/dist/src/health/health.module.js +0 -18
  941. package/dist/src/health/health.module.js.map +0 -1
  942. package/dist/src/index.d.ts +0 -2
  943. package/dist/src/index.js +0 -8
  944. package/dist/src/index.js.map +0 -1
  945. package/dist/src/main.d.ts +0 -1
  946. package/dist/src/main.js +0 -41
  947. package/dist/src/main.js.map +0 -1
  948. package/dist/src/notification/endpoint-notification.service.d.ts +0 -10
  949. package/dist/src/notification/endpoint-notification.service.js +0 -46
  950. package/dist/src/notification/endpoint-notification.service.js.map +0 -1
  951. package/dist/src/notification/in-memory-client.d.ts +0 -10
  952. package/dist/src/notification/in-memory-client.js +0 -23
  953. package/dist/src/notification/in-memory-client.js.map +0 -1
  954. package/dist/src/notification/notification-event-emitter.d.ts +0 -2
  955. package/dist/src/notification/notification-event-emitter.js +0 -6
  956. package/dist/src/notification/notification-event-emitter.js.map +0 -1
  957. package/dist/src/notification/notification.module.d.ts +0 -2
  958. package/dist/src/notification/notification.module.js +0 -56
  959. package/dist/src/notification/notification.module.js.map +0 -1
  960. package/dist/src/organization/commands/handlers/add-user-to-organization.handler.d.ts +0 -12
  961. package/dist/src/organization/commands/handlers/add-user-to-organization.handler.js +0 -66
  962. package/dist/src/organization/commands/handlers/add-user-to-organization.handler.js.map +0 -1
  963. package/dist/src/organization/commands/handlers/index.d.ts +0 -2
  964. package/dist/src/organization/commands/handlers/index.js +0 -19
  965. package/dist/src/organization/commands/handlers/index.js.map +0 -1
  966. package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.d.ts +0 -11
  967. package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.js +0 -67
  968. package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.js.map +0 -1
  969. package/dist/src/organization/commands/impl/add-user-to-organization.command.d.ts +0 -14
  970. package/dist/src/organization/commands/impl/add-user-to-organization.command.js +0 -10
  971. package/dist/src/organization/commands/impl/add-user-to-organization.command.js.map +0 -1
  972. package/dist/src/organization/commands/impl/index.d.ts +0 -2
  973. package/dist/src/organization/commands/impl/index.js +0 -19
  974. package/dist/src/organization/commands/impl/index.js.map +0 -1
  975. package/dist/src/organization/commands/impl/remove-user-from-organization.command.d.ts +0 -11
  976. package/dist/src/organization/commands/impl/remove-user-from-organization.command.js +0 -10
  977. package/dist/src/organization/commands/impl/remove-user-from-organization.command.js.map +0 -1
  978. package/dist/src/organization/commands/index.d.ts +0 -2
  979. package/dist/src/organization/commands/index.js +0 -9
  980. package/dist/src/organization/commands/index.js.map +0 -1
  981. package/dist/src/organization/organization.module.d.ts +0 -2
  982. package/dist/src/organization/organization.module.js +0 -24
  983. package/dist/src/organization/organization.module.js.map +0 -1
  984. package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +0 -17
  985. package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.js +0 -70
  986. package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.js.map +0 -1
  987. package/dist/src/organization/queries/handlers/get-users-organization.handler.d.ts +0 -30
  988. package/dist/src/organization/queries/handlers/get-users-organization.handler.js +0 -58
  989. package/dist/src/organization/queries/handlers/get-users-organization.handler.js.map +0 -1
  990. package/dist/src/organization/queries/handlers/index.d.ts +0 -1
  991. package/dist/src/organization/queries/handlers/index.js +0 -18
  992. package/dist/src/organization/queries/handlers/index.js.map +0 -1
  993. package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.d.ts +0 -17
  994. package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.js +0 -10
  995. package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.js.map +0 -1
  996. package/dist/src/organization/queries/impl/get-users-organization.query.d.ts +0 -19
  997. package/dist/src/organization/queries/impl/get-users-organization.query.js +0 -10
  998. package/dist/src/organization/queries/impl/get-users-organization.query.js.map +0 -1
  999. package/dist/src/organization/queries/impl/index.d.ts +0 -2
  1000. package/dist/src/organization/queries/impl/index.js +0 -19
  1001. package/dist/src/organization/queries/impl/index.js.map +0 -1
  1002. package/dist/src/organization/queries/index.d.ts +0 -3
  1003. package/dist/src/organization/queries/index.js +0 -10
  1004. package/dist/src/organization/queries/index.js.map +0 -1
  1005. package/dist/src/project/commands/handlers/add-user-to-project.handler.d.ts +0 -13
  1006. package/dist/src/project/commands/handlers/add-user-to-project.handler.js +0 -86
  1007. package/dist/src/project/commands/handlers/add-user-to-project.handler.js.map +0 -1
  1008. package/dist/src/project/commands/handlers/api-create-project.handler.d.ts +0 -8
  1009. package/dist/src/project/commands/handlers/api-create-project.handler.js +0 -32
  1010. package/dist/src/project/commands/handlers/api-create-project.handler.js.map +0 -1
  1011. package/dist/src/project/commands/handlers/create-project.handler.d.ts +0 -38
  1012. package/dist/src/project/commands/handlers/create-project.handler.js +0 -176
  1013. package/dist/src/project/commands/handlers/create-project.handler.js.map +0 -1
  1014. package/dist/src/project/commands/handlers/delete-project.handler.d.ts +0 -17
  1015. package/dist/src/project/commands/handlers/delete-project.handler.js +0 -73
  1016. package/dist/src/project/commands/handlers/delete-project.handler.js.map +0 -1
  1017. package/dist/src/project/commands/handlers/index.d.ts +0 -7
  1018. package/dist/src/project/commands/handlers/index.js +0 -18
  1019. package/dist/src/project/commands/handlers/index.js.map +0 -1
  1020. package/dist/src/project/commands/handlers/remove-user-from-project.handler.d.ts +0 -11
  1021. package/dist/src/project/commands/handlers/remove-user-from-project.handler.js +0 -68
  1022. package/dist/src/project/commands/handlers/remove-user-from-project.handler.js.map +0 -1
  1023. package/dist/src/project/commands/handlers/update-project.handler.d.ts +0 -13
  1024. package/dist/src/project/commands/handlers/update-project.handler.js +0 -52
  1025. package/dist/src/project/commands/handlers/update-project.handler.js.map +0 -1
  1026. package/dist/src/project/commands/impl/add-user-to-project.command.d.ts +0 -16
  1027. package/dist/src/project/commands/impl/add-user-to-project.command.js +0 -10
  1028. package/dist/src/project/commands/impl/add-user-to-project.command.js.map +0 -1
  1029. package/dist/src/project/commands/impl/api-create-project.command.d.ts +0 -14
  1030. package/dist/src/project/commands/impl/api-create-project.command.js +0 -10
  1031. package/dist/src/project/commands/impl/api-create-project.command.js.map +0 -1
  1032. package/dist/src/project/commands/impl/create-project.command.d.ts +0 -14
  1033. package/dist/src/project/commands/impl/create-project.command.js +0 -10
  1034. package/dist/src/project/commands/impl/create-project.command.js.map +0 -1
  1035. package/dist/src/project/commands/impl/delete-project.command.d.ts +0 -10
  1036. package/dist/src/project/commands/impl/delete-project.command.js +0 -10
  1037. package/dist/src/project/commands/impl/delete-project.command.js.map +0 -1
  1038. package/dist/src/project/commands/impl/index.d.ts +0 -6
  1039. package/dist/src/project/commands/impl/index.js +0 -23
  1040. package/dist/src/project/commands/impl/index.js.map +0 -1
  1041. package/dist/src/project/commands/impl/remove-user-from-project.command.d.ts +0 -13
  1042. package/dist/src/project/commands/impl/remove-user-from-project.command.js +0 -10
  1043. package/dist/src/project/commands/impl/remove-user-from-project.command.js.map +0 -1
  1044. package/dist/src/project/commands/impl/update-project.command.d.ts +0 -12
  1045. package/dist/src/project/commands/impl/update-project.command.js +0 -10
  1046. package/dist/src/project/commands/impl/update-project.command.js.map +0 -1
  1047. package/dist/src/project/project.module.d.ts +0 -2
  1048. package/dist/src/project/project.module.js +0 -34
  1049. package/dist/src/project/project.module.js.map +0 -1
  1050. package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.d.ts +0 -16
  1051. package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.js +0 -47
  1052. package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.js.map +0 -1
  1053. package/dist/src/project/queries/handlers/get-project-by-id.handler.d.ts +0 -14
  1054. package/dist/src/project/queries/handlers/get-project-by-id.handler.js +0 -31
  1055. package/dist/src/project/queries/handlers/get-project-by-id.handler.js.map +0 -1
  1056. package/dist/src/project/queries/handlers/get-project.handler.d.ts +0 -12
  1057. package/dist/src/project/queries/handlers/get-project.handler.js +0 -44
  1058. package/dist/src/project/queries/handlers/get-project.handler.js.map +0 -1
  1059. package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.d.ts +0 -14
  1060. package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.js +0 -31
  1061. package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.js.map +0 -1
  1062. package/dist/src/project/queries/handlers/get-users-project.handler.d.ts +0 -30
  1063. package/dist/src/project/queries/handlers/get-users-project.handler.js +0 -61
  1064. package/dist/src/project/queries/handlers/get-users-project.handler.js.map +0 -1
  1065. package/dist/src/project/queries/handlers/index.d.ts +0 -6
  1066. package/dist/src/project/queries/handlers/index.js +0 -16
  1067. package/dist/src/project/queries/handlers/index.js.map +0 -1
  1068. package/dist/src/project/queries/impl/get-all-branches-by-project.query.d.ts +0 -12
  1069. package/dist/src/project/queries/impl/get-all-branches-by-project.query.js +0 -10
  1070. package/dist/src/project/queries/impl/get-all-branches-by-project.query.js.map +0 -1
  1071. package/dist/src/project/queries/impl/get-project-by-id.query.d.ts +0 -8
  1072. package/dist/src/project/queries/impl/get-project-by-id.query.js +0 -10
  1073. package/dist/src/project/queries/impl/get-project-by-id.query.js.map +0 -1
  1074. package/dist/src/project/queries/impl/get-project.query.d.ts +0 -10
  1075. package/dist/src/project/queries/impl/get-project.query.js +0 -10
  1076. package/dist/src/project/queries/impl/get-project.query.js.map +0 -1
  1077. package/dist/src/project/queries/impl/get-root-branch-by-project.query.d.ts +0 -4
  1078. package/dist/src/project/queries/impl/get-root-branch-by-project.query.js +0 -10
  1079. package/dist/src/project/queries/impl/get-root-branch-by-project.query.js.map +0 -1
  1080. package/dist/src/project/queries/impl/get-users-project.query.d.ts +0 -21
  1081. package/dist/src/project/queries/impl/get-users-project.query.js +0 -10
  1082. package/dist/src/project/queries/impl/get-users-project.query.js.map +0 -1
  1083. package/dist/src/project/queries/impl/index.d.ts +0 -5
  1084. package/dist/src/project/queries/impl/index.js +0 -22
  1085. package/dist/src/project/queries/impl/index.js.map +0 -1
  1086. package/dist/src/rest-api/auth/auth.controller.d.ts +0 -13
  1087. package/dist/src/rest-api/auth/auth.controller.js +0 -84
  1088. package/dist/src/rest-api/auth/auth.controller.js.map +0 -1
  1089. package/dist/src/rest-api/auth/dto/create-user.dto.d.ts +0 -7
  1090. package/dist/src/rest-api/auth/dto/create-user.dto.js +0 -34
  1091. package/dist/src/rest-api/auth/dto/create-user.dto.js.map +0 -1
  1092. package/dist/src/rest-api/auth/dto/index.d.ts +0 -2
  1093. package/dist/src/rest-api/auth/dto/index.js +0 -19
  1094. package/dist/src/rest-api/auth/dto/index.js.map +0 -1
  1095. package/dist/src/rest-api/auth/dto/login.dto.d.ts +0 -4
  1096. package/dist/src/rest-api/auth/dto/login.dto.js +0 -25
  1097. package/dist/src/rest-api/auth/dto/login.dto.js.map +0 -1
  1098. package/dist/src/rest-api/auth/dto/update-password.dto.d.ts +0 -4
  1099. package/dist/src/rest-api/auth/dto/update-password.dto.js +0 -25
  1100. package/dist/src/rest-api/auth/dto/update-password.dto.js.map +0 -1
  1101. package/dist/src/rest-api/auth/model/index.d.ts +0 -1
  1102. package/dist/src/rest-api/auth/model/index.js +0 -18
  1103. package/dist/src/rest-api/auth/model/index.js.map +0 -1
  1104. package/dist/src/rest-api/auth/model/login.response.d.ts +0 -3
  1105. package/dist/src/rest-api/auth/model/login.response.js +0 -21
  1106. package/dist/src/rest-api/auth/model/login.response.js.map +0 -1
  1107. package/dist/src/rest-api/branch/branch-by-name.controller.d.ts +0 -19
  1108. package/dist/src/rest-api/branch/branch-by-name.controller.js +0 -223
  1109. package/dist/src/rest-api/branch/branch-by-name.controller.js.map +0 -1
  1110. package/dist/src/rest-api/branch/dto/create-branch-by-revision.dto.d.ts +0 -3
  1111. package/dist/src/rest-api/branch/dto/create-branch-by-revision.dto.js +0 -21
  1112. package/dist/src/rest-api/branch/dto/create-branch-by-revision.dto.js.map +0 -1
  1113. package/dist/src/rest-api/branch/dto/create-revision.dto.d.ts +0 -3
  1114. package/dist/src/rest-api/branch/dto/create-revision.dto.js +0 -21
  1115. package/dist/src/rest-api/branch/dto/create-revision.dto.js.map +0 -1
  1116. package/dist/src/rest-api/branch/dto/get-branch-revisions.dto.d.ts +0 -5
  1117. package/dist/src/rest-api/branch/dto/get-branch-revisions.dto.js +0 -34
  1118. package/dist/src/rest-api/branch/dto/get-branch-revisions.dto.js.map +0 -1
  1119. package/dist/src/rest-api/branch/dto/index.d.ts +0 -3
  1120. package/dist/src/rest-api/branch/dto/index.js +0 -20
  1121. package/dist/src/rest-api/branch/dto/index.js.map +0 -1
  1122. package/dist/src/rest-api/branch/model/branch.model.d.ts +0 -11
  1123. package/dist/src/rest-api/branch/model/branch.model.js +0 -41
  1124. package/dist/src/rest-api/branch/model/branch.model.js.map +0 -1
  1125. package/dist/src/rest-api/branch/model/index.d.ts +0 -2
  1126. package/dist/src/rest-api/branch/model/index.js +0 -19
  1127. package/dist/src/rest-api/branch/model/index.js.map +0 -1
  1128. package/dist/src/rest-api/branch/model/parent-branch.response.d.ts +0 -8
  1129. package/dist/src/rest-api/branch/model/parent-branch.response.js +0 -31
  1130. package/dist/src/rest-api/branch/model/parent-branch.response.js.map +0 -1
  1131. package/dist/src/rest-api/configuration/configuration.controller.d.ts +0 -7
  1132. package/dist/src/rest-api/configuration/configuration.controller.js +0 -40
  1133. package/dist/src/rest-api/configuration/configuration.controller.js.map +0 -1
  1134. package/dist/src/rest-api/configuration/model/configuration.response.d.ts +0 -14
  1135. package/dist/src/rest-api/configuration/model/configuration.response.js +0 -49
  1136. package/dist/src/rest-api/configuration/model/configuration.response.js.map +0 -1
  1137. package/dist/src/rest-api/configuration/model/index.d.ts +0 -1
  1138. package/dist/src/rest-api/configuration/model/index.js +0 -18
  1139. package/dist/src/rest-api/configuration/model/index.js.map +0 -1
  1140. package/dist/src/rest-api/endpoint/endpointByIdController.d.ts +0 -6
  1141. package/dist/src/rest-api/endpoint/endpointByIdController.js +0 -58
  1142. package/dist/src/rest-api/endpoint/endpointByIdController.js.map +0 -1
  1143. package/dist/src/rest-api/endpoint/model/endpoint.model.d.ts +0 -6
  1144. package/dist/src/rest-api/endpoint/model/endpoint.model.js +0 -30
  1145. package/dist/src/rest-api/endpoint/model/endpoint.model.js.map +0 -1
  1146. package/dist/src/rest-api/endpoint/model/index.d.ts +0 -1
  1147. package/dist/src/rest-api/endpoint/model/index.js +0 -18
  1148. package/dist/src/rest-api/endpoint/model/index.js.map +0 -1
  1149. package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.d.ts +0 -5
  1150. package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.js +0 -26
  1151. package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.js.map +0 -1
  1152. package/dist/src/rest-api/organization/dto/create-project.dto.d.ts +0 -4
  1153. package/dist/src/rest-api/organization/dto/create-project.dto.js +0 -25
  1154. package/dist/src/rest-api/organization/dto/create-project.dto.js.map +0 -1
  1155. package/dist/src/rest-api/organization/dto/get-projects.dto.d.ts +0 -4
  1156. package/dist/src/rest-api/organization/dto/get-projects.dto.js +0 -30
  1157. package/dist/src/rest-api/organization/dto/get-projects.dto.js.map +0 -1
  1158. package/dist/src/rest-api/organization/dto/get-users-organization.dto.d.ts +0 -4
  1159. package/dist/src/rest-api/organization/dto/get-users-organization.dto.js +0 -30
  1160. package/dist/src/rest-api/organization/dto/get-users-organization.dto.js.map +0 -1
  1161. package/dist/src/rest-api/organization/dto/index.d.ts +0 -5
  1162. package/dist/src/rest-api/organization/dto/index.js +0 -22
  1163. package/dist/src/rest-api/organization/dto/index.js.map +0 -1
  1164. package/dist/src/rest-api/organization/dto/remove-user-from-organization.dto.d.ts +0 -3
  1165. package/dist/src/rest-api/organization/dto/remove-user-from-organization.dto.js +0 -21
  1166. package/dist/src/rest-api/organization/dto/remove-user-from-organization.dto.js.map +0 -1
  1167. package/dist/src/rest-api/organization/model/index.d.ts +0 -3
  1168. package/dist/src/rest-api/organization/model/index.js +0 -20
  1169. package/dist/src/rest-api/organization/model/index.js.map +0 -1
  1170. package/dist/src/rest-api/organization/model/project.connection.d.ts +0 -4
  1171. package/dist/src/rest-api/organization/model/project.connection.js +0 -9
  1172. package/dist/src/rest-api/organization/model/project.connection.js.map +0 -1
  1173. package/dist/src/rest-api/organization/model/users-organization.connection.d.ts +0 -4
  1174. package/dist/src/rest-api/organization/model/users-organization.connection.js +0 -9
  1175. package/dist/src/rest-api/organization/model/users-organization.connection.js.map +0 -1
  1176. package/dist/src/rest-api/organization/model/users-organization.model.d.ts +0 -7
  1177. package/dist/src/rest-api/organization/model/users-organization.model.js +0 -31
  1178. package/dist/src/rest-api/organization/model/users-organization.model.js.map +0 -1
  1179. package/dist/src/rest-api/organization/organization.controller.d.ts +0 -16
  1180. package/dist/src/rest-api/organization/organization.controller.js +0 -145
  1181. package/dist/src/rest-api/organization/organization.controller.js.map +0 -1
  1182. package/dist/src/rest-api/project/dto/add-user-to-project.dto.d.ts +0 -5
  1183. package/dist/src/rest-api/project/dto/add-user-to-project.dto.js +0 -26
  1184. package/dist/src/rest-api/project/dto/add-user-to-project.dto.js.map +0 -1
  1185. package/dist/src/rest-api/project/dto/get-project-branches.dto.d.ts +0 -4
  1186. package/dist/src/rest-api/project/dto/get-project-branches.dto.js +0 -30
  1187. package/dist/src/rest-api/project/dto/get-project-branches.dto.js.map +0 -1
  1188. package/dist/src/rest-api/project/dto/get-users-project.dto.d.ts +0 -4
  1189. package/dist/src/rest-api/project/dto/get-users-project.dto.js +0 -30
  1190. package/dist/src/rest-api/project/dto/get-users-project.dto.js.map +0 -1
  1191. package/dist/src/rest-api/project/dto/update-project.dto.d.ts +0 -3
  1192. package/dist/src/rest-api/project/dto/update-project.dto.js +0 -21
  1193. package/dist/src/rest-api/project/dto/update-project.dto.js.map +0 -1
  1194. package/dist/src/rest-api/project/model/index.d.ts +0 -3
  1195. package/dist/src/rest-api/project/model/index.js +0 -20
  1196. package/dist/src/rest-api/project/model/index.js.map +0 -1
  1197. package/dist/src/rest-api/project/model/project.model.d.ts +0 -6
  1198. package/dist/src/rest-api/project/model/project.model.js +0 -33
  1199. package/dist/src/rest-api/project/model/project.model.js.map +0 -1
  1200. package/dist/src/rest-api/project/model/users-project.connection.d.ts +0 -4
  1201. package/dist/src/rest-api/project/model/users-project.connection.js +0 -9
  1202. package/dist/src/rest-api/project/model/users-project.connection.js.map +0 -1
  1203. package/dist/src/rest-api/project/model/users-project.model.d.ts +0 -7
  1204. package/dist/src/rest-api/project/model/users-project.model.js +0 -31
  1205. package/dist/src/rest-api/project/model/users-project.model.js.map +0 -1
  1206. package/dist/src/rest-api/project/project.controller.d.ts +0 -19
  1207. package/dist/src/rest-api/project/project.controller.js +0 -204
  1208. package/dist/src/rest-api/project/project.controller.js.map +0 -1
  1209. package/dist/src/rest-api/rest-api.module.d.ts +0 -2
  1210. package/dist/src/rest-api/rest-api.module.js +0 -43
  1211. package/dist/src/rest-api/rest-api.module.js.map +0 -1
  1212. package/dist/src/rest-api/revision/dto/create-endpoint.dto.d.ts +0 -4
  1213. package/dist/src/rest-api/revision/dto/create-endpoint.dto.js +0 -22
  1214. package/dist/src/rest-api/revision/dto/create-endpoint.dto.js.map +0 -1
  1215. package/dist/src/rest-api/revision/dto/create-table.dto.d.ts +0 -5
  1216. package/dist/src/rest-api/revision/dto/create-table.dto.js +0 -26
  1217. package/dist/src/rest-api/revision/dto/create-table.dto.js.map +0 -1
  1218. package/dist/src/rest-api/revision/dto/get-revision-tables.dto.d.ts +0 -4
  1219. package/dist/src/rest-api/revision/dto/get-revision-tables.dto.js +0 -30
  1220. package/dist/src/rest-api/revision/dto/get-revision-tables.dto.js.map +0 -1
  1221. package/dist/src/rest-api/revision/dto/index.d.ts +0 -3
  1222. package/dist/src/rest-api/revision/dto/index.js +0 -20
  1223. package/dist/src/rest-api/revision/dto/index.js.map +0 -1
  1224. package/dist/src/rest-api/revision/model/child-branches.response.d.ts +0 -8
  1225. package/dist/src/rest-api/revision/model/child-branches.response.js +0 -31
  1226. package/dist/src/rest-api/revision/model/child-branches.response.js.map +0 -1
  1227. package/dist/src/rest-api/revision/model/create-table.response.d.ts +0 -6
  1228. package/dist/src/rest-api/revision/model/create-table.response.js +0 -27
  1229. package/dist/src/rest-api/revision/model/create-table.response.js.map +0 -1
  1230. package/dist/src/rest-api/revision/model/index.d.ts +0 -2
  1231. package/dist/src/rest-api/revision/model/index.js +0 -19
  1232. package/dist/src/rest-api/revision/model/index.js.map +0 -1
  1233. package/dist/src/rest-api/revision/model/revision.model.d.ts +0 -10
  1234. package/dist/src/rest-api/revision/model/revision.model.js +0 -37
  1235. package/dist/src/rest-api/revision/model/revision.model.js.map +0 -1
  1236. package/dist/src/rest-api/revision/revision-by-id.controller.d.ts +0 -21
  1237. package/dist/src/rest-api/revision/revision-by-id.controller.js +0 -211
  1238. package/dist/src/rest-api/revision/revision-by-id.controller.js.map +0 -1
  1239. package/dist/src/rest-api/role/model/index.d.ts +0 -1
  1240. package/dist/src/rest-api/role/model/index.js +0 -18
  1241. package/dist/src/rest-api/role/model/index.js.map +0 -1
  1242. package/dist/src/rest-api/role/model/role.model.d.ts +0 -4
  1243. package/dist/src/rest-api/role/model/role.model.js +0 -25
  1244. package/dist/src/rest-api/role/model/role.model.js.map +0 -1
  1245. package/dist/src/rest-api/row/dto/get-row-references-by.dto.d.ts +0 -5
  1246. package/dist/src/rest-api/row/dto/get-row-references-by.dto.js +0 -34
  1247. package/dist/src/rest-api/row/dto/get-row-references-by.dto.js.map +0 -1
  1248. package/dist/src/rest-api/row/dto/get-row-references-to.dto.d.ts +0 -5
  1249. package/dist/src/rest-api/row/dto/get-row-references-to.dto.js +0 -34
  1250. package/dist/src/rest-api/row/dto/get-row-references-to.dto.js.map +0 -1
  1251. package/dist/src/rest-api/row/dto/index.d.ts +0 -2
  1252. package/dist/src/rest-api/row/dto/index.js +0 -19
  1253. package/dist/src/rest-api/row/dto/index.js.map +0 -1
  1254. package/dist/src/rest-api/row/dto/update-row.dto.d.ts +0 -4
  1255. package/dist/src/rest-api/row/dto/update-row.dto.js +0 -22
  1256. package/dist/src/rest-api/row/dto/update-row.dto.js.map +0 -1
  1257. package/dist/src/rest-api/row/model/index.d.ts +0 -3
  1258. package/dist/src/rest-api/row/model/index.js +0 -20
  1259. package/dist/src/rest-api/row/model/index.js.map +0 -1
  1260. package/dist/src/rest-api/row/model/remove-row.response.d.ts +0 -7
  1261. package/dist/src/rest-api/row/model/remove-row.response.js +0 -31
  1262. package/dist/src/rest-api/row/model/remove-row.response.js.map +0 -1
  1263. package/dist/src/rest-api/row/model/row.model.d.ts +0 -12
  1264. package/dist/src/rest-api/row/model/row.model.js +0 -42
  1265. package/dist/src/rest-api/row/model/row.model.js.map +0 -1
  1266. package/dist/src/rest-api/row/model/update-row.response.d.ts +0 -8
  1267. package/dist/src/rest-api/row/model/update-row.response.js +0 -35
  1268. package/dist/src/rest-api/row/model/update-row.response.js.map +0 -1
  1269. package/dist/src/rest-api/row/row-by-id.controller.d.ts +0 -17
  1270. package/dist/src/rest-api/row/row-by-id.controller.js +0 -209
  1271. package/dist/src/rest-api/row/row-by-id.controller.js.map +0 -1
  1272. package/dist/src/rest-api/share/model/paginated.model.d.ts +0 -8
  1273. package/dist/src/rest-api/share/model/paginated.model.js +0 -69
  1274. package/dist/src/rest-api/share/model/paginated.model.js.map +0 -1
  1275. package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.d.ts +0 -3
  1276. package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.js +0 -10
  1277. package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.js.map +0 -1
  1278. package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.d.ts +0 -4
  1279. package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.js +0 -16
  1280. package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.js.map +0 -1
  1281. package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +0 -5
  1282. package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.js +0 -24
  1283. package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.js.map +0 -1
  1284. package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +0 -5
  1285. package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.js +0 -25
  1286. package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.js.map +0 -1
  1287. package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +0 -5
  1288. package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.js +0 -24
  1289. package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.js.map +0 -1
  1290. package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +0 -5
  1291. package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.js +0 -30
  1292. package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.js.map +0 -1
  1293. package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +0 -5
  1294. package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.js +0 -30
  1295. package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.js.map +0 -1
  1296. package/dist/src/rest-api/table/dto/create-row.dto.d.ts +0 -5
  1297. package/dist/src/rest-api/table/dto/create-row.dto.js +0 -26
  1298. package/dist/src/rest-api/table/dto/create-row.dto.js.map +0 -1
  1299. package/dist/src/rest-api/table/dto/get-table-references-by.dto.d.ts +0 -4
  1300. package/dist/src/rest-api/table/dto/get-table-references-by.dto.js +0 -30
  1301. package/dist/src/rest-api/table/dto/get-table-references-by.dto.js.map +0 -1
  1302. package/dist/src/rest-api/table/dto/get-table-references-to.dto.d.ts +0 -4
  1303. package/dist/src/rest-api/table/dto/get-table-references-to.dto.js +0 -30
  1304. package/dist/src/rest-api/table/dto/get-table-references-to.dto.js.map +0 -1
  1305. package/dist/src/rest-api/table/dto/get-table-rows.dto.d.ts +0 -4
  1306. package/dist/src/rest-api/table/dto/get-table-rows.dto.js +0 -30
  1307. package/dist/src/rest-api/table/dto/get-table-rows.dto.js.map +0 -1
  1308. package/dist/src/rest-api/table/dto/index.d.ts +0 -5
  1309. package/dist/src/rest-api/table/dto/index.js +0 -22
  1310. package/dist/src/rest-api/table/dto/index.js.map +0 -1
  1311. package/dist/src/rest-api/table/dto/update-table.dto.d.ts +0 -4
  1312. package/dist/src/rest-api/table/dto/update-table.dto.js +0 -21
  1313. package/dist/src/rest-api/table/dto/update-table.dto.js.map +0 -1
  1314. package/dist/src/rest-api/table/model/create-row.response.d.ts +0 -6
  1315. package/dist/src/rest-api/table/model/create-row.response.js +0 -31
  1316. package/dist/src/rest-api/table/model/create-row.response.js.map +0 -1
  1317. package/dist/src/rest-api/table/model/index.d.ts +0 -1
  1318. package/dist/src/rest-api/table/model/index.js +0 -18
  1319. package/dist/src/rest-api/table/model/index.js.map +0 -1
  1320. package/dist/src/rest-api/table/model/table.model.d.ts +0 -10
  1321. package/dist/src/rest-api/table/model/table.model.js +0 -37
  1322. package/dist/src/rest-api/table/model/table.model.js.map +0 -1
  1323. package/dist/src/rest-api/table/model/update-table.response.d.ts +0 -5
  1324. package/dist/src/rest-api/table/model/update-table.response.js +0 -26
  1325. package/dist/src/rest-api/table/model/update-table.response.js.map +0 -1
  1326. package/dist/src/rest-api/table/table-by-id.controller.d.ts +0 -23
  1327. package/dist/src/rest-api/table/table-by-id.controller.js +0 -262
  1328. package/dist/src/rest-api/table/table-by-id.controller.js.map +0 -1
  1329. package/dist/src/rest-api/user/model/index.d.ts +0 -1
  1330. package/dist/src/rest-api/user/model/index.js +0 -18
  1331. package/dist/src/rest-api/user/model/index.js.map +0 -1
  1332. package/dist/src/rest-api/user/model/user.model.d.ts +0 -5
  1333. package/dist/src/rest-api/user/model/user.model.js +0 -29
  1334. package/dist/src/rest-api/user/model/user.model.js.map +0 -1
  1335. package/dist/src/rest-api/user/user.controller.d.ts +0 -10
  1336. package/dist/src/rest-api/user/user.controller.js +0 -47
  1337. package/dist/src/rest-api/user/user.controller.js.map +0 -1
  1338. package/dist/src/revision/queries/commands/get-children-by-revision.handler.d.ts +0 -19
  1339. package/dist/src/revision/queries/commands/get-children-by-revision.handler.js +0 -31
  1340. package/dist/src/revision/queries/commands/get-children-by-revision.handler.js.map +0 -1
  1341. package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +0 -9
  1342. package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.js +0 -31
  1343. package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.js.map +0 -1
  1344. package/dist/src/revision/queries/commands/get-revision.handler.d.ts +0 -19
  1345. package/dist/src/revision/queries/commands/get-revision.handler.js +0 -31
  1346. package/dist/src/revision/queries/commands/get-revision.handler.js.map +0 -1
  1347. package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +0 -20
  1348. package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.js +0 -65
  1349. package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.js.map +0 -1
  1350. package/dist/src/revision/queries/commands/index.d.ts +0 -9
  1351. package/dist/src/revision/queries/commands/index.js +0 -22
  1352. package/dist/src/revision/queries/commands/index.js.map +0 -1
  1353. package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +0 -14
  1354. package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.js +0 -31
  1355. package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.js.map +0 -1
  1356. package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +0 -17
  1357. package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.js +0 -53
  1358. package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.js.map +0 -1
  1359. package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.d.ts +0 -21
  1360. package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.js +0 -41
  1361. package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.js.map +0 -1
  1362. package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +0 -19
  1363. package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.js +0 -31
  1364. package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.js.map +0 -1
  1365. package/dist/src/revision/queries/impl/get-children-by-revision.query.d.ts +0 -4
  1366. package/dist/src/revision/queries/impl/get-children-by-revision.query.js +0 -10
  1367. package/dist/src/revision/queries/impl/get-children-by-revision.query.js.map +0 -1
  1368. package/dist/src/revision/queries/impl/get-endpoints-by-revision-id.query.d.ts +0 -4
  1369. package/dist/src/revision/queries/impl/get-endpoints-by-revision-id.query.js +0 -10
  1370. package/dist/src/revision/queries/impl/get-endpoints-by-revision-id.query.js.map +0 -1
  1371. package/dist/src/revision/queries/impl/get-revision.query.d.ts +0 -8
  1372. package/dist/src/revision/queries/impl/get-revision.query.js +0 -10
  1373. package/dist/src/revision/queries/impl/get-revision.query.js.map +0 -1
  1374. package/dist/src/revision/queries/impl/get-tables-by-revision-id.query.d.ts +0 -12
  1375. package/dist/src/revision/queries/impl/get-tables-by-revision-id.query.js +0 -10
  1376. package/dist/src/revision/queries/impl/get-tables-by-revision-id.query.js.map +0 -1
  1377. package/dist/src/revision/queries/impl/index.d.ts +0 -7
  1378. package/dist/src/revision/queries/impl/index.js +0 -24
  1379. package/dist/src/revision/queries/impl/index.js.map +0 -1
  1380. package/dist/src/revision/queries/impl/resolve-branch-by-revision.query.d.ts +0 -4
  1381. package/dist/src/revision/queries/impl/resolve-branch-by-revision.query.js +0 -10
  1382. package/dist/src/revision/queries/impl/resolve-branch-by-revision.query.js.map +0 -1
  1383. package/dist/src/revision/queries/impl/resolve-child-branches-by-revision.query.d.ts +0 -4
  1384. package/dist/src/revision/queries/impl/resolve-child-branches-by-revision.query.js +0 -10
  1385. package/dist/src/revision/queries/impl/resolve-child-branches-by-revision.query.js.map +0 -1
  1386. package/dist/src/revision/queries/impl/resolve-child-by-revision.query.d.ts +0 -4
  1387. package/dist/src/revision/queries/impl/resolve-child-by-revision.query.js +0 -10
  1388. package/dist/src/revision/queries/impl/resolve-child-by-revision.query.js.map +0 -1
  1389. package/dist/src/revision/queries/impl/resolve-parent-by-revision.query.d.ts +0 -4
  1390. package/dist/src/revision/queries/impl/resolve-parent-by-revision.query.js +0 -10
  1391. package/dist/src/revision/queries/impl/resolve-parent-by-revision.query.js.map +0 -1
  1392. package/dist/src/revision/queries/types/get-endpoints-by-revision-id.d.ts +0 -2
  1393. package/dist/src/revision/queries/types/get-endpoints-by-revision-id.js +0 -3
  1394. package/dist/src/revision/queries/types/get-endpoints-by-revision-id.js.map +0 -1
  1395. package/dist/src/revision/queries/types/get-revision-tables.types.d.ts +0 -3
  1396. package/dist/src/revision/queries/types/get-revision-tables.types.js +0 -3
  1397. package/dist/src/revision/queries/types/get-revision-tables.types.js.map +0 -1
  1398. package/dist/src/revision/queries/types/get-tables-by-revision-id.d.ts +0 -2
  1399. package/dist/src/revision/queries/types/get-tables-by-revision-id.js +0 -3
  1400. package/dist/src/revision/queries/types/get-tables-by-revision-id.js.map +0 -1
  1401. package/dist/src/revision/queries/types/index.d.ts +0 -4
  1402. package/dist/src/revision/queries/types/index.js +0 -3
  1403. package/dist/src/revision/queries/types/index.js.map +0 -1
  1404. package/dist/src/revision/revision.module.d.ts +0 -2
  1405. package/dist/src/revision/revision.module.js +0 -25
  1406. package/dist/src/revision/revision.module.js.map +0 -1
  1407. package/dist/src/row/queries/handlers/get-row-by-id.handler.d.ts +0 -19
  1408. package/dist/src/row/queries/handlers/get-row-by-id.handler.js +0 -43
  1409. package/dist/src/row/queries/handlers/get-row-by-id.handler.js.map +0 -1
  1410. package/dist/src/row/queries/handlers/get-row.handler.d.ts +0 -14
  1411. package/dist/src/row/queries/handlers/get-row.handler.js +0 -59
  1412. package/dist/src/row/queries/handlers/get-row.handler.js.map +0 -1
  1413. package/dist/src/row/queries/handlers/get-rows.handler.d.ts +0 -15
  1414. package/dist/src/row/queries/handlers/get-rows.handler.js +0 -71
  1415. package/dist/src/row/queries/handlers/get-rows.handler.js.map +0 -1
  1416. package/dist/src/row/queries/handlers/index.d.ts +0 -8
  1417. package/dist/src/row/queries/handlers/index.js +0 -20
  1418. package/dist/src/row/queries/handlers/index.js.map +0 -1
  1419. package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.d.ts +0 -16
  1420. package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.js +0 -67
  1421. package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.js.map +0 -1
  1422. package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.d.ts +0 -14
  1423. package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.js +0 -59
  1424. package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.js.map +0 -1
  1425. package/dist/src/row/queries/handlers/resolve-row-references-by.handler.d.ts +0 -28
  1426. package/dist/src/row/queries/handlers/resolve-row-references-by.handler.js +0 -78
  1427. package/dist/src/row/queries/handlers/resolve-row-references-by.handler.js.map +0 -1
  1428. package/dist/src/row/queries/handlers/resolve-row-references-to.handler.d.ts +0 -28
  1429. package/dist/src/row/queries/handlers/resolve-row-references-to.handler.js +0 -91
  1430. package/dist/src/row/queries/handlers/resolve-row-references-to.handler.js.map +0 -1
  1431. package/dist/src/row/queries/impl/get-row-by-id.query.d.ts +0 -12
  1432. package/dist/src/row/queries/impl/get-row-by-id.query.js +0 -10
  1433. package/dist/src/row/queries/impl/get-row-by-id.query.js.map +0 -1
  1434. package/dist/src/row/queries/impl/get-row.query.d.ts +0 -12
  1435. package/dist/src/row/queries/impl/get-row.query.js +0 -10
  1436. package/dist/src/row/queries/impl/get-row.query.js.map +0 -1
  1437. package/dist/src/row/queries/impl/get-rows.query.d.ts +0 -14
  1438. package/dist/src/row/queries/impl/get-rows.query.js +0 -10
  1439. package/dist/src/row/queries/impl/get-rows.query.js.map +0 -1
  1440. package/dist/src/row/queries/impl/index.d.ts +0 -7
  1441. package/dist/src/row/queries/impl/index.js +0 -24
  1442. package/dist/src/row/queries/impl/index.js.map +0 -1
  1443. package/dist/src/row/queries/impl/resolve-row-count-references-by.query.d.ts +0 -12
  1444. package/dist/src/row/queries/impl/resolve-row-count-references-by.query.js +0 -10
  1445. package/dist/src/row/queries/impl/resolve-row-count-references-by.query.js.map +0 -1
  1446. package/dist/src/row/queries/impl/resolve-row-count-references-to.query.d.ts +0 -12
  1447. package/dist/src/row/queries/impl/resolve-row-count-references-to.query.js +0 -10
  1448. package/dist/src/row/queries/impl/resolve-row-count-references-to.query.js.map +0 -1
  1449. package/dist/src/row/queries/impl/resolve-row-references-by.query.d.ts +0 -18
  1450. package/dist/src/row/queries/impl/resolve-row-references-by.query.js +0 -10
  1451. package/dist/src/row/queries/impl/resolve-row-references-by.query.js.map +0 -1
  1452. package/dist/src/row/queries/impl/resolve-row-references-to.query.d.ts +0 -18
  1453. package/dist/src/row/queries/impl/resolve-row-references-to.query.js +0 -10
  1454. package/dist/src/row/queries/impl/resolve-row-references-to.query.js.map +0 -1
  1455. package/dist/src/row/queries/types/get-row-by-id.types.d.ts +0 -2
  1456. package/dist/src/row/queries/types/get-row-by-id.types.js +0 -3
  1457. package/dist/src/row/queries/types/get-row-by-id.types.js.map +0 -1
  1458. package/dist/src/row/queries/types/get-row.types.d.ts +0 -2
  1459. package/dist/src/row/queries/types/get-row.types.js +0 -3
  1460. package/dist/src/row/queries/types/get-row.types.js.map +0 -1
  1461. package/dist/src/row/queries/types/get-rows.types.d.ts +0 -3
  1462. package/dist/src/row/queries/types/get-rows.types.js +0 -3
  1463. package/dist/src/row/queries/types/get-rows.types.js.map +0 -1
  1464. package/dist/src/row/queries/types/index.d.ts +0 -5
  1465. package/dist/src/row/queries/types/index.js +0 -22
  1466. package/dist/src/row/queries/types/index.js.map +0 -1
  1467. package/dist/src/row/queries/types/resolve-row-references-by.types.d.ts +0 -3
  1468. package/dist/src/row/queries/types/resolve-row-references-by.types.js +0 -3
  1469. package/dist/src/row/queries/types/resolve-row-references-by.types.js.map +0 -1
  1470. package/dist/src/row/queries/types/resolve-row-references-to.types.d.ts +0 -3
  1471. package/dist/src/row/queries/types/resolve-row-references-to.types.js +0 -3
  1472. package/dist/src/row/queries/types/resolve-row-references-to.types.js.map +0 -1
  1473. package/dist/src/row/row.module.d.ts +0 -2
  1474. package/dist/src/row/row.module.js +0 -24
  1475. package/dist/src/row/row.module.js.map +0 -1
  1476. package/dist/src/share/commands/handlers/index.d.ts +0 -3
  1477. package/dist/src/share/commands/handlers/index.js +0 -10
  1478. package/dist/src/share/commands/handlers/index.js.map +0 -1
  1479. package/dist/src/share/commands/handlers/notify-endpoints.handler.d.ts +0 -12
  1480. package/dist/src/share/commands/handlers/notify-endpoints.handler.js +0 -46
  1481. package/dist/src/share/commands/handlers/notify-endpoints.handler.js.map +0 -1
  1482. package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.d.ts +0 -11
  1483. package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.js +0 -56
  1484. package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.js.map +0 -1
  1485. package/dist/src/share/commands/impl/index.d.ts +0 -2
  1486. package/dist/src/share/commands/impl/index.js +0 -19
  1487. package/dist/src/share/commands/impl/index.js.map +0 -1
  1488. package/dist/src/share/commands/impl/notify-endpoints.command.d.ts +0 -8
  1489. package/dist/src/share/commands/impl/notify-endpoints.command.js +0 -10
  1490. package/dist/src/share/commands/impl/notify-endpoints.command.js.map +0 -1
  1491. package/dist/src/share/commands/impl/transactional/move-endpoints.command.d.ts +0 -10
  1492. package/dist/src/share/commands/impl/transactional/move-endpoints.command.js +0 -10
  1493. package/dist/src/share/commands/impl/transactional/move-endpoints.command.js.map +0 -1
  1494. package/dist/src/share/commands/utils/getOffsetPagination.d.ts +0 -18
  1495. package/dist/src/share/commands/utils/getOffsetPagination.js +0 -37
  1496. package/dist/src/share/commands/utils/getOffsetPagination.js.map +0 -1
  1497. package/dist/src/share/commands/utils/getRevisionCursorPagination.d.ts +0 -29
  1498. package/dist/src/share/commands/utils/getRevisionCursorPagination.js +0 -70
  1499. package/dist/src/share/commands/utils/getRevisionCursorPagination.js.map +0 -1
  1500. package/dist/src/share/const.d.ts +0 -2
  1501. package/dist/src/share/const.js +0 -14
  1502. package/dist/src/share/const.js.map +0 -1
  1503. package/dist/src/share/pagination.interface.d.ts +0 -15
  1504. package/dist/src/share/pagination.interface.js +0 -3
  1505. package/dist/src/share/pagination.interface.js.map +0 -1
  1506. package/dist/src/share/queries/handlers/index.d.ts +0 -9
  1507. package/dist/src/share/queries/handlers/index.js +0 -22
  1508. package/dist/src/share/queries/handlers/index.js.map +0 -1
  1509. package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.d.ts +0 -10
  1510. package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js +0 -44
  1511. package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js.map +0 -1
  1512. package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.d.ts +0 -10
  1513. package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js +0 -39
  1514. package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js.map +0 -1
  1515. package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.d.ts +0 -10
  1516. package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js +0 -39
  1517. package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js.map +0 -1
  1518. package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.d.ts +0 -10
  1519. package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js +0 -44
  1520. package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js.map +0 -1
  1521. package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.d.ts +0 -10
  1522. package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js +0 -42
  1523. package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js.map +0 -1
  1524. package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.d.ts +0 -10
  1525. package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js +0 -42
  1526. package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js.map +0 -1
  1527. package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.d.ts +0 -10
  1528. package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js +0 -42
  1529. package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js.map +0 -1
  1530. package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.d.ts +0 -11
  1531. package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.js +0 -57
  1532. package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.js.map +0 -1
  1533. package/dist/src/share/queries/impl/index.d.ts +0 -7
  1534. package/dist/src/share/queries/impl/index.js +0 -24
  1535. package/dist/src/share/queries/impl/index.js.map +0 -1
  1536. package/dist/src/share/queries/impl/transactional/find-branch-in-project-or-throw.query.d.ts +0 -10
  1537. package/dist/src/share/queries/impl/transactional/find-branch-in-project-or-throw.query.js +0 -10
  1538. package/dist/src/share/queries/impl/transactional/find-branch-in-project-or-throw.query.js.map +0 -1
  1539. package/dist/src/share/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.d.ts +0 -8
  1540. package/dist/src/share/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.js +0 -10
  1541. package/dist/src/share/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.js.map +0 -1
  1542. package/dist/src/share/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.d.ts +0 -8
  1543. package/dist/src/share/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.js +0 -10
  1544. package/dist/src/share/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.js.map +0 -1
  1545. package/dist/src/share/queries/impl/transactional/find-project-in-organization-or-throw.query.d.ts +0 -10
  1546. package/dist/src/share/queries/impl/transactional/find-project-in-organization-or-throw.query.js +0 -10
  1547. package/dist/src/share/queries/impl/transactional/find-project-in-organization-or-throw.query.js.map +0 -1
  1548. package/dist/src/share/queries/impl/transactional/find-row-in-table-or-throw.query.d.ts +0 -10
  1549. package/dist/src/share/queries/impl/transactional/find-row-in-table-or-throw.query.js +0 -10
  1550. package/dist/src/share/queries/impl/transactional/find-row-in-table-or-throw.query.js.map +0 -1
  1551. package/dist/src/share/queries/impl/transactional/find-rows-in-table-or-throw.query.d.ts +0 -10
  1552. package/dist/src/share/queries/impl/transactional/find-rows-in-table-or-throw.query.js +0 -10
  1553. package/dist/src/share/queries/impl/transactional/find-rows-in-table-or-throw.query.js.map +0 -1
  1554. package/dist/src/share/queries/impl/transactional/find-table-in-revision-or-throw.query.d.ts +0 -10
  1555. package/dist/src/share/queries/impl/transactional/find-table-in-revision-or-throw.query.js +0 -10
  1556. package/dist/src/share/queries/impl/transactional/find-table-in-revision-or-throw.query.js.map +0 -1
  1557. package/dist/src/share/queries/impl/transactional/get-table-schema.query.d.ts +0 -10
  1558. package/dist/src/share/queries/impl/transactional/get-table-schema.query.js +0 -10
  1559. package/dist/src/share/queries/impl/transactional/get-table-schema.query.js.map +0 -1
  1560. package/dist/src/share/queries/types/find-branch-in-project.types.d.ts +0 -3
  1561. package/dist/src/share/queries/types/find-branch-in-project.types.js +0 -3
  1562. package/dist/src/share/queries/types/find-branch-in-project.types.js.map +0 -1
  1563. package/dist/src/share/queries/types/find-draft-revision-in-branch.types.d.ts +0 -3
  1564. package/dist/src/share/queries/types/find-draft-revision-in-branch.types.js +0 -3
  1565. package/dist/src/share/queries/types/find-draft-revision-in-branch.types.js.map +0 -1
  1566. package/dist/src/share/queries/types/find-head-revision-in-branch.types.d.ts +0 -3
  1567. package/dist/src/share/queries/types/find-head-revision-in-branch.types.js +0 -3
  1568. package/dist/src/share/queries/types/find-head-revision-in-branch.types.js.map +0 -1
  1569. package/dist/src/share/queries/types/find-project-in-organization.types.d.ts +0 -3
  1570. package/dist/src/share/queries/types/find-project-in-organization.types.js +0 -3
  1571. package/dist/src/share/queries/types/find-project-in-organization.types.js.map +0 -1
  1572. package/dist/src/share/queries/types/find-row-in-table.types.d.ts +0 -4
  1573. package/dist/src/share/queries/types/find-row-in-table.types.js +0 -3
  1574. package/dist/src/share/queries/types/find-row-in-table.types.js.map +0 -1
  1575. package/dist/src/share/queries/types/find-rows-in-table.types.d.ts +0 -5
  1576. package/dist/src/share/queries/types/find-rows-in-table.types.js +0 -3
  1577. package/dist/src/share/queries/types/find-rows-in-table.types.js.map +0 -1
  1578. package/dist/src/share/queries/types/find-table-in-revision.types.d.ts +0 -5
  1579. package/dist/src/share/queries/types/find-table-in-revision.types.js +0 -3
  1580. package/dist/src/share/queries/types/find-table-in-revision.types.js.map +0 -1
  1581. package/dist/src/share/queries/types/index.d.ts +0 -7
  1582. package/dist/src/share/queries/types/index.js +0 -3
  1583. package/dist/src/share/queries/types/index.js.map +0 -1
  1584. package/dist/src/share/references.service.d.ts +0 -22
  1585. package/dist/src/share/references.service.js +0 -94
  1586. package/dist/src/share/references.service.js.map +0 -1
  1587. package/dist/src/share/schema/consts.d.ts +0 -3
  1588. package/dist/src/share/schema/consts.js +0 -8
  1589. package/dist/src/share/schema/consts.js.map +0 -1
  1590. package/dist/src/share/schema/json-patch-schema.d.ts +0 -2
  1591. package/dist/src/share/schema/json-patch-schema.js +0 -71
  1592. package/dist/src/share/schema/json-patch-schema.js.map +0 -1
  1593. package/dist/src/share/schema/meta-schema.d.ts +0 -9
  1594. package/dist/src/share/schema/meta-schema.js +0 -143
  1595. package/dist/src/share/schema/meta-schema.js.map +0 -1
  1596. package/dist/src/share/share.commands.d.ts +0 -8
  1597. package/dist/src/share/share.commands.js +0 -29
  1598. package/dist/src/share/share.commands.js.map +0 -1
  1599. package/dist/src/share/share.module.d.ts +0 -2
  1600. package/dist/src/share/share.module.js +0 -42
  1601. package/dist/src/share/share.module.js.map +0 -1
  1602. package/dist/src/share/share.transactional.commands.d.ts +0 -9
  1603. package/dist/src/share/share.transactional.commands.js +0 -29
  1604. package/dist/src/share/share.transactional.commands.js.map +0 -1
  1605. package/dist/src/share/share.transactional.queries.d.ts +0 -15
  1606. package/dist/src/share/share.transactional.queries.js +0 -73
  1607. package/dist/src/share/share.transactional.queries.js.map +0 -1
  1608. package/dist/src/share/system-organizations.consts.d.ts +0 -3
  1609. package/dist/src/share/system-organizations.consts.js +0 -8
  1610. package/dist/src/share/system-organizations.consts.js.map +0 -1
  1611. package/dist/src/share/system-tables.consts.d.ts +0 -5
  1612. package/dist/src/share/system-tables.consts.js +0 -15
  1613. package/dist/src/share/system-tables.consts.js.map +0 -1
  1614. package/dist/src/share/types/row-with-context.types.d.ts +0 -7
  1615. package/dist/src/share/types/row-with-context.types.js +0 -3
  1616. package/dist/src/share/types/row-with-context.types.js.map +0 -1
  1617. package/dist/src/share/types/table-with-context.types.d.ts +0 -6
  1618. package/dist/src/share/types/table-with-context.types.js +0 -3
  1619. package/dist/src/share/types/table-with-context.types.js.map +0 -1
  1620. package/dist/src/share/types.d.ts +0 -3
  1621. package/dist/src/share/types.js +0 -3
  1622. package/dist/src/share/types.js.map +0 -1
  1623. package/dist/src/share/utils/index.d.ts +0 -1
  1624. package/dist/src/share/utils/index.js +0 -18
  1625. package/dist/src/share/utils/index.js.map +0 -1
  1626. package/dist/src/share/utils/schema/lib/applyPatches.d.ts +0 -6
  1627. package/dist/src/share/utils/schema/lib/applyPatches.js +0 -89
  1628. package/dist/src/share/utils/schema/lib/applyPatches.js.map +0 -1
  1629. package/dist/src/share/utils/schema/lib/createJsonSchemaStore.d.ts +0 -6
  1630. package/dist/src/share/utils/schema/lib/createJsonSchemaStore.js +0 -52
  1631. package/dist/src/share/utils/schema/lib/createJsonSchemaStore.js.map +0 -1
  1632. package/dist/src/share/utils/schema/lib/createJsonValueStore.d.ts +0 -11
  1633. package/dist/src/share/utils/schema/lib/createJsonValueStore.js +0 -54
  1634. package/dist/src/share/utils/schema/lib/createJsonValueStore.js.map +0 -1
  1635. package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.d.ts +0 -2
  1636. package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.js +0 -50
  1637. package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.js.map +0 -1
  1638. package/dist/src/share/utils/schema/lib/getParentForPath.d.ts +0 -4
  1639. package/dist/src/share/utils/schema/lib/getParentForPath.js +0 -45
  1640. package/dist/src/share/utils/schema/lib/getParentForPath.js.map +0 -1
  1641. package/dist/src/share/utils/schema/lib/getPathByStore.d.ts +0 -2
  1642. package/dist/src/share/utils/schema/lib/getPathByStore.js +0 -23
  1643. package/dist/src/share/utils/schema/lib/getPathByStore.js.map +0 -1
  1644. package/dist/src/share/utils/schema/lib/getReferencesFromSchema.d.ts +0 -2
  1645. package/dist/src/share/utils/schema/lib/getReferencesFromSchema.js +0 -16
  1646. package/dist/src/share/utils/schema/lib/getReferencesFromSchema.js.map +0 -1
  1647. package/dist/src/share/utils/schema/lib/getReferencesFromValue.d.ts +0 -6
  1648. package/dist/src/share/utils/schema/lib/getReferencesFromValue.js +0 -24
  1649. package/dist/src/share/utils/schema/lib/getReferencesFromValue.js.map +0 -1
  1650. package/dist/src/share/utils/schema/lib/getValuePathByStore.d.ts +0 -2
  1651. package/dist/src/share/utils/schema/lib/getValuePathByStore.js +0 -23
  1652. package/dist/src/share/utils/schema/lib/getValuePathByStore.js.map +0 -1
  1653. package/dist/src/share/utils/schema/lib/schema-table.d.ts +0 -17
  1654. package/dist/src/share/utils/schema/lib/schema-table.js +0 -69
  1655. package/dist/src/share/utils/schema/lib/schema-table.js.map +0 -1
  1656. package/dist/src/share/utils/schema/lib/traverseStore.d.ts +0 -2
  1657. package/dist/src/share/utils/schema/lib/traverseStore.js +0 -17
  1658. package/dist/src/share/utils/schema/lib/traverseStore.js.map +0 -1
  1659. package/dist/src/share/utils/schema/lib/traverseValue.d.ts +0 -2
  1660. package/dist/src/share/utils/schema/lib/traverseValue.js +0 -19
  1661. package/dist/src/share/utils/schema/lib/traverseValue.js.map +0 -1
  1662. package/dist/src/share/utils/schema/model/schema/json-array.store.d.ts +0 -30
  1663. package/dist/src/share/utils/schema/model/schema/json-array.store.js +0 -70
  1664. package/dist/src/share/utils/schema/model/schema/json-array.store.js.map +0 -1
  1665. package/dist/src/share/utils/schema/model/schema/json-boolean.store.d.ts +0 -17
  1666. package/dist/src/share/utils/schema/model/schema/json-boolean.store.js +0 -40
  1667. package/dist/src/share/utils/schema/model/schema/json-boolean.store.js.map +0 -1
  1668. package/dist/src/share/utils/schema/model/schema/json-number.store.d.ts +0 -17
  1669. package/dist/src/share/utils/schema/model/schema/json-number.store.js +0 -40
  1670. package/dist/src/share/utils/schema/model/schema/json-number.store.js.map +0 -1
  1671. package/dist/src/share/utils/schema/model/schema/json-object.store.d.ts +0 -45
  1672. package/dist/src/share/utils/schema/model/schema/json-object.store.js +0 -142
  1673. package/dist/src/share/utils/schema/model/schema/json-object.store.js.map +0 -1
  1674. package/dist/src/share/utils/schema/model/schema/json-schema.store.d.ts +0 -7
  1675. package/dist/src/share/utils/schema/model/schema/json-schema.store.js +0 -3
  1676. package/dist/src/share/utils/schema/model/schema/json-schema.store.js.map +0 -1
  1677. package/dist/src/share/utils/schema/model/schema/json-string.store.d.ts +0 -18
  1678. package/dist/src/share/utils/schema/model/schema/json-string.store.js +0 -44
  1679. package/dist/src/share/utils/schema/model/schema/json-string.store.js.map +0 -1
  1680. package/dist/src/share/utils/schema/model/value/json-array-value.store.d.ts +0 -16
  1681. package/dist/src/share/utils/schema/model/value/json-array-value.store.js +0 -42
  1682. package/dist/src/share/utils/schema/model/value/json-array-value.store.js.map +0 -1
  1683. package/dist/src/share/utils/schema/model/value/json-boolean-value.store.d.ts +0 -11
  1684. package/dist/src/share/utils/schema/model/value/json-boolean-value.store.js +0 -18
  1685. package/dist/src/share/utils/schema/model/value/json-boolean-value.store.js.map +0 -1
  1686. package/dist/src/share/utils/schema/model/value/json-number-value.store.d.ts +0 -11
  1687. package/dist/src/share/utils/schema/model/value/json-number-value.store.js +0 -18
  1688. package/dist/src/share/utils/schema/model/value/json-number-value.store.js.map +0 -1
  1689. package/dist/src/share/utils/schema/model/value/json-object-value.store.d.ts +0 -19
  1690. package/dist/src/share/utils/schema/model/value/json-object-value.store.js +0 -55
  1691. package/dist/src/share/utils/schema/model/value/json-object-value.store.js.map +0 -1
  1692. package/dist/src/share/utils/schema/model/value/json-string-value.store.d.ts +0 -12
  1693. package/dist/src/share/utils/schema/model/value/json-string-value.store.js +0 -21
  1694. package/dist/src/share/utils/schema/model/value/json-string-value.store.js.map +0 -1
  1695. package/dist/src/share/utils/schema/model/value/json-value.store.d.ts +0 -7
  1696. package/dist/src/share/utils/schema/model/value/json-value.store.js +0 -3
  1697. package/dist/src/share/utils/schema/model/value/json-value.store.js.map +0 -1
  1698. package/dist/src/share/utils/schema/model/value/value-transformation.d.ts +0 -13
  1699. package/dist/src/share/utils/schema/model/value/value-transformation.js +0 -110
  1700. package/dist/src/share/utils/schema/model/value/value-transformation.js.map +0 -1
  1701. package/dist/src/share/utils/schema/types/json-patch.types.d.ts +0 -21
  1702. package/dist/src/share/utils/schema/types/json-patch.types.js +0 -3
  1703. package/dist/src/share/utils/schema/types/json-patch.types.js.map +0 -1
  1704. package/dist/src/share/utils/schema/types/json.types.d.ts +0 -7
  1705. package/dist/src/share/utils/schema/types/json.types.js +0 -3
  1706. package/dist/src/share/utils/schema/types/json.types.js.map +0 -1
  1707. package/dist/src/share/utils/schema/types/schema.types.d.ts +0 -32
  1708. package/dist/src/share/utils/schema/types/schema.types.js +0 -12
  1709. package/dist/src/share/utils/schema/types/schema.types.js.map +0 -1
  1710. package/dist/src/share/utils/sort-revisions/sort-revisions.d.ts +0 -6
  1711. package/dist/src/share/utils/sort-revisions/sort-revisions.js +0 -36
  1712. package/dist/src/share/utils/sort-revisions/sort-revisions.js.map +0 -1
  1713. package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.d.ts +0 -8
  1714. package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.js +0 -33
  1715. package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.js.map +0 -1
  1716. package/dist/src/table/queries/handlers/get-rows-by-table.handler.d.ts +0 -22
  1717. package/dist/src/table/queries/handlers/get-rows-by-table.handler.js +0 -59
  1718. package/dist/src/table/queries/handlers/get-rows-by-table.handler.js.map +0 -1
  1719. package/dist/src/table/queries/handlers/get-table-by-id.handler.d.ts +0 -18
  1720. package/dist/src/table/queries/handlers/get-table-by-id.handler.js +0 -42
  1721. package/dist/src/table/queries/handlers/get-table-by-id.handler.js.map +0 -1
  1722. package/dist/src/table/queries/handlers/get-table.handler.d.ts +0 -14
  1723. package/dist/src/table/queries/handlers/get-table.handler.js +0 -58
  1724. package/dist/src/table/queries/handlers/get-table.handler.js.map +0 -1
  1725. package/dist/src/table/queries/handlers/get-tables.handler.d.ts +0 -11
  1726. package/dist/src/table/queries/handlers/get-tables.handler.js +0 -67
  1727. package/dist/src/table/queries/handlers/get-tables.handler.js.map +0 -1
  1728. package/dist/src/table/queries/handlers/index.d.ts +0 -11
  1729. package/dist/src/table/queries/handlers/index.js +0 -26
  1730. package/dist/src/table/queries/handlers/index.js.map +0 -1
  1731. package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.d.ts +0 -15
  1732. package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.js +0 -54
  1733. package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.js.map +0 -1
  1734. package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.d.ts +0 -12
  1735. package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.js +0 -51
  1736. package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.js.map +0 -1
  1737. package/dist/src/table/queries/handlers/resolve-table-references-by.handler.d.ts +0 -17
  1738. package/dist/src/table/queries/handlers/resolve-table-references-by.handler.js +0 -80
  1739. package/dist/src/table/queries/handlers/resolve-table-references-by.handler.js.map +0 -1
  1740. package/dist/src/table/queries/handlers/resolve-table-references-to.handler.d.ts +0 -14
  1741. package/dist/src/table/queries/handlers/resolve-table-references-to.handler.js +0 -78
  1742. package/dist/src/table/queries/handlers/resolve-table-references-to.handler.js.map +0 -1
  1743. package/dist/src/table/queries/handlers/resolve-table-schema.handler.d.ts +0 -13
  1744. package/dist/src/table/queries/handlers/resolve-table-schema.handler.js +0 -46
  1745. package/dist/src/table/queries/handlers/resolve-table-schema.handler.js.map +0 -1
  1746. package/dist/src/table/queries/impl/get-count-rows-in-table.query.d.ts +0 -8
  1747. package/dist/src/table/queries/impl/get-count-rows-in-table.query.js +0 -10
  1748. package/dist/src/table/queries/impl/get-count-rows-in-table.query.js.map +0 -1
  1749. package/dist/src/table/queries/impl/get-rows-by-table.query.d.ts +0 -16
  1750. package/dist/src/table/queries/impl/get-rows-by-table.query.js +0 -10
  1751. package/dist/src/table/queries/impl/get-rows-by-table.query.js.map +0 -1
  1752. package/dist/src/table/queries/impl/get-table-by-id.query.d.ts +0 -10
  1753. package/dist/src/table/queries/impl/get-table-by-id.query.js +0 -10
  1754. package/dist/src/table/queries/impl/get-table-by-id.query.js.map +0 -1
  1755. package/dist/src/table/queries/impl/get-table.query.d.ts +0 -10
  1756. package/dist/src/table/queries/impl/get-table.query.js +0 -10
  1757. package/dist/src/table/queries/impl/get-table.query.js.map +0 -1
  1758. package/dist/src/table/queries/impl/get-tables.query.d.ts +0 -12
  1759. package/dist/src/table/queries/impl/get-tables.query.js +0 -10
  1760. package/dist/src/table/queries/impl/get-tables.query.js.map +0 -1
  1761. package/dist/src/table/queries/impl/index.d.ts +0 -6
  1762. package/dist/src/table/queries/impl/index.js +0 -23
  1763. package/dist/src/table/queries/impl/index.js.map +0 -1
  1764. package/dist/src/table/queries/impl/resolve-table-count-references-by.query.d.ts +0 -10
  1765. package/dist/src/table/queries/impl/resolve-table-count-references-by.query.js +0 -10
  1766. package/dist/src/table/queries/impl/resolve-table-count-references-by.query.js.map +0 -1
  1767. package/dist/src/table/queries/impl/resolve-table-count-references-to.query.d.ts +0 -10
  1768. package/dist/src/table/queries/impl/resolve-table-count-references-to.query.js +0 -10
  1769. package/dist/src/table/queries/impl/resolve-table-count-references-to.query.js.map +0 -1
  1770. package/dist/src/table/queries/impl/resolve-table-references-by.query.d.ts +0 -14
  1771. package/dist/src/table/queries/impl/resolve-table-references-by.query.js +0 -10
  1772. package/dist/src/table/queries/impl/resolve-table-references-by.query.js.map +0 -1
  1773. package/dist/src/table/queries/impl/resolve-table-references-to.query.d.ts +0 -14
  1774. package/dist/src/table/queries/impl/resolve-table-references-to.query.js +0 -10
  1775. package/dist/src/table/queries/impl/resolve-table-references-to.query.js.map +0 -1
  1776. package/dist/src/table/queries/impl/resolve-table-schema.query.d.ts +0 -10
  1777. package/dist/src/table/queries/impl/resolve-table-schema.query.js +0 -10
  1778. package/dist/src/table/queries/impl/resolve-table-schema.query.js.map +0 -1
  1779. package/dist/src/table/queries/types/get-table-by-id.types.d.ts +0 -2
  1780. package/dist/src/table/queries/types/get-table-by-id.types.js +0 -3
  1781. package/dist/src/table/queries/types/get-table-by-id.types.js.map +0 -1
  1782. package/dist/src/table/queries/types/get-table-rows.types.d.ts +0 -3
  1783. package/dist/src/table/queries/types/get-table-rows.types.js +0 -3
  1784. package/dist/src/table/queries/types/get-table-rows.types.js.map +0 -1
  1785. package/dist/src/table/queries/types/get-table.types.d.ts +0 -2
  1786. package/dist/src/table/queries/types/get-table.types.js +0 -3
  1787. package/dist/src/table/queries/types/get-table.types.js.map +0 -1
  1788. package/dist/src/table/queries/types/get-tables.types.d.ts +0 -3
  1789. package/dist/src/table/queries/types/get-tables.types.js +0 -3
  1790. package/dist/src/table/queries/types/get-tables.types.js.map +0 -1
  1791. package/dist/src/table/queries/types/index.d.ts +0 -6
  1792. package/dist/src/table/queries/types/index.js +0 -23
  1793. package/dist/src/table/queries/types/index.js.map +0 -1
  1794. package/dist/src/table/queries/types/resolve-table-references-by.types.d.ts +0 -3
  1795. package/dist/src/table/queries/types/resolve-table-references-by.types.js +0 -3
  1796. package/dist/src/table/queries/types/resolve-table-references-by.types.js.map +0 -1
  1797. package/dist/src/table/queries/types/resolve-table-references-to.types.d.ts +0 -3
  1798. package/dist/src/table/queries/types/resolve-table-references-to.types.js +0 -3
  1799. package/dist/src/table/queries/types/resolve-table-references-to.types.js.map +0 -1
  1800. package/dist/src/table/table.module.d.ts +0 -2
  1801. package/dist/src/table/table.module.js +0 -31
  1802. package/dist/src/table/table.module.js.map +0 -1
  1803. package/dist/src/user/commands/handlers/index.d.ts +0 -2
  1804. package/dist/src/user/commands/handlers/index.js +0 -19
  1805. package/dist/src/user/commands/handlers/index.js.map +0 -1
  1806. package/dist/src/user/commands/handlers/set-username.handler.d.ts +0 -14
  1807. package/dist/src/user/commands/handlers/set-username.handler.js +0 -101
  1808. package/dist/src/user/commands/handlers/set-username.handler.js.map +0 -1
  1809. package/dist/src/user/commands/handlers/update-password.handler.d.ts +0 -12
  1810. package/dist/src/user/commands/handlers/update-password.handler.js +0 -59
  1811. package/dist/src/user/commands/handlers/update-password.handler.js.map +0 -1
  1812. package/dist/src/user/commands/impl/index.d.ts +0 -2
  1813. package/dist/src/user/commands/impl/index.js +0 -19
  1814. package/dist/src/user/commands/impl/index.js.map +0 -1
  1815. package/dist/src/user/commands/impl/set-username.command.d.ts +0 -11
  1816. package/dist/src/user/commands/impl/set-username.command.js +0 -10
  1817. package/dist/src/user/commands/impl/set-username.command.js.map +0 -1
  1818. package/dist/src/user/commands/impl/update-password.command.d.ts +0 -13
  1819. package/dist/src/user/commands/impl/update-password.command.js +0 -10
  1820. package/dist/src/user/commands/impl/update-password.command.js.map +0 -1
  1821. package/dist/src/user/commands/index.d.ts +0 -2
  1822. package/dist/src/user/commands/index.js +0 -6
  1823. package/dist/src/user/commands/index.js.map +0 -1
  1824. package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.d.ts +0 -19
  1825. package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.js +0 -78
  1826. package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.js.map +0 -1
  1827. package/dist/src/user/queries/handlers/get-user-organization.handler.d.ts +0 -8
  1828. package/dist/src/user/queries/handlers/get-user-organization.handler.js +0 -39
  1829. package/dist/src/user/queries/handlers/get-user-organization.handler.js.map +0 -1
  1830. package/dist/src/user/queries/handlers/get-user.handler.d.ts +0 -12
  1831. package/dist/src/user/queries/handlers/get-user.handler.js +0 -36
  1832. package/dist/src/user/queries/handlers/get-user.handler.js.map +0 -1
  1833. package/dist/src/user/queries/handlers/index.d.ts +0 -3
  1834. package/dist/src/user/queries/handlers/index.js +0 -20
  1835. package/dist/src/user/queries/handlers/index.js.map +0 -1
  1836. package/dist/src/user/queries/impl/get-projects-by-user-id.query.d.ts +0 -15
  1837. package/dist/src/user/queries/impl/get-projects-by-user-id.query.js +0 -10
  1838. package/dist/src/user/queries/impl/get-projects-by-user-id.query.js.map +0 -1
  1839. package/dist/src/user/queries/impl/get-user-organization.query.d.ts +0 -9
  1840. package/dist/src/user/queries/impl/get-user-organization.query.js +0 -10
  1841. package/dist/src/user/queries/impl/get-user-organization.query.js.map +0 -1
  1842. package/dist/src/user/queries/impl/get-user.query.d.ts +0 -10
  1843. package/dist/src/user/queries/impl/get-user.query.js +0 -10
  1844. package/dist/src/user/queries/impl/get-user.query.js.map +0 -1
  1845. package/dist/src/user/queries/impl/index.d.ts +0 -3
  1846. package/dist/src/user/queries/impl/index.js +0 -20
  1847. package/dist/src/user/queries/impl/index.js.map +0 -1
  1848. package/dist/src/user/queries/index.d.ts +0 -2
  1849. package/dist/src/user/queries/index.js +0 -10
  1850. package/dist/src/user/queries/index.js.map +0 -1
  1851. package/dist/src/user/user.module.d.ts +0 -2
  1852. package/dist/src/user/user.module.js +0 -25
  1853. package/dist/src/user/user.module.js.map +0 -1
  1854. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1,54 +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.CheckSystemPermissionHandler = void 0;
13
- const ability_1 = require("@casl/ability");
14
- const cqrs_1 = require("@nestjs/cqrs");
15
- const casl_ability_factory_1 = require("../../casl-ability.factory");
16
- const impl_1 = require("../impl");
17
- const consts_1 = require("../../consts");
18
- const utils_1 = require("../../utils");
19
- const prisma_service_1 = require("../../../database/prisma.service");
20
- let CheckSystemPermissionHandler = class CheckSystemPermissionHandler {
21
- constructor(prisma, casl) {
22
- this.prisma = prisma;
23
- this.casl = casl;
24
- }
25
- async execute({ data }) {
26
- const systemRole = await this.getSystemRole(data);
27
- const ability = await this.casl.createAbility(systemRole);
28
- for (const permission of data.permissions) {
29
- ability_1.ForbiddenError.from(ability)
30
- .setMessage(`You are not allowed to ${permission.action} on ${permission.subject}`)
31
- .throwUnlessCan(permission.action, permission.subject);
32
- }
33
- return true;
34
- }
35
- async getSystemRole(data) {
36
- if (data.userId) {
37
- const result = await this.prisma.user.findUnique({
38
- where: { id: data.userId },
39
- select: {
40
- roleId: true,
41
- },
42
- });
43
- return (0, utils_1.getUserRole)(result?.roleId);
44
- }
45
- return consts_1.UserRole.guest;
46
- }
47
- };
48
- exports.CheckSystemPermissionHandler = CheckSystemPermissionHandler;
49
- exports.CheckSystemPermissionHandler = CheckSystemPermissionHandler = __decorate([
50
- (0, cqrs_1.CommandHandler)(impl_1.CheckSystemPermissionCommand),
51
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
52
- casl_ability_factory_1.CaslAbilityFactory])
53
- ], CheckSystemPermissionHandler);
54
- //# sourceMappingURL=check-system-permission.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-system-permission.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/check-system-permission.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uCAA+D;AAC/D,qEAAmE;AACnE,kCAGgC;AAChC,yCAA2C;AAC3C,uCAA6C;AAC7C,qEAA4D;AAGrD,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAOvC,YACmB,MAAqB,EACrB,IAAwB;QADxB,WAAM,GAAN,MAAM,CAAe;QACrB,SAAI,GAAJ,IAAI,CAAoB;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAgC;QAClD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAElD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAE1D,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1C,wBAAc,CAAC,IAAI,CAAC,OAAO,CAAC;iBACzB,UAAU,CACT,0BAA0B,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,OAAO,EAAE,CACvE;iBACA,cAAc,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;QAC3D,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,KAAK,CAAC,aAAa,CACzB,IAA0C;QAE1C,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;gBAC/C,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;gBAC1B,MAAM,EAAE;oBACN,MAAM,EAAE,IAAI;iBACb;aACF,CAAC,CAAC;YAEH,OAAO,IAAA,mBAAW,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACrC,CAAC;QAED,OAAO,iBAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;CACF,CAAA;AA5CY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,qBAAc,EAAC,mCAA4B,CAAC;qCAShB,8BAAa;QACf,yCAAkB;GAThC,4BAA4B,CA4CxC"}
@@ -1,14 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { PrismaService } from 'src/database/prisma.service';
3
- import { AuthService } from '../../auth.service';
4
- import { ConfirmEmailCodeCommand, ConfirmEmailCodeCommandReturnType } from '../impl';
5
- export declare class ConfirmEmailCodeHandler implements ICommandHandler<ConfirmEmailCodeCommand, ConfirmEmailCodeCommandReturnType> {
6
- private readonly prisma;
7
- private readonly authService;
8
- constructor(prisma: PrismaService, authService: AuthService);
9
- execute({ data }: ConfirmEmailCodeCommand): Promise<{
10
- accessToken: string;
11
- }>;
12
- private confirmEmail;
13
- private getUser;
14
- }
@@ -1,62 +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.ConfirmEmailCodeHandler = void 0;
13
- const cqrs_1 = require("@nestjs/cqrs");
14
- const prisma_service_1 = require("../../../database/prisma.service");
15
- const auth_service_1 = require("../../auth.service");
16
- const impl_1 = require("../impl");
17
- let ConfirmEmailCodeHandler = class ConfirmEmailCodeHandler {
18
- constructor(prisma, authService) {
19
- this.prisma = prisma;
20
- this.authService = authService;
21
- }
22
- async execute({ data }) {
23
- const user = await this.getUser(data.code);
24
- if (!user) {
25
- throw new Error('Not found user');
26
- }
27
- if (user.isEmailConfirmed) {
28
- throw new Error('Email is already confirmed');
29
- }
30
- await this.confirmEmail(user.id);
31
- return {
32
- accessToken: this.authService.login({
33
- username: user.username || '',
34
- email: user.email || '',
35
- sub: user.id,
36
- }),
37
- };
38
- }
39
- confirmEmail(userId) {
40
- return this.prisma.user.update({
41
- where: { id: userId },
42
- data: {
43
- isEmailConfirmed: true,
44
- emailCode: '',
45
- },
46
- });
47
- }
48
- getUser(emailCode) {
49
- return this.prisma.user.findFirst({
50
- where: {
51
- emailCode,
52
- },
53
- });
54
- }
55
- };
56
- exports.ConfirmEmailCodeHandler = ConfirmEmailCodeHandler;
57
- exports.ConfirmEmailCodeHandler = ConfirmEmailCodeHandler = __decorate([
58
- (0, cqrs_1.CommandHandler)(impl_1.ConfirmEmailCodeCommand),
59
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
60
- auth_service_1.AuthService])
61
- ], ConfirmEmailCodeHandler);
62
- //# sourceMappingURL=confirm-email-code.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirm-email-code.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/confirm-email-code.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA+D;AAC/D,qEAA4D;AAC5D,qDAAiD;AACjD,kCAGiB;AAGV,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAIlC,YACmB,MAAqB,EACrB,WAAwB;QADxB,WAAM,GAAN,MAAM,CAAe;QACrB,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAEG,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAA2B;QACpD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE3C,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACpC,CAAC;QAED,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QAED,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAEjC,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;gBAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,EAAE;gBAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE;gBACvB,GAAG,EAAE,IAAI,CAAC,EAAE;aACb,CAAC;SACH,CAAC;IACJ,CAAC;IAEO,YAAY,CAAC,MAAc;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;YAC7B,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;YACrB,IAAI,EAAE;gBACJ,gBAAgB,EAAE,IAAI;gBACtB,SAAS,EAAE,EAAE;aACd;SACF,CAAC,CAAC;IACL,CAAC;IAEO,OAAO,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAChC,KAAK,EAAE;gBACL,SAAS;aACV;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAhDY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,qBAAc,EAAC,8BAAuB,CAAC;qCAMX,8BAAa;QACR,0BAAW;GANhC,uBAAuB,CAgDnC"}
@@ -1,15 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { AuthService } from 'src/auth/auth.service';
3
- import { CreateUserCommand, CreateUserCommandReturnType } from 'src/auth/commands/impl';
4
- import { IdService } from 'src/database/id.service';
5
- import { PrismaService } from 'src/database/prisma.service';
6
- export declare class CreateUserHandler implements ICommandHandler<CreateUserCommand, CreateUserCommandReturnType> {
7
- private readonly prisma;
8
- private readonly idService;
9
- private readonly authService;
10
- constructor(prisma: PrismaService, idService: IdService, authService: AuthService);
11
- execute({ data }: CreateUserCommand): Promise<string>;
12
- private createUserWithOwnOrganization;
13
- private existOrganization;
14
- private getUser;
15
- }
@@ -1,103 +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.CreateUserHandler = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const cqrs_1 = require("@nestjs/cqrs");
15
- const auth_service_1 = require("../../auth.service");
16
- const impl_1 = require("../impl");
17
- const consts_1 = require("../../consts");
18
- const id_service_1 = require("../../../database/id.service");
19
- const prisma_service_1 = require("../../../database/prisma.service");
20
- let CreateUserHandler = class CreateUserHandler {
21
- constructor(prisma, idService, authService) {
22
- this.prisma = prisma;
23
- this.idService = idService;
24
- this.authService = authService;
25
- }
26
- async execute({ data }) {
27
- if (!(0, consts_1.isValidSystemRole)(data.roleId)) {
28
- throw new Error('Invalid SystemRole');
29
- }
30
- if (data.password.length < 8) {
31
- throw new Error('Password must be at least 8 characters');
32
- }
33
- const user = await this.getUser(data);
34
- if (user) {
35
- throw new common_1.NotFoundException('User already exists');
36
- }
37
- if (data.username && (await this.existOrganization(data.username))) {
38
- throw new Error(`Organization with name=${data.username} already exists`);
39
- }
40
- return this.createUserWithOwnOrganization(data);
41
- }
42
- async createUserWithOwnOrganization(data) {
43
- const userId = this.idService.generate();
44
- const userCreateInput = {
45
- id: userId,
46
- username: data.username,
47
- email: data.email,
48
- isEmailConfirmed: data.isEmailConfirmed,
49
- emailCode: data.emailCode,
50
- role: {
51
- connect: {
52
- id: data.roleId,
53
- },
54
- },
55
- password: await this.authService.hashPassword(data.password),
56
- };
57
- if (data.username) {
58
- userCreateInput.userOrganizations = {
59
- create: {
60
- id: this.idService.generate(),
61
- organization: {
62
- create: {
63
- id: data.username,
64
- },
65
- },
66
- role: {
67
- connect: {
68
- id: consts_1.UserRole.organizationOwner,
69
- },
70
- },
71
- },
72
- };
73
- }
74
- await this.prisma.user.create({
75
- data: userCreateInput,
76
- });
77
- return userId;
78
- }
79
- async existOrganization(organizationId) {
80
- const result = await this.prisma.organization.findUnique({
81
- where: { id: organizationId },
82
- select: {
83
- id: true,
84
- },
85
- });
86
- return Boolean(result);
87
- }
88
- getUser(data) {
89
- return this.prisma.user.findFirst({
90
- where: {
91
- OR: [{ email: data.email }, { username: data.username }],
92
- },
93
- });
94
- }
95
- };
96
- exports.CreateUserHandler = CreateUserHandler;
97
- exports.CreateUserHandler = CreateUserHandler = __decorate([
98
- (0, cqrs_1.CommandHandler)(impl_1.CreateUserCommand),
99
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
100
- id_service_1.IdService,
101
- auth_service_1.AuthService])
102
- ], CreateUserHandler);
103
- //# sourceMappingURL=create-user.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-user.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/create-user.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAmD;AACnD,uCAA+D;AAC/D,qDAAoD;AACpD,kCAGgC;AAChC,yCAA8D;AAC9D,6DAAoD;AACpD,qEAA4D;AAIrD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAG5B,YACmB,MAAqB,EACrB,SAAoB,EACpB,WAAwB;QAFxB,WAAM,GAAN,MAAM,CAAe;QACrB,cAAS,GAAT,SAAS,CAAW;QACpB,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAqB;QACvC,IAAI,CAAC,IAAA,0BAAiB,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;QACxC,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC5D,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,IAAI,EAAE,CAAC;YACT,MAAM,IAAI,0BAAiB,CAAC,qBAAqB,CAAC,CAAC;QACrD,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YACnE,MAAM,IAAI,KAAK,CAAC,0BAA0B,IAAI,CAAC,QAAQ,iBAAiB,CAAC,CAAC;QAC5E,CAAC;QAED,OAAO,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IAEO,KAAK,CAAC,6BAA6B,CAAC,IAA+B;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QAEzC,MAAM,eAAe,GAA2B;YAC9C,EAAE,EAAE,MAAM;YACV,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI,EAAE;gBACJ,OAAO,EAAE;oBACP,EAAE,EAAE,IAAI,CAAC,MAAM;iBAChB;aACF;YACD,QAAQ,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;SAC7D,CAAC;QAEF,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,eAAe,CAAC,iBAAiB,GAAG;gBAClC,MAAM,EAAE;oBACN,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;oBAC7B,YAAY,EAAE;wBACZ,MAAM,EAAE;4BACN,EAAE,EAAE,IAAI,CAAC,QAAQ;yBAClB;qBACF;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE;4BACP,EAAE,EAAE,iBAAQ,CAAC,iBAAiB;yBAC/B;qBACF;iBACF;aACF,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;YAC5B,IAAI,EAAE,eAAe;SACtB,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,KAAK,CAAC,iBAAiB,CAAC,cAAsB;QACpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC;YACvD,KAAK,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE;YAC7B,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;aACT;SACF,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;IACzB,CAAC;IAEO,OAAO,CAAC,IAA+B;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAChC,KAAK,EAAE;gBACL,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;aACzD;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA3FY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,qBAAc,EAAC,wBAAiB,CAAC;qCAKL,8BAAa;QACV,sBAAS;QACP,0BAAW;GANhC,iBAAiB,CA2F7B"}
@@ -1,9 +0,0 @@
1
- export * from './login.handler';
2
- export * from './create-user.handler';
3
- export * from './check-system-permission.handler';
4
- export * from './check-organization-permission.handler';
5
- export * from './check-project-permission.handler';
6
- export * from './sign-up.handler';
7
- export * from './login-google.handler';
8
- export * from './login-github.handler';
9
- export * from './confirm-email-code.handler';
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./login.handler"), exports);
18
- __exportStar(require("./create-user.handler"), exports);
19
- __exportStar(require("./check-system-permission.handler"), exports);
20
- __exportStar(require("./check-organization-permission.handler"), exports);
21
- __exportStar(require("./check-project-permission.handler"), exports);
22
- __exportStar(require("./sign-up.handler"), exports);
23
- __exportStar(require("./login-google.handler"), exports);
24
- __exportStar(require("./login-github.handler"), exports);
25
- __exportStar(require("./confirm-email-code.handler"), exports);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,wDAAsC;AACtC,oEAAkD;AAClD,0EAAwD;AACxD,qEAAmD;AACnD,oDAAkC;AAClC,yDAAuC;AACvC,yDAAuC;AACvC,+DAA6C"}
@@ -1,17 +0,0 @@
1
- import { CommandBus, ICommandHandler } from '@nestjs/cqrs';
2
- import { AuthService } from 'src/auth/auth.service';
3
- import { LoginGithubCommand, LoginGithubCommandReturnType } from 'src/auth/commands/impl';
4
- import { GitHubAuthService } from 'src/auth/github-oauth.service';
5
- import { PrismaService } from 'src/database/prisma.service';
6
- export declare class LoginGithubHandler implements ICommandHandler<LoginGithubCommand, LoginGithubCommandReturnType> {
7
- private readonly commandBus;
8
- private readonly prisma;
9
- private readonly githubOauthService;
10
- private readonly authService;
11
- constructor(commandBus: CommandBus, prisma: PrismaService, githubOauthService: GitHubAuthService, authService: AuthService);
12
- execute({ data }: LoginGithubCommand): Promise<{
13
- accessToken: string;
14
- }>;
15
- private getUser;
16
- private createUser;
17
- }
@@ -1,67 +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.LoginGithubHandler = void 0;
13
- const cqrs_1 = require("@nestjs/cqrs");
14
- const nanoid_1 = require("nanoid");
15
- const auth_service_1 = require("../../auth.service");
16
- const impl_1 = require("../impl");
17
- const consts_1 = require("../../consts");
18
- const github_oauth_service_1 = require("../../github-oauth.service");
19
- const prisma_service_1 = require("../../../database/prisma.service");
20
- let LoginGithubHandler = class LoginGithubHandler {
21
- constructor(commandBus, prisma, githubOauthService, authService) {
22
- this.commandBus = commandBus;
23
- this.prisma = prisma;
24
- this.githubOauthService = githubOauthService;
25
- this.authService = authService;
26
- }
27
- async execute({ data }) {
28
- const email = await this.githubOauthService.getEmail(data.code);
29
- const user = (await this.getUser(email)) || (await this.createUser(email));
30
- return {
31
- accessToken: this.authService.login({
32
- username: user.username,
33
- email,
34
- sub: user.id,
35
- }),
36
- };
37
- }
38
- getUser(emailOrUserName) {
39
- return this.prisma.user.findFirst({
40
- where: {
41
- OR: [{ email: emailOrUserName }, { username: emailOrUserName }],
42
- },
43
- });
44
- }
45
- async createUser(email) {
46
- await this.commandBus.execute(new impl_1.CreateUserCommand({
47
- email,
48
- password: await this.authService.hashPassword((0, nanoid_1.nanoid)()),
49
- isEmailConfirmed: true,
50
- roleId: consts_1.UserSystemRoles.systemUser,
51
- }));
52
- const user = await this.getUser(email);
53
- if (!user) {
54
- throw new Error('Invalid user');
55
- }
56
- return user;
57
- }
58
- };
59
- exports.LoginGithubHandler = LoginGithubHandler;
60
- exports.LoginGithubHandler = LoginGithubHandler = __decorate([
61
- (0, cqrs_1.CommandHandler)(impl_1.LoginGithubCommand),
62
- __metadata("design:paramtypes", [cqrs_1.CommandBus,
63
- prisma_service_1.PrismaService,
64
- github_oauth_service_1.GitHubAuthService,
65
- auth_service_1.AuthService])
66
- ], LoginGithubHandler);
67
- //# sourceMappingURL=login-github.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-github.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/login-github.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2E;AAC3E,mCAAgC;AAChC,qDAAoD;AACpD,kCAKgC;AAChC,yCAAkD;AAClD,qEAAkE;AAClE,qEAA4D;AAGrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAG7B,YACmB,UAAsB,EACtB,MAAqB,EACrB,kBAAqC,EACrC,WAAwB;QAHxB,eAAU,GAAV,UAAU,CAAY;QACtB,WAAM,GAAN,MAAM,CAAe;QACrB,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAsB;QACxC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEhE,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;QAE3E,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;gBAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,KAAK;gBACL,GAAG,EAAE,IAAI,CAAC,EAAE;aACb,CAAC;SACH,CAAC;IACJ,CAAC;IAEO,OAAO,CAAC,eAAuB;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAChC,KAAK,EAAE;gBACL,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;aAChE;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,UAAU,CAAC,KAAa;QACpC,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAI3B,IAAI,wBAAiB,CAAC;YACpB,KAAK;YACL,QAAQ,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,IAAA,eAAM,GAAE,CAAC;YACvD,gBAAgB,EAAE,IAAI;YACtB,MAAM,EAAE,wBAAe,CAAC,UAAU;SACnC,CAAC,CACH,CAAC;QAEF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEvC,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;QAClC,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AArDY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,qBAAc,EAAC,yBAAkB,CAAC;qCAKF,iBAAU;QACd,8BAAa;QACD,wCAAiB;QACxB,0BAAW;GAPhC,kBAAkB,CAqD9B"}
@@ -1,17 +0,0 @@
1
- import { CommandBus, ICommandHandler } from '@nestjs/cqrs';
2
- import { AuthService } from 'src/auth/auth.service';
3
- import { LoginGoogleCommand, LoginGoogleCommandReturnType } from 'src/auth/commands/impl';
4
- import { GoogleOauthService } from 'src/auth/google-oauth.service';
5
- import { PrismaService } from 'src/database/prisma.service';
6
- export declare class LoginGoogleHandler implements ICommandHandler<LoginGoogleCommand, LoginGoogleCommandReturnType> {
7
- private readonly commandBus;
8
- private readonly prisma;
9
- private readonly googleOauthService;
10
- private readonly authService;
11
- constructor(commandBus: CommandBus, prisma: PrismaService, googleOauthService: GoogleOauthService, authService: AuthService);
12
- execute({ data }: LoginGoogleCommand): Promise<{
13
- accessToken: string;
14
- }>;
15
- private getUser;
16
- private createUser;
17
- }
@@ -1,67 +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.LoginGoogleHandler = void 0;
13
- const cqrs_1 = require("@nestjs/cqrs");
14
- const nanoid_1 = require("nanoid");
15
- const auth_service_1 = require("../../auth.service");
16
- const impl_1 = require("../impl");
17
- const consts_1 = require("../../consts");
18
- const google_oauth_service_1 = require("../../google-oauth.service");
19
- const prisma_service_1 = require("../../../database/prisma.service");
20
- let LoginGoogleHandler = class LoginGoogleHandler {
21
- constructor(commandBus, prisma, googleOauthService, authService) {
22
- this.commandBus = commandBus;
23
- this.prisma = prisma;
24
- this.googleOauthService = googleOauthService;
25
- this.authService = authService;
26
- }
27
- async execute({ data }) {
28
- const info = await this.googleOauthService.getInfo(data.redirectUrl, data.code);
29
- const user = (await this.getUser(info.email)) || (await this.createUser(info.email));
30
- return {
31
- accessToken: this.authService.login({
32
- username: user.username,
33
- email: info.email,
34
- sub: user.id,
35
- }),
36
- };
37
- }
38
- getUser(emailOrUserName) {
39
- return this.prisma.user.findFirst({
40
- where: {
41
- OR: [{ email: emailOrUserName }, { username: emailOrUserName }],
42
- },
43
- });
44
- }
45
- async createUser(email) {
46
- await this.commandBus.execute(new impl_1.CreateUserCommand({
47
- email,
48
- password: await this.authService.hashPassword((0, nanoid_1.nanoid)()),
49
- isEmailConfirmed: true,
50
- roleId: consts_1.UserSystemRoles.systemUser,
51
- }));
52
- const user = await this.getUser(email);
53
- if (!user) {
54
- throw new Error('Invalid user');
55
- }
56
- return user;
57
- }
58
- };
59
- exports.LoginGoogleHandler = LoginGoogleHandler;
60
- exports.LoginGoogleHandler = LoginGoogleHandler = __decorate([
61
- (0, cqrs_1.CommandHandler)(impl_1.LoginGoogleCommand),
62
- __metadata("design:paramtypes", [cqrs_1.CommandBus,
63
- prisma_service_1.PrismaService,
64
- google_oauth_service_1.GoogleOauthService,
65
- auth_service_1.AuthService])
66
- ], LoginGoogleHandler);
67
- //# sourceMappingURL=login-google.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-google.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/login-google.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2E;AAC3E,mCAAgC;AAChC,qDAAoD;AACpD,kCAKgC;AAChC,yCAAkD;AAClD,qEAAmE;AACnE,qEAA4D;AAGrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAG7B,YACmB,UAAsB,EACtB,MAAqB,EACrB,kBAAsC,EACtC,WAAwB;QAHxB,eAAU,GAAV,UAAU,CAAY;QACtB,WAAM,GAAN,MAAM,CAAe;QACrB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAsB;QACxC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAChD,IAAI,CAAC,WAAW,EAChB,IAAI,CAAC,IAAI,CACV,CAAC;QAEF,MAAM,IAAI,GACR,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAE1E,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;gBAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,GAAG,EAAE,IAAI,CAAC,EAAE;aACb,CAAC;SACH,CAAC;IACJ,CAAC;IAEO,OAAO,CAAC,eAAuB;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAChC,KAAK,EAAE;gBACL,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;aAChE;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,UAAU,CAAC,KAAa;QACpC,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAI3B,IAAI,wBAAiB,CAAC;YACpB,KAAK;YACL,QAAQ,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,IAAA,eAAM,GAAE,CAAC;YACvD,gBAAgB,EAAE,IAAI;YACtB,MAAM,EAAE,wBAAe,CAAC,UAAU;SACnC,CAAC,CACH,CAAC;QAEF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEvC,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;QAClC,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AAzDY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,qBAAc,EAAC,yBAAkB,CAAC;qCAKF,iBAAU;QACd,8BAAa;QACD,yCAAkB;QACzB,0BAAW;GAPhC,kBAAkB,CAyD9B"}
@@ -1,11 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { AuthService } from 'src/auth/auth.service';
3
- import { LoginCommand, LoginCommandReturnType } from 'src/auth/commands/impl';
4
- import { PrismaService } from 'src/database/prisma.service';
5
- export declare class LoginHandler implements ICommandHandler<LoginCommand, LoginCommandReturnType> {
6
- private readonly prisma;
7
- private readonly authService;
8
- constructor(prisma: PrismaService, authService: AuthService);
9
- execute({ data }: LoginCommand): Promise<LoginCommandReturnType>;
10
- private getUser;
11
- }
@@ -1,56 +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.LoginHandler = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const cqrs_1 = require("@nestjs/cqrs");
15
- const auth_service_1 = require("../../auth.service");
16
- const impl_1 = require("../impl");
17
- const prisma_service_1 = require("../../../database/prisma.service");
18
- let LoginHandler = class LoginHandler {
19
- constructor(prisma, authService) {
20
- this.prisma = prisma;
21
- this.authService = authService;
22
- }
23
- async execute({ data }) {
24
- const user = await this.getUser(data.emailOrUsername);
25
- if (!user) {
26
- throw new common_1.NotFoundException('User does not exist');
27
- }
28
- if (!(await this.authService.comparePassword(data.password, user.password))) {
29
- throw new Error('Invalid password');
30
- }
31
- if (!user.isEmailConfirmed) {
32
- throw new Error('Email is not confirmed');
33
- }
34
- return {
35
- accessToken: this.authService.login({
36
- username: user.username || '',
37
- email: user.email || '',
38
- sub: user.id,
39
- }),
40
- };
41
- }
42
- getUser(emailOrUserName) {
43
- return this.prisma.user.findFirst({
44
- where: {
45
- OR: [{ email: emailOrUserName }, { username: emailOrUserName }],
46
- },
47
- });
48
- }
49
- };
50
- exports.LoginHandler = LoginHandler;
51
- exports.LoginHandler = LoginHandler = __decorate([
52
- (0, cqrs_1.CommandHandler)(impl_1.LoginCommand),
53
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
54
- auth_service_1.AuthService])
55
- ], LoginHandler);
56
- //# sourceMappingURL=login.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/login.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAmD;AACnD,uCAA+D;AAC/D,qDAAoD;AACpD,kCAA8E;AAC9E,qEAA4D;AAGrD,IAAM,YAAY,GAAlB,MAAM,YAAY;IAGvB,YACmB,MAAqB,EACrB,WAAwB;QADxB,WAAM,GAAN,MAAM,CAAe;QACrB,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAgB;QAClC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEtD,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,0BAAiB,CAAC,qBAAqB,CAAC,CAAC;QACrD,CAAC;QAED,IACE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EACvE,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;gBAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,EAAE;gBAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE;gBACvB,GAAG,EAAE,IAAI,CAAC,EAAE;aACb,CAAC;SACH,CAAC;IACJ,CAAC;IAEO,OAAO,CAAC,eAAuB;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAChC,KAAK,EAAE;gBACL,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;aAChE;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAzCY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,qBAAc,EAAC,mBAAY,CAAC;qCAKA,8BAAa;QACR,0BAAW;GALhC,YAAY,CAyCxB"}
@@ -1,12 +0,0 @@
1
- import { CommandBus, ICommandHandler } from '@nestjs/cqrs';
2
- import { EmailService } from 'src/email/email.service';
3
- import { AuthService } from '../../auth.service';
4
- import { SignUpCommand, SignUpCommandReturnType } from '../impl';
5
- export declare class SignUpHandler implements ICommandHandler<SignUpCommand, SignUpCommandReturnType> {
6
- private readonly commandBus;
7
- private readonly authService;
8
- private readonly emailService;
9
- constructor(commandBus: CommandBus, authService: AuthService, emailService: EmailService);
10
- execute({ data }: SignUpCommand): Promise<boolean>;
11
- private createUser;
12
- }
@@ -1,48 +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.SignUpHandler = void 0;
13
- const cqrs_1 = require("@nestjs/cqrs");
14
- const consts_1 = require("../../consts");
15
- const email_service_1 = require("../../../email/email.service");
16
- const auth_service_1 = require("../../auth.service");
17
- const impl_1 = require("../impl");
18
- let SignUpHandler = class SignUpHandler {
19
- constructor(commandBus, authService, emailService) {
20
- this.commandBus = commandBus;
21
- this.authService = authService;
22
- this.emailService = emailService;
23
- }
24
- async execute({ data }) {
25
- const emailCode = this.authService.generateConfirmationCode();
26
- await this.createUser(data, emailCode);
27
- await this.emailService.sendVerifyEmail(data.email, emailCode);
28
- return true;
29
- }
30
- async createUser(data, emailCode) {
31
- return this.commandBus.execute(new impl_1.CreateUserCommand({
32
- email: data.email,
33
- username: data.username,
34
- password: data.password,
35
- isEmailConfirmed: false,
36
- emailCode,
37
- roleId: consts_1.UserSystemRoles.systemUser,
38
- }));
39
- }
40
- };
41
- exports.SignUpHandler = SignUpHandler;
42
- exports.SignUpHandler = SignUpHandler = __decorate([
43
- (0, cqrs_1.CommandHandler)(impl_1.SignUpCommand),
44
- __metadata("design:paramtypes", [cqrs_1.CommandBus,
45
- auth_service_1.AuthService,
46
- email_service_1.EmailService])
47
- ], SignUpHandler);
48
- //# sourceMappingURL=sign-up.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sign-up.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/sign-up.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2E;AAC3E,yCAAkD;AAClD,gEAAuD;AACvD,qDAAiD;AACjD,kCAKiB;AAGV,IAAM,aAAa,GAAnB,MAAM,aAAa;IAGxB,YACmB,UAAsB,EACtB,WAAwB,EACxB,YAA0B;QAF1B,eAAU,GAAV,UAAU,CAAY;QACtB,gBAAW,GAAX,WAAW,CAAa;QACxB,iBAAY,GAAZ,YAAY,CAAc;IAC1C,CAAC;IAEG,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAiB;QAC1C,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,wBAAwB,EAAE,CAAC;QAE9D,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACvC,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QAE/D,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,KAAK,CAAC,UAAU,CAAC,IAA2B,EAAE,SAAiB;QACrE,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAI5B,IAAI,wBAAiB,CAAC;YACpB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,gBAAgB,EAAE,KAAK;YACvB,SAAS;YACT,MAAM,EAAE,wBAAe,CAAC,UAAU;SACnC,CAAC,CACH,CAAC;IACJ,CAAC;CACF,CAAA;AAjCY,sCAAa;wBAAb,aAAa;IADzB,IAAA,qBAAc,EAAC,oBAAa,CAAC;qCAKG,iBAAU;QACT,0BAAW;QACV,4BAAY;GANlC,aAAa,CAiCzB"}