@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,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createRowMocks = void 0;
4
- const jest_mock_extended_1 = require("jest-mock-extended");
5
- const createRowMocks = () => {
6
- const rowTransactionalCommands = (0, jest_mock_extended_1.mockDeep)();
7
- return {
8
- rowTransactionalCommands,
9
- };
10
- };
11
- exports.createRowMocks = createRowMocks;
12
- //# sourceMappingURL=rowMocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rowMocks.js","sourceRoot":"","sources":["../../../../src/__tests__/utils/rowMocks.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAGtD,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,MAAM,wBAAwB,GAC5B,IAAA,6BAAQ,GAA8B,CAAC;IAEzC,OAAO;QACL,wBAAwB;KACzB,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,cAAc,kBAOzB"}
@@ -1,25 +0,0 @@
1
- import { JsonPatchAdd, JsonPatchMove, JsonPatchRemove, JsonPatchReplace } from 'src/share/utils/schema/types/json-patch.types';
2
- import { JsonArraySchema, JsonBooleanSchema, JsonNumberSchema, JsonObjectSchema, JsonSchema, JsonStringSchema } from 'src/share/utils/schema/types/schema.types';
3
- export declare const getReplacePatch: ({ path, value, }: {
4
- path: string;
5
- value: JsonSchema;
6
- }) => JsonPatchReplace;
7
- export declare const getRemovePatch: ({ path, }: {
8
- path: string;
9
- }) => JsonPatchRemove;
10
- export declare const getAddPatch: ({ path, value, }: {
11
- path: string;
12
- value: JsonSchema;
13
- }) => JsonPatchAdd;
14
- export declare const getMovePatch: ({ from, path, }: {
15
- from: string;
16
- path: string;
17
- }) => JsonPatchMove;
18
- export declare const getStringSchema: ({ defaultValue, reference, }?: {
19
- defaultValue?: string;
20
- reference?: string;
21
- }) => JsonStringSchema;
22
- export declare const getNumberSchema: (defaultValue?: number) => JsonNumberSchema;
23
- export declare const getBooleanSchema: (defaultValue?: boolean) => JsonBooleanSchema;
24
- export declare const getObjectSchema: (properties: Record<string, JsonSchema>) => JsonObjectSchema;
25
- export declare const getArraySchema: (items: JsonSchema) => JsonArraySchema;
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getArraySchema = exports.getObjectSchema = exports.getBooleanSchema = exports.getNumberSchema = exports.getStringSchema = exports.getMovePatch = exports.getAddPatch = exports.getRemovePatch = exports.getReplacePatch = void 0;
4
- const schema_types_1 = require("../../../share/utils/schema/types/schema.types");
5
- const getReplacePatch = ({ path, value, }) => ({
6
- op: 'replace',
7
- path,
8
- value,
9
- });
10
- exports.getReplacePatch = getReplacePatch;
11
- const getRemovePatch = ({ path, }) => ({
12
- op: 'remove',
13
- path,
14
- });
15
- exports.getRemovePatch = getRemovePatch;
16
- const getAddPatch = ({ path, value, }) => ({
17
- op: 'add',
18
- path,
19
- value,
20
- });
21
- exports.getAddPatch = getAddPatch;
22
- const getMovePatch = ({ from, path, }) => ({
23
- op: 'move',
24
- from,
25
- path,
26
- });
27
- exports.getMovePatch = getMovePatch;
28
- const getStringSchema = ({ defaultValue = '', reference, } = {}) => {
29
- const schema = {
30
- type: schema_types_1.JsonSchemaTypeName.String,
31
- default: defaultValue,
32
- };
33
- if (reference) {
34
- schema.reference = reference;
35
- }
36
- return schema;
37
- };
38
- exports.getStringSchema = getStringSchema;
39
- const getNumberSchema = (defaultValue = 0) => ({
40
- type: schema_types_1.JsonSchemaTypeName.Number,
41
- default: defaultValue,
42
- });
43
- exports.getNumberSchema = getNumberSchema;
44
- const getBooleanSchema = (defaultValue = false) => ({
45
- type: schema_types_1.JsonSchemaTypeName.Boolean,
46
- default: defaultValue,
47
- });
48
- exports.getBooleanSchema = getBooleanSchema;
49
- const getObjectSchema = (properties) => ({
50
- type: schema_types_1.JsonSchemaTypeName.Object,
51
- additionalProperties: false,
52
- required: Object.keys(properties).sort(),
53
- properties,
54
- });
55
- exports.getObjectSchema = getObjectSchema;
56
- const getArraySchema = (items) => ({
57
- type: schema_types_1.JsonSchemaTypeName.Array,
58
- items,
59
- });
60
- exports.getArraySchema = getArraySchema;
61
- //# sourceMappingURL=schema.mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.mocks.js","sourceRoot":"","sources":["../../../../../src/__tests__/utils/schema/schema.mocks.ts"],"names":[],"mappings":";;;AAMA,iFAQmD;AAE5C,MAAM,eAAe,GAAG,CAAC,EAC9B,IAAI,EACJ,KAAK,GAIN,EAAoB,EAAE,CAAC,CAAC;IACvB,EAAE,EAAE,SAAS;IACb,IAAI;IACJ,KAAK;CACN,CAAC,CAAC;AAVU,QAAA,eAAe,mBAUzB;AACI,MAAM,cAAc,GAAG,CAAC,EAC7B,IAAI,GAGL,EAAmB,EAAE,CAAC,CAAC;IACtB,EAAE,EAAE,QAAQ;IACZ,IAAI;CACL,CAAC,CAAC;AAPU,QAAA,cAAc,kBAOxB;AACI,MAAM,WAAW,GAAG,CAAC,EAC1B,IAAI,EACJ,KAAK,GAIN,EAAgB,EAAE,CAAC,CAAC;IACnB,EAAE,EAAE,KAAK;IACT,IAAI;IACJ,KAAK;CACN,CAAC,CAAC;AAVU,QAAA,WAAW,eAUrB;AACI,MAAM,YAAY,GAAG,CAAC,EAC3B,IAAI,EACJ,IAAI,GAIL,EAAiB,EAAE,CAAC,CAAC;IACpB,EAAE,EAAE,MAAM;IACV,IAAI;IACJ,IAAI;CACL,CAAC,CAAC;AAVU,QAAA,YAAY,gBAUtB;AACI,MAAM,eAAe,GAAG,CAAC,EAC9B,YAAY,GAAG,EAAE,EACjB,SAAS,MAIP,EAAE,EAAoB,EAAE;IAC1B,MAAM,MAAM,GAAqB;QAC/B,IAAI,EAAE,iCAAkB,CAAC,MAAM;QAC/B,OAAO,EAAE,YAAY;KACtB,CAAC;IAEF,IAAI,SAAS,EAAE,CAAC;QACd,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAjBW,QAAA,eAAe,mBAiB1B;AACK,MAAM,eAAe,GAAG,CAC7B,eAAuB,CAAC,EACN,EAAE,CAAC,CAAC;IACtB,IAAI,EAAE,iCAAkB,CAAC,MAAM;IAC/B,OAAO,EAAE,YAAY;CACtB,CAAC,CAAC;AALU,QAAA,eAAe,mBAKzB;AACI,MAAM,gBAAgB,GAAG,CAC9B,eAAwB,KAAK,EACV,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,iCAAkB,CAAC,OAAO;IAChC,OAAO,EAAE,YAAY;CACtB,CAAC,CAAC;AALU,QAAA,gBAAgB,oBAK1B;AACI,MAAM,eAAe,GAAG,CAC7B,UAAsC,EACpB,EAAE,CAAC,CAAC;IACtB,IAAI,EAAE,iCAAkB,CAAC,MAAM;IAC/B,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE;IACxC,UAAU;CACX,CAAC,CAAC;AAPU,QAAA,eAAe,mBAOzB;AACI,MAAM,cAAc,GAAG,CAAC,KAAiB,EAAmB,EAAE,CAAC,CAAC;IACrE,IAAI,EAAE,iCAAkB,CAAC,KAAK;IAC9B,KAAK;CACN,CAAC,CAAC;AAHU,QAAA,cAAc,kBAGxB"}
@@ -1,2 +0,0 @@
1
- export declare class AppModule {
2
- }
@@ -1,21 +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
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AppModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const config_1 = require("@nestjs/config");
12
- const core_module_1 = require("./core/core.module");
13
- let AppModule = class AppModule {
14
- };
15
- exports.AppModule = AppModule;
16
- exports.AppModule = AppModule = __decorate([
17
- (0, common_1.Module)({
18
- imports: [config_1.ConfigModule.forRoot(), core_module_1.CoreModule],
19
- })
20
- ], AppModule);
21
- //# sourceMappingURL=app.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,oDAAkD;AAK3C,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,8BAAS;oBAAT,SAAS;IAHrB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,qBAAY,CAAC,OAAO,EAAE,EAAE,wBAAU,CAAC;KAC9C,CAAC;GACW,SAAS,CAAG"}
@@ -1,2 +0,0 @@
1
- export declare class AuthModule {
2
- }
@@ -1,51 +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
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AuthModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const config_1 = require("@nestjs/config");
12
- const cqrs_1 = require("@nestjs/cqrs");
13
- const jwt_1 = require("@nestjs/jwt");
14
- const passport_1 = require("@nestjs/passport");
15
- const auth_service_1 = require("./auth.service");
16
- const casl_ability_factory_1 = require("./casl-ability.factory");
17
- const commands_1 = require("./commands");
18
- const github_oauth_service_1 = require("./github-oauth.service");
19
- const google_oauth_service_1 = require("./google-oauth.service");
20
- const jwt_secret_service_1 = require("./jwt-secret.service");
21
- const jwt_strategy_1 = require("./strategy/jwt.strategy");
22
- const database_module_1 = require("../database/database.module");
23
- const email_module_1 = require("../email/email.module");
24
- let AuthModule = class AuthModule {
25
- };
26
- exports.AuthModule = AuthModule;
27
- exports.AuthModule = AuthModule = __decorate([
28
- (0, common_1.Module)({
29
- imports: [
30
- cqrs_1.CqrsModule,
31
- database_module_1.DatabaseModule,
32
- config_1.ConfigModule,
33
- passport_1.PassportModule,
34
- jwt_1.JwtModule.register({
35
- global: true,
36
- }),
37
- email_module_1.EmailModule,
38
- ],
39
- providers: [
40
- auth_service_1.AuthService,
41
- jwt_strategy_1.JwtStrategy,
42
- jwt_secret_service_1.JwtSecretService,
43
- google_oauth_service_1.GoogleOauthService,
44
- github_oauth_service_1.GitHubAuthService,
45
- casl_ability_factory_1.CaslAbilityFactory,
46
- ...commands_1.AUTH_COMMANDS,
47
- ],
48
- exports: [auth_service_1.AuthService, google_oauth_service_1.GoogleOauthService, github_oauth_service_1.GitHubAuthService],
49
- })
50
- ], AuthModule);
51
- //# sourceMappingURL=auth.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../../src/auth/auth.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,uCAA0C;AAC1C,qCAAwC;AACxC,+CAAkD;AAClD,iDAAoD;AACpD,iEAAmE;AACnE,yCAAkD;AAClD,iEAAkE;AAClE,iEAAmE;AACnE,6DAA+D;AAC/D,0DAA6D;AAC7D,iEAA8D;AAC9D,wDAAqD;AAwB9C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IAtBtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,iBAAU;YACV,gCAAc;YACd,qBAAY;YACZ,yBAAc;YACd,eAAS,CAAC,QAAQ,CAAC;gBACjB,MAAM,EAAE,IAAI;aACb,CAAC;YACF,0BAAW;SACZ;QACD,SAAS,EAAE;YACT,0BAAW;YACX,0BAAW;YACX,qCAAgB;YAChB,yCAAkB;YAClB,wCAAiB;YACjB,yCAAkB;YAClB,GAAG,wBAAa;SACjB;QACD,OAAO,EAAE,CAAC,0BAAW,EAAE,yCAAkB,EAAE,wCAAiB,CAAC;KAC9D,CAAC;GACW,UAAU,CAAG"}
@@ -1,15 +0,0 @@
1
- import { JwtService } from '@nestjs/jwt';
2
- import { JwtSecretService } from 'src/auth/jwt-secret.service';
3
- export declare class AuthService {
4
- private readonly jwtService;
5
- private readonly jwtSecret;
6
- constructor(jwtService: JwtService, jwtSecret: JwtSecretService);
7
- login(payload: {
8
- username?: string | null;
9
- email?: string | null;
10
- sub: string;
11
- }): string;
12
- hashPassword(password: string): Promise<string>;
13
- comparePassword(password: string, hash: string): Promise<boolean>;
14
- generateConfirmationCode(): string;
15
- }
@@ -1,42 +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.AuthService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const jwt_1 = require("@nestjs/jwt");
15
- const bcrypt = require("bcrypt");
16
- const crypto = require("crypto");
17
- const jwt_secret_service_1 = require("./jwt-secret.service");
18
- let AuthService = class AuthService {
19
- constructor(jwtService, jwtSecret) {
20
- this.jwtService = jwtService;
21
- this.jwtSecret = jwtSecret;
22
- }
23
- login(payload) {
24
- return this.jwtService.sign({ ...payload }, { secret: this.jwtSecret.secret });
25
- }
26
- hashPassword(password) {
27
- return bcrypt.hash(password, 10);
28
- }
29
- comparePassword(password, hash) {
30
- return bcrypt.compare(password, hash);
31
- }
32
- generateConfirmationCode() {
33
- return crypto.randomUUID().toString();
34
- }
35
- };
36
- exports.AuthService = AuthService;
37
- exports.AuthService = AuthService = __decorate([
38
- (0, common_1.Injectable)(),
39
- __metadata("design:paramtypes", [jwt_1.JwtService,
40
- jwt_secret_service_1.JwtSecretService])
41
- ], AuthService);
42
- //# sourceMappingURL=auth.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../src/auth/auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qCAAyC;AACzC,iCAAiC;AACjC,iCAAiC;AACjC,6DAA+D;AAGxD,IAAM,WAAW,GAAjB,MAAM,WAAW;IACtB,YACmB,UAAsB,EACtB,SAA2B;QAD3B,eAAU,GAAV,UAAU,CAAY;QACtB,cAAS,GAAT,SAAS,CAAkB;IAC3C,CAAC;IAEG,KAAK,CAAC,OAIZ;QAEC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CACzB,EAAE,GAAG,OAAO,EAAE,EACd,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAClC,CAAC;IACJ,CAAC;IAEM,YAAY,CAAC,QAAgB;QAClC,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACnC,CAAC;IAEM,eAAe,CAAC,QAAgB,EAAE,IAAY;QACnD,OAAO,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;IAEM,wBAAwB;QAC7B,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC;IACxC,CAAC;CACF,CAAA;AA7BY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;qCAGoB,gBAAU;QACX,qCAAgB;GAHnC,WAAW,CA6BvB"}
@@ -1,25 +0,0 @@
1
- import { PureAbility } from '@casl/ability';
2
- import { PrismaQuery, Subjects } from '@casl/prisma';
3
- import { Organization, Project, Branch, Revision, Table, Row, Endpoint, User } from '@prisma/client';
4
- import { PermissionAction, UserRole } from 'src/auth/consts';
5
- import { PrismaService } from 'src/database/prisma.service';
6
- export type AppSubjects = Subjects<{
7
- Organization: Organization;
8
- Project: Project;
9
- Branch: Branch;
10
- Revision: Revision;
11
- Table: Table;
12
- Row: Row;
13
- Endpoint: Endpoint;
14
- User: User;
15
- }>;
16
- export type AppAbility = PureAbility<[
17
- PermissionAction,
18
- AppSubjects
19
- ], PrismaQuery>;
20
- export declare class CaslAbilityFactory {
21
- private readonly prisma;
22
- constructor(prisma: PrismaService);
23
- createAbility(...roles: UserRole[]): Promise<AppAbility>;
24
- private getPermissions;
25
- }
@@ -1,45 +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.CaslAbilityFactory = void 0;
13
- const ability_1 = require("@casl/ability");
14
- const prisma_1 = require("@casl/prisma");
15
- const common_1 = require("@nestjs/common");
16
- const prisma_service_1 = require("../database/prisma.service");
17
- let CaslAbilityFactory = class CaslAbilityFactory {
18
- constructor(prisma) {
19
- this.prisma = prisma;
20
- }
21
- async createAbility(...roles) {
22
- const { can, build } = new ability_1.AbilityBuilder(prisma_1.createPrismaAbility);
23
- for (const role of roles) {
24
- for (const { action, subject, condition } of await this.getPermissions(role)) {
25
- can(action, subject, condition);
26
- }
27
- }
28
- return build();
29
- }
30
- getPermissions(role) {
31
- return this.prisma.role
32
- .findUniqueOrThrow({
33
- where: {
34
- id: role,
35
- },
36
- })
37
- .permissions();
38
- }
39
- };
40
- exports.CaslAbilityFactory = CaslAbilityFactory;
41
- exports.CaslAbilityFactory = CaslAbilityFactory = __decorate([
42
- (0, common_1.Injectable)(),
43
- __metadata("design:paramtypes", [prisma_service_1.PrismaService])
44
- ], CaslAbilityFactory);
45
- //# sourceMappingURL=casl-ability.factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"casl-ability.factory.js","sourceRoot":"","sources":["../../../src/auth/casl-ability.factory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4D;AAC5D,yCAA0E;AAC1E,2CAA4C;AAY5C,+DAA4D;AAmBrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtD,KAAK,CAAC,aAAa,CAAC,GAAG,KAAiB;QACtC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAI,wBAAc,CAAa,4BAAmB,CAAC,CAAC;QAE3E,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,KAAK,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,MAAM,IAAI,CAAC,cAAc,CACpE,IAAI,CACL,EAAE,CAAC;gBAGF,GAAG,CAAC,MAAM,EAAE,OAAiC,EAAE,SAAS,CAAC,CAAC;YAC5D,CAAC;QACH,CAAC;QAED,OAAO,KAAK,EAAE,CAAC;IACjB,CAAC;IAEO,cAAc,CAAC,IAAc;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI;aACpB,iBAAiB,CAAC;YACjB,KAAK,EAAE;gBACL,EAAE,EAAE,IAAI;aACT;SACF,CAAC;aACD,WAAW,EAAE,CAAC;IACnB,CAAC;CACF,CAAA;AA5BY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAE0B,8BAAa;GADvC,kBAAkB,CA4B9B"}
@@ -1,12 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { CaslAbilityFactory } from 'src/auth/casl-ability.factory';
3
- import { CheckOrganizationPermissionCommand } from 'src/auth/commands/impl/check-organization-permission.command';
4
- import { PrismaService } from 'src/database/prisma.service';
5
- export declare class CheckOrganizationPermissionHandler implements ICommandHandler<CheckOrganizationPermissionCommand, true> {
6
- private readonly prisma;
7
- private readonly casl;
8
- constructor(prisma: PrismaService, casl: CaslAbilityFactory);
9
- execute({ data }: CheckOrganizationPermissionCommand): Promise<true>;
10
- private getOrganizationRole;
11
- private getSystemRole;
12
- }
@@ -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.CheckOrganizationPermissionHandler = 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 check_organization_permission_command_1 = require("../impl/check-organization-permission.command");
17
- const consts_1 = require("../../consts");
18
- const utils_1 = require("../../utils");
19
- const prisma_service_1 = require("../../../database/prisma.service");
20
- let CheckOrganizationPermissionHandler = class CheckOrganizationPermissionHandler {
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 organizationRole = await this.getOrganizationRole(data);
28
- const ability = await this.casl.createAbility(systemRole, organizationRole);
29
- for (const permission of data.permissions) {
30
- ability_1.ForbiddenError.from(ability)
31
- .setMessage(`You are not allowed to ${permission.action} on ${permission.subject}`)
32
- .throwUnlessCan(permission.action, permission.subject);
33
- }
34
- return true;
35
- }
36
- async getOrganizationRole(data) {
37
- if (data.userId) {
38
- const result = await this.prisma.userOrganization.findFirst({
39
- where: { organizationId: data.organizationId, userId: data.userId },
40
- select: {
41
- roleId: true,
42
- },
43
- });
44
- return (0, utils_1.getUserRole)(result?.roleId);
45
- }
46
- return consts_1.UserRole.guest;
47
- }
48
- async getSystemRole(data) {
49
- if (data.userId) {
50
- const result = await this.prisma.user.findUnique({
51
- where: { id: data.userId },
52
- select: {
53
- roleId: true,
54
- },
55
- });
56
- return (0, utils_1.getUserRole)(result?.roleId);
57
- }
58
- return consts_1.UserRole.guest;
59
- }
60
- };
61
- exports.CheckOrganizationPermissionHandler = CheckOrganizationPermissionHandler;
62
- exports.CheckOrganizationPermissionHandler = CheckOrganizationPermissionHandler = __decorate([
63
- (0, cqrs_1.CommandHandler)(check_organization_permission_command_1.CheckOrganizationPermissionCommand),
64
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
65
- casl_ability_factory_1.CaslAbilityFactory])
66
- ], CheckOrganizationPermissionHandler);
67
- //# sourceMappingURL=check-organization-permission.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-organization-permission.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/check-organization-permission.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uCAA+D;AAC/D,qEAAmE;AACnE,yGAAkH;AAClH,yCAA2C;AAC3C,uCAA6C;AAC7C,qEAA4D;AAGrD,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;IAG7C,YACmB,MAAqB,EACrB,IAAwB;QADxB,WAAM,GAAN,MAAM,CAAe;QACrB,SAAI,GAAJ,IAAI,CAAoB;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAsC;QACxD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE9D,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAE5E,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,mBAAmB,CAC/B,IAAgD;QAEhD,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC;gBAC1D,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;gBACnE,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;IAEO,KAAK,CAAC,aAAa,CACzB,IAAgD;QAEhD,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;AA1DY,gFAAkC;6CAAlC,kCAAkC;IAD9C,IAAA,qBAAc,EAAC,0EAAkC,CAAC;qCAKtB,8BAAa;QACf,yCAAkB;GALhC,kCAAkC,CA0D9C"}
@@ -1,17 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { CaslAbilityFactory } from 'src/auth/casl-ability.factory';
3
- import { CheckProjectPermissionCommand } from 'src/auth/commands/impl';
4
- import { PrismaService } from 'src/database/prisma.service';
5
- export declare class CheckProjectPermissionHandler implements ICommandHandler<CheckProjectPermissionCommand, true> {
6
- private readonly prisma;
7
- private readonly casl;
8
- constructor(prisma: PrismaService, casl: CaslAbilityFactory);
9
- execute({ data }: CheckProjectPermissionCommand): Promise<true>;
10
- private getOrganizationRole;
11
- private getProjectRole;
12
- private resolveProject;
13
- private getProjectByProjectName;
14
- private getProjectByEndpointId;
15
- private getProjectByRevisionId;
16
- private getSystemRole;
17
- }
@@ -1,149 +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.CheckProjectPermissionHandler = 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 CheckProjectPermissionHandler = class CheckProjectPermissionHandler {
21
- constructor(prisma, casl) {
22
- this.prisma = prisma;
23
- this.casl = casl;
24
- }
25
- async execute({ data }) {
26
- const project = await this.resolveProject(data);
27
- const systemRole = await this.getSystemRole(data);
28
- const organizationRole = await this.getOrganizationRole({
29
- organizationId: project.organizationId,
30
- userId: data.userId,
31
- });
32
- const projectRole = await this.getProjectRole({
33
- organizationId: project.organizationId,
34
- projectName: project.name,
35
- userId: data.userId,
36
- });
37
- const ability = await this.casl.createAbility(systemRole, organizationRole, projectRole);
38
- for (const permission of data.permissions) {
39
- ability_1.ForbiddenError.from(ability)
40
- .setMessage(`You are not allowed to ${permission.action} on ${permission.subject}`)
41
- .throwUnlessCan(permission.action, permission.subject === consts_1.PermissionSubject.Project
42
- ? (0, ability_1.subject)(consts_1.PermissionSubject.Project, project)
43
- : permission.subject);
44
- }
45
- return true;
46
- }
47
- async getOrganizationRole(params) {
48
- if (params.userId) {
49
- const result = await this.prisma.userOrganization.findFirst({
50
- where: { organizationId: params.organizationId, userId: params.userId },
51
- select: {
52
- roleId: true,
53
- },
54
- });
55
- return (0, utils_1.getUserRole)(result?.roleId);
56
- }
57
- return consts_1.UserRole.guest;
58
- }
59
- async getProjectRole(params) {
60
- if (params.userId) {
61
- const project = await this.prisma.project.findFirst({
62
- where: {
63
- organizationId: params.organizationId,
64
- name: params.projectName,
65
- },
66
- select: {
67
- id: true,
68
- },
69
- });
70
- if (!project) {
71
- return consts_1.UserRole.guest;
72
- }
73
- const result = await this.prisma.userProject.findFirst({
74
- where: { projectId: project.id, userId: params.userId },
75
- select: {
76
- roleId: true,
77
- },
78
- });
79
- return (0, utils_1.getUserRole)(result?.roleId);
80
- }
81
- return consts_1.UserRole.guest;
82
- }
83
- async resolveProject(data) {
84
- if ('organizationId' in data && 'projectName' in data) {
85
- return this.getProjectByProjectName(data.organizationId, data.projectName);
86
- }
87
- else if ('revisionId' in data) {
88
- return this.getProjectByRevisionId(data.revisionId);
89
- }
90
- else if ('endpointId' in data) {
91
- return this.getProjectByEndpointId(data.endpointId);
92
- }
93
- throw new Error(`Invalid data=${data}`);
94
- }
95
- async getProjectByProjectName(organizationId, projectName) {
96
- return this.prisma.project.findFirstOrThrow({
97
- where: { organizationId, name: projectName },
98
- });
99
- }
100
- async getProjectByEndpointId(endpointId) {
101
- const revision = await this.prisma.endpoint.findUniqueOrThrow({
102
- where: { id: endpointId },
103
- select: {
104
- revision: {
105
- select: {
106
- branch: {
107
- select: {
108
- project: true,
109
- },
110
- },
111
- },
112
- },
113
- },
114
- });
115
- return revision.revision.branch.project;
116
- }
117
- async getProjectByRevisionId(revisionId) {
118
- const revision = await this.prisma.revision.findUniqueOrThrow({
119
- where: { id: revisionId },
120
- select: {
121
- branch: {
122
- select: {
123
- project: true,
124
- },
125
- },
126
- },
127
- });
128
- return revision.branch.project;
129
- }
130
- async getSystemRole(data) {
131
- if (data.userId) {
132
- const result = await this.prisma.user.findUnique({
133
- where: { id: data.userId },
134
- select: {
135
- roleId: true,
136
- },
137
- });
138
- return (0, utils_1.getUserRole)(result?.roleId);
139
- }
140
- return consts_1.UserRole.guest;
141
- }
142
- };
143
- exports.CheckProjectPermissionHandler = CheckProjectPermissionHandler;
144
- exports.CheckProjectPermissionHandler = CheckProjectPermissionHandler = __decorate([
145
- (0, cqrs_1.CommandHandler)(impl_1.CheckProjectPermissionCommand),
146
- __metadata("design:paramtypes", [prisma_service_1.PrismaService,
147
- casl_ability_factory_1.CaslAbilityFactory])
148
- ], CheckProjectPermissionHandler);
149
- //# sourceMappingURL=check-project-permission.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-project-permission.handler.js","sourceRoot":"","sources":["../../../../../src/auth/commands/handlers/check-project-permission.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAwD;AACxD,uCAA+D;AAC/D,qEAAmE;AACnE,kCAAuE;AACvE,yCAA8D;AAC9D,uCAA6C;AAC7C,qEAA4D;AAGrD,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IAGxC,YACmB,MAAqB,EACrB,IAAwB;QADxB,WAAM,GAAN,MAAM,CAAe;QACrB,SAAI,GAAJ,IAAI,CAAoB;IACxC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAiC;QACnD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAElD,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC;YACtD,cAAc,EAAE,OAAO,CAAC,cAAc;YACtC,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC,CAAC;QAEH,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC;YAC5C,cAAc,EAAE,OAAO,CAAC,cAAc;YACtC,WAAW,EAAE,OAAO,CAAC,IAAI;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,aAAa,CAC3C,UAAU,EACV,gBAAgB,EAChB,WAAW,CACZ,CAAC;QAEF,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,CACb,UAAU,CAAC,MAAM,EACjB,UAAU,CAAC,OAAO,KAAK,0BAAiB,CAAC,OAAO;gBAC9C,CAAC,CAAC,IAAA,iBAAO,EAAC,0BAAiB,CAAC,OAAO,EAAE,OAAO,CAAC;gBAC7C,CAAC,CAAC,UAAU,CAAC,OAAO,CACvB,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,KAAK,CAAC,mBAAmB,CAAC,MAGjC;QACC,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC;gBAC1D,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;gBACvE,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;IAEO,KAAK,CAAC,cAAc,CAAC,MAI5B;QACC,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAClB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;gBAClD,KAAK,EAAE;oBACL,cAAc,EAAE,MAAM,CAAC,cAAc;oBACrC,IAAI,EAAE,MAAM,CAAC,WAAW;iBACzB;gBACD,MAAM,EAAE;oBACN,EAAE,EAAE,IAAI;iBACT;aACF,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,OAAO,iBAAQ,CAAC,KAAK,CAAC;YACxB,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC;gBACrD,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;gBACvD,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;IAEO,KAAK,CAAC,cAAc,CAAC,IAA2C;QACtE,IAAI,gBAAgB,IAAI,IAAI,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;YACtD,OAAO,IAAI,CAAC,uBAAuB,CACjC,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,WAAW,CACjB,CAAC;QACJ,CAAC;aAAM,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACtD,CAAC;aAAM,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACtD,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IAC1C,CAAC;IAEO,KAAK,CAAC,uBAAuB,CACnC,cAAsB,EACtB,WAAmB;QAEnB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC;YAC1C,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;SAC7C,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,sBAAsB,CAAC,UAAkB;QACrD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;YACzB,MAAM,EAAE;gBACN,QAAQ,EAAE;oBACR,MAAM,EAAE;wBACN,MAAM,EAAE;4BACN,MAAM,EAAE;gCACN,OAAO,EAAE,IAAI;6BACd;yBACF;qBACF;iBACF;aACF;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,CAAC;IAEO,KAAK,CAAC,sBAAsB,CAAC,UAAkB;QACrD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;YACzB,MAAM,EAAE;gBACN,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,OAAO,EAAE,IAAI;qBACd;iBACF;aACF;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACjC,CAAC;IAEO,KAAK,CAAC,aAAa,CACzB,IAA2C;QAE3C,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;AA3KY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,qBAAc,EAAC,oCAA6B,CAAC;qCAKjB,8BAAa;QACf,yCAAkB;GALhC,6BAA6B,CA2KzC"}
@@ -1,11 +0,0 @@
1
- import { ICommandHandler } from '@nestjs/cqrs';
2
- import { CaslAbilityFactory } from 'src/auth/casl-ability.factory';
3
- import { CheckSystemPermissionCommand, CheckSystemPermissionCommandReturnType } from 'src/auth/commands/impl';
4
- import { PrismaService } from 'src/database/prisma.service';
5
- export declare class CheckSystemPermissionHandler implements ICommandHandler<CheckSystemPermissionCommand, CheckSystemPermissionCommandReturnType> {
6
- private readonly prisma;
7
- private readonly casl;
8
- constructor(prisma: PrismaService, casl: CaslAbilityFactory);
9
- execute({ data }: CheckSystemPermissionCommand): Promise<boolean>;
10
- private getSystemRole;
11
- }