@revisium/core 0.9.3 → 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 (324) hide show
  1. package/dist/package.json +4 -2
  2. package/dist/src/__tests__/utils/createMocks.d.ts +5 -5
  3. package/dist/src/__tests__/utils/implementIdService.d.ts +1 -1
  4. package/dist/src/__tests__/utils/rowMocks.d.ts +1 -1
  5. package/dist/src/__tests__/utils/schema/schema.mocks.d.ts +2 -2
  6. package/dist/src/admin/admin-module.options.d.ts +3 -0
  7. package/dist/src/admin/admin-module.options.js +3 -0
  8. package/dist/src/admin/admin-module.options.js.map +1 -0
  9. package/dist/src/admin/admin.module.d.ts +6 -0
  10. package/dist/src/admin/admin.module.js +46 -0
  11. package/dist/src/admin/admin.module.js.map +1 -0
  12. package/dist/src/admin/envjs.controller.d.ts +6 -0
  13. package/dist/src/admin/envjs.controller.js +40 -0
  14. package/dist/src/admin/envjs.controller.js.map +1 -0
  15. package/dist/src/admin/index.d.ts +0 -0
  16. package/dist/src/admin/index.js +1 -0
  17. package/dist/src/admin/index.js.map +1 -0
  18. package/dist/src/auth/auth.service.d.ts +1 -1
  19. package/dist/src/auth/casl-ability.factory.d.ts +2 -2
  20. package/dist/src/auth/commands/handlers/check-organization-permission.handler.d.ts +3 -3
  21. package/dist/src/auth/commands/handlers/check-project-permission.handler.d.ts +3 -3
  22. package/dist/src/auth/commands/handlers/check-system-permission.handler.d.ts +3 -3
  23. package/dist/src/auth/commands/handlers/confirm-email-code.handler.d.ts +1 -1
  24. package/dist/src/auth/commands/handlers/create-user.handler.d.ts +4 -4
  25. package/dist/src/auth/commands/handlers/login-github.handler.d.ts +4 -4
  26. package/dist/src/auth/commands/handlers/login-google.handler.d.ts +4 -4
  27. package/dist/src/auth/commands/handlers/login.handler.d.ts +3 -3
  28. package/dist/src/auth/commands/handlers/sign-up.handler.d.ts +1 -1
  29. package/dist/src/auth/commands/impl/check-organization-permission.command.d.ts +1 -1
  30. package/dist/src/auth/commands/impl/check-project-permission.command.d.ts +1 -1
  31. package/dist/src/auth/commands/impl/check-system-permission.command.d.ts +1 -1
  32. package/dist/src/auth/commands/impl/create-user.command.d.ts +1 -1
  33. package/dist/src/auth/commands/index.d.ts +1 -1
  34. package/dist/src/auth/guards/base-persmission.guard.d.ts +2 -2
  35. package/dist/src/auth/guards/organization.guard.d.ts +3 -3
  36. package/dist/src/auth/guards/permission-params.d.ts +1 -1
  37. package/dist/src/auth/guards/project.guard.d.ts +3 -3
  38. package/dist/src/auth/guards/system.guard.d.ts +3 -3
  39. package/dist/src/auth/strategy/jwt.strategy.d.ts +2 -2
  40. package/dist/src/auth/utils.d.ts +1 -1
  41. package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +1 -1
  42. package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +3 -3
  43. package/dist/src/branch/commands/handlers/index.d.ts +2 -2
  44. package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.d.ts +3 -3
  45. package/dist/src/branch/quieries/handlers/get-branch.handler.d.ts +4 -4
  46. package/dist/src/branch/quieries/handlers/get-branches.handler.d.ts +3 -3
  47. package/dist/src/branch/quieries/handlers/get-draft-revision.handler.d.ts +3 -3
  48. package/dist/src/branch/quieries/handlers/get-head-revision.handler.d.ts +3 -3
  49. package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.d.ts +2 -2
  50. package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +2 -2
  51. package/dist/src/branch/quieries/handlers/get-start-revision.handler.d.ts +3 -3
  52. package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +3 -3
  53. package/dist/src/branch/quieries/handlers/index.d.ts +10 -10
  54. package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +2 -2
  55. package/dist/src/clean/commands/handlers/clean-rows.handler.d.ts +2 -2
  56. package/dist/src/clean/commands/handlers/clean-tables.handler.d.ts +2 -2
  57. package/dist/src/clean/commands/handlers/index.d.ts +2 -2
  58. package/dist/src/configuration/queries/handlers/get-configuration.handler.d.ts +4 -4
  59. package/dist/src/configuration/queries/index.d.ts +1 -1
  60. package/dist/src/database/transaction-prisma.service.d.ts +2 -2
  61. package/dist/src/draft/commands/handlers/api-create-revision.handler.d.ts +3 -3
  62. package/dist/src/draft/commands/handlers/api-create-row.handler.d.ts +4 -4
  63. package/dist/src/draft/commands/handlers/api-create-table.handler.d.ts +4 -4
  64. package/dist/src/draft/commands/handlers/api-remove-row.handler.d.ts +4 -4
  65. package/dist/src/draft/commands/handlers/api-remove-table.handler.d.ts +4 -4
  66. package/dist/src/draft/commands/handlers/api-revert-changes.handler.d.ts +3 -3
  67. package/dist/src/draft/commands/handlers/api-update-row.handler.d.ts +4 -4
  68. package/dist/src/draft/commands/handlers/api-update-table.handler.d.ts +4 -4
  69. package/dist/src/draft/commands/handlers/create-revision.handler.d.ts +8 -8
  70. package/dist/src/draft/commands/handlers/create-row.handler.d.ts +12 -12
  71. package/dist/src/draft/commands/handlers/create-table.handler.d.ts +11 -11
  72. package/dist/src/draft/commands/handlers/index.d.ts +24 -24
  73. package/dist/src/draft/commands/handlers/remove-row.handler.d.ts +12 -12
  74. package/dist/src/draft/commands/handlers/remove-table.handler.d.ts +11 -11
  75. package/dist/src/draft/commands/handlers/revert-changes.handler.d.ts +6 -6
  76. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.d.ts +8 -8
  77. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.d.ts +8 -8
  78. package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.d.ts +7 -7
  79. package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +3 -3
  80. package/dist/src/draft/commands/handlers/transactional/validate-data.handler.d.ts +4 -4
  81. package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +3 -3
  82. package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.d.ts +4 -4
  83. package/dist/src/draft/commands/handlers/update-row.handler.d.ts +8 -8
  84. package/dist/src/draft/commands/handlers/update-rows.handler.d.ts +7 -7
  85. package/dist/src/draft/commands/handlers/update-table.handler.d.ts +9 -9
  86. package/dist/src/draft/commands/impl/api-update-table.command.d.ts +1 -1
  87. package/dist/src/draft/commands/impl/transactional/validate-data.command.d.ts +1 -1
  88. package/dist/src/draft/commands/impl/update-rows.command.d.ts +1 -1
  89. package/dist/src/draft/commands/impl/update-table.command.d.ts +1 -1
  90. package/dist/src/draft/commands/types/api-create-row.handler.types.d.ts +2 -2
  91. package/dist/src/draft/commands/types/api-remove-row.handler.types.d.ts +2 -2
  92. package/dist/src/draft/commands/types/api-remove-table.handler.types.d.ts +1 -1
  93. package/dist/src/draft/commands/types/api-update-row.handler.types.d.ts +2 -2
  94. package/dist/src/draft/commands/types/api-update-table.handler.types.d.ts +1 -1
  95. package/dist/src/draft/draft-request-dto/draft-revision-request.dto.d.ts +1 -1
  96. package/dist/src/draft/draft-request-dto/index.d.ts +4 -4
  97. package/dist/src/draft/draft-request-dto/row-request.dto.d.ts +1 -1
  98. package/dist/src/draft/draft-request-dto/rows-request.dto.d.ts +1 -1
  99. package/dist/src/draft/draft-request-dto/table-request.dto.d.ts +1 -1
  100. package/dist/src/draft/draft.handler.d.ts +2 -2
  101. package/dist/src/draft/draft.transactional.commands.d.ts +1 -1
  102. package/dist/src/draft/session-changelog.service.d.ts +4 -4
  103. package/dist/src/email/email.service.d.ts +2 -2
  104. package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.d.ts +1 -1
  105. package/dist/src/endpoint/commands/handlers/create-endpoint.handler.d.ts +3 -3
  106. package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.d.ts +3 -3
  107. package/dist/src/endpoint/commands/handlers/index.d.ts +3 -3
  108. package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +2 -2
  109. package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.d.ts +2 -2
  110. package/dist/src/endpoint/queries/handlers/index.d.ts +2 -2
  111. package/dist/src/endpoint/queries/impl/index.d.ts +1 -1
  112. package/dist/src/graphql-api/auth/auth.resolver.d.ts +2 -2
  113. package/dist/src/graphql-api/auth/inputs/create-user.input.d.ts +1 -1
  114. package/dist/src/graphql-api/branch/branch.resolver.d.ts +6 -6
  115. package/dist/src/graphql-api/branch/inputs/index.d.ts +5 -5
  116. package/dist/src/graphql-api/branch/model/branch.model.d.ts +3 -3
  117. package/dist/src/graphql-api/branch/model/parent-branch.model.d.ts +2 -2
  118. package/dist/src/graphql-api/branch/parent-branch.resolver.d.ts +1 -1
  119. package/dist/src/graphql-api/configuration/configuration.resolver.d.ts +1 -1
  120. package/dist/src/graphql-api/draft/draft.resolver.d.ts +2 -2
  121. package/dist/src/graphql-api/draft/input/create-row.input.d.ts +1 -1
  122. package/dist/src/graphql-api/draft/input/index.d.ts +5 -5
  123. package/dist/src/graphql-api/draft/input/remove-row.input.d.ts +1 -1
  124. package/dist/src/graphql-api/draft/input/update-row.input.d.ts +1 -1
  125. package/dist/src/graphql-api/draft/input/update-table.input.d.ts +1 -1
  126. package/dist/src/graphql-api/draft/model/create-row-result.model.d.ts +2 -2
  127. package/dist/src/graphql-api/draft/model/create-table-result.model.d.ts +2 -2
  128. package/dist/src/graphql-api/draft/model/remove-row-result.model.d.ts +2 -2
  129. package/dist/src/graphql-api/draft/model/remove-table-result.model.d.ts +1 -1
  130. package/dist/src/graphql-api/draft/model/update-row-result.model.d.ts +2 -2
  131. package/dist/src/graphql-api/draft/model/update-table-result.model.d.ts +1 -1
  132. package/dist/src/graphql-api/endpoint/endpoint.resolver.d.ts +2 -2
  133. package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.d.ts +1 -1
  134. package/dist/src/graphql-api/endpoint/inputs/index.d.ts +3 -3
  135. package/dist/src/graphql-api/endpoint/model/endpoint.model.d.ts +1 -1
  136. package/dist/src/graphql-api/endpoint/model/index.d.ts +1 -1
  137. package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.d.ts +1 -1
  138. package/dist/src/graphql-api/organization/model/users-organization.connection.d.ts +1 -1
  139. package/dist/src/graphql-api/organization/model/users-organization.model.d.ts +2 -2
  140. package/dist/src/graphql-api/organization/organization.resolver.d.ts +4 -4
  141. package/dist/src/graphql-api/project/inputs/add-user-to-project.input.d.ts +1 -1
  142. package/dist/src/graphql-api/project/inputs/index.d.ts +7 -7
  143. package/dist/src/graphql-api/project/model/index.d.ts +1 -1
  144. package/dist/src/graphql-api/project/model/project.model.d.ts +1 -1
  145. package/dist/src/graphql-api/project/model/projects.connection.d.ts +1 -1
  146. package/dist/src/graphql-api/project/model/users-project.connection.d.ts +1 -1
  147. package/dist/src/graphql-api/project/model/users-project.model.d.ts +2 -2
  148. package/dist/src/graphql-api/project/project.resolver.d.ts +3 -3
  149. package/dist/src/graphql-api/revision/child-branch.resolver.d.ts +1 -1
  150. package/dist/src/graphql-api/revision/model/child-branch.model.d.ts +2 -2
  151. package/dist/src/graphql-api/revision/model/revision.model.d.ts +4 -4
  152. package/dist/src/graphql-api/revision/revision.resolver.d.ts +4 -4
  153. package/dist/src/graphql-api/row/inputs/index.d.ts +3 -3
  154. package/dist/src/graphql-api/row/model/row-reference.model.d.ts +2 -2
  155. package/dist/src/graphql-api/row/model/row-references-connection.model.d.ts +1 -1
  156. package/dist/src/graphql-api/row/model/row.model.d.ts +1 -1
  157. package/dist/src/graphql-api/row/model/rows-connection.model.d.ts +1 -1
  158. package/dist/src/graphql-api/row/row.resolver.d.ts +5 -5
  159. package/dist/src/graphql-api/share/model/paginated.model.d.ts +1 -1
  160. package/dist/src/graphql-api/table/model/table-connection.model.d.ts +1 -1
  161. package/dist/src/graphql-api/table/model/table.model.d.ts +2 -2
  162. package/dist/src/graphql-api/table/table.resolver.d.ts +6 -6
  163. package/dist/src/graphql-api/user/user.resolver.d.ts +4 -4
  164. package/dist/src/index.d.ts +5 -4
  165. package/dist/src/index.js +7 -7
  166. package/dist/src/index.js.map +1 -1
  167. package/dist/src/metrics/graphql/graphql-metrics.plugin.d.ts +1 -1
  168. package/dist/src/metrics/rest/rest-metrics.interceptor.d.ts +1 -1
  169. package/dist/src/metrics-api/metrics.controller.d.ts +1 -1
  170. package/dist/src/notification/in-memory-server.d.ts +6 -0
  171. package/dist/src/notification/in-memory-server.js +19 -0
  172. package/dist/src/notification/in-memory-server.js.map +1 -0
  173. package/dist/src/organization/commands/handlers/add-user-to-organization.handler.d.ts +3 -3
  174. package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.d.ts +2 -2
  175. package/dist/src/organization/commands/impl/add-user-to-organization.command.d.ts +1 -1
  176. package/dist/src/organization/commands/index.d.ts +1 -1
  177. package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +2 -2
  178. package/dist/src/organization/queries/handlers/get-users-organization.handler.d.ts +2 -2
  179. package/dist/src/organization/queries/handlers/index.d.ts +1 -1
  180. package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.d.ts +1 -1
  181. package/dist/src/organization/queries/impl/get-users-organization.query.d.ts +1 -1
  182. package/dist/src/organization/queries/impl/index.d.ts +1 -1
  183. package/dist/src/organization/queries/index.d.ts +2 -2
  184. package/dist/src/project/commands/handlers/add-user-to-project.handler.d.ts +3 -3
  185. package/dist/src/project/commands/handlers/api-create-project.handler.d.ts +1 -1
  186. package/dist/src/project/commands/handlers/create-project.handler.d.ts +3 -3
  187. package/dist/src/project/commands/handlers/delete-project.handler.d.ts +4 -4
  188. package/dist/src/project/commands/handlers/index.d.ts +6 -6
  189. package/dist/src/project/commands/handlers/remove-user-from-project.handler.d.ts +2 -2
  190. package/dist/src/project/commands/handlers/update-project.handler.d.ts +3 -3
  191. package/dist/src/project/commands/impl/add-user-to-project.command.d.ts +1 -1
  192. package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.d.ts +2 -2
  193. package/dist/src/project/queries/handlers/get-project-by-id.handler.d.ts +2 -2
  194. package/dist/src/project/queries/handlers/get-project.handler.d.ts +3 -3
  195. package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.d.ts +2 -2
  196. package/dist/src/project/queries/handlers/get-users-project.handler.d.ts +2 -2
  197. package/dist/src/project/queries/handlers/index.d.ts +5 -5
  198. package/dist/src/project/queries/impl/get-users-project.query.d.ts +1 -1
  199. package/dist/src/rest-api/auth/auth.controller.d.ts +3 -3
  200. package/dist/src/rest-api/auth/dto/create-user.dto.d.ts +1 -1
  201. package/dist/src/rest-api/branch/branch-by-name.controller.d.ts +3 -3
  202. package/dist/src/rest-api/configuration/configuration.controller.d.ts +1 -1
  203. package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.d.ts +1 -1
  204. package/dist/src/rest-api/organization/dto/index.d.ts +5 -5
  205. package/dist/src/rest-api/organization/model/users-organization.model.d.ts +2 -2
  206. package/dist/src/rest-api/organization/organization.controller.d.ts +4 -4
  207. package/dist/src/rest-api/project/dto/add-user-to-project.dto.d.ts +1 -1
  208. package/dist/src/rest-api/project/model/users-project.model.d.ts +2 -2
  209. package/dist/src/rest-api/project/project.controller.d.ts +6 -6
  210. package/dist/src/rest-api/revision/dto/index.d.ts +3 -3
  211. package/dist/src/rest-api/revision/model/create-table.response.d.ts +2 -2
  212. package/dist/src/rest-api/revision/revision-by-id.controller.d.ts +7 -7
  213. package/dist/src/rest-api/row/model/remove-row.response.d.ts +2 -2
  214. package/dist/src/rest-api/row/model/update-row.response.d.ts +2 -2
  215. package/dist/src/rest-api/row/row-by-id.controller.d.ts +3 -3
  216. package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.d.ts +1 -1
  217. package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.d.ts +1 -1
  218. package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +2 -2
  219. package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +2 -2
  220. package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +2 -2
  221. package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +3 -3
  222. package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +3 -3
  223. package/dist/src/rest-api/table/dto/update-table.dto.d.ts +1 -1
  224. package/dist/src/rest-api/table/model/create-row.response.d.ts +1 -1
  225. package/dist/src/rest-api/table/model/update-table.response.d.ts +1 -1
  226. package/dist/src/rest-api/table/table-by-id.controller.d.ts +6 -6
  227. package/dist/src/rest-api/user/user.controller.d.ts +2 -2
  228. package/dist/src/revision/queries/commands/get-children-by-revision.handler.d.ts +2 -2
  229. package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +3 -3
  230. package/dist/src/revision/queries/commands/get-revision.handler.d.ts +2 -2
  231. package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +3 -3
  232. package/dist/src/revision/queries/commands/index.d.ts +8 -8
  233. package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +2 -2
  234. package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +2 -2
  235. package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.d.ts +2 -2
  236. package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +2 -2
  237. package/dist/src/revision/queries/types/get-revision-tables.types.d.ts +2 -2
  238. package/dist/src/revision/queries/types/index.d.ts +1 -1
  239. package/dist/src/row/queries/handlers/get-row-by-id.handler.d.ts +3 -3
  240. package/dist/src/row/queries/handlers/get-row.handler.d.ts +4 -4
  241. package/dist/src/row/queries/handlers/get-rows.handler.d.ts +4 -4
  242. package/dist/src/row/queries/handlers/index.d.ts +7 -7
  243. package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.d.ts +5 -5
  244. package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.d.ts +3 -3
  245. package/dist/src/row/queries/handlers/resolve-row-references-by.handler.d.ts +5 -5
  246. package/dist/src/row/queries/handlers/resolve-row-references-to.handler.d.ts +5 -5
  247. package/dist/src/row/queries/impl/index.d.ts +4 -4
  248. package/dist/src/row/queries/types/get-row-by-id.types.d.ts +1 -1
  249. package/dist/src/row/queries/types/get-row.types.d.ts +1 -1
  250. package/dist/src/row/queries/types/get-rows.types.d.ts +2 -2
  251. package/dist/src/row/queries/types/resolve-row-references-by.types.d.ts +2 -2
  252. package/dist/src/row/queries/types/resolve-row-references-to.types.d.ts +2 -2
  253. package/dist/src/share/commands/handlers/index.d.ts +1 -1
  254. package/dist/src/share/commands/handlers/notify-endpoints.handler.d.ts +3 -3
  255. package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.d.ts +2 -2
  256. package/dist/src/share/commands/utils/getOffsetPagination.d.ts +1 -1
  257. package/dist/src/share/commands/utils/getRevisionCursorPagination.d.ts +1 -1
  258. package/dist/src/share/const.d.ts +1 -1
  259. package/dist/src/share/queries/handlers/index.d.ts +3 -3
  260. package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.d.ts +3 -3
  261. package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.d.ts +3 -3
  262. package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.d.ts +3 -3
  263. package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.d.ts +3 -3
  264. package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.d.ts +3 -3
  265. package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.d.ts +3 -3
  266. package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.d.ts +3 -3
  267. package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.d.ts +3 -3
  268. package/dist/src/share/queries/types/index.d.ts +7 -7
  269. package/dist/src/share/references.service.d.ts +1 -1
  270. package/dist/src/share/share.transactional.queries.d.ts +2 -2
  271. package/dist/src/share/utils/schema/lib/applyPatches.d.ts +2 -2
  272. package/dist/src/share/utils/schema/lib/createJsonSchemaStore.d.ts +3 -3
  273. package/dist/src/share/utils/schema/lib/createJsonValueStore.d.ts +7 -7
  274. package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.d.ts +1 -1
  275. package/dist/src/share/utils/schema/lib/getPathByStore.d.ts +1 -1
  276. package/dist/src/share/utils/schema/lib/getReferencesFromSchema.d.ts +1 -1
  277. package/dist/src/share/utils/schema/lib/getReferencesFromValue.d.ts +1 -1
  278. package/dist/src/share/utils/schema/lib/getValuePathByStore.d.ts +1 -1
  279. package/dist/src/share/utils/schema/lib/schema-table.d.ts +3 -3
  280. package/dist/src/share/utils/schema/lib/traverseStore.d.ts +1 -1
  281. package/dist/src/share/utils/schema/lib/traverseValue.d.ts +1 -1
  282. package/dist/src/share/utils/schema/model/schema/json-array.store.d.ts +4 -4
  283. package/dist/src/share/utils/schema/model/schema/json-boolean.store.d.ts +3 -3
  284. package/dist/src/share/utils/schema/model/schema/json-number.store.d.ts +3 -3
  285. package/dist/src/share/utils/schema/model/schema/json-object.store.d.ts +4 -4
  286. package/dist/src/share/utils/schema/model/schema/json-schema.store.d.ts +5 -5
  287. package/dist/src/share/utils/schema/model/schema/json-string.store.d.ts +3 -3
  288. package/dist/src/share/utils/schema/model/value/json-array-value.store.d.ts +4 -4
  289. package/dist/src/share/utils/schema/model/value/json-boolean-value.store.d.ts +2 -2
  290. package/dist/src/share/utils/schema/model/value/json-number-value.store.d.ts +2 -2
  291. package/dist/src/share/utils/schema/model/value/json-object-value.store.d.ts +4 -4
  292. package/dist/src/share/utils/schema/model/value/json-string-value.store.d.ts +2 -2
  293. package/dist/src/share/utils/schema/model/value/json-value.store.d.ts +5 -5
  294. package/dist/src/share/utils/schema/model/value/value-transformation.d.ts +1 -1
  295. package/dist/src/share/utils/schema/types/json-patch.types.d.ts +1 -1
  296. package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.d.ts +2 -2
  297. package/dist/src/table/queries/handlers/get-rows-by-table.handler.d.ts +3 -3
  298. package/dist/src/table/queries/handlers/get-table-by-id.handler.d.ts +3 -3
  299. package/dist/src/table/queries/handlers/get-table.handler.d.ts +4 -4
  300. package/dist/src/table/queries/handlers/get-tables.handler.d.ts +3 -3
  301. package/dist/src/table/queries/handlers/index.d.ts +10 -10
  302. package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.d.ts +4 -4
  303. package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.d.ts +3 -3
  304. package/dist/src/table/queries/handlers/resolve-table-references-by.handler.d.ts +5 -5
  305. package/dist/src/table/queries/handlers/resolve-table-references-to.handler.d.ts +4 -4
  306. package/dist/src/table/queries/handlers/resolve-table-schema.handler.d.ts +3 -3
  307. package/dist/src/table/queries/types/get-table-by-id.types.d.ts +1 -1
  308. package/dist/src/table/queries/types/get-table-rows.types.d.ts +2 -2
  309. package/dist/src/table/queries/types/get-table.types.d.ts +1 -1
  310. package/dist/src/table/queries/types/get-tables.types.d.ts +2 -2
  311. package/dist/src/table/queries/types/index.d.ts +6 -6
  312. package/dist/src/table/queries/types/resolve-table-references-by.types.d.ts +2 -2
  313. package/dist/src/table/queries/types/resolve-table-references-to.types.d.ts +2 -2
  314. package/dist/src/user/commands/handlers/set-username.handler.d.ts +3 -3
  315. package/dist/src/user/commands/handlers/update-password.handler.d.ts +3 -3
  316. package/dist/src/user/commands/index.d.ts +1 -1
  317. package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.d.ts +2 -2
  318. package/dist/src/user/queries/handlers/get-user-organization.handler.d.ts +2 -2
  319. package/dist/src/user/queries/handlers/get-user.handler.d.ts +2 -2
  320. package/dist/src/user/queries/impl/get-projects-by-user-id.query.d.ts +1 -1
  321. package/dist/src/user/queries/impl/index.d.ts +1 -1
  322. package/dist/src/user/queries/index.d.ts +1 -1
  323. package/dist/tsconfig.build.tsbuildinfo +1 -1
  324. package/package.json +4 -2
@@ -1,8 +1,8 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ReferencesService } from 'src/share/references.service';
4
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
5
- import { ResolveTableCountReferencesByQuery } from 'src/table/queries/impl';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ReferencesService } from '../../../share/references.service';
4
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
5
+ import { ResolveTableCountReferencesByQuery } from '../../../table/queries/impl';
6
6
  export declare class ResolveTableCountReferencesByHandler implements IQueryHandler<ResolveTableCountReferencesByQuery> {
7
7
  private readonly transactionService;
8
8
  private readonly shareTransactionalQueries;
@@ -1,7 +1,7 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
4
- import { ResolveTableCountReferencesToQuery } from 'src/table/queries/impl';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
4
+ import { ResolveTableCountReferencesToQuery } from '../../../table/queries/impl';
5
5
  export declare class ResolveTableCountReferencesToHandler implements IQueryHandler<ResolveTableCountReferencesToQuery> {
6
6
  private readonly transactionService;
7
7
  private readonly shareTransactionalQueries;
@@ -1,9 +1,9 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ReferencesService } from 'src/share/references.service';
4
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
5
- import { ResolveTableReferencesByQuery } from 'src/table/queries/impl';
6
- import { ResolveTableReferencesByReturnType } from 'src/table/queries/types';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ReferencesService } from '../../../share/references.service';
4
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
5
+ import { ResolveTableReferencesByQuery } from '../../../table/queries/impl';
6
+ import { ResolveTableReferencesByReturnType } from '../../../table/queries/types';
7
7
  export declare class ResolveTableReferencesByHandler implements IQueryHandler<ResolveTableReferencesByQuery, ResolveTableReferencesByReturnType> {
8
8
  private readonly transactionService;
9
9
  private readonly shareTransactionalQueries;
@@ -1,8 +1,8 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
3
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
4
- import { ResolveTableReferencesToQuery } from 'src/table/queries/impl';
5
- import { ResolveTableReferencesToReturnType } from 'src/table/queries/types';
2
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
3
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
4
+ import { ResolveTableReferencesToQuery } from '../../../table/queries/impl';
5
+ import { ResolveTableReferencesToReturnType } from '../../../table/queries/types';
6
6
  export declare class ResolveTableReferencesToHandler implements IQueryHandler<ResolveTableReferencesToQuery, ResolveTableReferencesToReturnType> {
7
7
  private readonly transactionService;
8
8
  private readonly shareTransactionalQueries;
@@ -1,8 +1,8 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
2
  import { Prisma } from '@prisma/client';
3
- import { TransactionPrismaService } from 'src/database/transaction-prisma.service';
4
- import { ShareTransactionalQueries } from 'src/share/share.transactional.queries';
5
- import { ResolveTableSchemaQuery } from 'src/table/queries/impl';
3
+ import { TransactionPrismaService } from '../../../database/transaction-prisma.service';
4
+ import { ShareTransactionalQueries } from '../../../share/share.transactional.queries';
5
+ import { ResolveTableSchemaQuery } from '../../../table/queries/impl';
6
6
  export declare class ResolveTableSchemaHandler implements IQueryHandler<ResolveTableSchemaQuery> {
7
7
  private readonly transactionService;
8
8
  private readonly shareTransactionalQueries;
@@ -1,2 +1,2 @@
1
- import { TableWithContext } from 'src/share/types/table-with-context.types';
1
+ import { TableWithContext } from '../../../share/types/table-with-context.types';
2
2
  export type GetTableByIdReturnType = TableWithContext | null;
@@ -1,3 +1,3 @@
1
- import { IPaginatedType } from 'src/share/pagination.interface';
2
- import { RowWithContext } from 'src/share/types/row-with-context.types';
1
+ import { IPaginatedType } from '../../../share/pagination.interface';
2
+ import { RowWithContext } from '../../../share/types/row-with-context.types';
3
3
  export type GetTableRowsReturnType = IPaginatedType<RowWithContext>;
@@ -1,2 +1,2 @@
1
- import { TableWithContext } from 'src/share/types/table-with-context.types';
1
+ import { TableWithContext } from '../../../share/types/table-with-context.types';
2
2
  export type GetTableReturnType = TableWithContext | null;
@@ -1,3 +1,3 @@
1
- import { IPaginatedType } from 'src/share/pagination.interface';
2
- import { TableWithContext } from 'src/share/types/table-with-context.types';
1
+ import { IPaginatedType } from '../../../share/pagination.interface';
2
+ import { TableWithContext } from '../../../share/types/table-with-context.types';
3
3
  export type GetTablesReturnType = IPaginatedType<TableWithContext>;
@@ -1,6 +1,6 @@
1
- export * from 'src/table/queries/types/get-table.types';
2
- export * from 'src/table/queries/types/get-table-by-id.types';
3
- export * from 'src/table/queries/types/get-tables.types';
4
- export * from 'src/table/queries/types/get-table-rows.types';
5
- export * from 'src/table/queries/types/resolve-table-references-by.types';
6
- export * from 'src/table/queries/types/resolve-table-references-to.types';
1
+ export * from '../../../table/queries/types/get-table.types';
2
+ export * from '../../../table/queries/types/get-table-by-id.types';
3
+ export * from '../../../table/queries/types/get-tables.types';
4
+ export * from '../../../table/queries/types/get-table-rows.types';
5
+ export * from '../../../table/queries/types/resolve-table-references-by.types';
6
+ export * from '../../../table/queries/types/resolve-table-references-to.types';
@@ -1,3 +1,3 @@
1
- import { IPaginatedType } from 'src/share/pagination.interface';
2
- import { TableWithContext } from 'src/share/types/table-with-context.types';
1
+ import { IPaginatedType } from '../../../share/pagination.interface';
2
+ import { TableWithContext } from '../../../share/types/table-with-context.types';
3
3
  export type ResolveTableReferencesByReturnType = IPaginatedType<TableWithContext>;
@@ -1,3 +1,3 @@
1
- import { IPaginatedType } from 'src/share/pagination.interface';
2
- import { TableWithContext } from 'src/share/types/table-with-context.types';
1
+ import { IPaginatedType } from '../../../share/pagination.interface';
2
+ import { TableWithContext } from '../../../share/types/table-with-context.types';
3
3
  export type ResolveTableReferencesToReturnType = IPaginatedType<TableWithContext>;
@@ -1,7 +1,7 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { IdService } from 'src/database/id.service';
3
- import { PrismaService } from 'src/database/prisma.service';
4
- import { SetUsernameCommand, SetUsernameCommandReturnType } from 'src/user/commands/impl';
2
+ import { IdService } from '../../../database/id.service';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
+ import { SetUsernameCommand, SetUsernameCommandReturnType } from '../../../user/commands/impl';
5
5
  export declare class SetUsernameHandler implements ICommandHandler<SetUsernameCommand, SetUsernameCommandReturnType> {
6
6
  private readonly prisma;
7
7
  private idService;
@@ -1,7 +1,7 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { AuthService } from 'src/auth/auth.service';
3
- import { PrismaService } from 'src/database/prisma.service';
4
- import { UpdatePasswordCommand, UpdatePasswordCommandReturnType } from 'src/user/commands/impl';
2
+ import { AuthService } from '../../../auth/auth.service';
3
+ import { PrismaService } from '../../../database/prisma.service';
4
+ import { UpdatePasswordCommand, UpdatePasswordCommandReturnType } from '../../../user/commands/impl';
5
5
  export declare class UpdatePasswordHandler implements ICommandHandler<UpdatePasswordCommand, UpdatePasswordCommandReturnType> {
6
6
  private readonly prisma;
7
7
  private readonly authService;
@@ -1,2 +1,2 @@
1
- import { SetUsernameHandler, UpdatePasswordHandler } from 'src/user/commands/handlers';
1
+ import { SetUsernameHandler, UpdatePasswordHandler } from '../../user/commands/handlers';
2
2
  export declare const USER_COMMANDS: (typeof UpdatePasswordHandler | typeof SetUsernameHandler)[];
@@ -1,6 +1,6 @@
1
1
  import { IQueryHandler, QueryBus } from '@nestjs/cqrs';
2
- import { PrismaService } from 'src/database/prisma.service';
3
- import { GetProjectsByUserIdQuery, GetProjectsByUserIdQueryReturnType } from 'src/user/queries/impl';
2
+ import { PrismaService } from '../../../database/prisma.service';
3
+ import { GetProjectsByUserIdQuery, GetProjectsByUserIdQueryReturnType } from '../../../user/queries/impl';
4
4
  export declare class GetProjectsByUserIdHandler implements IQueryHandler<GetProjectsByUserIdQuery, GetProjectsByUserIdQueryReturnType> {
5
5
  private readonly prisma;
6
6
  private readonly queryBus;
@@ -1,6 +1,6 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { PrismaService } from 'src/database/prisma.service';
3
- import { GetUserOrganizationQuery, GetUserOrganizationQueryReturnType, GetUserQuery } from 'src/user/queries/impl';
2
+ import { PrismaService } from '../../../database/prisma.service';
3
+ import { GetUserOrganizationQuery, GetUserOrganizationQueryReturnType, GetUserQuery } from '../../../user/queries/impl';
4
4
  export declare class GetUserOrganizationHandler implements IQueryHandler<GetUserQuery, GetUserOrganizationQueryReturnType> {
5
5
  private readonly prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,6 +1,6 @@
1
1
  import { IQueryHandler } from '@nestjs/cqrs';
2
- import { PrismaService } from 'src/database/prisma.service';
3
- import { GetUserQuery, GetUserQueryReturnType } from 'src/user/queries/impl';
2
+ import { PrismaService } from '../../../database/prisma.service';
3
+ import { GetUserQuery, GetUserQueryReturnType } from '../../../user/queries/impl';
4
4
  export declare class GetUserHandler implements IQueryHandler<GetUserQuery, GetUserQueryReturnType> {
5
5
  private readonly prisma;
6
6
  constructor(prisma: PrismaService);
@@ -1,5 +1,5 @@
1
1
  import { Project } from '@prisma/client';
2
- import { IPaginatedType } from 'src/share/pagination.interface';
2
+ import { IPaginatedType } from '../../../share/pagination.interface';
3
3
  export declare class GetProjectsByUserIdQuery {
4
4
  readonly data: {
5
5
  readonly userId: string;
@@ -1,3 +1,3 @@
1
1
  export * from './get-user.query';
2
2
  export * from './get-user-organization.query';
3
- export * from 'src/user/queries/impl/get-projects-by-user-id.query';
3
+ export * from '../../../user/queries/impl/get-projects-by-user-id.query';
@@ -1,2 +1,2 @@
1
- import { GetProjectsByUserIdHandler, GetUserHandler, GetUserOrganizationHandler } from 'src/user/queries/handlers';
1
+ import { GetProjectsByUserIdHandler, GetUserHandler, GetUserOrganizationHandler } from '../../user/queries/handlers';
2
2
  export declare const USER_QUERIES: (typeof GetUserHandler | typeof GetUserOrganizationHandler | typeof GetProjectsByUserIdHandler)[];