@revisium/core 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/package.json +5 -2
  2. package/dist/prisma/schema.prisma +1 -1
  3. package/dist/src/__tests__/utils/createMocks.d.ts +5 -5
  4. package/dist/src/__tests__/utils/implementIdService.d.ts +1 -1
  5. package/dist/src/__tests__/utils/rowMocks.d.ts +1 -1
  6. package/dist/src/__tests__/utils/schema/schema.mocks.d.ts +2 -2
  7. package/dist/src/admin/admin-module.options.d.ts +3 -0
  8. package/dist/src/admin/admin-module.options.js +3 -0
  9. package/dist/src/admin/admin-module.options.js.map +1 -0
  10. package/dist/src/admin/admin.module.d.ts +6 -0
  11. package/dist/src/admin/admin.module.js +46 -0
  12. package/dist/src/admin/admin.module.js.map +1 -0
  13. package/dist/src/admin/envjs.controller.d.ts +6 -0
  14. package/dist/src/admin/envjs.controller.js +40 -0
  15. package/dist/src/admin/envjs.controller.js.map +1 -0
  16. package/dist/src/admin/index.d.ts +0 -0
  17. package/dist/src/admin/index.js +1 -0
  18. package/dist/src/admin/index.js.map +1 -0
  19. package/dist/src/app.module.js +2 -1
  20. package/dist/src/app.module.js.map +1 -1
  21. package/dist/src/auth/auth.service.d.ts +1 -1
  22. package/dist/src/auth/casl-ability.factory.d.ts +2 -2
  23. package/dist/src/auth/commands/handlers/check-organization-permission.handler.d.ts +3 -3
  24. package/dist/src/auth/commands/handlers/check-project-permission.handler.d.ts +3 -3
  25. package/dist/src/auth/commands/handlers/check-system-permission.handler.d.ts +3 -3
  26. package/dist/src/auth/commands/handlers/confirm-email-code.handler.d.ts +1 -1
  27. package/dist/src/auth/commands/handlers/create-user.handler.d.ts +4 -4
  28. package/dist/src/auth/commands/handlers/login-github.handler.d.ts +4 -4
  29. package/dist/src/auth/commands/handlers/login-google.handler.d.ts +4 -4
  30. package/dist/src/auth/commands/handlers/login.handler.d.ts +3 -3
  31. package/dist/src/auth/commands/handlers/sign-up.handler.d.ts +1 -1
  32. package/dist/src/auth/commands/impl/check-organization-permission.command.d.ts +1 -1
  33. package/dist/src/auth/commands/impl/check-project-permission.command.d.ts +1 -1
  34. package/dist/src/auth/commands/impl/check-system-permission.command.d.ts +1 -1
  35. package/dist/src/auth/commands/impl/create-user.command.d.ts +1 -1
  36. package/dist/src/auth/commands/index.d.ts +1 -1
  37. package/dist/src/auth/guards/base-persmission.guard.d.ts +2 -2
  38. package/dist/src/auth/guards/organization.guard.d.ts +3 -3
  39. package/dist/src/auth/guards/permission-params.d.ts +1 -1
  40. package/dist/src/auth/guards/project.guard.d.ts +3 -3
  41. package/dist/src/auth/guards/system.guard.d.ts +3 -3
  42. package/dist/src/auth/strategy/jwt.strategy.d.ts +2 -2
  43. package/dist/src/auth/utils.d.ts +1 -1
  44. package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +1 -1
  45. package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +3 -3
  46. package/dist/src/branch/commands/handlers/index.d.ts +2 -2
  47. package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.d.ts +3 -3
  48. package/dist/src/branch/quieries/handlers/get-branch.handler.d.ts +4 -4
  49. package/dist/src/branch/quieries/handlers/get-branches.handler.d.ts +3 -3
  50. package/dist/src/branch/quieries/handlers/get-draft-revision.handler.d.ts +3 -3
  51. package/dist/src/branch/quieries/handlers/get-head-revision.handler.d.ts +3 -3
  52. package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.d.ts +2 -2
  53. package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +2 -2
  54. package/dist/src/branch/quieries/handlers/get-start-revision.handler.d.ts +3 -3
  55. package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +3 -3
  56. package/dist/src/branch/quieries/handlers/index.d.ts +10 -10
  57. package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +2 -2
  58. package/dist/src/clean/commands/handlers/clean-rows.handler.d.ts +2 -2
  59. package/dist/src/clean/commands/handlers/clean-tables.handler.d.ts +2 -2
  60. package/dist/src/clean/commands/handlers/index.d.ts +2 -2
  61. package/dist/src/configuration/queries/handlers/get-configuration.handler.d.ts +4 -4
  62. package/dist/src/configuration/queries/index.d.ts +1 -1
  63. package/dist/src/core/core.module.js +2 -0
  64. package/dist/src/core/core.module.js.map +1 -1
  65. package/dist/src/database/transaction-prisma.service.d.ts +2 -2
  66. package/dist/src/draft/commands/handlers/api-create-revision.handler.d.ts +3 -3
  67. package/dist/src/draft/commands/handlers/api-create-row.handler.d.ts +4 -4
  68. package/dist/src/draft/commands/handlers/api-create-table.handler.d.ts +4 -4
  69. package/dist/src/draft/commands/handlers/api-remove-row.handler.d.ts +4 -4
  70. package/dist/src/draft/commands/handlers/api-remove-table.handler.d.ts +4 -4
  71. package/dist/src/draft/commands/handlers/api-revert-changes.handler.d.ts +3 -3
  72. package/dist/src/draft/commands/handlers/api-update-row.handler.d.ts +4 -4
  73. package/dist/src/draft/commands/handlers/api-update-table.handler.d.ts +4 -4
  74. package/dist/src/draft/commands/handlers/create-revision.handler.d.ts +8 -8
  75. package/dist/src/draft/commands/handlers/create-row.handler.d.ts +12 -12
  76. package/dist/src/draft/commands/handlers/create-table.handler.d.ts +11 -11
  77. package/dist/src/draft/commands/handlers/index.d.ts +24 -24
  78. package/dist/src/draft/commands/handlers/remove-row.handler.d.ts +12 -12
  79. package/dist/src/draft/commands/handlers/remove-table.handler.d.ts +11 -11
  80. package/dist/src/draft/commands/handlers/revert-changes.handler.d.ts +6 -6
  81. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.d.ts +8 -8
  82. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.d.ts +8 -8
  83. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.d.ts +7 -7
  84. package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +3 -3
  85. package/dist/src/draft/commands/handlers/transactional/validate-data.handler.d.ts +4 -4
  86. package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +3 -3
  87. package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.d.ts +4 -4
  88. package/dist/src/draft/commands/handlers/update-row.handler.d.ts +8 -8
  89. package/dist/src/draft/commands/handlers/update-rows.handler.d.ts +7 -7
  90. package/dist/src/draft/commands/handlers/update-table.handler.d.ts +9 -9
  91. package/dist/src/draft/commands/impl/api-update-table.command.d.ts +1 -1
  92. package/dist/src/draft/commands/impl/transactional/validate-data.command.d.ts +1 -1
  93. package/dist/src/draft/commands/impl/update-rows.command.d.ts +1 -1
  94. package/dist/src/draft/commands/impl/update-table.command.d.ts +1 -1
  95. package/dist/src/draft/commands/types/api-create-row.handler.types.d.ts +2 -2
  96. package/dist/src/draft/commands/types/api-remove-row.handler.types.d.ts +2 -2
  97. package/dist/src/draft/commands/types/api-remove-table.handler.types.d.ts +1 -1
  98. package/dist/src/draft/commands/types/api-update-row.handler.types.d.ts +2 -2
  99. package/dist/src/draft/commands/types/api-update-table.handler.types.d.ts +1 -1
  100. package/dist/src/draft/draft-request-dto/draft-revision-request.dto.d.ts +1 -1
  101. package/dist/src/draft/draft-request-dto/index.d.ts +4 -4
  102. package/dist/src/draft/draft-request-dto/row-request.dto.d.ts +1 -1
  103. package/dist/src/draft/draft-request-dto/rows-request.dto.d.ts +1 -1
  104. package/dist/src/draft/draft-request-dto/table-request.dto.d.ts +1 -1
  105. package/dist/src/draft/draft.handler.d.ts +2 -2
  106. package/dist/src/draft/draft.transactional.commands.d.ts +1 -1
  107. package/dist/src/draft/session-changelog.service.d.ts +4 -4
  108. package/dist/src/email/email.service.d.ts +2 -2
  109. package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.d.ts +1 -1
  110. package/dist/src/endpoint/commands/handlers/create-endpoint.handler.d.ts +3 -3
  111. package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.d.ts +3 -3
  112. package/dist/src/endpoint/commands/handlers/index.d.ts +3 -3
  113. package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +2 -2
  114. package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.d.ts +2 -2
  115. package/dist/src/endpoint/queries/handlers/index.d.ts +2 -2
  116. package/dist/src/endpoint/queries/impl/index.d.ts +1 -1
  117. package/dist/src/graphql-api/auth/auth.resolver.d.ts +2 -2
  118. package/dist/src/graphql-api/auth/inputs/create-user.input.d.ts +1 -1
  119. package/dist/src/graphql-api/branch/branch.resolver.d.ts +6 -6
  120. package/dist/src/graphql-api/branch/inputs/index.d.ts +5 -5
  121. package/dist/src/graphql-api/branch/model/branch.model.d.ts +3 -3
  122. package/dist/src/graphql-api/branch/model/parent-branch.model.d.ts +2 -2
  123. package/dist/src/graphql-api/branch/parent-branch.resolver.d.ts +1 -1
  124. package/dist/src/graphql-api/configuration/configuration.resolver.d.ts +1 -1
  125. package/dist/src/graphql-api/draft/draft.resolver.d.ts +2 -2
  126. package/dist/src/graphql-api/draft/input/create-row.input.d.ts +1 -1
  127. package/dist/src/graphql-api/draft/input/index.d.ts +5 -5
  128. package/dist/src/graphql-api/draft/input/remove-row.input.d.ts +1 -1
  129. package/dist/src/graphql-api/draft/input/update-row.input.d.ts +1 -1
  130. package/dist/src/graphql-api/draft/input/update-table.input.d.ts +1 -1
  131. package/dist/src/graphql-api/draft/model/create-row-result.model.d.ts +2 -2
  132. package/dist/src/graphql-api/draft/model/create-table-result.model.d.ts +2 -2
  133. package/dist/src/graphql-api/draft/model/remove-row-result.model.d.ts +2 -2
  134. package/dist/src/graphql-api/draft/model/remove-table-result.model.d.ts +1 -1
  135. package/dist/src/graphql-api/draft/model/update-row-result.model.d.ts +2 -2
  136. package/dist/src/graphql-api/draft/model/update-table-result.model.d.ts +1 -1
  137. package/dist/src/graphql-api/endpoint/endpoint.resolver.d.ts +2 -2
  138. package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.d.ts +1 -1
  139. package/dist/src/graphql-api/endpoint/inputs/index.d.ts +3 -3
  140. package/dist/src/graphql-api/endpoint/model/endpoint.model.d.ts +1 -1
  141. package/dist/src/graphql-api/endpoint/model/index.d.ts +1 -1
  142. package/dist/src/graphql-api/graphql-api.module.js +19 -9
  143. package/dist/src/graphql-api/graphql-api.module.js.map +1 -1
  144. package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.d.ts +1 -1
  145. package/dist/src/graphql-api/organization/model/users-organization.connection.d.ts +1 -1
  146. package/dist/src/graphql-api/organization/model/users-organization.model.d.ts +2 -2
  147. package/dist/src/graphql-api/organization/organization.resolver.d.ts +4 -4
  148. package/dist/src/graphql-api/project/inputs/add-user-to-project.input.d.ts +1 -1
  149. package/dist/src/graphql-api/project/inputs/index.d.ts +7 -7
  150. package/dist/src/graphql-api/project/model/index.d.ts +1 -1
  151. package/dist/src/graphql-api/project/model/project.model.d.ts +1 -1
  152. package/dist/src/graphql-api/project/model/projects.connection.d.ts +1 -1
  153. package/dist/src/graphql-api/project/model/users-project.connection.d.ts +1 -1
  154. package/dist/src/graphql-api/project/model/users-project.model.d.ts +2 -2
  155. package/dist/src/graphql-api/project/project.resolver.d.ts +3 -3
  156. package/dist/src/graphql-api/revision/child-branch.resolver.d.ts +1 -1
  157. package/dist/src/graphql-api/revision/model/child-branch.model.d.ts +2 -2
  158. package/dist/src/graphql-api/revision/model/revision.model.d.ts +4 -4
  159. package/dist/src/graphql-api/revision/revision.resolver.d.ts +4 -4
  160. package/dist/src/graphql-api/row/inputs/index.d.ts +3 -3
  161. package/dist/src/graphql-api/row/model/row-reference.model.d.ts +2 -2
  162. package/dist/src/graphql-api/row/model/row-references-connection.model.d.ts +1 -1
  163. package/dist/src/graphql-api/row/model/row.model.d.ts +1 -1
  164. package/dist/src/graphql-api/row/model/rows-connection.model.d.ts +1 -1
  165. package/dist/src/graphql-api/row/row.resolver.d.ts +5 -5
  166. package/dist/src/graphql-api/share/model/paginated.model.d.ts +1 -1
  167. package/dist/src/graphql-api/table/model/table-connection.model.d.ts +1 -1
  168. package/dist/src/graphql-api/table/model/table.model.d.ts +2 -2
  169. package/dist/src/graphql-api/table/table.resolver.d.ts +6 -6
  170. package/dist/src/graphql-api/user/user.resolver.d.ts +4 -4
  171. package/dist/src/health/health.controller.js +1 -0
  172. package/dist/src/health/health.controller.js.map +1 -1
  173. package/dist/src/index.d.ts +5 -2
  174. package/dist/src/index.js +7 -3
  175. package/dist/src/index.js.map +1 -1
  176. package/dist/src/metrics/graphql/constants.d.ts +3 -0
  177. package/dist/src/metrics/graphql/constants.js +7 -0
  178. package/dist/src/metrics/graphql/constants.js.map +1 -0
  179. package/dist/src/metrics/graphql/graphql-metrics.plugin.d.ts +7 -0
  180. package/dist/src/metrics/graphql/graphql-metrics.plugin.js +55 -0
  181. package/dist/src/metrics/graphql/graphql-metrics.plugin.js.map +1 -0
  182. package/dist/src/metrics/graphql/graphql-metrics.service.d.ts +16 -0
  183. package/dist/src/metrics/graphql/graphql-metrics.service.js +49 -0
  184. package/dist/src/metrics/graphql/graphql-metrics.service.js.map +1 -0
  185. package/dist/src/metrics/metrics.module.d.ts +2 -0
  186. package/dist/src/metrics/metrics.module.js +32 -0
  187. package/dist/src/metrics/metrics.module.js.map +1 -0
  188. package/dist/src/metrics/rest/constants.d.ts +3 -0
  189. package/dist/src/metrics/rest/constants.js +7 -0
  190. package/dist/src/metrics/rest/constants.js.map +1 -0
  191. package/dist/src/metrics/rest/rest-metrics.interceptor.d.ts +9 -0
  192. package/dist/src/metrics/rest/rest-metrics.interceptor.js +53 -0
  193. package/dist/src/metrics/rest/rest-metrics.interceptor.js.map +1 -0
  194. package/dist/src/metrics/rest/rest-metrics.service.d.ts +15 -0
  195. package/dist/src/metrics/rest/rest-metrics.service.js +49 -0
  196. package/dist/src/metrics/rest/rest-metrics.service.js.map +1 -0
  197. package/dist/src/metrics/utils.d.ts +1 -0
  198. package/dist/src/metrics/utils.js +8 -0
  199. package/dist/src/metrics/utils.js.map +1 -0
  200. package/dist/src/metrics-api/metrics-api.module.d.ts +4 -0
  201. package/dist/src/metrics-api/metrics-api.module.js +29 -0
  202. package/dist/src/metrics-api/metrics-api.module.js.map +1 -0
  203. package/dist/src/metrics-api/metrics-enabled.guard.d.ts +7 -0
  204. package/dist/src/metrics-api/metrics-enabled.guard.js +28 -0
  205. package/dist/src/metrics-api/metrics-enabled.guard.js.map +1 -0
  206. package/dist/src/metrics-api/metrics.controller.d.ts +7 -0
  207. package/dist/src/metrics-api/metrics.controller.js +49 -0
  208. package/dist/src/metrics-api/metrics.controller.js.map +1 -0
  209. package/dist/src/notification/in-memory-server.d.ts +6 -0
  210. package/dist/src/notification/in-memory-server.js +19 -0
  211. package/dist/src/notification/in-memory-server.js.map +1 -0
  212. package/dist/src/organization/commands/handlers/add-user-to-organization.handler.d.ts +3 -3
  213. package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.d.ts +2 -2
  214. package/dist/src/organization/commands/impl/add-user-to-organization.command.d.ts +1 -1
  215. package/dist/src/organization/commands/index.d.ts +1 -1
  216. package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +2 -2
  217. package/dist/src/organization/queries/handlers/get-users-organization.handler.d.ts +2 -2
  218. package/dist/src/organization/queries/handlers/index.d.ts +1 -1
  219. package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.d.ts +1 -1
  220. package/dist/src/organization/queries/impl/get-users-organization.query.d.ts +1 -1
  221. package/dist/src/organization/queries/impl/index.d.ts +1 -1
  222. package/dist/src/organization/queries/index.d.ts +2 -2
  223. package/dist/src/project/commands/handlers/add-user-to-project.handler.d.ts +3 -3
  224. package/dist/src/project/commands/handlers/api-create-project.handler.d.ts +1 -1
  225. package/dist/src/project/commands/handlers/create-project.handler.d.ts +3 -3
  226. package/dist/src/project/commands/handlers/delete-project.handler.d.ts +4 -4
  227. package/dist/src/project/commands/handlers/index.d.ts +6 -6
  228. package/dist/src/project/commands/handlers/remove-user-from-project.handler.d.ts +2 -2
  229. package/dist/src/project/commands/handlers/update-project.handler.d.ts +3 -3
  230. package/dist/src/project/commands/impl/add-user-to-project.command.d.ts +1 -1
  231. package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.d.ts +2 -2
  232. package/dist/src/project/queries/handlers/get-project-by-id.handler.d.ts +2 -2
  233. package/dist/src/project/queries/handlers/get-project.handler.d.ts +3 -3
  234. package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.d.ts +2 -2
  235. package/dist/src/project/queries/handlers/get-users-project.handler.d.ts +2 -2
  236. package/dist/src/project/queries/handlers/index.d.ts +5 -5
  237. package/dist/src/project/queries/impl/get-users-project.query.d.ts +1 -1
  238. package/dist/src/rest-api/auth/auth.controller.d.ts +3 -3
  239. package/dist/src/rest-api/auth/auth.controller.js +2 -0
  240. package/dist/src/rest-api/auth/auth.controller.js.map +1 -1
  241. package/dist/src/rest-api/auth/dto/create-user.dto.d.ts +1 -1
  242. package/dist/src/rest-api/branch/branch-by-name.controller.d.ts +3 -3
  243. package/dist/src/rest-api/branch/branch-by-name.controller.js +2 -0
  244. package/dist/src/rest-api/branch/branch-by-name.controller.js.map +1 -1
  245. package/dist/src/rest-api/configuration/configuration.controller.d.ts +1 -1
  246. package/dist/src/rest-api/configuration/configuration.controller.js +2 -0
  247. package/dist/src/rest-api/configuration/configuration.controller.js.map +1 -1
  248. package/dist/src/rest-api/endpoint/endpointByIdController.js +2 -0
  249. package/dist/src/rest-api/endpoint/endpointByIdController.js.map +1 -1
  250. package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.d.ts +1 -1
  251. package/dist/src/rest-api/organization/dto/index.d.ts +5 -5
  252. package/dist/src/rest-api/organization/model/users-organization.model.d.ts +2 -2
  253. package/dist/src/rest-api/organization/organization.controller.d.ts +4 -4
  254. package/dist/src/rest-api/organization/organization.controller.js +2 -0
  255. package/dist/src/rest-api/organization/organization.controller.js.map +1 -1
  256. package/dist/src/rest-api/project/dto/add-user-to-project.dto.d.ts +1 -1
  257. package/dist/src/rest-api/project/model/users-project.model.d.ts +2 -2
  258. package/dist/src/rest-api/project/project.controller.d.ts +6 -6
  259. package/dist/src/rest-api/project/project.controller.js +2 -0
  260. package/dist/src/rest-api/project/project.controller.js.map +1 -1
  261. package/dist/src/rest-api/rest-api.module.js +2 -1
  262. package/dist/src/rest-api/rest-api.module.js.map +1 -1
  263. package/dist/src/rest-api/revision/dto/index.d.ts +3 -3
  264. package/dist/src/rest-api/revision/model/create-table.response.d.ts +2 -2
  265. package/dist/src/rest-api/revision/revision-by-id.controller.d.ts +7 -7
  266. package/dist/src/rest-api/revision/revision-by-id.controller.js +2 -0
  267. package/dist/src/rest-api/revision/revision-by-id.controller.js.map +1 -1
  268. package/dist/src/rest-api/row/model/remove-row.response.d.ts +2 -2
  269. package/dist/src/rest-api/row/model/update-row.response.d.ts +2 -2
  270. package/dist/src/rest-api/row/row-by-id.controller.d.ts +3 -3
  271. package/dist/src/rest-api/row/row-by-id.controller.js +2 -0
  272. package/dist/src/rest-api/row/row-by-id.controller.js.map +1 -1
  273. package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.d.ts +1 -1
  274. package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.d.ts +1 -1
  275. package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +2 -2
  276. package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +2 -2
  277. package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +2 -2
  278. package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +3 -3
  279. package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +3 -3
  280. package/dist/src/rest-api/table/dto/update-table.dto.d.ts +1 -1
  281. package/dist/src/rest-api/table/model/create-row.response.d.ts +1 -1
  282. package/dist/src/rest-api/table/model/update-table.response.d.ts +1 -1
  283. package/dist/src/rest-api/table/table-by-id.controller.d.ts +6 -6
  284. package/dist/src/rest-api/table/table-by-id.controller.js +2 -0
  285. package/dist/src/rest-api/table/table-by-id.controller.js.map +1 -1
  286. package/dist/src/rest-api/user/user.controller.d.ts +2 -2
  287. package/dist/src/rest-api/user/user.controller.js +2 -0
  288. package/dist/src/rest-api/user/user.controller.js.map +1 -1
  289. package/dist/src/revision/queries/commands/get-children-by-revision.handler.d.ts +2 -2
  290. package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +3 -3
  291. package/dist/src/revision/queries/commands/get-revision.handler.d.ts +2 -2
  292. package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +3 -3
  293. package/dist/src/revision/queries/commands/index.d.ts +8 -8
  294. package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +2 -2
  295. package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +2 -2
  296. package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.d.ts +2 -2
  297. package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +2 -2
  298. package/dist/src/revision/queries/types/get-revision-tables.types.d.ts +2 -2
  299. package/dist/src/revision/queries/types/index.d.ts +1 -1
  300. package/dist/src/row/queries/handlers/get-row-by-id.handler.d.ts +3 -3
  301. package/dist/src/row/queries/handlers/get-row.handler.d.ts +4 -4
  302. package/dist/src/row/queries/handlers/get-rows.handler.d.ts +4 -4
  303. package/dist/src/row/queries/handlers/index.d.ts +7 -7
  304. package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.d.ts +5 -5
  305. package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.d.ts +3 -3
  306. package/dist/src/row/queries/handlers/resolve-row-references-by.handler.d.ts +5 -5
  307. package/dist/src/row/queries/handlers/resolve-row-references-to.handler.d.ts +5 -5
  308. package/dist/src/row/queries/impl/index.d.ts +4 -4
  309. package/dist/src/row/queries/types/get-row-by-id.types.d.ts +1 -1
  310. package/dist/src/row/queries/types/get-row.types.d.ts +1 -1
  311. package/dist/src/row/queries/types/get-rows.types.d.ts +2 -2
  312. package/dist/src/row/queries/types/resolve-row-references-by.types.d.ts +2 -2
  313. package/dist/src/row/queries/types/resolve-row-references-to.types.d.ts +2 -2
  314. package/dist/src/share/commands/handlers/index.d.ts +1 -1
  315. package/dist/src/share/commands/handlers/notify-endpoints.handler.d.ts +3 -3
  316. package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.d.ts +2 -2
  317. package/dist/src/share/commands/utils/getOffsetPagination.d.ts +1 -1
  318. package/dist/src/share/commands/utils/getRevisionCursorPagination.d.ts +1 -1
  319. package/dist/src/share/const.d.ts +1 -1
  320. package/dist/src/share/queries/handlers/index.d.ts +3 -3
  321. package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.d.ts +3 -3
  322. package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.d.ts +3 -3
  323. package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.d.ts +3 -3
  324. package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.d.ts +3 -3
  325. package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.d.ts +3 -3
  326. package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.d.ts +3 -3
  327. package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.d.ts +3 -3
  328. package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.d.ts +3 -3
  329. package/dist/src/share/queries/types/index.d.ts +7 -7
  330. package/dist/src/share/references.service.d.ts +1 -1
  331. package/dist/src/share/share.transactional.queries.d.ts +2 -2
  332. package/dist/src/share/utils/schema/lib/applyPatches.d.ts +2 -2
  333. package/dist/src/share/utils/schema/lib/createJsonSchemaStore.d.ts +3 -3
  334. package/dist/src/share/utils/schema/lib/createJsonValueStore.d.ts +7 -7
  335. package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.d.ts +1 -1
  336. package/dist/src/share/utils/schema/lib/getPathByStore.d.ts +1 -1
  337. package/dist/src/share/utils/schema/lib/getReferencesFromSchema.d.ts +1 -1
  338. package/dist/src/share/utils/schema/lib/getReferencesFromValue.d.ts +1 -1
  339. package/dist/src/share/utils/schema/lib/getValuePathByStore.d.ts +1 -1
  340. package/dist/src/share/utils/schema/lib/schema-table.d.ts +3 -3
  341. package/dist/src/share/utils/schema/lib/traverseStore.d.ts +1 -1
  342. package/dist/src/share/utils/schema/lib/traverseValue.d.ts +1 -1
  343. package/dist/src/share/utils/schema/model/schema/json-array.store.d.ts +4 -4
  344. package/dist/src/share/utils/schema/model/schema/json-boolean.store.d.ts +3 -3
  345. package/dist/src/share/utils/schema/model/schema/json-number.store.d.ts +3 -3
  346. package/dist/src/share/utils/schema/model/schema/json-object.store.d.ts +4 -4
  347. package/dist/src/share/utils/schema/model/schema/json-schema.store.d.ts +5 -5
  348. package/dist/src/share/utils/schema/model/schema/json-string.store.d.ts +3 -3
  349. package/dist/src/share/utils/schema/model/value/json-array-value.store.d.ts +4 -4
  350. package/dist/src/share/utils/schema/model/value/json-boolean-value.store.d.ts +2 -2
  351. package/dist/src/share/utils/schema/model/value/json-number-value.store.d.ts +2 -2
  352. package/dist/src/share/utils/schema/model/value/json-object-value.store.d.ts +4 -4
  353. package/dist/src/share/utils/schema/model/value/json-string-value.store.d.ts +2 -2
  354. package/dist/src/share/utils/schema/model/value/json-value.store.d.ts +5 -5
  355. package/dist/src/share/utils/schema/model/value/value-transformation.d.ts +1 -1
  356. package/dist/src/share/utils/schema/types/json-patch.types.d.ts +1 -1
  357. package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.d.ts +2 -2
  358. package/dist/src/table/queries/handlers/get-rows-by-table.handler.d.ts +3 -3
  359. package/dist/src/table/queries/handlers/get-table-by-id.handler.d.ts +3 -3
  360. package/dist/src/table/queries/handlers/get-table.handler.d.ts +4 -4
  361. package/dist/src/table/queries/handlers/get-tables.handler.d.ts +3 -3
  362. package/dist/src/table/queries/handlers/index.d.ts +10 -10
  363. package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.d.ts +4 -4
  364. package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.d.ts +3 -3
  365. package/dist/src/table/queries/handlers/resolve-table-references-by.handler.d.ts +5 -5
  366. package/dist/src/table/queries/handlers/resolve-table-references-to.handler.d.ts +4 -4
  367. package/dist/src/table/queries/handlers/resolve-table-schema.handler.d.ts +3 -3
  368. package/dist/src/table/queries/types/get-table-by-id.types.d.ts +1 -1
  369. package/dist/src/table/queries/types/get-table-rows.types.d.ts +2 -2
  370. package/dist/src/table/queries/types/get-table.types.d.ts +1 -1
  371. package/dist/src/table/queries/types/get-tables.types.d.ts +2 -2
  372. package/dist/src/table/queries/types/index.d.ts +6 -6
  373. package/dist/src/table/queries/types/resolve-table-references-by.types.d.ts +2 -2
  374. package/dist/src/table/queries/types/resolve-table-references-to.types.d.ts +2 -2
  375. package/dist/src/user/commands/handlers/set-username.handler.d.ts +3 -3
  376. package/dist/src/user/commands/handlers/update-password.handler.d.ts +3 -3
  377. package/dist/src/user/commands/index.d.ts +1 -1
  378. package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.d.ts +2 -2
  379. package/dist/src/user/queries/handlers/get-user-organization.handler.d.ts +2 -2
  380. package/dist/src/user/queries/handlers/get-user.handler.d.ts +2 -2
  381. package/dist/src/user/queries/impl/get-projects-by-user-id.query.d.ts +1 -1
  382. package/dist/src/user/queries/impl/index.d.ts +1 -1
  383. package/dist/src/user/queries/index.d.ts +1 -1
  384. package/dist/tsconfig.build.tsbuildinfo +1 -1
  385. package/package.json +5 -2
@@ -1,6 +1,6 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { GetRevisionsByBranchIdQuery } from 'src/branch/quieries/impl/get-revisions-by-branch-id.query';
3
- import { PrismaService } from 'src/database/prisma.service';
2
+ import { GetRevisionsByBranchIdQuery } from '../../../branch/quieries/impl/get-revisions-by-branch-id.query';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
4
  export declare class GetRevisionsByBranchIdHandler implements IQueryHandler<GetRevisionsByBranchIdQuery> {
5
5
  private prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,7 +1,7 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { GetStartRevisionQuery } from 'src/branch/quieries/impl';
3
- import { GetStartRevisionReturnType } from 'src/branch/quieries/types';
4
- import { PrismaService } from 'src/database/prisma.service';
2
+ import { GetStartRevisionQuery } from '../../../branch/quieries/impl';
3
+ import { GetStartRevisionReturnType } from '../../../branch/quieries/types';
4
+ import { PrismaService } from '../../../database/prisma.service';
5
5
  export declare class GetStartRevisionHandler implements IQueryHandler<GetStartRevisionQuery> {
6
6
  private prisma;
7
7
  constructor(prisma: PrismaService);
@@ -1,7 +1,7 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { GetTouchedByBranchIdQuery } from 'src/branch/quieries/impl';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { GetTouchedByBranchIdQuery } from '../../../branch/quieries/impl';
3
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
4
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
5
5
  export declare class GetTouchedByBranchIdHandler implements IQueryHandler<GetTouchedByBranchIdQuery> {
6
6
  private transactionService;
7
7
  private shareTransactionQueries;
@@ -1,11 +1,11 @@
1
- import { GetBranchByIdHandler } from 'src/branch/quieries/handlers/get-branch-by-id.handler';
2
- import { GetBranchHandler } from 'src/branch/quieries/handlers/get-branch.handler';
3
- import { GetBranchesHandler } from 'src/branch/quieries/handlers/get-branches.handler';
4
- import { GetDraftRevisionHandler } from 'src/branch/quieries/handlers/get-draft-revision.handler';
5
- import { GetHeadRevisionHandler } from 'src/branch/quieries/handlers/get-head-revision.handler';
6
- import { GetProjectByBranchHandler } from 'src/branch/quieries/handlers/get-project-by-branch.handler';
7
- import { GetRevisionsByBranchIdHandler } from 'src/branch/quieries/handlers/get-revisions-by-branch-id.handler';
8
- import { GetStartRevisionHandler } from 'src/branch/quieries/handlers/get-start-revision.handler';
9
- import { GetTouchedByBranchIdHandler } from 'src/branch/quieries/handlers/get-touched-by-branch-id.handler';
10
- import { ResolveParentBranchByBranchHandler } from 'src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler';
1
+ import { GetBranchByIdHandler } from '../../../branch/quieries/handlers/get-branch-by-id.handler';
2
+ import { GetBranchHandler } from '../../../branch/quieries/handlers/get-branch.handler';
3
+ import { GetBranchesHandler } from '../../../branch/quieries/handlers/get-branches.handler';
4
+ import { GetDraftRevisionHandler } from '../../../branch/quieries/handlers/get-draft-revision.handler';
5
+ import { GetHeadRevisionHandler } from '../../../branch/quieries/handlers/get-head-revision.handler';
6
+ import { GetProjectByBranchHandler } from '../../../branch/quieries/handlers/get-project-by-branch.handler';
7
+ import { GetRevisionsByBranchIdHandler } from '../../../branch/quieries/handlers/get-revisions-by-branch-id.handler';
8
+ import { GetStartRevisionHandler } from '../../../branch/quieries/handlers/get-start-revision.handler';
9
+ import { GetTouchedByBranchIdHandler } from '../../../branch/quieries/handlers/get-touched-by-branch-id.handler';
10
+ import { ResolveParentBranchByBranchHandler } from '../../../branch/quieries/handlers/resolve-parent-branch-by-branch.handler';
11
11
  export declare const BRANCH_QUERIES_HANDLERS: (typeof GetBranchByIdHandler | typeof GetBranchHandler | typeof GetBranchesHandler | typeof GetDraftRevisionHandler | typeof GetHeadRevisionHandler | typeof GetProjectByBranchHandler | typeof GetRevisionsByBranchIdHandler | typeof GetStartRevisionHandler | typeof GetTouchedByBranchIdHandler | typeof ResolveParentBranchByBranchHandler)[];
@@ -1,6 +1,6 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { ResolveParentBranchByBranchQuery } from 'src/branch/quieries/impl';
3
- import { PrismaService } from 'src/database/prisma.service';
2
+ import { ResolveParentBranchByBranchQuery } from '../../../branch/quieries/impl';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
4
  export declare class ResolveParentBranchByBranchHandler implements IQueryHandler<ResolveParentBranchByBranchQuery> {
5
5
  private prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,6 +1,6 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { CleanRowsCommand } from 'src/clean/commands/impl/clean-rows.command';
3
- import { PrismaService } from 'src/database/prisma.service';
2
+ import { CleanRowsCommand } from '../../../clean/commands/impl/clean-rows.command';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
4
  export declare class CleanRowsHandler implements ICommandHandler<CleanRowsCommand> {
5
5
  private prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,6 +1,6 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { CleanTablesCommand } from 'src/clean/commands/impl/clean-tables.command';
3
- import { PrismaService } from 'src/database/prisma.service';
2
+ import { CleanTablesCommand } from '../../../clean/commands/impl/clean-tables.command';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
4
  export declare class CleanTablesHandler implements ICommandHandler<CleanTablesCommand> {
5
5
  private prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,3 +1,3 @@
1
- import { CleanRowsHandler } from 'src/clean/commands/handlers/clean-rows.handler';
2
- import { CleanTablesHandler } from 'src/clean/commands/handlers/clean-tables.handler';
1
+ import { CleanRowsHandler } from '../../../clean/commands/handlers/clean-rows.handler';
2
+ import { CleanTablesHandler } from '../../../clean/commands/handlers/clean-tables.handler';
3
3
  export declare const CLEAN_COMMANDS_HANDLERS: (typeof CleanRowsHandler | typeof CleanTablesHandler)[];
@@ -1,8 +1,8 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { GitHubAuthService } from 'src/auth/github-oauth.service';
3
- import { GoogleOauthService } from 'src/auth/google-oauth.service';
4
- import { GetConfigurationQuery, GetConfigurationQueryReturnType } from 'src/configuration/queries/impl';
5
- import { EmailService } from 'src/email/email.service';
2
+ import { GitHubAuthService } from '../../../auth/github-oauth.service';
3
+ import { GoogleOauthService } from '../../../auth/google-oauth.service';
4
+ import { GetConfigurationQuery, GetConfigurationQueryReturnType } from '../../../configuration/queries/impl';
5
+ import { EmailService } from '../../../email/email.service';
6
6
  export declare class GetConfigurationHandler implements IQueryHandler<GetConfigurationQuery, GetConfigurationQueryReturnType> {
7
7
  private readonly emailService;
8
8
  private readonly googleOauthService;
@@ -1,2 +1,2 @@
1
- import { GetConfigurationHandler } from 'src/configuration/queries/handlers';
1
+ import { GetConfigurationHandler } from '../../configuration/queries/handlers';
2
2
  export declare const CONFIGURATION_QUERIES: (typeof GetConfigurationHandler)[];
@@ -21,6 +21,7 @@ const email_module_1 = require("../email/email.module");
21
21
  const endpoint_module_1 = require("../endpoint/endpoint.module");
22
22
  const graphql_api_module_1 = require("../graphql-api/graphql-api.module");
23
23
  const health_module_1 = require("../health/health.module");
24
+ const metrics_module_1 = require("../metrics/metrics.module");
24
25
  const notification_module_1 = require("../notification/notification.module");
25
26
  const organization_module_1 = require("../organization/organization.module");
26
27
  const project_module_1 = require("../project/project.module");
@@ -61,6 +62,7 @@ exports.CoreModule = CoreModule = __decorate([
61
62
  row_module_1.RowModule,
62
63
  draft_module_1.DraftModule,
63
64
  endpoint_module_1.EndpointModule,
65
+ metrics_module_1.MetricsModule,
64
66
  ],
65
67
  })
66
68
  ], CoreModule);
@@ -1 +1 @@
1
- {"version":3,"file":"core.module.js","sourceRoot":"","sources":["../../../src/core/core.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,uCAA4C;AAC5C,+CAAkD;AAClD,qDAAkD;AAElD,2DAAwD;AACxD,wDAAqD;AACrD,gFAA6E;AAC7E,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,iEAA8D;AAC9D,0EAAsE;AACtE,2DAAwD;AACxD,6EAA0E;AAC1E,6EAA0E;AAC1E,8DAA2D;AAC3D,iEAA6D;AAC7D,iEAA8D;AAC9D,kDAA+C;AAC/C,wDAAqD;AACrD,qDAAkD;AAgC3C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IA9BtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,wBAAU;YACV,qBAAY,CAAC,OAAO,EAAE;YACtB,gCAAc;YACd,qCAAgB;YAChB,+BAAa;YACb,mBAAY,CAAC,QAAQ,CAAC;gBACpB;oBACE,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE,+BAAa;iBACtB;aACF,CAAC;YACF,yBAAc,CAAC,OAAO,EAAE;YACxB,0CAAmB;YACnB,0BAAW;YACX,wCAAkB;YAClB,4BAAY;YACZ,0BAAW;YACX,wBAAU;YACV,wCAAkB;YAClB,8BAAa;YACb,4BAAY;YACZ,gCAAc;YACd,0BAAW;YACX,sBAAS;YACT,0BAAW;YACX,gCAAc;SACf;KACF,CAAC;GACW,UAAU,CAAG"}
1
+ {"version":3,"file":"core.module.js","sourceRoot":"","sources":["../../../src/core/core.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,uCAA4C;AAC5C,+CAAkD;AAClD,qDAAkD;AAElD,2DAAwD;AACxD,wDAAqD;AACrD,gFAA6E;AAC7E,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,iEAA8D;AAC9D,0EAAsE;AACtE,2DAAwD;AACxD,8DAA2D;AAC3D,6EAA0E;AAC1E,6EAA0E;AAC1E,8DAA2D;AAC3D,iEAA6D;AAC7D,iEAA8D;AAC9D,kDAA+C;AAC/C,wDAAqD;AACrD,qDAAkD;AAiC3C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IA/BtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,wBAAU;YACV,qBAAY,CAAC,OAAO,EAAE;YACtB,gCAAc;YACd,qCAAgB;YAChB,+BAAa;YACb,mBAAY,CAAC,QAAQ,CAAC;gBACpB;oBACE,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE,+BAAa;iBACtB;aACF,CAAC;YACF,yBAAc,CAAC,OAAO,EAAE;YACxB,0CAAmB;YACnB,0BAAW;YACX,wCAAkB;YAClB,4BAAY;YACZ,0BAAW;YACX,wBAAU;YACV,wCAAkB;YAClB,8BAAa;YACb,4BAAY;YACZ,gCAAc;YACd,0BAAW;YACX,sBAAS;YACT,0BAAW;YACX,gCAAc;YACd,8BAAa;SACd;KACF,CAAC;GACW,UAAU,CAAG"}
@@ -1,6 +1,6 @@
1
1
  import { Prisma } from '@prisma/client';
2
- import { PrismaService } from 'src/database/prisma.service';
3
- import { TransactionPrismaClient } from 'src/share/types';
2
+ import { PrismaService } from '../database/prisma.service';
3
+ import { TransactionPrismaClient } from '../share/types';
4
4
  export declare class TransactionPrismaService {
5
5
  private prismaService;
6
6
  private asyncLocalStorage;
@@ -1,7 +1,7 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiCreateRevisionCommand } from 'src/draft/commands/impl/api-create-revision.command';
4
- import { EndpointNotificationService } from 'src/notification/endpoint-notification.service';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiCreateRevisionCommand } from '../../../draft/commands/impl/api-create-revision.command';
4
+ import { EndpointNotificationService } from '../../../notification/endpoint-notification.service';
5
5
  export declare class ApiCreateRevisionHandler implements ICommandHandler<ApiCreateRevisionCommand> {
6
6
  private readonly commandBus;
7
7
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiCreateRowCommand } from 'src/draft/commands/impl/api-create-row.command';
4
- import { ApiCreateRowHandlerReturnType } from 'src/draft/commands/types/api-create-row.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiCreateRowCommand } from '../../../draft/commands/impl/api-create-row.command';
4
+ import { ApiCreateRowHandlerReturnType } from '../../../draft/commands/types/api-create-row.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiCreateRowHandler implements ICommandHandler<ApiCreateRowCommand, ApiCreateRowHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiCreateTableCommand } from 'src/draft/commands/impl/api-create-table.command';
4
- import { ApiCreateTableHandlerReturnType } from 'src/draft/commands/types/api-create-table.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiCreateTableCommand } from '../../../draft/commands/impl/api-create-table.command';
4
+ import { ApiCreateTableHandlerReturnType } from '../../../draft/commands/types/api-create-table.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiCreateTableHandler implements ICommandHandler<ApiCreateTableCommand, ApiCreateTableHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiRemoveRowCommand } from 'src/draft/commands/impl/api-remove-row.command';
4
- import { ApiRemoveRowHandlerReturnType } from 'src/draft/commands/types/api-remove-row.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiRemoveRowCommand } from '../../../draft/commands/impl/api-remove-row.command';
4
+ import { ApiRemoveRowHandlerReturnType } from '../../../draft/commands/types/api-remove-row.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiRemoveRowHandler implements ICommandHandler<ApiRemoveRowCommand, ApiRemoveRowHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiRemoveTableCommand } from 'src/draft/commands/impl/api-remove-table.command';
4
- import { ApiRemoveTableHandlerReturnType } from 'src/draft/commands/types/api-remove-table.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiRemoveTableCommand } from '../../../draft/commands/impl/api-remove-table.command';
4
+ import { ApiRemoveTableHandlerReturnType } from '../../../draft/commands/types/api-remove-table.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiRemoveTableHandler implements ICommandHandler<ApiRemoveTableCommand, ApiRemoveTableHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,7 +1,7 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiRevertChangesCommand } from 'src/draft/commands/impl/api-revert-changes.command';
4
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiRevertChangesCommand } from '../../../draft/commands/impl/api-revert-changes.command';
4
+ import { ShareCommands } from '../../../share/share.commands';
5
5
  export declare class ApiRevertChangesHandler implements ICommandHandler<ApiRevertChangesCommand> {
6
6
  private readonly commandBus;
7
7
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiUpdateRowCommand } from 'src/draft/commands/impl/api-update-row.command';
4
- import { ApiUpdateRowHandlerReturnType } from 'src/draft/commands/types/api-update-row.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiUpdateRowCommand } from '../../../draft/commands/impl/api-update-row.command';
4
+ import { ApiUpdateRowHandlerReturnType } from '../../../draft/commands/types/api-update-row.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiUpdateRowHandler implements ICommandHandler<ApiUpdateRowCommand, ApiUpdateRowHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,8 +1,8 @@
1
1
  import { CommandBus, ICommandHandler, QueryBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ApiUpdateTableCommand } from 'src/draft/commands/impl/api-update-table.command';
4
- import { ApiUpdateTableHandlerReturnType } from 'src/draft/commands/types/api-update-table.handler.types';
5
- import { ShareCommands } from 'src/share/share.commands';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ApiUpdateTableCommand } from '../../../draft/commands/impl/api-update-table.command';
4
+ import { ApiUpdateTableHandlerReturnType } from '../../../draft/commands/types/api-update-table.handler.types';
5
+ import { ShareCommands } from '../../../share/share.commands';
6
6
  export declare class ApiUpdateTableHandler implements ICommandHandler<ApiUpdateTableCommand, ApiUpdateTableHandlerReturnType> {
7
7
  private readonly commandBus;
8
8
  private readonly queryBus;
@@ -1,11 +1,11 @@
1
- import { IdService } from 'src/database/id.service';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { CreateRevisionHandlerReturnType } from 'src/draft/commands/types/create-revision.handler.types';
4
- import { CreateRevisionCommand } from 'src/draft/commands/impl/create-revision.command';
5
- import { DraftContextService } from 'src/draft/draft-context.service';
6
- import { DraftHandler } from 'src/draft/draft.handler';
7
- import { ShareTransactionalCommands } from 'src/share/share.transactional.commands';
8
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
1
+ import { IdService } from '../../../database/id.service';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { CreateRevisionHandlerReturnType } from '../../../draft/commands/types/create-revision.handler.types';
4
+ import { CreateRevisionCommand } from '../../../draft/commands/impl/create-revision.command';
5
+ import { DraftContextService } from '../../../draft/draft-context.service';
6
+ import { DraftHandler } from '../../../draft/draft.handler';
7
+ import { ShareTransactionalCommands } from '../../../share/share.transactional.commands';
8
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
9
9
  export declare class CreateRevisionHandler extends DraftHandler<CreateRevisionCommand, CreateRevisionHandlerReturnType> {
10
10
  protected idService: IdService;
11
11
  protected draftContext: DraftContextService;
@@ -1,15 +1,15 @@
1
- import { IdService } from 'src/database/id.service';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { CreateRowCommand } from 'src/draft/commands/impl/create-row.command';
4
- import { CreateRowHandlerReturnType } from 'src/draft/commands/types/create-row.handler.types';
5
- import { DraftContextService } from 'src/draft/draft-context.service';
6
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
7
- import { DraftRowRequestDto } from 'src/draft/draft-request-dto/row-request.dto';
8
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
9
- import { DraftHandler } from 'src/draft/draft.handler';
10
- import { DraftTransactionalCommands } from 'src/draft/draft.transactional.commands';
11
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
12
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
1
+ import { IdService } from '../../../database/id.service';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { CreateRowCommand } from '../../../draft/commands/impl/create-row.command';
4
+ import { CreateRowHandlerReturnType } from '../../../draft/commands/types/create-row.handler.types';
5
+ import { DraftContextService } from '../../../draft/draft-context.service';
6
+ import { DraftRevisionRequestDto } from '../../../draft/draft-request-dto/draft-revision-request.dto';
7
+ import { DraftRowRequestDto } from '../../../draft/draft-request-dto/row-request.dto';
8
+ import { DraftTableRequestDto } from '../../../draft/draft-request-dto/table-request.dto';
9
+ import { DraftHandler } from '../../../draft/draft.handler';
10
+ import { DraftTransactionalCommands } from '../../../draft/draft.transactional.commands';
11
+ import { SessionChangelogService } from '../../../draft/session-changelog.service';
12
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
13
13
  export declare class CreateRowHandler extends DraftHandler<CreateRowCommand, CreateRowHandlerReturnType> {
14
14
  protected readonly transactionService: TransactionPrismaService;
15
15
  protected readonly draftContext: DraftContextService;
@@ -1,15 +1,15 @@
1
1
  import { CommandBus } from '@nestjs/cqrs';
2
- import { IdService } from 'src/database/id.service';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { CreateTableCommand } from 'src/draft/commands/impl/create-table.command';
5
- import { CreateTableHandlerReturnType } from 'src/draft/commands/types/create-table.handler.types';
6
- import { DraftContextService } from 'src/draft/draft-context.service';
7
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
8
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
9
- import { DraftHandler } from 'src/draft/draft.handler';
10
- import { DraftTransactionalCommands } from 'src/draft/draft.transactional.commands';
11
- import { JsonSchemaValidatorService } from 'src/draft/json-schema-validator.service';
12
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
2
+ import { IdService } from '../../../database/id.service';
3
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
4
+ import { CreateTableCommand } from '../../../draft/commands/impl/create-table.command';
5
+ import { CreateTableHandlerReturnType } from '../../../draft/commands/types/create-table.handler.types';
6
+ import { DraftContextService } from '../../../draft/draft-context.service';
7
+ import { DraftRevisionRequestDto } from '../../../draft/draft-request-dto/draft-revision-request.dto';
8
+ import { DraftTableRequestDto } from '../../../draft/draft-request-dto/table-request.dto';
9
+ import { DraftHandler } from '../../../draft/draft.handler';
10
+ import { DraftTransactionalCommands } from '../../../draft/draft.transactional.commands';
11
+ import { JsonSchemaValidatorService } from '../../../draft/json-schema-validator.service';
12
+ import { SessionChangelogService } from '../../../draft/session-changelog.service';
13
13
  export declare class CreateTableHandler extends DraftHandler<CreateTableCommand, CreateTableHandlerReturnType> {
14
14
  protected readonly revisionRequestDto: DraftRevisionRequestDto;
15
15
  protected readonly draftContext: DraftContextService;
@@ -1,25 +1,25 @@
1
- import { ApiCreateRevisionHandler } from 'src/draft/commands/handlers/api-create-revision.handler';
2
- import { ApiCreateRowHandler } from 'src/draft/commands/handlers/api-create-row.handler';
3
- import { ApiCreateTableHandler } from 'src/draft/commands/handlers/api-create-table.handler';
4
- import { ApiRemoveRowHandler } from 'src/draft/commands/handlers/api-remove-row.handler';
5
- import { ApiRemoveTableHandler } from 'src/draft/commands/handlers/api-remove-table.handler';
6
- import { ApiRevertChangesHandler } from 'src/draft/commands/handlers/api-revert-changes.handler';
7
- import { ApiUpdateRowHandler } from 'src/draft/commands/handlers/api-update-row.handler';
8
- import { ApiUpdateTableHandler } from 'src/draft/commands/handlers/api-update-table.handler';
9
- import { CreateRevisionHandler } from 'src/draft/commands/handlers/create-revision.handler';
10
- import { CreateRowHandler } from 'src/draft/commands/handlers/create-row.handler';
11
- import { CreateTableHandler } from 'src/draft/commands/handlers/create-table.handler';
12
- import { RemoveRowHandler } from 'src/draft/commands/handlers/remove-row.handler';
13
- import { RemoveTableHandler } from 'src/draft/commands/handlers/remove-table.handler';
14
- import { RevertChangesHandler } from 'src/draft/commands/handlers/revert-changes.handler';
15
- import { GetOrCreateDraftRowHandler } from 'src/draft/commands/handlers/transactional/get-or-create-draft-row.handler';
16
- import { GetOrCreateDraftRowsHandler } from 'src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler';
17
- import { GetOrCreateDraftTableHandler } from 'src/draft/commands/handlers/transactional/get-or-create-draft-table.handler';
18
- import { ResolveDraftRevisionHandler } from 'src/draft/commands/handlers/transactional/resolve-draft-revision.handler';
19
- import { ValidateDataHandler } from 'src/draft/commands/handlers/transactional/validate-data.handler';
20
- import { ValidateNotSystemTableHandler } from 'src/draft/commands/handlers/transactional/validate-not-system-table.handler';
21
- import { ValidateSchemaHandler } from 'src/draft/commands/handlers/transactional/validate-schema.handler';
22
- import { UpdateRowHandler } from 'src/draft/commands/handlers/update-row.handler';
23
- import { UpdateRowsHandler } from 'src/draft/commands/handlers/update-rows.handler';
24
- import { UpdateTableHandler } from 'src/draft/commands/handlers/update-table.handler';
1
+ import { ApiCreateRevisionHandler } from '../../../draft/commands/handlers/api-create-revision.handler';
2
+ import { ApiCreateRowHandler } from '../../../draft/commands/handlers/api-create-row.handler';
3
+ import { ApiCreateTableHandler } from '../../../draft/commands/handlers/api-create-table.handler';
4
+ import { ApiRemoveRowHandler } from '../../../draft/commands/handlers/api-remove-row.handler';
5
+ import { ApiRemoveTableHandler } from '../../../draft/commands/handlers/api-remove-table.handler';
6
+ import { ApiRevertChangesHandler } from '../../../draft/commands/handlers/api-revert-changes.handler';
7
+ import { ApiUpdateRowHandler } from '../../../draft/commands/handlers/api-update-row.handler';
8
+ import { ApiUpdateTableHandler } from '../../../draft/commands/handlers/api-update-table.handler';
9
+ import { CreateRevisionHandler } from '../../../draft/commands/handlers/create-revision.handler';
10
+ import { CreateRowHandler } from '../../../draft/commands/handlers/create-row.handler';
11
+ import { CreateTableHandler } from '../../../draft/commands/handlers/create-table.handler';
12
+ import { RemoveRowHandler } from '../../../draft/commands/handlers/remove-row.handler';
13
+ import { RemoveTableHandler } from '../../../draft/commands/handlers/remove-table.handler';
14
+ import { RevertChangesHandler } from '../../../draft/commands/handlers/revert-changes.handler';
15
+ import { GetOrCreateDraftRowHandler } from '../../../draft/commands/handlers/transactional/get-or-create-draft-row.handler';
16
+ import { GetOrCreateDraftRowsHandler } from '../../../draft/commands/handlers/transactional/get-or-create-draft-rows.handler';
17
+ import { GetOrCreateDraftTableHandler } from '../../../draft/commands/handlers/transactional/get-or-create-draft-table.handler';
18
+ import { ResolveDraftRevisionHandler } from '../../../draft/commands/handlers/transactional/resolve-draft-revision.handler';
19
+ import { ValidateDataHandler } from '../../../draft/commands/handlers/transactional/validate-data.handler';
20
+ import { ValidateNotSystemTableHandler } from '../../../draft/commands/handlers/transactional/validate-not-system-table.handler';
21
+ import { ValidateSchemaHandler } from '../../../draft/commands/handlers/transactional/validate-schema.handler';
22
+ import { UpdateRowHandler } from '../../../draft/commands/handlers/update-row.handler';
23
+ import { UpdateRowsHandler } from '../../../draft/commands/handlers/update-rows.handler';
24
+ import { UpdateTableHandler } from '../../../draft/commands/handlers/update-table.handler';
25
25
  export declare const TABLE_COMMANDS_HANDLERS: (typeof ApiCreateRevisionHandler | typeof ApiCreateRowHandler | typeof ApiCreateTableHandler | typeof ApiRemoveRowHandler | typeof ApiRemoveTableHandler | typeof ApiRevertChangesHandler | typeof ApiUpdateRowHandler | typeof ApiUpdateTableHandler | typeof CreateRevisionHandler | typeof CreateRowHandler | typeof CreateTableHandler | typeof RemoveRowHandler | typeof RemoveTableHandler | typeof RevertChangesHandler | typeof GetOrCreateDraftRowHandler | typeof GetOrCreateDraftRowsHandler | typeof GetOrCreateDraftTableHandler | typeof ResolveDraftRevisionHandler | typeof ValidateDataHandler | typeof ValidateNotSystemTableHandler | typeof ValidateSchemaHandler | typeof UpdateRowHandler | typeof UpdateRowsHandler | typeof UpdateTableHandler)[];
@@ -1,15 +1,15 @@
1
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
2
- import { RemoveRowCommand } from 'src/draft/commands/impl/remove-row.command';
3
- import { RemoveRowHandlerReturnType } from 'src/draft/commands/types/remove-row.handler.types';
4
- import { DraftContextService } from 'src/draft/draft-context.service';
5
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
6
- import { DraftRowRequestDto } from 'src/draft/draft-request-dto/row-request.dto';
7
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
8
- import { DraftHandler } from 'src/draft/draft.handler';
9
- import { DraftTransactionalCommands } from 'src/draft/draft.transactional.commands';
10
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
11
- import { ReferencesService } from 'src/share/references.service';
12
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
1
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
2
+ import { RemoveRowCommand } from '../../../draft/commands/impl/remove-row.command';
3
+ import { RemoveRowHandlerReturnType } from '../../../draft/commands/types/remove-row.handler.types';
4
+ import { DraftContextService } from '../../../draft/draft-context.service';
5
+ import { DraftRevisionRequestDto } from '../../../draft/draft-request-dto/draft-revision-request.dto';
6
+ import { DraftRowRequestDto } from '../../../draft/draft-request-dto/row-request.dto';
7
+ import { DraftTableRequestDto } from '../../../draft/draft-request-dto/table-request.dto';
8
+ import { DraftHandler } from '../../../draft/draft.handler';
9
+ import { DraftTransactionalCommands } from '../../../draft/draft.transactional.commands';
10
+ import { SessionChangelogService } from '../../../draft/session-changelog.service';
11
+ import { ReferencesService } from '../../../share/references.service';
12
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
13
13
  export declare class RemoveRowHandler extends DraftHandler<RemoveRowCommand, RemoveRowHandlerReturnType> {
14
14
  protected readonly transactionService: TransactionPrismaService;
15
15
  protected readonly draftContext: DraftContextService;
@@ -1,15 +1,15 @@
1
1
  import { CommandBus } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { RemoveTableCommand } from 'src/draft/commands/impl/remove-table.command';
4
- import { RemoveTableHandlerReturnType } from 'src/draft/commands/types/remove-table.handler.types';
5
- import { DraftContextService } from 'src/draft/draft-context.service';
6
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
7
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
8
- import { DraftHandler } from 'src/draft/draft.handler';
9
- import { DraftTransactionalCommands } from 'src/draft/draft.transactional.commands';
10
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
11
- import { ReferencesService } from 'src/share/references.service';
12
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { RemoveTableCommand } from '../../../draft/commands/impl/remove-table.command';
4
+ import { RemoveTableHandlerReturnType } from '../../../draft/commands/types/remove-table.handler.types';
5
+ import { DraftContextService } from '../../../draft/draft-context.service';
6
+ import { DraftRevisionRequestDto } from '../../../draft/draft-request-dto/draft-revision-request.dto';
7
+ import { DraftTableRequestDto } from '../../../draft/draft-request-dto/table-request.dto';
8
+ import { DraftHandler } from '../../../draft/draft.handler';
9
+ import { DraftTransactionalCommands } from '../../../draft/draft.transactional.commands';
10
+ import { SessionChangelogService } from '../../../draft/session-changelog.service';
11
+ import { ReferencesService } from '../../../share/references.service';
12
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
13
13
  export declare class RemoveTableHandler extends DraftHandler<RemoveTableCommand, RemoveTableHandlerReturnType> {
14
14
  protected readonly transactionService: TransactionPrismaService;
15
15
  protected readonly draftContext: DraftContextService;
@@ -1,9 +1,9 @@
1
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
2
- import { RevertChangesCommand } from 'src/draft/commands/impl/revert-changes.command';
3
- import { RevertChangesHandlerReturnType } from 'src/draft/commands/types/revert-changes.handler.types';
4
- import { DraftContextService } from 'src/draft/draft-context.service';
5
- import { DraftHandler } from 'src/draft/draft.handler';
6
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
1
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
2
+ import { RevertChangesCommand } from '../../../draft/commands/impl/revert-changes.command';
3
+ import { RevertChangesHandlerReturnType } from '../../../draft/commands/types/revert-changes.handler.types';
4
+ import { DraftContextService } from '../../../draft/draft-context.service';
5
+ import { DraftHandler } from '../../../draft/draft.handler';
6
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
7
7
  export declare class RevertChangesHandler extends DraftHandler<RevertChangesCommand, RevertChangesHandlerReturnType> {
8
8
  protected readonly transactionService: TransactionPrismaService;
9
9
  protected readonly draftContext: DraftContextService;
@@ -1,12 +1,12 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { IdService } from 'src/database/id.service';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { GetOrCreateDraftRowCommand } from 'src/draft/commands/impl/transactional/get-or-create-draft-row.command';
5
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
6
- import { DraftRowRequestDto } from 'src/draft/draft-request-dto/row-request.dto';
7
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
8
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
9
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { IdService } from '../../../../database/id.service';
3
+ import { TransactionPrismaService } from '../../../../database/transaction-prisma.service';
4
+ import { GetOrCreateDraftRowCommand } from '../../../../draft/commands/impl/transactional/get-or-create-draft-row.command';
5
+ import { DraftRevisionRequestDto } from '../../../../draft/draft-request-dto/draft-revision-request.dto';
6
+ import { DraftRowRequestDto } from '../../../../draft/draft-request-dto/row-request.dto';
7
+ import { DraftTableRequestDto } from '../../../../draft/draft-request-dto/table-request.dto';
8
+ import { SessionChangelogService } from '../../../../draft/session-changelog.service';
9
+ import { ShareTransactionalQueries } from '../../../../share/share.transactional.queries';
10
10
  export declare class GetOrCreateDraftRowHandler implements ICommandHandler<GetOrCreateDraftRowCommand> {
11
11
  private transactionService;
12
12
  private idService;
@@ -1,12 +1,12 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { IdService } from 'src/database/id.service';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { GetOrCreateDraftRowsCommand } from 'src/draft/commands/impl/transactional/get-or-create-draft-rows.command';
5
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
6
- import { DraftRowsRequestDto } from 'src/draft/draft-request-dto/rows-request.dto';
7
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
8
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
9
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { IdService } from '../../../../database/id.service';
3
+ import { TransactionPrismaService } from '../../../../database/transaction-prisma.service';
4
+ import { GetOrCreateDraftRowsCommand } from '../../../../draft/commands/impl/transactional/get-or-create-draft-rows.command';
5
+ import { DraftRevisionRequestDto } from '../../../../draft/draft-request-dto/draft-revision-request.dto';
6
+ import { DraftRowsRequestDto } from '../../../../draft/draft-request-dto/rows-request.dto';
7
+ import { DraftTableRequestDto } from '../../../../draft/draft-request-dto/table-request.dto';
8
+ import { SessionChangelogService } from '../../../../draft/session-changelog.service';
9
+ import { ShareTransactionalQueries } from '../../../../share/share.transactional.queries';
10
10
  export declare class GetOrCreateDraftRowsHandler implements ICommandHandler<GetOrCreateDraftRowsCommand> {
11
11
  private transactionService;
12
12
  private idService;
@@ -1,11 +1,11 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { IdService } from 'src/database/id.service';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { GetOrCreateDraftTableCommand } from 'src/draft/commands/impl/transactional/get-or-create-draft-table.command';
5
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
6
- import { DraftTableRequestDto } from 'src/draft/draft-request-dto/table-request.dto';
7
- import { SessionChangelogService } from 'src/draft/session-changelog.service';
8
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { IdService } from '../../../../database/id.service';
3
+ import { TransactionPrismaService } from '../../../../database/transaction-prisma.service';
4
+ import { GetOrCreateDraftTableCommand } from '../../../../draft/commands/impl/transactional/get-or-create-draft-table.command';
5
+ import { DraftRevisionRequestDto } from '../../../../draft/draft-request-dto/draft-revision-request.dto';
6
+ import { DraftTableRequestDto } from '../../../../draft/draft-request-dto/table-request.dto';
7
+ import { SessionChangelogService } from '../../../../draft/session-changelog.service';
8
+ import { ShareTransactionalQueries } from '../../../../share/share.transactional.queries';
9
9
  export declare class GetOrCreateDraftTableHandler implements ICommandHandler<GetOrCreateDraftTableCommand> {
10
10
  private transactionService;
11
11
  private revisionRequestDto;
@@ -1,7 +1,7 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ResolveDraftRevisionCommand } from 'src/draft/commands/impl/transactional/resolve-draft-revision.command';
4
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
2
+ import { TransactionPrismaService } from '../../../../database/transaction-prisma.service';
3
+ import { ResolveDraftRevisionCommand } from '../../../../draft/commands/impl/transactional/resolve-draft-revision.command';
4
+ import { DraftRevisionRequestDto } from '../../../../draft/draft-request-dto/draft-revision-request.dto';
5
5
  export declare class ResolveDraftRevisionHandler implements ICommandHandler<ResolveDraftRevisionCommand> {
6
6
  private transactionService;
7
7
  private revisionRequestDto;
@@ -1,8 +1,8 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { ValidateDataCommand } from 'src/draft/commands/impl/transactional/validate-data.command';
3
- import { DraftRevisionRequestDto } from 'src/draft/draft-request-dto/draft-revision-request.dto';
4
- import { JsonSchemaValidatorService } from 'src/draft/json-schema-validator.service';
5
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
2
+ import { ValidateDataCommand } from '../../../../draft/commands/impl/transactional/validate-data.command';
3
+ import { DraftRevisionRequestDto } from '../../../../draft/draft-request-dto/draft-revision-request.dto';
4
+ import { JsonSchemaValidatorService } from '../../../../draft/json-schema-validator.service';
5
+ import { ShareTransactionalQueries } from '../../../../share/share.transactional.queries';
6
6
  export declare class ValidateDataHandler implements ICommandHandler<ValidateDataCommand> {
7
7
  protected readonly revisionRequestDto: DraftRevisionRequestDto;
8
8
  protected readonly shareTransactionalQueries: ShareTransactionalQueries;