@revisium/core 2.9.2 → 2.10.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2232) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/ee/billing/billing-client.d.ts +31 -0
  4. package/dist/ee/billing/billing-client.interface.d.ts +80 -0
  5. package/dist/ee/billing/billing-client.interface.js +5 -0
  6. package/dist/ee/billing/billing-client.interface.js.map +1 -0
  7. package/dist/ee/billing/billing-client.js +132 -0
  8. package/dist/ee/billing/billing-client.js.map +1 -0
  9. package/dist/ee/billing/billing-graphql.service.d.ts +24 -0
  10. package/dist/ee/billing/billing-graphql.service.js +159 -0
  11. package/dist/ee/billing/billing-graphql.service.js.map +1 -0
  12. package/dist/ee/billing/cache/billing-cache-invalidation.handler.d.ts +38 -0
  13. package/dist/ee/billing/cache/billing-cache-invalidation.handler.js +132 -0
  14. package/dist/ee/billing/cache/billing-cache-invalidation.handler.js.map +1 -0
  15. package/dist/ee/billing/cache/billing-cache.constants.d.ts +14 -0
  16. package/dist/ee/billing/cache/billing-cache.constants.js +18 -0
  17. package/dist/ee/billing/cache/billing-cache.constants.js.map +1 -0
  18. package/dist/ee/billing/cache/billing-cache.service.d.ts +12 -0
  19. package/dist/ee/billing/cache/billing-cache.service.js +72 -0
  20. package/dist/ee/billing/cache/billing-cache.service.js.map +1 -0
  21. package/dist/ee/billing/callback.controller.d.ts +12 -0
  22. package/dist/ee/billing/callback.controller.js +64 -0
  23. package/dist/ee/billing/callback.controller.js.map +1 -0
  24. package/dist/ee/billing/early-access/crons/auto-downgrade.cron.d.ts +4 -0
  25. package/dist/ee/billing/early-access/crons/auto-downgrade.cron.js +26 -0
  26. package/dist/ee/billing/early-access/crons/auto-downgrade.cron.js.map +1 -0
  27. package/dist/ee/billing/early-access/early-access.module.d.ts +2 -0
  28. package/dist/ee/billing/early-access/early-access.module.js +31 -0
  29. package/dist/ee/billing/early-access/early-access.module.js.map +1 -0
  30. package/dist/ee/billing/early-access/early-access.service.d.ts +14 -0
  31. package/dist/ee/billing/early-access/early-access.service.js +47 -0
  32. package/dist/ee/billing/early-access/early-access.service.js.map +1 -0
  33. package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.d.ts +4 -0
  34. package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.js +28 -0
  35. package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.js.map +1 -0
  36. package/dist/ee/billing/early-access/graphql/models/plan.model.d.ts +19 -0
  37. package/dist/ee/billing/early-access/graphql/models/plan.model.js +86 -0
  38. package/dist/ee/billing/early-access/graphql/models/plan.model.js.map +1 -0
  39. package/dist/ee/billing/early-access/graphql/models/subscription.model.d.ts +8 -0
  40. package/dist/ee/billing/early-access/graphql/models/subscription.model.js +44 -0
  41. package/dist/ee/billing/early-access/graphql/models/subscription.model.js.map +1 -0
  42. package/dist/ee/billing/early-access/graphql/models/usage.model.d.ts +1 -0
  43. package/dist/ee/billing/early-access/graphql/models/usage.model.js +7 -0
  44. package/dist/ee/billing/early-access/graphql/models/usage.model.js.map +1 -0
  45. package/dist/ee/billing/early-access/rest/admin-billing.controller.d.ts +10 -0
  46. package/dist/ee/billing/early-access/rest/admin-billing.controller.js +58 -0
  47. package/dist/ee/billing/early-access/rest/admin-billing.controller.js.map +1 -0
  48. package/dist/ee/billing/early-access/rest/billing.controller.d.ts +15 -0
  49. package/dist/ee/billing/early-access/rest/billing.controller.js +110 -0
  50. package/dist/ee/billing/early-access/rest/billing.controller.js.map +1 -0
  51. package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.d.ts +3 -0
  52. package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.js +21 -0
  53. package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.js.map +1 -0
  54. package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.d.ts +4 -0
  55. package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.js +25 -0
  56. package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.js.map +1 -0
  57. package/dist/ee/billing/ee-billing.module.d.ts +4 -0
  58. package/dist/ee/billing/ee-billing.module.js +68 -0
  59. package/dist/ee/billing/ee-billing.module.js.map +1 -0
  60. package/dist/ee/billing/hmac.d.ts +5 -0
  61. package/dist/ee/billing/hmac.js +62 -0
  62. package/dist/ee/billing/hmac.js.map +1 -0
  63. package/dist/ee/billing/limits/limits.service.d.ts +22 -0
  64. package/dist/ee/billing/limits/limits.service.js +115 -0
  65. package/dist/ee/billing/limits/limits.service.js.map +1 -0
  66. package/dist/ee/billing/usage/build-metric.d.ts +5 -0
  67. package/dist/ee/billing/usage/build-metric.js +13 -0
  68. package/dist/ee/billing/usage/build-metric.js.map +1 -0
  69. package/dist/ee/billing/usage/usage.service.d.ts +54 -0
  70. package/dist/ee/billing/usage/usage.service.js +156 -0
  71. package/dist/ee/billing/usage/usage.service.js.map +1 -0
  72. package/dist/ee/billing/usage-reporter.service.d.ts +11 -0
  73. package/dist/ee/billing/usage-reporter.service.js +71 -0
  74. package/dist/ee/billing/usage-reporter.service.js.map +1 -0
  75. package/dist/ee/licensing/decorators.d.ts +2 -0
  76. package/dist/ee/licensing/decorators.js +8 -0
  77. package/dist/ee/licensing/decorators.js.map +1 -0
  78. package/dist/ee/licensing/license-payload.interface.d.ts +7 -0
  79. package/dist/ee/licensing/license-payload.interface.js +3 -0
  80. package/dist/ee/licensing/license-payload.interface.js.map +1 -0
  81. package/dist/ee/licensing/license.guard.d.ts +9 -0
  82. package/dist/ee/licensing/license.guard.js +38 -0
  83. package/dist/ee/licensing/license.guard.js.map +1 -0
  84. package/dist/ee/licensing/license.service.d.ts +20 -0
  85. package/dist/ee/licensing/license.service.js +155 -0
  86. package/dist/ee/licensing/license.service.js.map +1 -0
  87. package/dist/ee/licensing/licensing.module.d.ts +2 -0
  88. package/dist/ee/licensing/licensing.module.js +25 -0
  89. package/dist/ee/licensing/licensing.module.js.map +1 -0
  90. package/dist/package.json +35 -17
  91. package/dist/prisma/migrations/20260328163200_add_license_cache/migration.sql +10 -0
  92. package/dist/prisma/migrations/20260404120000_add_api_keys/migration.sql +50 -0
  93. package/dist/prisma/migrations/20260411120000_add_jwt_refresh/migration.sql +32 -0
  94. package/dist/prisma/migrations/20260420120000_add_file_usage/migration.sql +94 -0
  95. package/dist/prisma/schema.prisma +133 -1
  96. package/dist/prisma/seed/permissions/manage-api-key.json +5 -0
  97. package/dist/prisma/seed/permissions/manage-cache.json +5 -0
  98. package/dist/prisma/seed/permissions/manage-file-usage.json +5 -0
  99. package/dist/prisma/seed/permissions/read-cache.json +5 -0
  100. package/dist/prisma/seed/permissions/read-file-usage.json +5 -0
  101. package/dist/prisma/seed/roles/developer.json +2 -1
  102. package/dist/prisma/seed/roles/organizationAdmin.json +3 -1
  103. package/dist/prisma/seed/roles/organizationOwner.json +4 -1
  104. package/dist/prisma/seed/roles/systemAdmin.json +6 -1
  105. package/dist/prisma/sql/countOrgRowVersions.sql +12 -0
  106. package/dist/scripts/generate-internal-key.d.ts +1 -0
  107. package/dist/scripts/generate-internal-key.js +7 -0
  108. package/dist/scripts/generate-internal-key.js.map +1 -0
  109. package/dist/src/__generated__/client/browser.d.ts +6 -0
  110. package/dist/src/__generated__/client/browser.js.map +1 -1
  111. package/dist/src/__generated__/client/client.d.ts +11 -5
  112. package/dist/src/__generated__/client/client.js.map +1 -1
  113. package/dist/src/__generated__/client/commonInputTypes.d.ts +133 -53
  114. package/dist/src/__generated__/client/enums.d.ts +6 -0
  115. package/dist/src/__generated__/client/enums.js +8 -3
  116. package/dist/src/__generated__/client/enums.js.map +1 -1
  117. package/dist/src/__generated__/client/internal/class.d.ts +21 -3
  118. package/dist/src/__generated__/client/internal/class.js +22 -19
  119. package/dist/src/__generated__/client/internal/class.js.map +1 -1
  120. package/dist/src/__generated__/client/internal/prismaNamespace.d.ts +617 -13
  121. package/dist/src/__generated__/client/internal/prismaNamespace.js +185 -47
  122. package/dist/src/__generated__/client/internal/prismaNamespace.js.map +1 -1
  123. package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.d.ts +155 -4
  124. package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.js +182 -42
  125. package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -1
  126. package/dist/src/__generated__/client/models/ApiKey.d.ts +1490 -0
  127. package/dist/src/__generated__/client/models/ApiKey.js +3 -0
  128. package/dist/src/__generated__/client/models/ApiKey.js.map +1 -0
  129. package/dist/src/__generated__/client/models/Branch.d.ts +49 -50
  130. package/dist/src/__generated__/client/models/Endpoint.d.ts +55 -56
  131. package/dist/src/__generated__/client/models/EndpointVersion.d.ts +36 -37
  132. package/dist/src/__generated__/client/models/FileBlob.d.ts +638 -0
  133. package/dist/src/__generated__/client/models/FileBlob.js +3 -0
  134. package/dist/src/__generated__/client/models/FileBlob.js.map +1 -0
  135. package/dist/src/__generated__/client/models/Instance.d.ts +26 -27
  136. package/dist/src/__generated__/client/models/LicenseCache.d.ts +400 -0
  137. package/dist/src/__generated__/client/models/LicenseCache.js +3 -0
  138. package/dist/src/__generated__/client/models/LicenseCache.js.map +1 -0
  139. package/dist/src/__generated__/client/models/OAuthAccessToken.d.ts +63 -64
  140. package/dist/src/__generated__/client/models/OAuthAuthorizationCode.d.ts +73 -77
  141. package/dist/src/__generated__/client/models/OAuthClient.d.ts +49 -50
  142. package/dist/src/__generated__/client/models/OAuthRefreshToken.d.ts +68 -69
  143. package/dist/src/__generated__/client/models/Organization.d.ts +31 -32
  144. package/dist/src/__generated__/client/models/Permission.d.ts +48 -49
  145. package/dist/src/__generated__/client/models/Project.d.ts +55 -56
  146. package/dist/src/__generated__/client/models/ProjectFileUsage.d.ts +378 -0
  147. package/dist/src/__generated__/client/models/ProjectFileUsage.js +3 -0
  148. package/dist/src/__generated__/client/models/ProjectFileUsage.js.map +1 -0
  149. package/dist/src/__generated__/client/models/RefreshToken.d.ts +688 -0
  150. package/dist/src/__generated__/client/models/RefreshToken.js +3 -0
  151. package/dist/src/__generated__/client/models/RefreshToken.js.map +1 -0
  152. package/dist/src/__generated__/client/models/Revision.d.ts +76 -84
  153. package/dist/src/__generated__/client/models/Role.d.ts +52 -53
  154. package/dist/src/__generated__/client/models/Row.d.ts +229 -79
  155. package/dist/src/__generated__/client/models/Table.d.ts +59 -60
  156. package/dist/src/__generated__/client/models/TableMigration.d.ts +1079 -0
  157. package/dist/src/__generated__/client/models/TableMigration.js +3 -0
  158. package/dist/src/__generated__/client/models/TableMigration.js.map +1 -0
  159. package/dist/src/__generated__/client/models/User.d.ts +450 -67
  160. package/dist/src/__generated__/client/models/UserOrganization.d.ts +50 -51
  161. package/dist/src/__generated__/client/models/UserProject.d.ts +50 -51
  162. package/dist/src/__generated__/client/models.d.ts +6 -0
  163. package/dist/src/__generated__/client/sql/$DbEnums.d.ts +3 -2
  164. package/dist/src/__generated__/client/sql/countOrgRowVersions.d.ts +8 -0
  165. package/dist/src/__generated__/client/sql/countOrgRowVersions.js +39 -0
  166. package/dist/src/__generated__/client/sql/countOrgRowVersions.js.map +1 -0
  167. package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.d.ts +2 -9
  168. package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.js +1 -1
  169. package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.js.map +1 -1
  170. package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.d.ts +2 -7
  171. package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.js +1 -1
  172. package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.js.map +1 -1
  173. package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.d.ts +2 -11
  174. package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.js +1 -1
  175. package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.js.map +1 -1
  176. package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.d.ts +2 -7
  177. package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.js +1 -1
  178. package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.js.map +1 -1
  179. package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.d.ts +2 -9
  180. package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.js +1 -1
  181. package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.js.map +1 -1
  182. package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.d.ts +2 -6
  183. package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.js +1 -1
  184. package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.js.map +1 -1
  185. package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.d.ts +2 -6
  186. package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.js +1 -1
  187. package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.js.map +1 -1
  188. package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.d.ts +1 -1
  189. package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.js +1 -1
  190. package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.js.map +1 -1
  191. package/dist/src/__generated__/client/sql.d.ts +10 -9
  192. package/dist/src/__generated__/client/sql.js +1 -0
  193. package/dist/src/__generated__/client/sql.js.map +1 -1
  194. package/dist/src/api/graphql-api/api-key/api-key.resolver.d.ts +21 -0
  195. package/dist/src/api/graphql-api/api-key/api-key.resolver.js +158 -0
  196. package/dist/src/api/graphql-api/api-key/api-key.resolver.js.map +1 -0
  197. package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.d.ts +8 -0
  198. package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.js +45 -0
  199. package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.js.map +1 -0
  200. package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.d.ts +5 -0
  201. package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.js +29 -0
  202. package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.js.map +1 -0
  203. package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.d.ts +16 -0
  204. package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.js +70 -0
  205. package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.js.map +1 -0
  206. package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.d.ts +5 -0
  207. package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.js +10 -0
  208. package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.js.map +1 -0
  209. package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.d.ts +5 -0
  210. package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.js +29 -0
  211. package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.js.map +1 -0
  212. package/dist/src/api/graphql-api/api-key/model/api-key.model.d.ts +21 -0
  213. package/dist/src/api/graphql-api/api-key/model/api-key.model.js +87 -0
  214. package/dist/src/api/graphql-api/api-key/model/api-key.model.js.map +1 -0
  215. package/dist/src/api/graphql-api/auth/auth.resolver.d.ts +26 -7
  216. package/dist/src/api/graphql-api/auth/auth.resolver.js +90 -22
  217. package/dist/src/api/graphql-api/auth/auth.resolver.js.map +1 -1
  218. package/dist/src/api/graphql-api/auth/inputs/create-user.input.js +12 -0
  219. package/dist/src/api/graphql-api/auth/inputs/create-user.input.js.map +1 -1
  220. package/dist/src/api/graphql-api/auth/inputs/login.input.js +6 -0
  221. package/dist/src/api/graphql-api/auth/inputs/login.input.js.map +1 -1
  222. package/dist/src/api/graphql-api/auth/model/login.model.d.ts +1 -0
  223. package/dist/src/api/graphql-api/auth/model/login.model.js +4 -0
  224. package/dist/src/api/graphql-api/auth/model/login.model.js.map +1 -1
  225. package/dist/src/api/graphql-api/billing/billing-configuration.resolver.d.ts +7 -0
  226. package/dist/src/api/graphql-api/billing/billing-configuration.resolver.js +42 -0
  227. package/dist/src/api/graphql-api/billing/billing-configuration.resolver.js.map +1 -0
  228. package/dist/src/api/graphql-api/billing/billing-mutation.resolver.d.ts +13 -0
  229. package/dist/src/api/graphql-api/billing/billing-mutation.resolver.js +84 -0
  230. package/dist/src/api/graphql-api/billing/billing-mutation.resolver.js.map +1 -0
  231. package/dist/src/api/graphql-api/billing/billing-organization.resolver.d.ts +8 -0
  232. package/dist/src/api/graphql-api/billing/billing-organization.resolver.js +53 -0
  233. package/dist/src/api/graphql-api/billing/billing-organization.resolver.js.map +1 -0
  234. package/dist/src/api/graphql-api/billing/billing-query.resolver.d.ts +7 -0
  235. package/dist/src/api/graphql-api/billing/billing-query.resolver.js +52 -0
  236. package/dist/src/api/graphql-api/billing/billing-query.resolver.js.map +1 -0
  237. package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.d.ts +4 -0
  238. package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.js +28 -0
  239. package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.js.map +1 -0
  240. package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.d.ts +4 -0
  241. package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.js +28 -0
  242. package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.js.map +1 -0
  243. package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.d.ts +10 -0
  244. package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.js +52 -0
  245. package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.js.map +1 -0
  246. package/dist/src/api/graphql-api/billing/models/billing-configuration.model.d.ts +3 -0
  247. package/dist/src/api/graphql-api/billing/models/billing-configuration.model.js +24 -0
  248. package/dist/src/api/graphql-api/billing/models/billing-configuration.model.js.map +1 -0
  249. package/dist/src/api/graphql-api/billing/models/billing-status.enum.d.ts +7 -0
  250. package/dist/src/api/graphql-api/billing/models/billing-status.enum.js +12 -0
  251. package/dist/src/api/graphql-api/billing/models/billing-status.enum.js.map +1 -0
  252. package/dist/src/api/graphql-api/billing/models/index.d.ts +6 -0
  253. package/dist/src/api/graphql-api/billing/models/index.js +20 -0
  254. package/dist/src/api/graphql-api/billing/models/index.js.map +1 -0
  255. package/dist/src/api/graphql-api/billing/models/payment-provider.model.d.ts +13 -0
  256. package/dist/src/api/graphql-api/billing/models/payment-provider.model.js +60 -0
  257. package/dist/src/api/graphql-api/billing/models/payment-provider.model.js.map +1 -0
  258. package/dist/src/api/graphql-api/billing/models/plan.model.d.ts +20 -0
  259. package/dist/src/api/graphql-api/billing/models/plan.model.js +91 -0
  260. package/dist/src/api/graphql-api/billing/models/plan.model.js.map +1 -0
  261. package/dist/src/api/graphql-api/billing/models/subscription.model.d.ts +10 -0
  262. package/dist/src/api/graphql-api/billing/models/subscription.model.js +50 -0
  263. package/dist/src/api/graphql-api/billing/models/subscription.model.js.map +1 -0
  264. package/dist/src/api/graphql-api/billing/models/usage.model.d.ts +11 -0
  265. package/dist/src/api/graphql-api/billing/models/usage.model.js +54 -0
  266. package/dist/src/api/graphql-api/billing/models/usage.model.js.map +1 -0
  267. package/dist/src/api/graphql-api/branch/branch.resolver.d.ts +25 -60
  268. package/dist/src/api/graphql-api/branch/branch.resolver.js +63 -29
  269. package/dist/src/api/graphql-api/branch/branch.resolver.js.map +1 -1
  270. package/dist/src/api/graphql-api/branch/model/branch.model.d.ts +1 -1
  271. package/dist/src/api/graphql-api/branch/parent-branch.resolver.d.ts +6 -23
  272. package/dist/src/api/graphql-api/branch/parent-branch.resolver.js +7 -7
  273. package/dist/src/api/graphql-api/branch/parent-branch.resolver.js.map +1 -1
  274. package/dist/src/api/graphql-api/cache/cache.resolver.d.ts +8 -0
  275. package/dist/src/api/graphql-api/cache/cache.resolver.js +58 -0
  276. package/dist/src/api/graphql-api/cache/cache.resolver.js.map +1 -0
  277. package/dist/src/api/graphql-api/cache/model/cache-stats.model.d.ts +17 -0
  278. package/dist/src/api/graphql-api/cache/model/cache-stats.model.js +78 -0
  279. package/dist/src/api/graphql-api/cache/model/cache-stats.model.js.map +1 -0
  280. package/dist/src/api/graphql-api/configuration/configuration.resolver.d.ts +1 -1
  281. package/dist/src/api/graphql-api/configuration/configuration.resolver.js +3 -3
  282. package/dist/src/api/graphql-api/configuration/configuration.resolver.js.map +1 -1
  283. package/dist/src/api/graphql-api/configuration/model/configuration.model.d.ts +4 -0
  284. package/dist/src/api/graphql-api/configuration/model/configuration.model.js +15 -1
  285. package/dist/src/api/graphql-api/configuration/model/configuration.model.js.map +1 -1
  286. package/dist/src/api/graphql-api/draft/draft.resolver.d.ts +28 -17
  287. package/dist/src/api/graphql-api/draft/draft.resolver.js +40 -28
  288. package/dist/src/api/graphql-api/draft/draft.resolver.js.map +1 -1
  289. package/dist/src/api/graphql-api/endpoint/endpoint.resolver.d.ts +4 -2
  290. package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js +12 -9
  291. package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js.map +1 -1
  292. package/dist/src/api/graphql-api/endpoint/model/endpoints-connection.model.d.ts +1 -1
  293. package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.d.ts +10 -0
  294. package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.js +66 -0
  295. package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.js.map +1 -0
  296. package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.d.ts +10 -0
  297. package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.js +59 -0
  298. package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.js.map +1 -0
  299. package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.d.ts +7 -0
  300. package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.js +38 -0
  301. package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.js.map +1 -0
  302. package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.d.ts +8 -0
  303. package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.js +44 -0
  304. package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.js.map +1 -0
  305. package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.d.ts +7 -0
  306. package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.js +40 -0
  307. package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.js.map +1 -0
  308. package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.d.ts +5 -0
  309. package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.js +39 -0
  310. package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.js.map +1 -0
  311. package/dist/src/api/graphql-api/filters/graphql-validation-exception.filter.js +2 -2
  312. package/dist/src/api/graphql-api/filters/graphql-validation-exception.filter.js.map +1 -1
  313. package/dist/src/api/graphql-api/graphql-api.module.js +25 -6
  314. package/dist/src/api/graphql-api/graphql-api.module.js.map +1 -1
  315. package/dist/src/api/graphql-api/organization/inputs/get-organization.input.d.ts +3 -0
  316. package/dist/src/api/graphql-api/organization/inputs/get-organization.input.js +24 -0
  317. package/dist/src/api/graphql-api/organization/inputs/get-organization.input.js.map +1 -0
  318. package/dist/src/api/graphql-api/organization/model/users-organization.connection.d.ts +1 -1
  319. package/dist/src/api/graphql-api/organization/organization.resolver.d.ts +9 -2
  320. package/dist/src/api/graphql-api/organization/organization.resolver.js +26 -8
  321. package/dist/src/api/graphql-api/organization/organization.resolver.js.map +1 -1
  322. package/dist/src/api/graphql-api/project/model/project.model.d.ts +2 -0
  323. package/dist/src/api/graphql-api/project/model/project.model.js +5 -0
  324. package/dist/src/api/graphql-api/project/model/project.model.js.map +1 -1
  325. package/dist/src/api/graphql-api/project/model/projects.connection.d.ts +1 -1
  326. package/dist/src/api/graphql-api/project/model/users-project.connection.d.ts +1 -1
  327. package/dist/src/api/graphql-api/project/project.resolver.d.ts +9 -1
  328. package/dist/src/api/graphql-api/project/project.resolver.js +31 -2
  329. package/dist/src/api/graphql-api/project/project.resolver.js.map +1 -1
  330. package/dist/src/api/graphql-api/registerGraphqlEnums.js +4 -0
  331. package/dist/src/api/graphql-api/registerGraphqlEnums.js.map +1 -1
  332. package/dist/src/api/graphql-api/revision/child-branch.resolver.d.ts +7 -24
  333. package/dist/src/api/graphql-api/revision/child-branch.resolver.js +8 -8
  334. package/dist/src/api/graphql-api/revision/child-branch.resolver.js.map +1 -1
  335. package/dist/src/api/graphql-api/revision/model/revision.model.d.ts +1 -1
  336. package/dist/src/api/graphql-api/revision/revision.resolver.d.ts +18 -46
  337. package/dist/src/api/graphql-api/revision/revision.resolver.js +26 -18
  338. package/dist/src/api/graphql-api/revision/revision.resolver.js.map +1 -1
  339. package/dist/src/api/graphql-api/revision-changes/model/table-change.model.d.ts +1 -1
  340. package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.d.ts +12 -6
  341. package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.js +19 -11
  342. package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.js.map +1 -1
  343. package/dist/src/api/graphql-api/role/role.resolver.d.ts +1 -1
  344. package/dist/src/api/graphql-api/row/model/rows-connection.model.d.ts +1 -1
  345. package/dist/src/api/graphql-api/row/model/search-results-connection.model.d.ts +1 -1
  346. package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.d.ts +3 -3
  347. package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.js +3 -3
  348. package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.js.map +1 -1
  349. package/dist/src/api/graphql-api/row/row.resolver.d.ts +6 -6
  350. package/dist/src/api/graphql-api/row/row.resolver.js +8 -8
  351. package/dist/src/api/graphql-api/row/row.resolver.js.map +1 -1
  352. package/dist/src/api/graphql-api/share/model/paginated.model.d.ts +1 -1
  353. package/dist/src/api/graphql-api/share/model/paginated.model.js.map +1 -1
  354. package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.d.ts +1 -1
  355. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.d.ts +4 -4
  356. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js +5 -5
  357. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js.map +1 -1
  358. package/dist/src/api/graphql-api/table/model/table-connection.model.d.ts +1 -1
  359. package/dist/src/api/graphql-api/table/table.resolver.d.ts +11 -21
  360. package/dist/src/api/graphql-api/table/table.resolver.js +15 -18
  361. package/dist/src/api/graphql-api/table/table.resolver.js.map +1 -1
  362. package/dist/src/api/graphql-api/user/model/search-users.connection.d.ts +1 -1
  363. package/dist/src/api/graphql-api/user/model/users.connection.d.ts +1 -1
  364. package/dist/src/api/graphql-api/user/user.resolver.d.ts +6 -1
  365. package/dist/src/api/graphql-api/user/user.resolver.js +13 -8
  366. package/dist/src/api/graphql-api/user/user.resolver.js.map +1 -1
  367. package/dist/src/api/graphql-api/views/views.resolver.d.ts +5 -6
  368. package/dist/src/api/graphql-api/views/views.resolver.js +7 -7
  369. package/dist/src/api/graphql-api/views/views.resolver.js.map +1 -1
  370. package/dist/src/api/mcp-api/coerce-stringified-args.d.ts +2 -0
  371. package/dist/src/api/mcp-api/coerce-stringified-args.js +58 -0
  372. package/dist/src/api/mcp-api/coerce-stringified-args.js.map +1 -0
  373. package/dist/src/api/mcp-api/mcp-server.service.d.ts +8 -11
  374. package/dist/src/api/mcp-api/mcp-server.service.js +69 -42
  375. package/dist/src/api/mcp-api/mcp-server.service.js.map +1 -1
  376. package/dist/src/api/mcp-api/mcp.controller.js +2 -1
  377. package/dist/src/api/mcp-api/mcp.controller.js.map +1 -1
  378. package/dist/src/api/mcp-api/mcp.module.js +0 -2
  379. package/dist/src/api/mcp-api/mcp.module.js.map +1 -1
  380. package/dist/src/api/mcp-api/resources/migration.resource.js +17 -13
  381. package/dist/src/api/mcp-api/resources/migration.resource.js.map +1 -1
  382. package/dist/src/api/mcp-api/resources/schema.resource.js +2 -2
  383. package/dist/src/api/mcp-api/resources/schema.resource.js.map +1 -1
  384. package/dist/src/api/mcp-api/tools/branch.tools.d.ts +7 -2
  385. package/dist/src/api/mcp-api/tools/branch.tools.js +40 -26
  386. package/dist/src/api/mcp-api/tools/branch.tools.js.map +1 -1
  387. package/dist/src/api/mcp-api/tools/endpoint.tools.d.ts +4 -3
  388. package/dist/src/api/mcp-api/tools/endpoint.tools.js +20 -19
  389. package/dist/src/api/mcp-api/tools/endpoint.tools.js.map +1 -1
  390. package/dist/src/api/mcp-api/tools/file.tools.d.ts +5 -3
  391. package/dist/src/api/mcp-api/tools/file.tools.js +13 -9
  392. package/dist/src/api/mcp-api/tools/file.tools.js.map +1 -1
  393. package/dist/src/api/mcp-api/tools/mcp-helpers.d.ts +17 -0
  394. package/dist/src/api/mcp-api/tools/mcp-helpers.js +60 -0
  395. package/dist/src/api/mcp-api/tools/mcp-helpers.js.map +1 -0
  396. package/dist/src/api/mcp-api/tools/migration.tools.d.ts +5 -5
  397. package/dist/src/api/mcp-api/tools/migration.tools.js +14 -15
  398. package/dist/src/api/mcp-api/tools/migration.tools.js.map +1 -1
  399. package/dist/src/api/mcp-api/tools/project.tools.d.ts +2 -2
  400. package/dist/src/api/mcp-api/tools/project.tools.js +8 -9
  401. package/dist/src/api/mcp-api/tools/project.tools.js.map +1 -1
  402. package/dist/src/api/mcp-api/tools/revision-changes.tools.d.ts +9 -3
  403. package/dist/src/api/mcp-api/tools/revision-changes.tools.js +18 -13
  404. package/dist/src/api/mcp-api/tools/revision-changes.tools.js.map +1 -1
  405. package/dist/src/api/mcp-api/tools/revision.tools.d.ts +7 -4
  406. package/dist/src/api/mcp-api/tools/revision.tools.js +40 -17
  407. package/dist/src/api/mcp-api/tools/revision.tools.js.map +1 -1
  408. package/dist/src/api/mcp-api/tools/row.tools.d.ts +10 -8
  409. package/dist/src/api/mcp-api/tools/row.tools.js +164 -77
  410. package/dist/src/api/mcp-api/tools/row.tools.js.map +1 -1
  411. package/dist/src/api/mcp-api/tools/table.tools.d.ts +6 -4
  412. package/dist/src/api/mcp-api/tools/table.tools.js +202 -42
  413. package/dist/src/api/mcp-api/tools/table.tools.js.map +1 -1
  414. package/dist/src/api/mcp-api/uri/index.d.ts +6 -0
  415. package/dist/src/api/mcp-api/uri/index.js +15 -0
  416. package/dist/src/api/mcp-api/uri/index.js.map +1 -0
  417. package/dist/src/api/mcp-api/uri/parse-revisium-uri.d.ts +7 -0
  418. package/dist/src/api/mcp-api/uri/parse-revisium-uri.js +56 -0
  419. package/dist/src/api/mcp-api/uri/parse-revisium-uri.js.map +1 -0
  420. package/dist/src/api/mcp-api/uri/resolve-revision-id.d.ts +21 -0
  421. package/dist/src/api/mcp-api/uri/resolve-revision-id.js +44 -0
  422. package/dist/src/api/mcp-api/uri/resolve-revision-id.js.map +1 -0
  423. package/dist/src/api/mcp-api/uri/revision-id-schema.d.ts +15 -0
  424. package/dist/src/api/mcp-api/uri/revision-id-schema.js +43 -0
  425. package/dist/src/api/mcp-api/uri/revision-id-schema.js.map +1 -0
  426. package/dist/src/api/mcp-api/uri/uri-revision-resolver.d.ts +9 -0
  427. package/dist/src/api/mcp-api/uri/uri-revision-resolver.js +30 -0
  428. package/dist/src/api/mcp-api/uri/uri-revision-resolver.js.map +1 -0
  429. package/dist/src/api/rest-api/auth/auth.controller.d.ts +16 -3
  430. package/dist/src/api/rest-api/auth/auth.controller.js +165 -11
  431. package/dist/src/api/rest-api/auth/auth.controller.js.map +1 -1
  432. package/dist/src/api/rest-api/auth/dto/create-user.dto.js +12 -0
  433. package/dist/src/api/rest-api/auth/dto/create-user.dto.js.map +1 -1
  434. package/dist/src/api/rest-api/auth/dto/login.dto.js +6 -0
  435. package/dist/src/api/rest-api/auth/dto/login.dto.js.map +1 -1
  436. package/dist/src/api/rest-api/auth/model/login.response.d.ts +4 -0
  437. package/dist/src/api/rest-api/auth/model/login.response.js +12 -1
  438. package/dist/src/api/rest-api/auth/model/login.response.js.map +1 -1
  439. package/dist/src/api/rest-api/branch/branch-by-name.controller.d.ts +11 -6
  440. package/dist/src/api/rest-api/branch/branch-by-name.controller.js +40 -27
  441. package/dist/src/api/rest-api/branch/branch-by-name.controller.js.map +1 -1
  442. package/dist/src/api/rest-api/configuration/configuration.controller.d.ts +1 -1
  443. package/dist/src/api/rest-api/configuration/configuration.controller.js +2 -2
  444. package/dist/src/api/rest-api/configuration/configuration.controller.js.map +1 -1
  445. package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.d.ts +1 -1
  446. package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.js +3 -2
  447. package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.js.map +1 -1
  448. package/dist/src/api/rest-api/init-swagger.js +6 -0
  449. package/dist/src/api/rest-api/init-swagger.js.map +1 -1
  450. package/dist/src/api/rest-api/organization/model/users-organization.model.d.ts +1 -1
  451. package/dist/src/api/rest-api/organization/model/users-organization.model.js +6 -6
  452. package/dist/src/api/rest-api/organization/model/users-organization.model.js.map +1 -1
  453. package/dist/src/api/rest-api/organization/organization.controller.d.ts +6 -2
  454. package/dist/src/api/rest-api/organization/organization.controller.js +17 -11
  455. package/dist/src/api/rest-api/organization/organization.controller.js.map +1 -1
  456. package/dist/src/api/rest-api/project/model/users-project.model.d.ts +1 -1
  457. package/dist/src/api/rest-api/project/model/users-project.model.js +6 -6
  458. package/dist/src/api/rest-api/project/model/users-project.model.js.map +1 -1
  459. package/dist/src/api/rest-api/project/project.controller.d.ts +1 -1
  460. package/dist/src/api/rest-api/project/project.controller.js +1 -0
  461. package/dist/src/api/rest-api/project/project.controller.js.map +1 -1
  462. package/dist/src/api/rest-api/rest-api.module.js +0 -2
  463. package/dist/src/api/rest-api/rest-api.module.js.map +1 -1
  464. package/dist/src/api/rest-api/revision/revision-by-id.controller.d.ts +18 -14
  465. package/dist/src/api/rest-api/revision/revision-by-id.controller.js +36 -30
  466. package/dist/src/api/rest-api/revision/revision-by-id.controller.js.map +1 -1
  467. package/dist/src/api/rest-api/row/row-by-id.controller.d.ts +10 -9
  468. package/dist/src/api/rest-api/row/row-by-id.controller.js +25 -24
  469. package/dist/src/api/rest-api/row/row-by-id.controller.js.map +1 -1
  470. package/dist/src/api/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +1 -1
  471. package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +1 -1
  472. package/dist/src/api/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +1 -1
  473. package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +2 -2
  474. package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +1 -1
  475. package/dist/src/api/rest-api/table/table-by-id.controller.d.ts +23 -12
  476. package/dist/src/api/rest-api/table/table-by-id.controller.js +59 -48
  477. package/dist/src/api/rest-api/table/table-by-id.controller.js.map +1 -1
  478. package/dist/src/api/rest-api/user/user.controller.js +1 -0
  479. package/dist/src/api/rest-api/user/user.controller.js.map +1 -1
  480. package/dist/src/api/utils/mapToPrismaOrderBy.d.ts +1 -1
  481. package/dist/src/core/core-engine.module.d.ts +8 -0
  482. package/dist/src/core/core-engine.module.js +73 -0
  483. package/dist/src/core/core-engine.module.js.map +1 -0
  484. package/dist/src/core/core.module.d.ts +4 -1
  485. package/dist/src/core/core.module.js +12 -2
  486. package/dist/src/core/core.module.js.map +1 -1
  487. package/dist/src/core/shared/billing-check.service.d.ts +13 -0
  488. package/dist/src/core/shared/billing-check.service.js +71 -0
  489. package/dist/src/core/shared/billing-check.service.js.map +1 -0
  490. package/dist/src/core/shared/endpoint-notifier.service.d.ts +9 -0
  491. package/dist/src/core/shared/endpoint-notifier.service.js +46 -0
  492. package/dist/src/core/shared/endpoint-notifier.service.js.map +1 -0
  493. package/dist/src/core/shared/shared.module.d.ts +2 -0
  494. package/dist/src/core/shared/shared.module.js +26 -0
  495. package/dist/src/core/shared/shared.module.js.map +1 -0
  496. package/dist/src/features/api-key/api-key-api.service.d.ts +39 -0
  497. package/dist/src/features/api-key/api-key-api.service.js +138 -0
  498. package/dist/src/features/api-key/api-key-api.service.js.map +1 -0
  499. package/dist/src/features/api-key/api-key-scope.service.d.ts +19 -0
  500. package/dist/src/features/api-key/api-key-scope.service.js +80 -0
  501. package/dist/src/features/api-key/api-key-scope.service.js.map +1 -0
  502. package/dist/src/features/api-key/api-key-tracking.service.d.ts +13 -0
  503. package/dist/src/features/api-key/api-key-tracking.service.js +83 -0
  504. package/dist/src/features/api-key/api-key-tracking.service.js.map +1 -0
  505. package/dist/src/features/api-key/api-key.module.d.ts +2 -0
  506. package/dist/src/features/api-key/api-key.module.js +43 -0
  507. package/dist/src/features/api-key/api-key.module.js.map +1 -0
  508. package/dist/src/features/api-key/api-key.service.d.ts +37 -0
  509. package/dist/src/features/api-key/api-key.service.js +51 -0
  510. package/dist/src/features/api-key/api-key.service.js.map +1 -0
  511. package/dist/src/features/api-key/commands/handlers/create-api-key.handler.d.ts +19 -0
  512. package/dist/src/features/api-key/commands/handlers/create-api-key.handler.js +219 -0
  513. package/dist/src/features/api-key/commands/handlers/create-api-key.handler.js.map +1 -0
  514. package/dist/src/features/api-key/commands/handlers/index.d.ts +3 -0
  515. package/dist/src/features/api-key/commands/handlers/index.js +20 -0
  516. package/dist/src/features/api-key/commands/handlers/index.js.map +1 -0
  517. package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.d.ts +10 -0
  518. package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.js +46 -0
  519. package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.js.map +1 -0
  520. package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.d.ts +14 -0
  521. package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.js +94 -0
  522. package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.js.map +1 -0
  523. package/dist/src/features/api-key/commands/impl/create-api-key.command.d.ts +37 -0
  524. package/dist/src/features/api-key/commands/impl/create-api-key.command.js +10 -0
  525. package/dist/src/features/api-key/commands/impl/create-api-key.command.js.map +1 -0
  526. package/dist/src/features/api-key/commands/impl/index.d.ts +3 -0
  527. package/dist/src/features/api-key/commands/impl/index.js +20 -0
  528. package/dist/src/features/api-key/commands/impl/index.js.map +1 -0
  529. package/dist/src/features/api-key/commands/impl/revoke-api-key.command.d.ts +9 -0
  530. package/dist/src/features/api-key/commands/impl/revoke-api-key.command.js +10 -0
  531. package/dist/src/features/api-key/commands/impl/revoke-api-key.command.js.map +1 -0
  532. package/dist/src/features/api-key/commands/impl/rotate-api-key.command.d.ts +12 -0
  533. package/dist/src/features/api-key/commands/impl/rotate-api-key.command.js +10 -0
  534. package/dist/src/features/api-key/commands/impl/rotate-api-key.command.js.map +1 -0
  535. package/dist/src/features/api-key/commands/index.d.ts +2 -0
  536. package/dist/src/features/api-key/commands/index.js +10 -0
  537. package/dist/src/features/api-key/commands/index.js.map +1 -0
  538. package/dist/src/features/api-key/internal-key-bootstrap.service.d.ts +23 -0
  539. package/dist/src/features/api-key/internal-key-bootstrap.service.js +170 -0
  540. package/dist/src/features/api-key/internal-key-bootstrap.service.js.map +1 -0
  541. package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.d.ts +8 -0
  542. package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.js +37 -0
  543. package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.js.map +1 -0
  544. package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.d.ts +8 -0
  545. package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.js +43 -0
  546. package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.js.map +1 -0
  547. package/dist/src/features/api-key/queries/handlers/index.d.ts +2 -0
  548. package/dist/src/features/api-key/queries/handlers/index.js +19 -0
  549. package/dist/src/features/api-key/queries/handlers/index.js.map +1 -0
  550. package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.d.ts +14 -0
  551. package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.js +10 -0
  552. package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.js.map +1 -0
  553. package/dist/src/features/api-key/queries/impl/get-api-keys.query.d.ts +20 -0
  554. package/dist/src/features/api-key/queries/impl/get-api-keys.query.js +10 -0
  555. package/dist/src/features/api-key/queries/impl/get-api-keys.query.js.map +1 -0
  556. package/dist/src/features/api-key/queries/impl/index.d.ts +2 -0
  557. package/dist/src/features/api-key/queries/impl/index.js +19 -0
  558. package/dist/src/features/api-key/queries/impl/index.js.map +1 -0
  559. package/dist/src/features/api-key/queries/index.d.ts +2 -0
  560. package/dist/src/features/api-key/queries/index.js +6 -0
  561. package/dist/src/features/api-key/queries/index.js.map +1 -0
  562. package/dist/src/features/auth/auth.module.js +27 -0
  563. package/dist/src/features/auth/auth.module.js.map +1 -1
  564. package/dist/src/features/auth/auth.service.d.ts +34 -6
  565. package/dist/src/features/auth/auth.service.js +82 -7
  566. package/dist/src/features/auth/auth.service.js.map +1 -1
  567. package/dist/src/features/auth/casl-ability.factory.d.ts +5 -2
  568. package/dist/src/features/auth/casl-ability.factory.js +27 -0
  569. package/dist/src/features/auth/casl-ability.factory.js.map +1 -1
  570. package/dist/src/features/auth/commands/auth-api.service.d.ts +4 -1
  571. package/dist/src/features/auth/commands/auth-api.service.js +8 -2
  572. package/dist/src/features/auth/commands/auth-api.service.js.map +1 -1
  573. package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.d.ts +1 -3
  574. package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js +5 -8
  575. package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js.map +1 -1
  576. package/dist/src/features/auth/commands/handlers/create-user.handler.d.ts +1 -1
  577. package/dist/src/features/auth/commands/handlers/create-user.handler.js +2 -2
  578. package/dist/src/features/auth/commands/handlers/create-user.handler.js.map +1 -1
  579. package/dist/src/features/auth/commands/handlers/login-github.handler.d.ts +1 -3
  580. package/dist/src/features/auth/commands/handlers/login-github.handler.js +4 -7
  581. package/dist/src/features/auth/commands/handlers/login-github.handler.js.map +1 -1
  582. package/dist/src/features/auth/commands/handlers/login-google.handler.d.ts +1 -3
  583. package/dist/src/features/auth/commands/handlers/login-google.handler.js +4 -7
  584. package/dist/src/features/auth/commands/handlers/login-google.handler.js.map +1 -1
  585. package/dist/src/features/auth/commands/handlers/login.handler.js +58 -20
  586. package/dist/src/features/auth/commands/handlers/login.handler.js.map +1 -1
  587. package/dist/src/features/auth/commands/impl/confirm-email-code.command.d.ts +6 -0
  588. package/dist/src/features/auth/commands/impl/confirm-email-code.command.js.map +1 -1
  589. package/dist/src/features/auth/commands/impl/login-github.command.d.ts +6 -0
  590. package/dist/src/features/auth/commands/impl/login-github.command.js.map +1 -1
  591. package/dist/src/features/auth/commands/impl/login-google.command.d.ts +6 -0
  592. package/dist/src/features/auth/commands/impl/login-google.command.js.map +1 -1
  593. package/dist/src/features/auth/commands/impl/login.command.d.ts +6 -0
  594. package/dist/src/features/auth/commands/impl/login.command.js.map +1 -1
  595. package/dist/src/features/auth/commands/index.d.ts +10 -2
  596. package/dist/src/features/auth/commands/index.js +18 -10
  597. package/dist/src/features/auth/commands/index.js.map +1 -1
  598. package/dist/src/features/auth/consts.d.ts +6 -2
  599. package/dist/src/features/auth/consts.js +4 -0
  600. package/dist/src/features/auth/consts.js.map +1 -1
  601. package/dist/src/features/auth/guards/base-persmission.guard.d.ts +17 -2
  602. package/dist/src/features/auth/guards/base-persmission.guard.js +86 -8
  603. package/dist/src/features/auth/guards/base-persmission.guard.js.map +1 -1
  604. package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.d.ts +6 -9
  605. package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.js +6 -18
  606. package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.js.map +1 -1
  607. package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.d.ts +6 -8
  608. package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.js +6 -12
  609. package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.js.map +1 -1
  610. package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.d.ts +6 -10
  611. package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js +6 -24
  612. package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js.map +1 -1
  613. package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.d.ts +6 -9
  614. package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.js +6 -15
  615. package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.js.map +1 -1
  616. package/dist/src/features/auth/guards/organization.guard.d.ts +3 -0
  617. package/dist/src/features/auth/guards/organization.guard.js +5 -0
  618. package/dist/src/features/auth/guards/organization.guard.js.map +1 -1
  619. package/dist/src/features/auth/guards/project.guard.d.ts +8 -0
  620. package/dist/src/features/auth/guards/project.guard.js +8 -0
  621. package/dist/src/features/auth/guards/project.guard.js.map +1 -1
  622. package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.d.ts +24 -0
  623. package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.js +86 -0
  624. package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.js.map +1 -0
  625. package/dist/src/features/auth/guards/universal/http-universal-auth.guard.d.ts +22 -0
  626. package/dist/src/features/auth/guards/universal/http-universal-auth.guard.js +75 -0
  627. package/dist/src/features/auth/guards/universal/http-universal-auth.guard.js.map +1 -0
  628. package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.d.ts +1 -0
  629. package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.js +14 -0
  630. package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.js.map +1 -0
  631. package/dist/src/features/auth/guards/universal-auth.service.d.ts +31 -0
  632. package/dist/src/features/auth/guards/universal-auth.service.js +193 -0
  633. package/dist/src/features/auth/guards/universal-auth.service.js.map +1 -0
  634. package/dist/src/features/auth/services/cookie.service.d.ts +20 -0
  635. package/dist/src/features/auth/services/cookie.service.js +94 -0
  636. package/dist/src/features/auth/services/cookie.service.js.map +1 -0
  637. package/dist/src/features/auth/services/refresh-token.service.d.ts +34 -0
  638. package/dist/src/features/auth/services/refresh-token.service.js +249 -0
  639. package/dist/src/features/auth/services/refresh-token.service.js.map +1 -0
  640. package/dist/src/features/auth/strategy/jwt.strategy.d.ts +18 -2
  641. package/dist/src/features/auth/strategy/jwt.strategy.js +42 -4
  642. package/dist/src/features/auth/strategy/jwt.strategy.js.map +1 -1
  643. package/dist/src/features/auth/types.d.ts +23 -4
  644. package/dist/src/features/billing/billing-graphql.interface.d.ts +76 -0
  645. package/dist/src/features/billing/billing-graphql.interface.js +5 -0
  646. package/dist/src/features/billing/billing-graphql.interface.js.map +1 -0
  647. package/dist/src/features/billing/billing.module.d.ts +2 -0
  648. package/dist/src/features/billing/billing.module.js +34 -0
  649. package/dist/src/features/billing/billing.module.js.map +1 -0
  650. package/dist/src/features/billing/limit-exceeded.exception.d.ts +5 -0
  651. package/dist/src/features/billing/limit-exceeded.exception.js +18 -0
  652. package/dist/src/features/billing/limit-exceeded.exception.js.map +1 -0
  653. package/dist/src/features/billing/limits.interface.d.ts +25 -0
  654. package/dist/src/features/billing/limits.interface.js +17 -0
  655. package/dist/src/features/billing/limits.interface.js.map +1 -0
  656. package/dist/src/features/billing/noop-billing-graphql.service.d.ts +15 -0
  657. package/dist/src/features/billing/noop-billing-graphql.service.js +47 -0
  658. package/dist/src/features/billing/noop-billing-graphql.service.js.map +1 -0
  659. package/dist/src/features/billing/noop-limits.service.d.ts +8 -0
  660. package/dist/src/features/billing/noop-limits.service.js +20 -0
  661. package/dist/src/features/billing/noop-limits.service.js.map +1 -0
  662. package/dist/src/features/branch/branch-api.service.d.ts +21 -72
  663. package/dist/src/features/branch/branch-api.service.js +33 -33
  664. package/dist/src/features/branch/branch-api.service.js.map +1 -1
  665. package/dist/src/features/branch/branch.module.js +4 -10
  666. package/dist/src/features/branch/branch.module.js.map +1 -1
  667. package/dist/src/features/branch/commands/handlers/create-branch.handler.d.ts +10 -0
  668. package/dist/src/features/branch/commands/handlers/create-branch.handler.js +34 -0
  669. package/dist/src/features/branch/commands/handlers/create-branch.handler.js.map +1 -0
  670. package/dist/src/features/branch/commands/handlers/index.d.ts +2 -4
  671. package/dist/src/features/branch/commands/handlers/index.js +3 -9
  672. package/dist/src/features/branch/commands/handlers/index.js.map +1 -1
  673. package/dist/src/features/branch/commands/impl/create-branch.command.d.ts +6 -0
  674. package/dist/src/features/branch/commands/impl/create-branch.command.js +10 -0
  675. package/dist/src/features/branch/commands/impl/create-branch.command.js.map +1 -0
  676. package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.d.ts +8 -1
  677. package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js +39 -13
  678. package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js.map +1 -1
  679. package/dist/src/features/endpoint/endpoint.module.js +2 -1
  680. package/dist/src/features/endpoint/endpoint.module.js.map +1 -1
  681. package/dist/src/features/endpoint/queries/impl/get-project-endpoints.query.d.ts +1 -1
  682. package/dist/src/features/oauth/oauth.controller.d.ts +12 -9
  683. package/dist/src/features/oauth/oauth.controller.js +84 -53
  684. package/dist/src/features/oauth/oauth.controller.js.map +1 -1
  685. package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.d.ts +5 -3
  686. package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js +20 -7
  687. package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js.map +1 -1
  688. package/dist/src/features/organization/commands/index.d.ts +2 -1
  689. package/dist/src/features/organization/commands/index.js +4 -3
  690. package/dist/src/features/organization/commands/index.js.map +1 -1
  691. package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +1 -1
  692. package/dist/src/features/organization/queries/handlers/get-users-organization.handler.d.ts +3 -1
  693. package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js +1 -0
  694. package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js.map +1 -1
  695. package/dist/src/features/organization/queries/impl/get-projects-by-organization-id.query.d.ts +1 -1
  696. package/dist/src/features/organization/queries/impl/get-users-organization.query.d.ts +2 -1
  697. package/dist/src/features/organization/queries/index.d.ts +2 -2
  698. package/dist/src/features/organization/queries/index.js +2 -2
  699. package/dist/src/features/organization/queries/index.js.map +1 -1
  700. package/dist/src/features/plugin/file/file.plugin.d.ts +3 -5
  701. package/dist/src/features/plugin/file/file.plugin.js +10 -10
  702. package/dist/src/features/plugin/file/file.plugin.js.map +1 -1
  703. package/dist/src/features/plugin/formula/formula-validation.service.d.ts +1 -1
  704. package/dist/src/features/plugin/formula/formula-validation.service.js +2 -2
  705. package/dist/src/features/plugin/formula/formula-validation.service.js.map +1 -1
  706. package/dist/src/features/plugin/index.d.ts +1 -1
  707. package/dist/src/features/plugin/plugin.module.js +5 -4
  708. package/dist/src/features/plugin/plugin.module.js.map +1 -1
  709. package/dist/src/features/plugin/plugin.service.d.ts +2 -2
  710. package/dist/src/features/plugin/plugin.service.js +2 -2
  711. package/dist/src/features/plugin/plugin.service.js.map +1 -1
  712. package/dist/src/features/project/commands/handlers/add-user-to-project.handler.d.ts +1 -1
  713. package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js +2 -2
  714. package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js.map +1 -1
  715. package/dist/src/features/project/commands/handlers/api-create-project.handler.d.ts +3 -1
  716. package/dist/src/features/project/commands/handlers/api-create-project.handler.js +8 -2
  717. package/dist/src/features/project/commands/handlers/api-create-project.handler.js.map +1 -1
  718. package/dist/src/features/project/commands/handlers/create-project.handler.d.ts +4 -2
  719. package/dist/src/features/project/commands/handlers/create-project.handler.js +18 -12
  720. package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -1
  721. package/dist/src/features/project/commands/handlers/update-project.handler.d.ts +3 -1
  722. package/dist/src/features/project/commands/handlers/update-project.handler.js +8 -3
  723. package/dist/src/features/project/commands/handlers/update-project.handler.js.map +1 -1
  724. package/dist/src/features/project/project-api.service.d.ts +2 -1
  725. package/dist/src/features/project/project-api.service.js +3 -0
  726. package/dist/src/features/project/project-api.service.js.map +1 -1
  727. package/dist/src/features/project/queries/handlers/get-all-branches-by-project.handler.d.ts +1 -1
  728. package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.d.ts +15 -0
  729. package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.js +31 -0
  730. package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.js.map +1 -0
  731. package/dist/src/features/project/queries/handlers/get-users-project.handler.d.ts +2 -1
  732. package/dist/src/features/project/queries/handlers/index.d.ts +2 -1
  733. package/dist/src/features/project/queries/handlers/index.js +2 -0
  734. package/dist/src/features/project/queries/handlers/index.js.map +1 -1
  735. package/dist/src/features/project/queries/impl/get-all-branches-by-project.query.d.ts +1 -1
  736. package/dist/src/features/project/queries/impl/get-projects-by-ids.query.d.ts +11 -0
  737. package/dist/src/features/project/queries/impl/get-projects-by-ids.query.js +10 -0
  738. package/dist/src/features/project/queries/impl/get-projects-by-ids.query.js.map +1 -0
  739. package/dist/src/features/project/queries/impl/get-users-project.query.d.ts +1 -1
  740. package/dist/src/features/project/queries/impl/index.d.ts +1 -0
  741. package/dist/src/features/project/queries/impl/index.js +1 -0
  742. package/dist/src/features/project/queries/impl/index.js.map +1 -1
  743. package/dist/src/features/revision/commands/handlers/create-revision.handler.d.ts +14 -0
  744. package/dist/src/features/revision/commands/handlers/create-revision.handler.js +85 -0
  745. package/dist/src/features/revision/commands/handlers/create-revision.handler.js.map +1 -0
  746. package/dist/src/features/revision/commands/handlers/index.d.ts +3 -0
  747. package/dist/src/features/revision/commands/handlers/index.js +10 -0
  748. package/dist/src/features/revision/commands/handlers/index.js.map +1 -0
  749. package/dist/src/features/revision/commands/handlers/revert-changes.handler.d.ts +9 -0
  750. package/dist/src/features/revision/commands/handlers/revert-changes.handler.js +37 -0
  751. package/dist/src/features/revision/commands/handlers/revert-changes.handler.js.map +1 -0
  752. package/dist/src/features/revision/commands/impl/create-revision.command.d.ts +5 -0
  753. package/dist/src/features/revision/commands/impl/create-revision.command.js.map +1 -0
  754. package/dist/src/features/revision/commands/impl/revert-changes.command.d.ts +5 -0
  755. package/dist/src/features/revision/commands/impl/revert-changes.command.js.map +1 -0
  756. package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +2 -2
  757. package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js +2 -2
  758. package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js.map +1 -1
  759. package/dist/src/features/revision/queries/impl/get-endpoints-by-revision-id.query.d.ts +1 -1
  760. package/dist/src/features/revision/revision.module.js +4 -4
  761. package/dist/src/features/revision/revision.module.js.map +1 -1
  762. package/dist/src/features/revision/revisions-api.service.d.ts +18 -30
  763. package/dist/src/features/revision/revisions-api.service.js +35 -21
  764. package/dist/src/features/revision/revisions-api.service.js.map +1 -1
  765. package/dist/src/features/revision-changes/revision-changes.module.js +1 -31
  766. package/dist/src/features/revision-changes/revision-changes.module.js.map +1 -1
  767. package/dist/src/features/role/queries/handlers/get-role-permissions.handler.d.ts +1 -1
  768. package/dist/src/features/role/role-api.service.d.ts +2 -1
  769. package/dist/src/features/role/role-api.service.js +4 -3
  770. package/dist/src/features/role/role-api.service.js.map +1 -1
  771. package/dist/src/features/row/commands/handlers/create-row.handler.d.ts +11 -0
  772. package/dist/src/features/row/commands/handlers/create-row.handler.js +42 -0
  773. package/dist/src/features/row/commands/handlers/create-row.handler.js.map +1 -0
  774. package/dist/src/features/row/commands/handlers/create-rows.handler.d.ts +11 -0
  775. package/dist/src/features/row/commands/handlers/create-rows.handler.js +41 -0
  776. package/dist/src/features/row/commands/handlers/create-rows.handler.js.map +1 -0
  777. package/dist/src/features/row/commands/handlers/index.d.ts +11 -0
  778. package/dist/src/features/row/commands/handlers/index.js +26 -0
  779. package/dist/src/features/row/commands/handlers/index.js.map +1 -0
  780. package/dist/src/features/row/commands/handlers/patch-row.handler.d.ts +11 -0
  781. package/dist/src/features/row/commands/handlers/patch-row.handler.js +41 -0
  782. package/dist/src/features/row/commands/handlers/patch-row.handler.js.map +1 -0
  783. package/dist/src/features/row/commands/handlers/patch-rows.handler.d.ts +11 -0
  784. package/dist/src/features/row/commands/handlers/patch-rows.handler.js +40 -0
  785. package/dist/src/features/row/commands/handlers/patch-rows.handler.js.map +1 -0
  786. package/dist/src/features/row/commands/handlers/remove-row.handler.d.ts +9 -0
  787. package/dist/src/features/row/commands/handlers/remove-row.handler.js +36 -0
  788. package/dist/src/features/row/commands/handlers/remove-row.handler.js.map +1 -0
  789. package/dist/src/features/row/commands/handlers/remove-rows.handler.d.ts +9 -0
  790. package/dist/src/features/row/commands/handlers/remove-rows.handler.js +36 -0
  791. package/dist/src/features/row/commands/handlers/remove-rows.handler.js.map +1 -0
  792. package/dist/src/features/row/commands/handlers/rename-row.handler.d.ts +11 -0
  793. package/dist/src/features/row/commands/handlers/rename-row.handler.js +41 -0
  794. package/dist/src/features/row/commands/handlers/rename-row.handler.js.map +1 -0
  795. package/dist/src/features/row/commands/handlers/update-row.handler.d.ts +11 -0
  796. package/dist/src/features/row/commands/handlers/update-row.handler.js +41 -0
  797. package/dist/src/features/row/commands/handlers/update-row.handler.js.map +1 -0
  798. package/dist/src/features/row/commands/handlers/update-rows.handler.d.ts +11 -0
  799. package/dist/src/features/row/commands/handlers/update-rows.handler.js +40 -0
  800. package/dist/src/features/row/commands/handlers/update-rows.handler.js.map +1 -0
  801. package/dist/src/features/row/commands/handlers/upload-file.handler.d.ts +11 -0
  802. package/dist/src/features/row/commands/handlers/upload-file.handler.js +41 -0
  803. package/dist/src/features/row/commands/handlers/upload-file.handler.js.map +1 -0
  804. package/dist/src/features/row/commands/impl/create-row.command.d.ts +5 -0
  805. package/dist/src/features/row/commands/impl/create-row.command.js +10 -0
  806. package/dist/src/features/row/commands/impl/create-row.command.js.map +1 -0
  807. package/dist/src/features/row/commands/impl/create-rows.command.d.ts +5 -0
  808. package/dist/src/features/row/commands/impl/create-rows.command.js.map +1 -0
  809. package/dist/src/features/row/commands/impl/patch-row.command.d.ts +5 -0
  810. package/dist/src/features/row/commands/impl/patch-row.command.js +10 -0
  811. package/dist/src/features/row/commands/impl/patch-row.command.js.map +1 -0
  812. package/dist/src/features/row/commands/impl/patch-rows.command.d.ts +5 -0
  813. package/dist/src/features/row/commands/impl/patch-rows.command.js.map +1 -0
  814. package/dist/src/features/row/commands/impl/remove-row.command.d.ts +5 -0
  815. package/dist/src/features/row/commands/impl/remove-row.command.js +10 -0
  816. package/dist/src/features/row/commands/impl/remove-row.command.js.map +1 -0
  817. package/dist/src/features/row/commands/impl/remove-rows.command.d.ts +5 -0
  818. package/dist/src/features/row/commands/impl/remove-rows.command.js.map +1 -0
  819. package/dist/src/features/row/commands/impl/rename-row.command.d.ts +5 -0
  820. package/dist/src/features/row/commands/impl/rename-row.command.js.map +1 -0
  821. package/dist/src/features/row/commands/impl/update-row.command.d.ts +5 -0
  822. package/dist/src/features/row/commands/impl/update-row.command.js +10 -0
  823. package/dist/src/features/row/commands/impl/update-row.command.js.map +1 -0
  824. package/dist/src/features/row/commands/impl/update-rows.command.d.ts +5 -0
  825. package/dist/src/features/row/commands/impl/update-rows.command.js.map +1 -0
  826. package/dist/src/features/row/commands/impl/upload-file.command.d.ts +5 -0
  827. package/dist/src/features/row/commands/impl/upload-file.command.js +10 -0
  828. package/dist/src/features/row/commands/impl/upload-file.command.js.map +1 -0
  829. package/dist/src/features/row/row-api.service.d.ts +25 -12
  830. package/dist/src/features/row/row-api.service.js +67 -18
  831. package/dist/src/features/row/row-api.service.js.map +1 -1
  832. package/dist/src/features/row/row.module.js +13 -8
  833. package/dist/src/features/row/row.module.js.map +1 -1
  834. package/dist/src/features/row/utils/extract-matches-fallback.d.ts +1 -1
  835. package/dist/src/features/row/utils/get-rows-sql.js +10 -1
  836. package/dist/src/features/row/utils/get-rows-sql.js.map +1 -1
  837. package/dist/src/features/share/commands/utils/getOffsetPagination.d.ts +1 -1
  838. package/dist/src/features/share/foreign-keys.service.d.ts +4 -4
  839. package/dist/src/features/share/json-schema-validator.service.js +9 -13
  840. package/dist/src/features/share/json-schema-validator.service.js.map +1 -1
  841. package/dist/src/features/share/schema/plugins/index.d.ts +1 -9
  842. package/dist/src/features/share/schema/plugins/index.js +20 -23
  843. package/dist/src/features/share/schema/plugins/index.js.map +1 -1
  844. package/dist/src/features/share/share.module.js +3 -3
  845. package/dist/src/features/share/share.module.js.map +1 -1
  846. package/dist/src/features/share/system-tables.consts.js +4 -6
  847. package/dist/src/features/share/system-tables.consts.js.map +1 -1
  848. package/dist/src/features/share/system-tables.service.d.ts +1 -1
  849. package/dist/src/features/share/system-tables.service.js +2 -2
  850. package/dist/src/features/share/system-tables.service.js.map +1 -1
  851. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.d.ts +1 -1
  852. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js +6 -7
  853. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js.map +1 -1
  854. package/dist/src/features/sub-schema/sub-schema.module.js +0 -4
  855. package/dist/src/features/sub-schema/sub-schema.module.js.map +1 -1
  856. package/dist/src/features/sub-schema/utils/unquote-field-path.d.ts +1 -0
  857. package/dist/src/features/sub-schema/utils/unquote-field-path.js +7 -0
  858. package/dist/src/features/sub-schema/utils/unquote-field-path.js.map +1 -0
  859. package/dist/src/features/table/commands/handlers/create-table.handler.d.ts +13 -0
  860. package/dist/src/features/table/commands/handlers/create-table.handler.js +45 -0
  861. package/dist/src/features/table/commands/handlers/create-table.handler.js.map +1 -0
  862. package/dist/src/features/table/commands/handlers/index.d.ts +5 -0
  863. package/dist/src/features/table/commands/handlers/index.js +14 -0
  864. package/dist/src/features/table/commands/handlers/index.js.map +1 -0
  865. package/dist/src/features/table/commands/handlers/remove-table.handler.d.ts +11 -0
  866. package/dist/src/features/table/commands/handlers/remove-table.handler.js +40 -0
  867. package/dist/src/features/table/commands/handlers/remove-table.handler.js.map +1 -0
  868. package/dist/src/features/table/commands/handlers/rename-table.handler.d.ts +11 -0
  869. package/dist/src/features/table/commands/handlers/rename-table.handler.js +40 -0
  870. package/dist/src/features/table/commands/handlers/rename-table.handler.js.map +1 -0
  871. package/dist/src/features/table/commands/handlers/update-table.handler.d.ts +11 -0
  872. package/dist/src/features/table/commands/handlers/update-table.handler.js +40 -0
  873. package/dist/src/features/table/commands/handlers/update-table.handler.js.map +1 -0
  874. package/dist/src/features/table/commands/impl/create-table.command.d.ts +5 -0
  875. package/dist/src/features/table/commands/impl/create-table.command.js.map +1 -0
  876. package/dist/src/features/table/commands/impl/remove-table.command.d.ts +5 -0
  877. package/dist/src/features/table/commands/impl/remove-table.command.js.map +1 -0
  878. package/dist/src/features/table/commands/impl/rename-table.command.d.ts +5 -0
  879. package/dist/src/features/table/commands/impl/rename-table.command.js.map +1 -0
  880. package/dist/src/features/table/commands/impl/update-table.command.d.ts +5 -0
  881. package/dist/src/features/table/commands/impl/update-table.command.js.map +1 -0
  882. package/dist/src/features/table/table-api.service.d.ts +23 -20
  883. package/dist/src/features/table/table-api.service.js +56 -20
  884. package/dist/src/features/table/table-api.service.js.map +1 -1
  885. package/dist/src/features/table/table.module.js +4 -3
  886. package/dist/src/features/table/table.module.js.map +1 -1
  887. package/dist/src/features/user/commands/handlers/set-username.handler.d.ts +1 -1
  888. package/dist/src/features/user/commands/handlers/set-username.handler.js +2 -2
  889. package/dist/src/features/user/commands/handlers/set-username.handler.js.map +1 -1
  890. package/dist/src/features/user/commands/index.d.ts +4 -2
  891. package/dist/src/features/user/commands/index.js +6 -4
  892. package/dist/src/features/user/commands/index.js.map +1 -1
  893. package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.d.ts +1 -1
  894. package/dist/src/features/user/queries/handlers/search-users.handler.d.ts +1 -1
  895. package/dist/src/features/user/queries/impl/get-projects-by-user-id.query.d.ts +1 -1
  896. package/dist/src/features/user/queries/impl/search-users.query.d.ts +1 -1
  897. package/dist/src/features/user/queries/index.d.ts +7 -2
  898. package/dist/src/features/user/queries/index.js +12 -7
  899. package/dist/src/features/user/queries/index.js.map +1 -1
  900. package/dist/src/features/views/services/view-validation.service.d.ts +1 -1
  901. package/dist/src/features/views/services/view-validation.service.js +5 -3
  902. package/dist/src/features/views/services/view-validation.service.js.map +1 -1
  903. package/dist/src/features/views/views.module.js +4 -13
  904. package/dist/src/features/views/views.module.js.map +1 -1
  905. package/dist/src/infrastructure/cache/constants/auth-cache.constants.d.ts +4 -0
  906. package/dist/src/infrastructure/cache/constants/auth-cache.constants.js +4 -0
  907. package/dist/src/infrastructure/cache/constants/auth-cache.constants.js.map +1 -1
  908. package/dist/src/infrastructure/cache/handlers/row/row-renamed.handler.js +5 -0
  909. package/dist/src/infrastructure/cache/handlers/row/row-renamed.handler.js.map +1 -1
  910. package/dist/src/infrastructure/cache/handlers/table/table-renamed.handler.js +4 -0
  911. package/dist/src/infrastructure/cache/handlers/table/table-renamed.handler.js.map +1 -1
  912. package/dist/src/infrastructure/cache/revisium-cache.module.d.ts +2 -0
  913. package/dist/src/infrastructure/cache/revisium-cache.module.js +127 -76
  914. package/dist/src/infrastructure/cache/revisium-cache.module.js.map +1 -1
  915. package/dist/src/infrastructure/cache/services/auth-cache.service.d.ts +4 -0
  916. package/dist/src/infrastructure/cache/services/auth-cache.service.js +29 -0
  917. package/dist/src/infrastructure/cache/services/auth-cache.service.js.map +1 -1
  918. package/dist/src/infrastructure/cache/services/cache-management.service.d.ts +28 -0
  919. package/dist/src/infrastructure/cache/services/cache-management.service.js +92 -0
  920. package/dist/src/infrastructure/cache/services/cache-management.service.js.map +1 -0
  921. package/dist/src/infrastructure/cache/services/cache.service.d.ts +1 -0
  922. package/dist/src/infrastructure/cache/services/cache.service.js +3 -0
  923. package/dist/src/infrastructure/cache/services/cache.service.js.map +1 -1
  924. package/dist/src/infrastructure/cache/services/noop-cache.service.d.ts +1 -0
  925. package/dist/src/infrastructure/cache/services/noop-cache.service.js +3 -0
  926. package/dist/src/infrastructure/cache/services/noop-cache.service.js.map +1 -1
  927. package/dist/src/infrastructure/clean/clean.module.js +8 -2
  928. package/dist/src/infrastructure/clean/clean.module.js.map +1 -1
  929. package/dist/src/infrastructure/clean/file-storage-reconcile.service.d.ts +11 -0
  930. package/dist/src/infrastructure/clean/file-storage-reconcile.service.js +95 -0
  931. package/dist/src/infrastructure/clean/file-storage-reconcile.service.js.map +1 -0
  932. package/dist/src/infrastructure/configuration/configuration-api.service.d.ts +1 -1
  933. package/dist/src/infrastructure/configuration/configuration-api.service.js +2 -2
  934. package/dist/src/infrastructure/configuration/configuration-api.service.js.map +1 -1
  935. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts +4 -2
  936. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +12 -4
  937. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map +1 -1
  938. package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.d.ts +3 -0
  939. package/dist/src/infrastructure/configuration/queries/index.d.ts +1 -1
  940. package/dist/src/infrastructure/configuration/queries/index.js +2 -2
  941. package/dist/src/infrastructure/configuration/queries/index.js.map +1 -1
  942. package/dist/src/infrastructure/database/database.module.js +5 -9
  943. package/dist/src/infrastructure/database/database.module.js.map +1 -1
  944. package/dist/src/infrastructure/database/transaction-prisma.service.d.ts +2 -1
  945. package/dist/src/infrastructure/database/transaction-prisma.service.js +8 -0
  946. package/dist/src/infrastructure/database/transaction-prisma.service.js.map +1 -1
  947. package/dist/src/infrastructure/metrics-api/metrics.controller.js +3 -1
  948. package/dist/src/infrastructure/metrics-api/metrics.controller.js.map +1 -1
  949. package/dist/src/infrastructure/storage/local-storage.service.d.ts +24 -0
  950. package/dist/src/infrastructure/storage/local-storage.service.js +118 -0
  951. package/dist/src/infrastructure/storage/local-storage.service.js.map +1 -0
  952. package/dist/src/infrastructure/storage/null-storage.service.d.ts +10 -0
  953. package/dist/src/infrastructure/storage/null-storage.service.js +32 -0
  954. package/dist/src/infrastructure/storage/null-storage.service.js.map +1 -0
  955. package/dist/src/infrastructure/storage/s3-storage.service.d.ts +19 -0
  956. package/dist/src/infrastructure/storage/s3-storage.service.js +108 -0
  957. package/dist/src/infrastructure/storage/s3-storage.service.js.map +1 -0
  958. package/dist/src/infrastructure/storage/storage.controller.d.ts +7 -0
  959. package/dist/src/infrastructure/storage/storage.controller.js +57 -0
  960. package/dist/src/infrastructure/storage/storage.controller.js.map +1 -0
  961. package/dist/src/infrastructure/storage/storage.interface.d.ts +10 -0
  962. package/dist/src/infrastructure/storage/storage.interface.js +5 -0
  963. package/dist/src/infrastructure/storage/storage.interface.js.map +1 -0
  964. package/dist/src/infrastructure/storage/storage.module.d.ts +2 -0
  965. package/dist/src/infrastructure/storage/storage.module.js +49 -0
  966. package/dist/src/infrastructure/storage/storage.module.js.map +1 -0
  967. package/dist/src/main.js +40 -1
  968. package/dist/src/main.js.map +1 -1
  969. package/dist/src/testing/assertions/find-constraint.js +19 -0
  970. package/dist/src/testing/assertions/find-constraint.js.map +1 -0
  971. package/dist/src/testing/e2e/graphql-helpers.d.ts +30 -0
  972. package/dist/src/testing/e2e/graphql-helpers.js +65 -0
  973. package/dist/src/testing/e2e/graphql-helpers.js.map +1 -0
  974. package/dist/src/testing/e2e/helpers.js +64 -0
  975. package/dist/src/testing/e2e/helpers.js.map +1 -0
  976. package/dist/src/testing/e2e/index.js.map +1 -0
  977. package/dist/src/testing/e2e/readonly-fixture.d.ts +5 -0
  978. package/dist/src/testing/e2e/readonly-fixture.js +31 -0
  979. package/dist/src/testing/e2e/readonly-fixture.js.map +1 -0
  980. package/dist/src/testing/e2e/shared-app/global-setup.d.ts +1 -0
  981. package/dist/src/testing/e2e/shared-app/global-setup.js +83 -0
  982. package/dist/src/testing/e2e/shared-app/global-setup.js.map +1 -0
  983. package/dist/src/testing/e2e/shared-app/global-teardown.d.ts +1 -0
  984. package/dist/src/testing/e2e/shared-app/global-teardown.js +17 -0
  985. package/dist/src/testing/e2e/shared-app/global-teardown.js.map +1 -0
  986. package/dist/src/testing/e2e/shared-app/shared-app-client.d.ts +2 -0
  987. package/dist/src/testing/e2e/shared-app/shared-app-client.js +93 -0
  988. package/dist/src/testing/e2e/shared-app/shared-app-client.js.map +1 -0
  989. package/dist/src/testing/e2e/shared-app/shared-app-info.d.ts +9 -0
  990. package/dist/src/testing/e2e/shared-app/shared-app-info.js +106 -0
  991. package/dist/src/testing/e2e/shared-app/shared-app-info.js.map +1 -0
  992. package/dist/src/testing/e2e/test-app.d.ts +7 -0
  993. package/dist/src/testing/e2e/test-app.js +116 -0
  994. package/dist/src/testing/e2e/test-app.js.map +1 -0
  995. package/dist/src/testing/factories/create-models.d.ts +34 -0
  996. package/dist/src/testing/factories/create-models.js +56 -0
  997. package/dist/src/testing/factories/create-models.js.map +1 -0
  998. package/dist/src/testing/factories/make-file-data.d.ts +13 -0
  999. package/dist/src/testing/factories/make-file-data.js +18 -0
  1000. package/dist/src/testing/factories/make-file-data.js.map +1 -0
  1001. package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.d.ts +15 -0
  1002. package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.js +42 -0
  1003. package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.js.map +1 -0
  1004. package/dist/src/testing/kit/auth-permission/actors.d.ts +30 -0
  1005. package/dist/src/testing/kit/auth-permission/actors.js +74 -0
  1006. package/dist/src/testing/kit/auth-permission/actors.js.map +1 -0
  1007. package/dist/src/testing/kit/auth-permission/assertions.d.ts +4 -0
  1008. package/dist/src/testing/kit/auth-permission/assertions.js +15 -0
  1009. package/dist/src/testing/kit/auth-permission/assertions.js.map +1 -0
  1010. package/dist/src/testing/kit/auth-permission/expect-access.d.ts +12 -0
  1011. package/dist/src/testing/kit/auth-permission/expect-access.js +82 -0
  1012. package/dist/src/testing/kit/auth-permission/expect-access.js.map +1 -0
  1013. package/dist/src/testing/kit/auth-permission/index.d.ts +7 -0
  1014. package/dist/src/testing/kit/auth-permission/index.js +20 -0
  1015. package/dist/src/testing/kit/auth-permission/index.js.map +1 -0
  1016. package/dist/src/testing/kit/auth-permission/matrices.d.ts +10 -0
  1017. package/dist/src/testing/kit/auth-permission/matrices.js +57 -0
  1018. package/dist/src/testing/kit/auth-permission/matrices.js.map +1 -0
  1019. package/dist/src/testing/kit/auth-permission/operation.d.ts +6 -0
  1020. package/dist/src/testing/kit/auth-permission/operation.js +20 -0
  1021. package/dist/src/testing/kit/auth-permission/operation.js.map +1 -0
  1022. package/dist/src/testing/kit/auth-permission/run-auth-matrix.d.ts +13 -0
  1023. package/dist/src/testing/kit/auth-permission/run-auth-matrix.js +24 -0
  1024. package/dist/src/testing/kit/auth-permission/run-auth-matrix.js.map +1 -0
  1025. package/dist/src/testing/kit/auth-permission/types.d.ts +29 -0
  1026. package/dist/src/testing/kit/auth-permission/types.js +3 -0
  1027. package/dist/src/testing/kit/auth-permission/types.js.map +1 -0
  1028. package/dist/src/testing/kit/create-api-key-command-test-kit.d.ts +16 -0
  1029. package/dist/src/testing/kit/create-api-key-command-test-kit.js +41 -0
  1030. package/dist/src/testing/kit/create-api-key-command-test-kit.js.map +1 -0
  1031. package/dist/src/testing/kit/create-project-command-test-kit.d.ts +17 -0
  1032. package/dist/src/testing/kit/create-project-command-test-kit.js +33 -0
  1033. package/dist/src/testing/kit/create-project-command-test-kit.js.map +1 -0
  1034. package/dist/src/testing/kit/create-user-query-test-kit.d.ts +10 -0
  1035. package/dist/src/testing/kit/create-user-query-test-kit.js +32 -0
  1036. package/dist/src/testing/kit/create-user-query-test-kit.js.map +1 -0
  1037. package/dist/src/testing/scenarios/given-organization-with-owner.d.ts +6 -0
  1038. package/dist/src/testing/scenarios/given-organization-with-owner.js +19 -0
  1039. package/dist/src/testing/scenarios/given-organization-with-owner.js.map +1 -0
  1040. package/dist/src/testing/scenarios/given-project-pair.d.ts +7 -0
  1041. package/dist/src/testing/scenarios/given-project-pair.js +17 -0
  1042. package/dist/src/testing/scenarios/given-project-pair.js.map +1 -0
  1043. package/dist/src/testing/scenarios/given-project-with-owner.d.ts +7 -0
  1044. package/dist/src/testing/scenarios/given-project-with-owner.js +25 -0
  1045. package/dist/src/testing/scenarios/given-project-with-owner.js.map +1 -0
  1046. package/dist/src/testing/scenarios/given-standalone-user.d.ts +5 -0
  1047. package/dist/src/testing/scenarios/given-standalone-user.js +13 -0
  1048. package/dist/src/testing/scenarios/given-standalone-user.js.map +1 -0
  1049. package/dist/src/testing/scenarios/using-fresh-project.d.ts +5 -0
  1050. package/dist/src/testing/scenarios/using-fresh-project.js +22 -0
  1051. package/dist/src/testing/scenarios/using-fresh-project.js.map +1 -0
  1052. package/dist/src/testing/scenarios/using-project-with-roles.d.ts +5 -0
  1053. package/dist/src/testing/scenarios/using-project-with-roles.js +21 -0
  1054. package/dist/src/testing/scenarios/using-project-with-roles.js.map +1 -0
  1055. package/dist/src/testing/scenarios/using-shared-project.d.ts +5 -0
  1056. package/dist/src/testing/scenarios/using-shared-project.js +21 -0
  1057. package/dist/src/testing/scenarios/using-shared-project.js.map +1 -0
  1058. package/dist/src/testing/utils/file.js.map +1 -0
  1059. package/dist/src/testing/utils/gql.js.map +1 -0
  1060. package/dist/src/testing/utils/prepareProject.d.ts +774 -0
  1061. package/dist/src/testing/utils/prepareProject.js +534 -0
  1062. package/dist/src/testing/utils/prepareProject.js.map +1 -0
  1063. package/dist/src/testing/utils/queryTest.js.map +1 -0
  1064. package/dist/src/testing/utils/test-schemas.d.ts +3 -0
  1065. package/dist/src/testing/utils/test-schemas.js +22 -0
  1066. package/dist/src/testing/utils/test-schemas.js.map +1 -0
  1067. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1068. package/package.json +35 -17
  1069. package/dist/src/__tests__/create-models.d.ts +0 -21
  1070. package/dist/src/__tests__/create-models.js +0 -24
  1071. package/dist/src/__tests__/create-models.js.map +0 -1
  1072. package/dist/src/__tests__/e2e/shared/graphql-helpers.d.ts +0 -29
  1073. package/dist/src/__tests__/e2e/shared/graphql-helpers.js +0 -61
  1074. package/dist/src/__tests__/e2e/shared/graphql-helpers.js.map +0 -1
  1075. package/dist/src/__tests__/e2e/shared/helpers.js +0 -64
  1076. package/dist/src/__tests__/e2e/shared/helpers.js.map +0 -1
  1077. package/dist/src/__tests__/e2e/shared/index.js.map +0 -1
  1078. package/dist/src/__tests__/e2e/shared/readonly-fixture.d.ts +0 -5
  1079. package/dist/src/__tests__/e2e/shared/readonly-fixture.js +0 -28
  1080. package/dist/src/__tests__/e2e/shared/readonly-fixture.js.map +0 -1
  1081. package/dist/src/__tests__/e2e/shared/test-app.d.ts +0 -6
  1082. package/dist/src/__tests__/e2e/shared/test-app.js +0 -55
  1083. package/dist/src/__tests__/e2e/shared/test-app.js.map +0 -1
  1084. package/dist/src/__tests__/utils/file.js.map +0 -1
  1085. package/dist/src/__tests__/utils/gql.js.map +0 -1
  1086. package/dist/src/__tests__/utils/implementIdService.d.ts +0 -3
  1087. package/dist/src/__tests__/utils/implementIdService.js +0 -9
  1088. package/dist/src/__tests__/utils/implementIdService.js.map +0 -1
  1089. package/dist/src/__tests__/utils/prepareProject.d.ts +0 -719
  1090. package/dist/src/__tests__/utils/prepareProject.js +0 -505
  1091. package/dist/src/__tests__/utils/prepareProject.js.map +0 -1
  1092. package/dist/src/__tests__/utils/queryTest.js.map +0 -1
  1093. package/dist/src/__tests__/utils/rowMocks.d.ts +0 -5
  1094. package/dist/src/__tests__/utils/rowMocks.js +0 -12
  1095. package/dist/src/__tests__/utils/rowMocks.js.map +0 -1
  1096. package/dist/src/api/graphql-api/auth/inputs/index.d.ts +0 -6
  1097. package/dist/src/api/graphql-api/auth/inputs/index.js +0 -23
  1098. package/dist/src/api/graphql-api/auth/inputs/index.js.map +0 -1
  1099. package/dist/src/api/graphql-api/auth/model/index.d.ts +0 -1
  1100. package/dist/src/api/graphql-api/auth/model/index.js +0 -18
  1101. package/dist/src/api/graphql-api/auth/model/index.js.map +0 -1
  1102. package/dist/src/api/graphql-api/branch/inputs/index.d.ts +0 -5
  1103. package/dist/src/api/graphql-api/branch/inputs/index.js +0 -22
  1104. package/dist/src/api/graphql-api/branch/inputs/index.js.map +0 -1
  1105. package/dist/src/api/graphql-api/configuration/model/index.d.ts +0 -1
  1106. package/dist/src/api/graphql-api/configuration/model/index.js +0 -18
  1107. package/dist/src/api/graphql-api/configuration/model/index.js.map +0 -1
  1108. package/dist/src/api/graphql-api/draft/input/index.d.ts +0 -12
  1109. package/dist/src/api/graphql-api/draft/input/index.js +0 -29
  1110. package/dist/src/api/graphql-api/draft/input/index.js.map +0 -1
  1111. package/dist/src/api/graphql-api/endpoint/inputs/index.d.ts +0 -4
  1112. package/dist/src/api/graphql-api/endpoint/inputs/index.js +0 -21
  1113. package/dist/src/api/graphql-api/endpoint/inputs/index.js.map +0 -1
  1114. package/dist/src/api/graphql-api/organization/inputs/index.d.ts +0 -3
  1115. package/dist/src/api/graphql-api/organization/inputs/index.js +0 -20
  1116. package/dist/src/api/graphql-api/organization/inputs/index.js.map +0 -1
  1117. package/dist/src/api/graphql-api/revision-changes/input/index.d.ts +0 -5
  1118. package/dist/src/api/graphql-api/revision-changes/input/index.js +0 -22
  1119. package/dist/src/api/graphql-api/revision-changes/input/index.js.map +0 -1
  1120. package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.d.ts +0 -5
  1121. package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.js +0 -19
  1122. package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.js.map +0 -1
  1123. package/dist/src/api/graphql-api/user/inputs/index.d.ts +0 -6
  1124. package/dist/src/api/graphql-api/user/inputs/index.js +0 -23
  1125. package/dist/src/api/graphql-api/user/inputs/index.js.map +0 -1
  1126. package/dist/src/api/graphql-api/views/input/index.d.ts +0 -2
  1127. package/dist/src/api/graphql-api/views/input/index.js +0 -19
  1128. package/dist/src/api/graphql-api/views/input/index.js.map +0 -1
  1129. package/dist/src/api/graphql-api/views/model/index.d.ts +0 -4
  1130. package/dist/src/api/graphql-api/views/model/index.js +0 -21
  1131. package/dist/src/api/graphql-api/views/model/index.js.map +0 -1
  1132. package/dist/src/api/mcp-api/resources/index.d.ts +0 -4
  1133. package/dist/src/api/mcp-api/resources/index.js +0 -12
  1134. package/dist/src/api/mcp-api/resources/index.js.map +0 -1
  1135. package/dist/src/api/mcp-api/tools/index.d.ts +0 -11
  1136. package/dist/src/api/mcp-api/tools/index.js +0 -26
  1137. package/dist/src/api/mcp-api/tools/index.js.map +0 -1
  1138. package/dist/src/api/rest-api/auth/dto/index.d.ts +0 -2
  1139. package/dist/src/api/rest-api/auth/dto/index.js +0 -19
  1140. package/dist/src/api/rest-api/auth/dto/index.js.map +0 -1
  1141. package/dist/src/api/rest-api/auth/model/index.d.ts +0 -1
  1142. package/dist/src/api/rest-api/auth/model/index.js +0 -18
  1143. package/dist/src/api/rest-api/auth/model/index.js.map +0 -1
  1144. package/dist/src/api/rest-api/branch/dto/index.d.ts +0 -4
  1145. package/dist/src/api/rest-api/branch/dto/index.js +0 -21
  1146. package/dist/src/api/rest-api/branch/dto/index.js.map +0 -1
  1147. package/dist/src/api/rest-api/configuration/model/index.d.ts +0 -1
  1148. package/dist/src/api/rest-api/configuration/model/index.js +0 -18
  1149. package/dist/src/api/rest-api/configuration/model/index.js.map +0 -1
  1150. package/dist/src/api/rest-api/endpoint/dto/index.d.ts +0 -1
  1151. package/dist/src/api/rest-api/endpoint/dto/index.js +0 -18
  1152. package/dist/src/api/rest-api/endpoint/dto/index.js.map +0 -1
  1153. package/dist/src/api/rest-api/organization/dto/index.d.ts +0 -5
  1154. package/dist/src/api/rest-api/organization/dto/index.js +0 -22
  1155. package/dist/src/api/rest-api/organization/dto/index.js.map +0 -1
  1156. package/dist/src/api/rest-api/organization/model/index.d.ts +0 -3
  1157. package/dist/src/api/rest-api/organization/model/index.js +0 -20
  1158. package/dist/src/api/rest-api/organization/model/index.js.map +0 -1
  1159. package/dist/src/api/rest-api/revision/dto/index.d.ts +0 -6
  1160. package/dist/src/api/rest-api/revision/dto/index.js +0 -23
  1161. package/dist/src/api/rest-api/revision/dto/index.js.map +0 -1
  1162. package/dist/src/api/rest-api/role/model/index.d.ts +0 -1
  1163. package/dist/src/api/rest-api/role/model/index.js +0 -18
  1164. package/dist/src/api/rest-api/role/model/index.js.map +0 -1
  1165. package/dist/src/api/rest-api/row/dto/index.d.ts +0 -4
  1166. package/dist/src/api/rest-api/row/dto/index.js +0 -21
  1167. package/dist/src/api/rest-api/row/dto/index.js.map +0 -1
  1168. package/dist/src/api/rest-api/table/dto/__tests__/utils.js +0 -19
  1169. package/dist/src/api/rest-api/table/dto/__tests__/utils.js.map +0 -1
  1170. package/dist/src/api/rest-api/table/dto/index.d.ts +0 -10
  1171. package/dist/src/api/rest-api/table/dto/index.js +0 -27
  1172. package/dist/src/api/rest-api/table/dto/index.js.map +0 -1
  1173. package/dist/src/api/rest-api/table/model/index.d.ts +0 -5
  1174. package/dist/src/api/rest-api/table/model/index.js +0 -22
  1175. package/dist/src/api/rest-api/table/model/index.js.map +0 -1
  1176. package/dist/src/features/auth/commands/handlers/index.d.ts +0 -9
  1177. package/dist/src/features/auth/commands/handlers/index.js +0 -26
  1178. package/dist/src/features/auth/commands/handlers/index.js.map +0 -1
  1179. package/dist/src/features/auth/guards/jwt/local-auth.guard.d.ts +0 -4
  1180. package/dist/src/features/auth/guards/jwt/local-auth.guard.js +0 -18
  1181. package/dist/src/features/auth/guards/jwt/local-auth.guard.js.map +0 -1
  1182. package/dist/src/features/branch/commands/handlers/__tests__/utils.d.ts +0 -31
  1183. package/dist/src/features/branch/commands/handlers/__tests__/utils.js +0 -251
  1184. package/dist/src/features/branch/commands/handlers/__tests__/utils.js.map +0 -1
  1185. package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +0 -8
  1186. package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.js +0 -32
  1187. package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.js.map +0 -1
  1188. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +0 -35
  1189. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js +0 -142
  1190. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +0 -1
  1191. package/dist/src/features/branch/commands/handlers/delete-branch.handler.d.ts +0 -18
  1192. package/dist/src/features/branch/commands/handlers/delete-branch.handler.js +0 -97
  1193. package/dist/src/features/branch/commands/handlers/delete-branch.handler.js.map +0 -1
  1194. package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.d.ts +0 -11
  1195. package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.js +0 -10
  1196. package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.js.map +0 -1
  1197. package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.d.ts +0 -10
  1198. package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.js +0 -10
  1199. package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.js.map +0 -1
  1200. package/dist/src/features/branch/commands/impl/delete-branch.command.d.ts +0 -14
  1201. package/dist/src/features/branch/commands/impl/delete-branch.command.js +0 -10
  1202. package/dist/src/features/branch/commands/impl/delete-branch.command.js.map +0 -1
  1203. package/dist/src/features/branch/commands/impl/index.d.ts +0 -3
  1204. package/dist/src/features/branch/commands/impl/index.js +0 -20
  1205. package/dist/src/features/branch/commands/impl/index.js.map +0 -1
  1206. package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.d.ts +0 -18
  1207. package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js +0 -32
  1208. package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js.map +0 -1
  1209. package/dist/src/features/branch/quieries/handlers/get-branch.handler.d.ts +0 -14
  1210. package/dist/src/features/branch/quieries/handlers/get-branch.handler.js +0 -46
  1211. package/dist/src/features/branch/quieries/handlers/get-branch.handler.js.map +0 -1
  1212. package/dist/src/features/branch/quieries/handlers/get-branches.handler.d.ts +0 -14
  1213. package/dist/src/features/branch/quieries/handlers/get-branches.handler.js +0 -59
  1214. package/dist/src/features/branch/quieries/handlers/get-branches.handler.js.map +0 -1
  1215. package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.d.ts +0 -10
  1216. package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js +0 -34
  1217. package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js.map +0 -1
  1218. package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.d.ts +0 -10
  1219. package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js +0 -34
  1220. package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js.map +0 -1
  1221. package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.d.ts +0 -18
  1222. package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js +0 -34
  1223. package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js.map +0 -1
  1224. package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +0 -23
  1225. package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js +0 -74
  1226. package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js.map +0 -1
  1227. package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.d.ts +0 -10
  1228. package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js +0 -34
  1229. package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js.map +0 -1
  1230. package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +0 -13
  1231. package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js +0 -51
  1232. package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js.map +0 -1
  1233. package/dist/src/features/branch/quieries/handlers/index.d.ts +0 -11
  1234. package/dist/src/features/branch/quieries/handlers/index.js +0 -26
  1235. package/dist/src/features/branch/quieries/handlers/index.js.map +0 -1
  1236. package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +0 -17
  1237. package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js +0 -56
  1238. package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js.map +0 -1
  1239. package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.d.ts +0 -7
  1240. package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.js +0 -10
  1241. package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.js.map +0 -1
  1242. package/dist/src/features/branch/quieries/impl/get-branch.query.d.ts +0 -13
  1243. package/dist/src/features/branch/quieries/impl/get-branch.query.js +0 -10
  1244. package/dist/src/features/branch/quieries/impl/get-branch.query.js.map +0 -1
  1245. package/dist/src/features/branch/quieries/impl/get-branches.query.d.ts +0 -18
  1246. package/dist/src/features/branch/quieries/impl/get-branches.query.js +0 -10
  1247. package/dist/src/features/branch/quieries/impl/get-branches.query.js.map +0 -1
  1248. package/dist/src/features/branch/quieries/impl/get-draft-revision.query.d.ts +0 -4
  1249. package/dist/src/features/branch/quieries/impl/get-draft-revision.query.js +0 -10
  1250. package/dist/src/features/branch/quieries/impl/get-draft-revision.query.js.map +0 -1
  1251. package/dist/src/features/branch/quieries/impl/get-head-revision.query.d.ts +0 -4
  1252. package/dist/src/features/branch/quieries/impl/get-head-revision.query.js +0 -10
  1253. package/dist/src/features/branch/quieries/impl/get-head-revision.query.js.map +0 -1
  1254. package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.d.ts +0 -4
  1255. package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.js +0 -10
  1256. package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.js.map +0 -1
  1257. package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.d.ts +0 -24
  1258. package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.js +0 -10
  1259. package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.js.map +0 -1
  1260. package/dist/src/features/branch/quieries/impl/get-start-revision.query.d.ts +0 -4
  1261. package/dist/src/features/branch/quieries/impl/get-start-revision.query.js +0 -10
  1262. package/dist/src/features/branch/quieries/impl/get-start-revision.query.js.map +0 -1
  1263. package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.d.ts +0 -4
  1264. package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.js +0 -10
  1265. package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.js.map +0 -1
  1266. package/dist/src/features/branch/quieries/impl/index.d.ts +0 -10
  1267. package/dist/src/features/branch/quieries/impl/index.js +0 -27
  1268. package/dist/src/features/branch/quieries/impl/index.js.map +0 -1
  1269. package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.d.ts +0 -9
  1270. package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.js +0 -10
  1271. package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.js.map +0 -1
  1272. package/dist/src/features/branch/quieries/types/get-branch-by-id.types.d.ts +0 -2
  1273. package/dist/src/features/branch/quieries/types/get-branch-by-id.types.js +0 -3
  1274. package/dist/src/features/branch/quieries/types/get-branch-by-id.types.js.map +0 -1
  1275. package/dist/src/features/branch/quieries/types/get-branch.types.d.ts +0 -2
  1276. package/dist/src/features/branch/quieries/types/get-branch.types.js +0 -3
  1277. package/dist/src/features/branch/quieries/types/get-branch.types.js.map +0 -1
  1278. package/dist/src/features/branch/quieries/types/get-draft-revision.types.d.ts +0 -2
  1279. package/dist/src/features/branch/quieries/types/get-draft-revision.types.js +0 -3
  1280. package/dist/src/features/branch/quieries/types/get-draft-revision.types.js.map +0 -1
  1281. package/dist/src/features/branch/quieries/types/get-head-revision.types.d.ts +0 -2
  1282. package/dist/src/features/branch/quieries/types/get-head-revision.types.js +0 -3
  1283. package/dist/src/features/branch/quieries/types/get-head-revision.types.js.map +0 -1
  1284. package/dist/src/features/branch/quieries/types/get-start-revision.types.d.ts +0 -2
  1285. package/dist/src/features/branch/quieries/types/get-start-revision.types.js +0 -3
  1286. package/dist/src/features/branch/quieries/types/get-start-revision.types.js.map +0 -1
  1287. package/dist/src/features/branch/quieries/types/index.d.ts +0 -4
  1288. package/dist/src/features/branch/quieries/types/index.js +0 -3
  1289. package/dist/src/features/branch/quieries/types/index.js.map +0 -1
  1290. package/dist/src/features/draft/commands/handlers/__tests__/utils.d.ts +0 -34
  1291. package/dist/src/features/draft/commands/handlers/__tests__/utils.js +0 -196
  1292. package/dist/src/features/draft/commands/handlers/__tests__/utils.js.map +0 -1
  1293. package/dist/src/features/draft/commands/handlers/api-base-row.handler.d.ts +0 -63
  1294. package/dist/src/features/draft/commands/handlers/api-base-row.handler.js +0 -62
  1295. package/dist/src/features/draft/commands/handlers/api-base-row.handler.js.map +0 -1
  1296. package/dist/src/features/draft/commands/handlers/api-create-revision.handler.d.ts +0 -25
  1297. package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js +0 -45
  1298. package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js.map +0 -1
  1299. package/dist/src/features/draft/commands/handlers/api-create-row.handler.d.ts +0 -20
  1300. package/dist/src/features/draft/commands/handlers/api-create-row.handler.js +0 -67
  1301. package/dist/src/features/draft/commands/handlers/api-create-row.handler.js.map +0 -1
  1302. package/dist/src/features/draft/commands/handlers/api-create-rows.handler.d.ts +0 -38
  1303. package/dist/src/features/draft/commands/handlers/api-create-rows.handler.js +0 -78
  1304. package/dist/src/features/draft/commands/handlers/api-create-rows.handler.js.map +0 -1
  1305. package/dist/src/features/draft/commands/handlers/api-create-table.handler.d.ts +0 -13
  1306. package/dist/src/features/draft/commands/handlers/api-create-table.handler.js +0 -45
  1307. package/dist/src/features/draft/commands/handlers/api-create-table.handler.js.map +0 -1
  1308. package/dist/src/features/draft/commands/handlers/api-patch-row.handler.d.ts +0 -20
  1309. package/dist/src/features/draft/commands/handlers/api-patch-row.handler.js +0 -69
  1310. package/dist/src/features/draft/commands/handlers/api-patch-row.handler.js.map +0 -1
  1311. package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.d.ts +0 -38
  1312. package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.js +0 -53
  1313. package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.js.map +0 -1
  1314. package/dist/src/features/draft/commands/handlers/api-remove-row.handler.d.ts +0 -13
  1315. package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js +0 -60
  1316. package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js.map +0 -1
  1317. package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.d.ts +0 -13
  1318. package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.js +0 -59
  1319. package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.js.map +0 -1
  1320. package/dist/src/features/draft/commands/handlers/api-remove-table.handler.d.ts +0 -13
  1321. package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js +0 -43
  1322. package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js.map +0 -1
  1323. package/dist/src/features/draft/commands/handlers/api-rename-row.handler.d.ts +0 -15
  1324. package/dist/src/features/draft/commands/handlers/api-rename-row.handler.js +0 -61
  1325. package/dist/src/features/draft/commands/handlers/api-rename-row.handler.js.map +0 -1
  1326. package/dist/src/features/draft/commands/handlers/api-rename-table.handler.d.ts +0 -12
  1327. package/dist/src/features/draft/commands/handlers/api-rename-table.handler.js +0 -45
  1328. package/dist/src/features/draft/commands/handlers/api-rename-table.handler.js.map +0 -1
  1329. package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.d.ts +0 -12
  1330. package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js +0 -40
  1331. package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js.map +0 -1
  1332. package/dist/src/features/draft/commands/handlers/api-update-row.handler.d.ts +0 -21
  1333. package/dist/src/features/draft/commands/handlers/api-update-row.handler.js +0 -69
  1334. package/dist/src/features/draft/commands/handlers/api-update-row.handler.js.map +0 -1
  1335. package/dist/src/features/draft/commands/handlers/api-update-rows.handler.d.ts +0 -38
  1336. package/dist/src/features/draft/commands/handlers/api-update-rows.handler.js +0 -54
  1337. package/dist/src/features/draft/commands/handlers/api-update-rows.handler.js.map +0 -1
  1338. package/dist/src/features/draft/commands/handlers/api-update-table.handler.d.ts +0 -13
  1339. package/dist/src/features/draft/commands/handlers/api-update-table.handler.js +0 -45
  1340. package/dist/src/features/draft/commands/handlers/api-update-table.handler.js.map +0 -1
  1341. package/dist/src/features/draft/commands/handlers/api-upload-file.handler.d.ts +0 -15
  1342. package/dist/src/features/draft/commands/handlers/api-upload-file.handler.js +0 -61
  1343. package/dist/src/features/draft/commands/handlers/api-upload-file.handler.js.map +0 -1
  1344. package/dist/src/features/draft/commands/handlers/create-revision.handler.d.ts +0 -20
  1345. package/dist/src/features/draft/commands/handlers/create-revision.handler.js +0 -69
  1346. package/dist/src/features/draft/commands/handlers/create-revision.handler.js.map +0 -1
  1347. package/dist/src/features/draft/commands/handlers/create-rows.handler.d.ts +0 -24
  1348. package/dist/src/features/draft/commands/handlers/create-rows.handler.js +0 -115
  1349. package/dist/src/features/draft/commands/handlers/create-rows.handler.js.map +0 -1
  1350. package/dist/src/features/draft/commands/handlers/create-table.handler.d.ts +0 -25
  1351. package/dist/src/features/draft/commands/handlers/create-table.handler.js +0 -94
  1352. package/dist/src/features/draft/commands/handlers/create-table.handler.js.map +0 -1
  1353. package/dist/src/features/draft/commands/handlers/index.d.ts +0 -40
  1354. package/dist/src/features/draft/commands/handlers/index.js +0 -86
  1355. package/dist/src/features/draft/commands/handlers/index.js.map +0 -1
  1356. package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.d.ts +0 -20
  1357. package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.js +0 -175
  1358. package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.js.map +0 -1
  1359. package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.d.ts +0 -25
  1360. package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.js +0 -71
  1361. package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.js.map +0 -1
  1362. package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.d.ts +0 -19
  1363. package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.js +0 -51
  1364. package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.js.map +0 -1
  1365. package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.d.ts +0 -17
  1366. package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.js +0 -46
  1367. package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.js.map +0 -1
  1368. package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.d.ts +0 -17
  1369. package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.js +0 -47
  1370. package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.js.map +0 -1
  1371. package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.d.ts +0 -19
  1372. package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.js +0 -51
  1373. package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.js.map +0 -1
  1374. package/dist/src/features/draft/commands/handlers/migration/index.d.ts +0 -6
  1375. package/dist/src/features/draft/commands/handlers/migration/index.js +0 -16
  1376. package/dist/src/features/draft/commands/handlers/migration/index.js.map +0 -1
  1377. package/dist/src/features/draft/commands/handlers/patch-rows.handler.d.ts +0 -24
  1378. package/dist/src/features/draft/commands/handlers/patch-rows.handler.js +0 -131
  1379. package/dist/src/features/draft/commands/handlers/patch-rows.handler.js.map +0 -1
  1380. package/dist/src/features/draft/commands/handlers/remove-rows.handler.d.ts +0 -27
  1381. package/dist/src/features/draft/commands/handlers/remove-rows.handler.js +0 -104
  1382. package/dist/src/features/draft/commands/handlers/remove-rows.handler.js.map +0 -1
  1383. package/dist/src/features/draft/commands/handlers/remove-table.handler.d.ts +0 -29
  1384. package/dist/src/features/draft/commands/handlers/remove-table.handler.js +0 -108
  1385. package/dist/src/features/draft/commands/handlers/remove-table.handler.js.map +0 -1
  1386. package/dist/src/features/draft/commands/handlers/rename-row.handler.d.ts +0 -15
  1387. package/dist/src/features/draft/commands/handlers/rename-row.handler.js +0 -53
  1388. package/dist/src/features/draft/commands/handlers/rename-row.handler.js.map +0 -1
  1389. package/dist/src/features/draft/commands/handlers/rename-table.handler.d.ts +0 -19
  1390. package/dist/src/features/draft/commands/handlers/rename-table.handler.js +0 -66
  1391. package/dist/src/features/draft/commands/handlers/rename-table.handler.js.map +0 -1
  1392. package/dist/src/features/draft/commands/handlers/revert-changes.handler.d.ts +0 -18
  1393. package/dist/src/features/draft/commands/handlers/revert-changes.handler.js +0 -54
  1394. package/dist/src/features/draft/commands/handlers/revert-changes.handler.js.map +0 -1
  1395. package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.d.ts +0 -22
  1396. package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.js +0 -99
  1397. package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.js.map +0 -1
  1398. package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.d.ts +0 -12
  1399. package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.js +0 -55
  1400. package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.js.map +0 -1
  1401. package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.d.ts +0 -29
  1402. package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.js +0 -126
  1403. package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.js.map +0 -1
  1404. package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.d.ts +0 -15
  1405. package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.js +0 -65
  1406. package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.js.map +0 -1
  1407. package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.d.ts +0 -14
  1408. package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.js +0 -59
  1409. package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.js.map +0 -1
  1410. package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.d.ts +0 -23
  1411. package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.js +0 -109
  1412. package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.js.map +0 -1
  1413. package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +0 -17
  1414. package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js +0 -95
  1415. package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js.map +0 -1
  1416. package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.d.ts +0 -26
  1417. package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.js +0 -118
  1418. package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.js.map +0 -1
  1419. package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.d.ts +0 -29
  1420. package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js +0 -184
  1421. package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js.map +0 -1
  1422. package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +0 -10
  1423. package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js +0 -36
  1424. package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js.map +0 -1
  1425. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.d.ts +0 -19
  1426. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js +0 -67
  1427. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map +0 -1
  1428. package/dist/src/features/draft/commands/handlers/update-rows.handler.d.ts +0 -26
  1429. package/dist/src/features/draft/commands/handlers/update-rows.handler.js +0 -111
  1430. package/dist/src/features/draft/commands/handlers/update-rows.handler.js.map +0 -1
  1431. package/dist/src/features/draft/commands/handlers/update-table.handler.d.ts +0 -37
  1432. package/dist/src/features/draft/commands/handlers/update-table.handler.js +0 -247
  1433. package/dist/src/features/draft/commands/handlers/update-table.handler.js.map +0 -1
  1434. package/dist/src/features/draft/commands/handlers/upload-file.handler.d.ts +0 -27
  1435. package/dist/src/features/draft/commands/handlers/upload-file.handler.js +0 -107
  1436. package/dist/src/features/draft/commands/handlers/upload-file.handler.js.map +0 -1
  1437. package/dist/src/features/draft/commands/impl/api-create-revision.command.d.ts +0 -17
  1438. package/dist/src/features/draft/commands/impl/api-create-revision.command.js +0 -10
  1439. package/dist/src/features/draft/commands/impl/api-create-revision.command.js.map +0 -1
  1440. package/dist/src/features/draft/commands/impl/api-create-row.command.d.ts +0 -18
  1441. package/dist/src/features/draft/commands/impl/api-create-row.command.js +0 -10
  1442. package/dist/src/features/draft/commands/impl/api-create-row.command.js.map +0 -1
  1443. package/dist/src/features/draft/commands/impl/api-create-rows.command.d.ts +0 -20
  1444. package/dist/src/features/draft/commands/impl/api-create-rows.command.js +0 -10
  1445. package/dist/src/features/draft/commands/impl/api-create-rows.command.js.map +0 -1
  1446. package/dist/src/features/draft/commands/impl/api-create-table.command.d.ts +0 -14
  1447. package/dist/src/features/draft/commands/impl/api-create-table.command.js +0 -10
  1448. package/dist/src/features/draft/commands/impl/api-create-table.command.js.map +0 -1
  1449. package/dist/src/features/draft/commands/impl/api-patch-row.command.d.ts +0 -26
  1450. package/dist/src/features/draft/commands/impl/api-patch-row.command.js +0 -10
  1451. package/dist/src/features/draft/commands/impl/api-patch-row.command.js.map +0 -1
  1452. package/dist/src/features/draft/commands/impl/api-patch-rows.command.d.ts +0 -18
  1453. package/dist/src/features/draft/commands/impl/api-patch-rows.command.js +0 -10
  1454. package/dist/src/features/draft/commands/impl/api-patch-rows.command.js.map +0 -1
  1455. package/dist/src/features/draft/commands/impl/api-remove-row.command.d.ts +0 -15
  1456. package/dist/src/features/draft/commands/impl/api-remove-row.command.js +0 -10
  1457. package/dist/src/features/draft/commands/impl/api-remove-row.command.js.map +0 -1
  1458. package/dist/src/features/draft/commands/impl/api-remove-rows.command.d.ts +0 -13
  1459. package/dist/src/features/draft/commands/impl/api-remove-rows.command.js +0 -10
  1460. package/dist/src/features/draft/commands/impl/api-remove-rows.command.js.map +0 -1
  1461. package/dist/src/features/draft/commands/impl/api-remove-table.command.d.ts +0 -11
  1462. package/dist/src/features/draft/commands/impl/api-remove-table.command.js +0 -10
  1463. package/dist/src/features/draft/commands/impl/api-remove-table.command.js.map +0 -1
  1464. package/dist/src/features/draft/commands/impl/api-rename-row.command.d.ts +0 -23
  1465. package/dist/src/features/draft/commands/impl/api-rename-row.command.js +0 -10
  1466. package/dist/src/features/draft/commands/impl/api-rename-row.command.js.map +0 -1
  1467. package/dist/src/features/draft/commands/impl/api-rename-table.command.d.ts +0 -18
  1468. package/dist/src/features/draft/commands/impl/api-rename-table.command.js +0 -10
  1469. package/dist/src/features/draft/commands/impl/api-rename-table.command.js.map +0 -1
  1470. package/dist/src/features/draft/commands/impl/api-revert-changes.command.d.ts +0 -15
  1471. package/dist/src/features/draft/commands/impl/api-revert-changes.command.js +0 -10
  1472. package/dist/src/features/draft/commands/impl/api-revert-changes.command.js.map +0 -1
  1473. package/dist/src/features/draft/commands/impl/api-update-row.command.d.ts +0 -20
  1474. package/dist/src/features/draft/commands/impl/api-update-row.command.js +0 -10
  1475. package/dist/src/features/draft/commands/impl/api-update-row.command.js.map +0 -1
  1476. package/dist/src/features/draft/commands/impl/api-update-rows.command.d.ts +0 -20
  1477. package/dist/src/features/draft/commands/impl/api-update-rows.command.js +0 -10
  1478. package/dist/src/features/draft/commands/impl/api-update-rows.command.js.map +0 -1
  1479. package/dist/src/features/draft/commands/impl/api-update-table.command.d.ts +0 -14
  1480. package/dist/src/features/draft/commands/impl/api-update-table.command.js +0 -10
  1481. package/dist/src/features/draft/commands/impl/api-update-table.command.js.map +0 -1
  1482. package/dist/src/features/draft/commands/impl/api-upload-file.command.d.ts +0 -25
  1483. package/dist/src/features/draft/commands/impl/api-upload-file.command.js +0 -10
  1484. package/dist/src/features/draft/commands/impl/api-upload-file.command.js.map +0 -1
  1485. package/dist/src/features/draft/commands/impl/create-revision.command.d.ts +0 -14
  1486. package/dist/src/features/draft/commands/impl/create-revision.command.js.map +0 -1
  1487. package/dist/src/features/draft/commands/impl/create-rows.command.d.ts +0 -20
  1488. package/dist/src/features/draft/commands/impl/create-rows.command.js.map +0 -1
  1489. package/dist/src/features/draft/commands/impl/create-table.command.d.ts +0 -14
  1490. package/dist/src/features/draft/commands/impl/create-table.command.js.map +0 -1
  1491. package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.d.ts +0 -18
  1492. package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.js +0 -10
  1493. package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.js.map +0 -1
  1494. package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.d.ts +0 -15
  1495. package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.js +0 -10
  1496. package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.js.map +0 -1
  1497. package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.d.ts +0 -12
  1498. package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.js +0 -10
  1499. package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.js.map +0 -1
  1500. package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.d.ts +0 -14
  1501. package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.js +0 -10
  1502. package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.js.map +0 -1
  1503. package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.d.ts +0 -17
  1504. package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.js +0 -10
  1505. package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.js.map +0 -1
  1506. package/dist/src/features/draft/commands/impl/migration/index.d.ts +0 -5
  1507. package/dist/src/features/draft/commands/impl/migration/index.js +0 -22
  1508. package/dist/src/features/draft/commands/impl/migration/index.js.map +0 -1
  1509. package/dist/src/features/draft/commands/impl/patch-rows.command.d.ts +0 -18
  1510. package/dist/src/features/draft/commands/impl/patch-rows.command.js.map +0 -1
  1511. package/dist/src/features/draft/commands/impl/remove-rows.command.d.ts +0 -15
  1512. package/dist/src/features/draft/commands/impl/remove-rows.command.js.map +0 -1
  1513. package/dist/src/features/draft/commands/impl/remove-table.command.d.ts +0 -11
  1514. package/dist/src/features/draft/commands/impl/remove-table.command.js.map +0 -1
  1515. package/dist/src/features/draft/commands/impl/rename-row.command.d.ts +0 -20
  1516. package/dist/src/features/draft/commands/impl/rename-row.command.js.map +0 -1
  1517. package/dist/src/features/draft/commands/impl/rename-table.command.d.ts +0 -16
  1518. package/dist/src/features/draft/commands/impl/rename-table.command.js.map +0 -1
  1519. package/dist/src/features/draft/commands/impl/revert-changes.command.d.ts +0 -12
  1520. package/dist/src/features/draft/commands/impl/revert-changes.command.js.map +0 -1
  1521. package/dist/src/features/draft/commands/impl/transactional/create-schema.command.d.ts +0 -14
  1522. package/dist/src/features/draft/commands/impl/transactional/create-schema.command.js +0 -10
  1523. package/dist/src/features/draft/commands/impl/transactional/create-schema.command.js.map +0 -1
  1524. package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.d.ts +0 -26
  1525. package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.js +0 -10
  1526. package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.js.map +0 -1
  1527. package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.d.ts +0 -21
  1528. package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.js +0 -10
  1529. package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.js.map +0 -1
  1530. package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.d.ts +0 -27
  1531. package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.js +0 -10
  1532. package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.js.map +0 -1
  1533. package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.d.ts +0 -28
  1534. package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.js +0 -10
  1535. package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.js.map +0 -1
  1536. package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.d.ts +0 -13
  1537. package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.js +0 -10
  1538. package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.js.map +0 -1
  1539. package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.d.ts +0 -4
  1540. package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.js +0 -10
  1541. package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.js.map +0 -1
  1542. package/dist/src/features/draft/commands/impl/transactional/update-schema.command.d.ts +0 -18
  1543. package/dist/src/features/draft/commands/impl/transactional/update-schema.command.js +0 -10
  1544. package/dist/src/features/draft/commands/impl/transactional/update-schema.command.js.map +0 -1
  1545. package/dist/src/features/draft/commands/impl/transactional/validate-data.command.d.ts +0 -25
  1546. package/dist/src/features/draft/commands/impl/transactional/validate-data.command.js +0 -10
  1547. package/dist/src/features/draft/commands/impl/transactional/validate-data.command.js.map +0 -1
  1548. package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.d.ts +0 -4
  1549. package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.js +0 -10
  1550. package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.js.map +0 -1
  1551. package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.d.ts +0 -5
  1552. package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.js +0 -10
  1553. package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.js.map +0 -1
  1554. package/dist/src/features/draft/commands/impl/update-file.command.d.ts +0 -24
  1555. package/dist/src/features/draft/commands/impl/update-file.command.js +0 -10
  1556. package/dist/src/features/draft/commands/impl/update-file.command.js.map +0 -1
  1557. package/dist/src/features/draft/commands/impl/update-rows.command.d.ts +0 -20
  1558. package/dist/src/features/draft/commands/impl/update-rows.command.js.map +0 -1
  1559. package/dist/src/features/draft/commands/impl/update-table.command.d.ts +0 -13
  1560. package/dist/src/features/draft/commands/impl/update-table.command.js.map +0 -1
  1561. package/dist/src/features/draft/commands/types/api-create-row.handler.types.d.ts +0 -7
  1562. package/dist/src/features/draft/commands/types/api-create-row.handler.types.js +0 -3
  1563. package/dist/src/features/draft/commands/types/api-create-row.handler.types.js.map +0 -1
  1564. package/dist/src/features/draft/commands/types/api-create-rows.handler.types.d.ts +0 -7
  1565. package/dist/src/features/draft/commands/types/api-create-rows.handler.types.js +0 -3
  1566. package/dist/src/features/draft/commands/types/api-create-rows.handler.types.js.map +0 -1
  1567. package/dist/src/features/draft/commands/types/api-create-table.handler.types.d.ts +0 -5
  1568. package/dist/src/features/draft/commands/types/api-create-table.handler.types.js +0 -3
  1569. package/dist/src/features/draft/commands/types/api-create-table.handler.types.js.map +0 -1
  1570. package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.d.ts +0 -7
  1571. package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.js +0 -3
  1572. package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.js.map +0 -1
  1573. package/dist/src/features/draft/commands/types/api-remove-row.handler.types.d.ts +0 -7
  1574. package/dist/src/features/draft/commands/types/api-remove-row.handler.types.js +0 -3
  1575. package/dist/src/features/draft/commands/types/api-remove-row.handler.types.js.map +0 -1
  1576. package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.d.ts +0 -7
  1577. package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.js +0 -3
  1578. package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.js.map +0 -1
  1579. package/dist/src/features/draft/commands/types/api-remove-table.handler.types.d.ts +0 -4
  1580. package/dist/src/features/draft/commands/types/api-remove-table.handler.types.js +0 -3
  1581. package/dist/src/features/draft/commands/types/api-remove-table.handler.types.js.map +0 -1
  1582. package/dist/src/features/draft/commands/types/api-update-row.handler.types.d.ts +0 -8
  1583. package/dist/src/features/draft/commands/types/api-update-row.handler.types.js +0 -3
  1584. package/dist/src/features/draft/commands/types/api-update-row.handler.types.js.map +0 -1
  1585. package/dist/src/features/draft/commands/types/api-update-rows.handler.types.d.ts +0 -7
  1586. package/dist/src/features/draft/commands/types/api-update-rows.handler.types.js +0 -3
  1587. package/dist/src/features/draft/commands/types/api-update-rows.handler.types.js.map +0 -1
  1588. package/dist/src/features/draft/commands/types/api-update-table.handler.types.d.ts +0 -5
  1589. package/dist/src/features/draft/commands/types/api-update-table.handler.types.js +0 -3
  1590. package/dist/src/features/draft/commands/types/api-update-table.handler.types.js.map +0 -1
  1591. package/dist/src/features/draft/commands/types/create-revision.handler.types.d.ts +0 -7
  1592. package/dist/src/features/draft/commands/types/create-revision.handler.types.js +0 -3
  1593. package/dist/src/features/draft/commands/types/create-revision.handler.types.js.map +0 -1
  1594. package/dist/src/features/draft/commands/types/create-rows.handler.types.d.ts +0 -9
  1595. package/dist/src/features/draft/commands/types/create-rows.handler.types.js +0 -3
  1596. package/dist/src/features/draft/commands/types/create-rows.handler.types.js.map +0 -1
  1597. package/dist/src/features/draft/commands/types/create-table.handler.types.d.ts +0 -5
  1598. package/dist/src/features/draft/commands/types/create-table.handler.types.js +0 -3
  1599. package/dist/src/features/draft/commands/types/create-table.handler.types.js.map +0 -1
  1600. package/dist/src/features/draft/commands/types/patch-rows.handler.types.d.ts +0 -10
  1601. package/dist/src/features/draft/commands/types/patch-rows.handler.types.js +0 -3
  1602. package/dist/src/features/draft/commands/types/patch-rows.handler.types.js.map +0 -1
  1603. package/dist/src/features/draft/commands/types/remove-rows.handler.types.d.ts +0 -5
  1604. package/dist/src/features/draft/commands/types/remove-rows.handler.types.js +0 -3
  1605. package/dist/src/features/draft/commands/types/remove-rows.handler.types.js.map +0 -1
  1606. package/dist/src/features/draft/commands/types/remove-table.handler.types.d.ts +0 -4
  1607. package/dist/src/features/draft/commands/types/remove-table.handler.types.js +0 -3
  1608. package/dist/src/features/draft/commands/types/remove-table.handler.types.js.map +0 -1
  1609. package/dist/src/features/draft/commands/types/revert-changes.handler.types.d.ts +0 -4
  1610. package/dist/src/features/draft/commands/types/revert-changes.handler.types.js +0 -3
  1611. package/dist/src/features/draft/commands/types/revert-changes.handler.types.js.map +0 -1
  1612. package/dist/src/features/draft/commands/types/update-rows.handler.types.d.ts +0 -10
  1613. package/dist/src/features/draft/commands/types/update-rows.handler.types.js +0 -3
  1614. package/dist/src/features/draft/commands/types/update-rows.handler.types.js.map +0 -1
  1615. package/dist/src/features/draft/commands/types/update-table.handler.types.d.ts +0 -4
  1616. package/dist/src/features/draft/commands/types/update-table.handler.types.js +0 -3
  1617. package/dist/src/features/draft/commands/types/update-table.handler.types.js.map +0 -1
  1618. package/dist/src/features/draft/draft-api.service.d.ts +0 -58
  1619. package/dist/src/features/draft/draft-api.service.js +0 -89
  1620. package/dist/src/features/draft/draft-api.service.js.map +0 -1
  1621. package/dist/src/features/draft/draft-context.service.d.ts +0 -29
  1622. package/dist/src/features/draft/draft-context.service.js +0 -78
  1623. package/dist/src/features/draft/draft-context.service.js.map +0 -1
  1624. package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.d.ts +0 -20
  1625. package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.js +0 -70
  1626. package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.js.map +0 -1
  1627. package/dist/src/features/draft/draft-request-dto/index.d.ts +0 -5
  1628. package/dist/src/features/draft/draft-request-dto/index.js +0 -14
  1629. package/dist/src/features/draft/draft-request-dto/index.js.map +0 -1
  1630. package/dist/src/features/draft/draft-request-dto/row-request.dto.d.ts +0 -13
  1631. package/dist/src/features/draft/draft-request-dto/row-request.dto.js +0 -49
  1632. package/dist/src/features/draft/draft-request-dto/row-request.dto.js.map +0 -1
  1633. package/dist/src/features/draft/draft-request-dto/rows-request.dto.d.ts +0 -13
  1634. package/dist/src/features/draft/draft-request-dto/rows-request.dto.js +0 -31
  1635. package/dist/src/features/draft/draft-request-dto/rows-request.dto.js.map +0 -1
  1636. package/dist/src/features/draft/draft-request-dto/table-request.dto.d.ts +0 -13
  1637. package/dist/src/features/draft/draft-request-dto/table-request.dto.js +0 -49
  1638. package/dist/src/features/draft/draft-request-dto/table-request.dto.js.map +0 -1
  1639. package/dist/src/features/draft/draft.handler.d.ts +0 -12
  1640. package/dist/src/features/draft/draft.handler.js +0 -23
  1641. package/dist/src/features/draft/draft.handler.js.map +0 -1
  1642. package/dist/src/features/draft/draft.module.d.ts +0 -2
  1643. package/dist/src/features/draft/draft.module.js +0 -51
  1644. package/dist/src/features/draft/draft.module.js.map +0 -1
  1645. package/dist/src/features/draft/draft.transactional.commands.d.ts +0 -20
  1646. package/dist/src/features/draft/draft.transactional.commands.js +0 -41
  1647. package/dist/src/features/draft/draft.transactional.commands.js.map +0 -1
  1648. package/dist/src/features/draft/migration-context.service.d.ts +0 -7
  1649. package/dist/src/features/draft/migration-context.service.js +0 -34
  1650. package/dist/src/features/draft/migration-context.service.js.map +0 -1
  1651. package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.d.ts +0 -20
  1652. package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.js +0 -98
  1653. package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.js.map +0 -1
  1654. package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.d.ts +0 -19
  1655. package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.js +0 -91
  1656. package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.js.map +0 -1
  1657. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.d.ts +0 -19
  1658. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.js +0 -113
  1659. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.js.map +0 -1
  1660. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.d.ts +0 -16
  1661. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.js +0 -70
  1662. package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.js.map +0 -1
  1663. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.d.ts +0 -19
  1664. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.js +0 -121
  1665. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.js.map +0 -1
  1666. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.d.ts +0 -20
  1667. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.js +0 -126
  1668. package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.js.map +0 -1
  1669. package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.d.ts +0 -15
  1670. package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.js +0 -91
  1671. package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.js.map +0 -1
  1672. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.d.ts +0 -17
  1673. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.js +0 -104
  1674. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.js.map +0 -1
  1675. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.d.ts +0 -21
  1676. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.js +0 -117
  1677. package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.js.map +0 -1
  1678. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.d.ts +0 -17
  1679. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.js +0 -112
  1680. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.js.map +0 -1
  1681. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.d.ts +0 -14
  1682. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.js +0 -58
  1683. package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.js.map +0 -1
  1684. package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.d.ts +0 -14
  1685. package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.js +0 -52
  1686. package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.js.map +0 -1
  1687. package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.d.ts +0 -16
  1688. package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.js +0 -100
  1689. package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.js.map +0 -1
  1690. package/dist/src/features/draft-revision/commands/handlers/index.d.ts +0 -25
  1691. package/dist/src/features/draft-revision/commands/handlers/index.js +0 -54
  1692. package/dist/src/features/draft-revision/commands/handlers/index.js.map +0 -1
  1693. package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.d.ts +0 -13
  1694. package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.js +0 -10
  1695. package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.js.map +0 -1
  1696. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.d.ts +0 -27
  1697. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.js +0 -10
  1698. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.js.map +0 -1
  1699. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.d.ts +0 -13
  1700. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.js +0 -10
  1701. package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.js.map +0 -1
  1702. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.d.ts +0 -14
  1703. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.js +0 -10
  1704. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.js.map +0 -1
  1705. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.d.ts +0 -14
  1706. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.js +0 -10
  1707. package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.js.map +0 -1
  1708. package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.d.ts +0 -8
  1709. package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.js +0 -10
  1710. package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.js.map +0 -1
  1711. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.d.ts +0 -18
  1712. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.js +0 -10
  1713. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.js.map +0 -1
  1714. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.d.ts +0 -12
  1715. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.js +0 -10
  1716. package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.js.map +0 -1
  1717. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.d.ts +0 -23
  1718. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.js +0 -10
  1719. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.js.map +0 -1
  1720. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.d.ts +0 -13
  1721. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.js +0 -10
  1722. package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.js.map +0 -1
  1723. package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.d.ts +0 -10
  1724. package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.js +0 -10
  1725. package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.js.map +0 -1
  1726. package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.d.ts +0 -26
  1727. package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.js +0 -10
  1728. package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.js.map +0 -1
  1729. package/dist/src/features/draft-revision/commands/impl/index.d.ts +0 -12
  1730. package/dist/src/features/draft-revision/commands/impl/index.js +0 -29
  1731. package/dist/src/features/draft-revision/commands/impl/index.js.map +0 -1
  1732. package/dist/src/features/draft-revision/draft-revision-api.service.d.ts +0 -15
  1733. package/dist/src/features/draft-revision/draft-revision-api.service.js +0 -53
  1734. package/dist/src/features/draft-revision/draft-revision-api.service.js.map +0 -1
  1735. package/dist/src/features/draft-revision/draft-revision.constants.d.ts +0 -2
  1736. package/dist/src/features/draft-revision/draft-revision.constants.js +0 -6
  1737. package/dist/src/features/draft-revision/draft-revision.constants.js.map +0 -1
  1738. package/dist/src/features/draft-revision/draft-revision.module.d.ts +0 -2
  1739. package/dist/src/features/draft-revision/draft-revision.module.js +0 -40
  1740. package/dist/src/features/draft-revision/draft-revision.module.js.map +0 -1
  1741. package/dist/src/features/draft-revision/services/draft-revision-internal.service.d.ts +0 -59
  1742. package/dist/src/features/draft-revision/services/draft-revision-internal.service.js +0 -110
  1743. package/dist/src/features/draft-revision/services/draft-revision-internal.service.js.map +0 -1
  1744. package/dist/src/features/draft-revision/services/draft-revision-validation.service.d.ts +0 -9
  1745. package/dist/src/features/draft-revision/services/draft-revision-validation.service.js +0 -43
  1746. package/dist/src/features/draft-revision/services/draft-revision-validation.service.js.map +0 -1
  1747. package/dist/src/features/draft-revision/services/index.d.ts +0 -2
  1748. package/dist/src/features/draft-revision/services/index.js +0 -19
  1749. package/dist/src/features/draft-revision/services/index.js.map +0 -1
  1750. package/dist/src/features/organization/commands/handlers/index.d.ts +0 -2
  1751. package/dist/src/features/organization/commands/handlers/index.js +0 -19
  1752. package/dist/src/features/organization/commands/handlers/index.js.map +0 -1
  1753. package/dist/src/features/organization/queries/handlers/index.d.ts +0 -2
  1754. package/dist/src/features/organization/queries/handlers/index.js +0 -19
  1755. package/dist/src/features/organization/queries/handlers/index.js.map +0 -1
  1756. package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.d.ts +0 -27
  1757. package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.js +0 -175
  1758. package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.js.map +0 -1
  1759. package/dist/src/features/plugin/formula/index.d.ts +0 -2
  1760. package/dist/src/features/plugin/formula/index.js +0 -19
  1761. package/dist/src/features/plugin/formula/index.js.map +0 -1
  1762. package/dist/src/features/project/commands/handlers/__tests__/utils.d.ts +0 -33
  1763. package/dist/src/features/project/commands/handlers/__tests__/utils.js +0 -187
  1764. package/dist/src/features/project/commands/handlers/__tests__/utils.js.map +0 -1
  1765. package/dist/src/features/revision/index.d.ts +0 -2
  1766. package/dist/src/features/revision/index.js +0 -19
  1767. package/dist/src/features/revision/index.js.map +0 -1
  1768. package/dist/src/features/revision/internal-revisions-api.service.d.ts +0 -32
  1769. package/dist/src/features/revision/internal-revisions-api.service.js +0 -53
  1770. package/dist/src/features/revision/internal-revisions-api.service.js.map +0 -1
  1771. package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.d.ts +0 -20
  1772. package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js +0 -34
  1773. package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js.map +0 -1
  1774. package/dist/src/features/revision/queries/commands/get-migrations.handler.d.ts +0 -11
  1775. package/dist/src/features/revision/queries/commands/get-migrations.handler.js +0 -54
  1776. package/dist/src/features/revision/queries/commands/get-migrations.handler.js.map +0 -1
  1777. package/dist/src/features/revision/queries/commands/get-revision.handler.d.ts +0 -22
  1778. package/dist/src/features/revision/queries/commands/get-revision.handler.js +0 -34
  1779. package/dist/src/features/revision/queries/commands/get-revision.handler.js.map +0 -1
  1780. package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +0 -23
  1781. package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js +0 -68
  1782. package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js.map +0 -1
  1783. package/dist/src/features/revision/queries/commands/index.d.ts +0 -10
  1784. package/dist/src/features/revision/queries/commands/index.js +0 -24
  1785. package/dist/src/features/revision/queries/commands/index.js.map +0 -1
  1786. package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +0 -17
  1787. package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js +0 -34
  1788. package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js.map +0 -1
  1789. package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +0 -18
  1790. package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js +0 -56
  1791. package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js.map +0 -1
  1792. package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.d.ts +0 -22
  1793. package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js +0 -44
  1794. package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js.map +0 -1
  1795. package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +0 -22
  1796. package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js +0 -34
  1797. package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js.map +0 -1
  1798. package/dist/src/features/revision/queries/impl/get-children-by-revision.query.d.ts +0 -7
  1799. package/dist/src/features/revision/queries/impl/get-children-by-revision.query.js +0 -10
  1800. package/dist/src/features/revision/queries/impl/get-children-by-revision.query.js.map +0 -1
  1801. package/dist/src/features/revision/queries/impl/get-migrations.query.d.ts +0 -11
  1802. package/dist/src/features/revision/queries/impl/get-migrations.query.js +0 -10
  1803. package/dist/src/features/revision/queries/impl/get-migrations.query.js.map +0 -1
  1804. package/dist/src/features/revision/queries/impl/get-revision.query.d.ts +0 -11
  1805. package/dist/src/features/revision/queries/impl/get-revision.query.js +0 -10
  1806. package/dist/src/features/revision/queries/impl/get-revision.query.js.map +0 -1
  1807. package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.d.ts +0 -15
  1808. package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.js +0 -10
  1809. package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.js.map +0 -1
  1810. package/dist/src/features/revision/queries/impl/index.d.ts +0 -9
  1811. package/dist/src/features/revision/queries/impl/index.js +0 -26
  1812. package/dist/src/features/revision/queries/impl/index.js.map +0 -1
  1813. package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.d.ts +0 -7
  1814. package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.js +0 -10
  1815. package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.js.map +0 -1
  1816. package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.d.ts +0 -13
  1817. package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.js +0 -10
  1818. package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.js.map +0 -1
  1819. package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.d.ts +0 -7
  1820. package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.js +0 -10
  1821. package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.js.map +0 -1
  1822. package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.d.ts +0 -7
  1823. package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.js +0 -10
  1824. package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.js.map +0 -1
  1825. package/dist/src/features/revision/queries/types/get-revision-tables.types.d.ts +0 -3
  1826. package/dist/src/features/revision/queries/types/get-revision-tables.types.js +0 -3
  1827. package/dist/src/features/revision/queries/types/get-revision-tables.types.js.map +0 -1
  1828. package/dist/src/features/revision/queries/types/get-tables-by-revision-id.d.ts +0 -2
  1829. package/dist/src/features/revision/queries/types/get-tables-by-revision-id.js +0 -3
  1830. package/dist/src/features/revision/queries/types/get-tables-by-revision-id.js.map +0 -1
  1831. package/dist/src/features/revision/queries/types/index.d.ts +0 -4
  1832. package/dist/src/features/revision/queries/types/index.js +0 -3
  1833. package/dist/src/features/revision/queries/types/index.js.map +0 -1
  1834. package/dist/src/features/revision-changes/mappers/row-change.mapper.d.ts +0 -13
  1835. package/dist/src/features/revision-changes/mappers/row-change.mapper.js +0 -111
  1836. package/dist/src/features/revision-changes/mappers/row-change.mapper.js.map +0 -1
  1837. package/dist/src/features/revision-changes/mappers/table-change.mapper.d.ts +0 -19
  1838. package/dist/src/features/revision-changes/mappers/table-change.mapper.js +0 -74
  1839. package/dist/src/features/revision-changes/mappers/table-change.mapper.js.map +0 -1
  1840. package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.d.ts +0 -14
  1841. package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.js +0 -68
  1842. package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.js.map +0 -1
  1843. package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.d.ts +0 -24
  1844. package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.js +0 -177
  1845. package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.js.map +0 -1
  1846. package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.d.ts +0 -19
  1847. package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.js +0 -84
  1848. package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.js.map +0 -1
  1849. package/dist/src/features/revision-changes/queries/handlers/index.d.ts +0 -3
  1850. package/dist/src/features/revision-changes/queries/handlers/index.js +0 -20
  1851. package/dist/src/features/revision-changes/queries/handlers/index.js.map +0 -1
  1852. package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.d.ts +0 -15
  1853. package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.js +0 -10
  1854. package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.js.map +0 -1
  1855. package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.d.ts +0 -20
  1856. package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.js +0 -10
  1857. package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.js.map +0 -1
  1858. package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.d.ts +0 -20
  1859. package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.js +0 -10
  1860. package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.js.map +0 -1
  1861. package/dist/src/features/revision-changes/queries/impl/index.d.ts +0 -3
  1862. package/dist/src/features/revision-changes/queries/impl/index.js +0 -20
  1863. package/dist/src/features/revision-changes/queries/impl/index.js.map +0 -1
  1864. package/dist/src/features/revision-changes/revision-changes-api.service.d.ts +0 -9
  1865. package/dist/src/features/revision-changes/revision-changes-api.service.js +0 -35
  1866. package/dist/src/features/revision-changes/revision-changes-api.service.js.map +0 -1
  1867. package/dist/src/features/revision-changes/services/index.d.ts +0 -4
  1868. package/dist/src/features/revision-changes/services/index.js +0 -21
  1869. package/dist/src/features/revision-changes/services/index.js.map +0 -1
  1870. package/dist/src/features/revision-changes/services/revision-comparison.service.d.ts +0 -12
  1871. package/dist/src/features/revision-changes/services/revision-comparison.service.js +0 -99
  1872. package/dist/src/features/revision-changes/services/revision-comparison.service.js.map +0 -1
  1873. package/dist/src/features/revision-changes/services/row-diff.service.d.ts +0 -5
  1874. package/dist/src/features/revision-changes/services/row-diff.service.js +0 -37
  1875. package/dist/src/features/revision-changes/services/row-diff.service.js.map +0 -1
  1876. package/dist/src/features/revision-changes/services/schema-impact.service.d.ts +0 -13
  1877. package/dist/src/features/revision-changes/services/schema-impact.service.js +0 -138
  1878. package/dist/src/features/revision-changes/services/schema-impact.service.js.map +0 -1
  1879. package/dist/src/features/revision-changes/services/views-comparison.service.d.ts +0 -20
  1880. package/dist/src/features/revision-changes/services/views-comparison.service.js +0 -225
  1881. package/dist/src/features/revision-changes/services/views-comparison.service.js.map +0 -1
  1882. package/dist/src/features/revision-changes/utils/empty-responses.d.ts +0 -4
  1883. package/dist/src/features/revision-changes/utils/empty-responses.js +0 -36
  1884. package/dist/src/features/revision-changes/utils/empty-responses.js.map +0 -1
  1885. package/dist/src/features/role/queries/handlers/index.d.ts +0 -2
  1886. package/dist/src/features/role/queries/handlers/index.js +0 -19
  1887. package/dist/src/features/role/queries/handlers/index.js.map +0 -1
  1888. package/dist/src/features/role/queries/impl/index.d.ts +0 -2
  1889. package/dist/src/features/role/queries/impl/index.js +0 -19
  1890. package/dist/src/features/role/queries/impl/index.js.map +0 -1
  1891. package/dist/src/features/row/index.d.ts +0 -2
  1892. package/dist/src/features/row/index.js +0 -19
  1893. package/dist/src/features/row/index.js.map +0 -1
  1894. package/dist/src/features/row/internal-row-api.service.d.ts +0 -14
  1895. package/dist/src/features/row/internal-row-api.service.js +0 -50
  1896. package/dist/src/features/row/internal-row-api.service.js.map +0 -1
  1897. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.d.ts +0 -27
  1898. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js +0 -50
  1899. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js.map +0 -1
  1900. package/dist/src/features/row/queries/handlers/get-row.handler.d.ts +0 -11
  1901. package/dist/src/features/row/queries/handlers/get-row.handler.js +0 -66
  1902. package/dist/src/features/row/queries/handlers/get-row.handler.js.map +0 -1
  1903. package/dist/src/features/row/queries/handlers/get-rows.handler.d.ts +0 -33
  1904. package/dist/src/features/row/queries/handlers/get-rows.handler.js +0 -75
  1905. package/dist/src/features/row/queries/handlers/get-rows.handler.js.map +0 -1
  1906. package/dist/src/features/row/queries/handlers/index.d.ts +0 -9
  1907. package/dist/src/features/row/queries/handlers/index.js +0 -22
  1908. package/dist/src/features/row/queries/handlers/index.js.map +0 -1
  1909. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.d.ts +0 -17
  1910. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.js +0 -68
  1911. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.js.map +0 -1
  1912. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.d.ts +0 -16
  1913. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.js +0 -60
  1914. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.js.map +0 -1
  1915. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.d.ts +0 -36
  1916. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js +0 -91
  1917. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js.map +0 -1
  1918. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.d.ts +0 -36
  1919. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js +0 -104
  1920. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js.map +0 -1
  1921. package/dist/src/features/row/queries/handlers/search-rows.handler.d.ts +0 -13
  1922. package/dist/src/features/row/queries/handlers/search-rows.handler.js +0 -66
  1923. package/dist/src/features/row/queries/handlers/search-rows.handler.js.map +0 -1
  1924. package/dist/src/features/row/queries/impl/get-row-by-id.query.d.ts +0 -17
  1925. package/dist/src/features/row/queries/impl/get-row-by-id.query.js +0 -10
  1926. package/dist/src/features/row/queries/impl/get-row-by-id.query.js.map +0 -1
  1927. package/dist/src/features/row/queries/impl/get-row.query.d.ts +0 -15
  1928. package/dist/src/features/row/queries/impl/get-row.query.js +0 -10
  1929. package/dist/src/features/row/queries/impl/get-row.query.js.map +0 -1
  1930. package/dist/src/features/row/queries/impl/get-rows.query.d.ts +0 -24
  1931. package/dist/src/features/row/queries/impl/get-rows.query.js +0 -10
  1932. package/dist/src/features/row/queries/impl/get-rows.query.js.map +0 -1
  1933. package/dist/src/features/row/queries/impl/index.d.ts +0 -8
  1934. package/dist/src/features/row/queries/impl/index.js +0 -25
  1935. package/dist/src/features/row/queries/impl/index.js.map +0 -1
  1936. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.d.ts +0 -14
  1937. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.js +0 -10
  1938. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.js.map +0 -1
  1939. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.d.ts +0 -14
  1940. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.js +0 -10
  1941. package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.js.map +0 -1
  1942. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.d.ts +0 -22
  1943. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.js +0 -10
  1944. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.js.map +0 -1
  1945. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.d.ts +0 -22
  1946. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.js +0 -10
  1947. package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.js.map +0 -1
  1948. package/dist/src/features/row/queries/impl/search-rows.query.d.ts +0 -30
  1949. package/dist/src/features/row/queries/impl/search-rows.query.js +0 -10
  1950. package/dist/src/features/row/queries/impl/search-rows.query.js.map +0 -1
  1951. package/dist/src/features/row/services/index.d.ts +0 -1
  1952. package/dist/src/features/row/services/index.js +0 -6
  1953. package/dist/src/features/row/services/index.js.map +0 -1
  1954. package/dist/src/features/row/utils/get-keyset-pagination.d.ts +0 -17
  1955. package/dist/src/features/row/utils/get-keyset-pagination.js +0 -61
  1956. package/dist/src/features/row/utils/get-keyset-pagination.js.map +0 -1
  1957. package/dist/src/features/row/utils/search-rows-sql.d.ts +0 -16
  1958. package/dist/src/features/row/utils/search-rows-sql.js +0 -111
  1959. package/dist/src/features/row/utils/search-rows-sql.js.map +0 -1
  1960. package/dist/src/features/share/commands/utils/getRevisionCursorPagination.d.ts +0 -30
  1961. package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js +0 -71
  1962. package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js.map +0 -1
  1963. package/dist/src/features/share/const.d.ts +0 -2
  1964. package/dist/src/features/share/const.js +0 -14
  1965. package/dist/src/features/share/const.js.map +0 -1
  1966. package/dist/src/features/share/exceptions/index.d.ts +0 -1
  1967. package/dist/src/features/share/exceptions/index.js +0 -18
  1968. package/dist/src/features/share/exceptions/index.js.map +0 -1
  1969. package/dist/src/features/share/exceptions/validation.exception.d.ts +0 -58
  1970. package/dist/src/features/share/exceptions/validation.exception.js +0 -140
  1971. package/dist/src/features/share/exceptions/validation.exception.js.map +0 -1
  1972. package/dist/src/features/share/json-schema-store.service.d.ts +0 -7
  1973. package/dist/src/features/share/json-schema-store.service.js +0 -43
  1974. package/dist/src/features/share/json-schema-store.service.js.map +0 -1
  1975. package/dist/src/features/share/pagination.interface.d.ts +0 -15
  1976. package/dist/src/features/share/pagination.interface.js +0 -3
  1977. package/dist/src/features/share/pagination.interface.js.map +0 -1
  1978. package/dist/src/features/share/schema/consts.d.ts +0 -4
  1979. package/dist/src/features/share/schema/consts.js +0 -9
  1980. package/dist/src/features/share/schema/consts.js.map +0 -1
  1981. package/dist/src/features/share/schema/history-patches-schema.d.ts +0 -2
  1982. package/dist/src/features/share/schema/history-patches-schema.js +0 -21
  1983. package/dist/src/features/share/schema/history-patches-schema.js.map +0 -1
  1984. package/dist/src/features/share/schema/json-patch-schema.d.ts +0 -2
  1985. package/dist/src/features/share/schema/json-patch-schema.js +0 -79
  1986. package/dist/src/features/share/schema/json-patch-schema.js.map +0 -1
  1987. package/dist/src/features/share/schema/meta-schema.d.ts +0 -14
  1988. package/dist/src/features/share/schema/meta-schema.js +0 -240
  1989. package/dist/src/features/share/schema/meta-schema.js.map +0 -1
  1990. package/dist/src/features/share/schema/plugins/file-schema.d.ts +0 -4
  1991. package/dist/src/features/share/schema/plugins/file-schema.js +0 -62
  1992. package/dist/src/features/share/schema/plugins/file-schema.js.map +0 -1
  1993. package/dist/src/features/share/schema/plugins/row-created-at.schema.d.ts +0 -4
  1994. package/dist/src/features/share/schema/plugins/row-created-at.schema.js +0 -15
  1995. package/dist/src/features/share/schema/plugins/row-created-at.schema.js.map +0 -1
  1996. package/dist/src/features/share/schema/plugins/row-created-id.schema.d.ts +0 -4
  1997. package/dist/src/features/share/schema/plugins/row-created-id.schema.js +0 -15
  1998. package/dist/src/features/share/schema/plugins/row-created-id.schema.js.map +0 -1
  1999. package/dist/src/features/share/schema/plugins/row-hash.schema.d.ts +0 -4
  2000. package/dist/src/features/share/schema/plugins/row-hash.schema.js +0 -15
  2001. package/dist/src/features/share/schema/plugins/row-hash.schema.js.map +0 -1
  2002. package/dist/src/features/share/schema/plugins/row-id.schema.d.ts +0 -4
  2003. package/dist/src/features/share/schema/plugins/row-id.schema.js +0 -15
  2004. package/dist/src/features/share/schema/plugins/row-id.schema.js.map +0 -1
  2005. package/dist/src/features/share/schema/plugins/row-published-at.schema.d.ts +0 -4
  2006. package/dist/src/features/share/schema/plugins/row-published-at.schema.js +0 -14
  2007. package/dist/src/features/share/schema/plugins/row-published-at.schema.js.map +0 -1
  2008. package/dist/src/features/share/schema/plugins/row-schema-hash.schema.d.ts +0 -4
  2009. package/dist/src/features/share/schema/plugins/row-schema-hash.schema.js +0 -15
  2010. package/dist/src/features/share/schema/plugins/row-schema-hash.schema.js.map +0 -1
  2011. package/dist/src/features/share/schema/plugins/row-updated-at.schema.d.ts +0 -4
  2012. package/dist/src/features/share/schema/plugins/row-updated-at.schema.js +0 -15
  2013. package/dist/src/features/share/schema/plugins/row-updated-at.schema.js.map +0 -1
  2014. package/dist/src/features/share/schema/plugins/row-version-id.schema.d.ts +0 -4
  2015. package/dist/src/features/share/schema/plugins/row-version-id.schema.js +0 -15
  2016. package/dist/src/features/share/schema/plugins/row-version-id.schema.js.map +0 -1
  2017. package/dist/src/features/share/schema/shared-fields.d.ts +0 -11
  2018. package/dist/src/features/share/schema/shared-fields.js +0 -15
  2019. package/dist/src/features/share/schema/shared-fields.js.map +0 -1
  2020. package/dist/src/features/share/schema/table-migrations-schema.d.ts +0 -2
  2021. package/dist/src/features/share/schema/table-migrations-schema.js +0 -61
  2022. package/dist/src/features/share/schema/table-migrations-schema.js.map +0 -1
  2023. package/dist/src/features/share/schema/table-views-schema.d.ts +0 -2
  2024. package/dist/src/features/share/schema/table-views-schema.js +0 -126
  2025. package/dist/src/features/share/schema/table-views-schema.js.map +0 -1
  2026. package/dist/src/features/share/types/row-with-context.types.d.ts +0 -9
  2027. package/dist/src/features/share/types/row-with-context.types.js +0 -3
  2028. package/dist/src/features/share/types/row-with-context.types.js.map +0 -1
  2029. package/dist/src/features/share/types/table-with-context.types.d.ts +0 -6
  2030. package/dist/src/features/share/types/table-with-context.types.js +0 -3
  2031. package/dist/src/features/share/types/table-with-context.types.js.map +0 -1
  2032. package/dist/src/features/share/utils/index.d.ts +0 -1
  2033. package/dist/src/features/share/utils/index.js +0 -18
  2034. package/dist/src/features/share/utils/index.js.map +0 -1
  2035. package/dist/src/features/share/utils/sort-revisions/sort-revisions.d.ts +0 -6
  2036. package/dist/src/features/share/utils/sort-revisions/sort-revisions.js +0 -37
  2037. package/dist/src/features/share/utils/sort-revisions/sort-revisions.js.map +0 -1
  2038. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.d.ts +0 -2
  2039. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js +0 -114
  2040. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js.map +0 -1
  2041. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.d.ts +0 -3
  2042. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js +0 -18
  2043. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js.map +0 -1
  2044. package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.d.ts +0 -2
  2045. package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.js +0 -13
  2046. package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.js.map +0 -1
  2047. package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.d.ts +0 -2
  2048. package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.js +0 -18
  2049. package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.js.map +0 -1
  2050. package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.d.ts +0 -3
  2051. package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.js +0 -24
  2052. package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.js.map +0 -1
  2053. package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.d.ts +0 -2
  2054. package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.js +0 -15
  2055. package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.js.map +0 -1
  2056. package/dist/src/features/sub-schema/index.d.ts +0 -3
  2057. package/dist/src/features/sub-schema/index.js +0 -20
  2058. package/dist/src/features/sub-schema/index.js.map +0 -1
  2059. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.d.ts +0 -22
  2060. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js +0 -143
  2061. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js.map +0 -1
  2062. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.d.ts +0 -21
  2063. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js +0 -128
  2064. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js.map +0 -1
  2065. package/dist/src/features/sub-schema/queries/handlers/index.d.ts +0 -2
  2066. package/dist/src/features/sub-schema/queries/handlers/index.js +0 -6
  2067. package/dist/src/features/sub-schema/queries/handlers/index.js.map +0 -1
  2068. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.d.ts +0 -31
  2069. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js +0 -10
  2070. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js.map +0 -1
  2071. package/dist/src/features/sub-schema/queries/impl/index.d.ts +0 -1
  2072. package/dist/src/features/sub-schema/queries/impl/index.js +0 -18
  2073. package/dist/src/features/sub-schema/queries/impl/index.js.map +0 -1
  2074. package/dist/src/features/sub-schema/sub-schema-api.service.d.ts +0 -7
  2075. package/dist/src/features/sub-schema/sub-schema-api.service.js +0 -29
  2076. package/dist/src/features/sub-schema/sub-schema-api.service.js.map +0 -1
  2077. package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.d.ts +0 -8
  2078. package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js +0 -33
  2079. package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js.map +0 -1
  2080. package/dist/src/features/table/queries/handlers/get-table-by-id.handler.d.ts +0 -20
  2081. package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js +0 -42
  2082. package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js.map +0 -1
  2083. package/dist/src/features/table/queries/handlers/get-table.handler.d.ts +0 -14
  2084. package/dist/src/features/table/queries/handlers/get-table.handler.js +0 -58
  2085. package/dist/src/features/table/queries/handlers/get-table.handler.js.map +0 -1
  2086. package/dist/src/features/table/queries/handlers/get-tables.handler.d.ts +0 -11
  2087. package/dist/src/features/table/queries/handlers/get-tables.handler.js +0 -67
  2088. package/dist/src/features/table/queries/handlers/get-tables.handler.js.map +0 -1
  2089. package/dist/src/features/table/queries/handlers/index.d.ts +0 -10
  2090. package/dist/src/features/table/queries/handlers/index.js +0 -24
  2091. package/dist/src/features/table/queries/handlers/index.js.map +0 -1
  2092. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.d.ts +0 -15
  2093. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.js +0 -54
  2094. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.js.map +0 -1
  2095. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.d.ts +0 -14
  2096. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.js +0 -53
  2097. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.js.map +0 -1
  2098. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.d.ts +0 -17
  2099. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.js +0 -80
  2100. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.js.map +0 -1
  2101. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.d.ts +0 -16
  2102. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.js +0 -80
  2103. package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.js.map +0 -1
  2104. package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.d.ts +0 -13
  2105. package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js +0 -47
  2106. package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js.map +0 -1
  2107. package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.d.ts +0 -10
  2108. package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.js +0 -10
  2109. package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.js.map +0 -1
  2110. package/dist/src/features/table/queries/impl/get-table-by-id.query.d.ts +0 -10
  2111. package/dist/src/features/table/queries/impl/get-table-by-id.query.js +0 -10
  2112. package/dist/src/features/table/queries/impl/get-table-by-id.query.js.map +0 -1
  2113. package/dist/src/features/table/queries/impl/get-table.query.d.ts +0 -13
  2114. package/dist/src/features/table/queries/impl/get-table.query.js +0 -10
  2115. package/dist/src/features/table/queries/impl/get-table.query.js.map +0 -1
  2116. package/dist/src/features/table/queries/impl/get-tables.query.d.ts +0 -15
  2117. package/dist/src/features/table/queries/impl/get-tables.query.js +0 -10
  2118. package/dist/src/features/table/queries/impl/get-tables.query.js.map +0 -1
  2119. package/dist/src/features/table/queries/impl/index.d.ts +0 -8
  2120. package/dist/src/features/table/queries/impl/index.js +0 -25
  2121. package/dist/src/features/table/queries/impl/index.js.map +0 -1
  2122. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.d.ts +0 -12
  2123. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.js +0 -10
  2124. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.js.map +0 -1
  2125. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.d.ts +0 -12
  2126. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.js +0 -10
  2127. package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.js.map +0 -1
  2128. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.d.ts +0 -18
  2129. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.js +0 -10
  2130. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.js.map +0 -1
  2131. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.d.ts +0 -18
  2132. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.js +0 -10
  2133. package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.js.map +0 -1
  2134. package/dist/src/features/table/queries/impl/resolve-table-schema.query.d.ts +0 -13
  2135. package/dist/src/features/table/queries/impl/resolve-table-schema.query.js +0 -10
  2136. package/dist/src/features/table/queries/impl/resolve-table-schema.query.js.map +0 -1
  2137. package/dist/src/features/table/queries/types/get-table-by-id.types.d.ts +0 -2
  2138. package/dist/src/features/table/queries/types/get-table-by-id.types.js +0 -3
  2139. package/dist/src/features/table/queries/types/get-table-by-id.types.js.map +0 -1
  2140. package/dist/src/features/table/queries/types/get-table-rows.types.d.ts +0 -3
  2141. package/dist/src/features/table/queries/types/get-table-rows.types.js +0 -3
  2142. package/dist/src/features/table/queries/types/get-table-rows.types.js.map +0 -1
  2143. package/dist/src/features/table/queries/types/get-table.types.d.ts +0 -2
  2144. package/dist/src/features/table/queries/types/get-table.types.js +0 -3
  2145. package/dist/src/features/table/queries/types/get-table.types.js.map +0 -1
  2146. package/dist/src/features/table/queries/types/get-tables.types.d.ts +0 -3
  2147. package/dist/src/features/table/queries/types/get-tables.types.js +0 -3
  2148. package/dist/src/features/table/queries/types/get-tables.types.js.map +0 -1
  2149. package/dist/src/features/table/queries/types/index.d.ts +0 -6
  2150. package/dist/src/features/table/queries/types/index.js +0 -23
  2151. package/dist/src/features/table/queries/types/index.js.map +0 -1
  2152. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.d.ts +0 -3
  2153. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.js +0 -3
  2154. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.js.map +0 -1
  2155. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.d.ts +0 -3
  2156. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.js +0 -3
  2157. package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.js.map +0 -1
  2158. package/dist/src/features/user/commands/handlers/index.d.ts +0 -3
  2159. package/dist/src/features/user/commands/handlers/index.js +0 -20
  2160. package/dist/src/features/user/commands/handlers/index.js.map +0 -1
  2161. package/dist/src/features/user/queries/handlers/index.d.ts +0 -6
  2162. package/dist/src/features/user/queries/handlers/index.js +0 -23
  2163. package/dist/src/features/user/queries/handlers/index.js.map +0 -1
  2164. package/dist/src/features/views/commands/handlers/index.d.ts +0 -3
  2165. package/dist/src/features/views/commands/handlers/index.js +0 -21
  2166. package/dist/src/features/views/commands/handlers/index.js.map +0 -1
  2167. package/dist/src/features/views/commands/handlers/update-table-views.handler.d.ts +0 -25
  2168. package/dist/src/features/views/commands/handlers/update-table-views.handler.js +0 -125
  2169. package/dist/src/features/views/commands/handlers/update-table-views.handler.js.map +0 -1
  2170. package/dist/src/features/views/commands/impl/index.d.ts +0 -1
  2171. package/dist/src/features/views/commands/impl/index.js +0 -18
  2172. package/dist/src/features/views/commands/impl/index.js.map +0 -1
  2173. package/dist/src/features/views/commands/impl/update-table-views.command.d.ts +0 -11
  2174. package/dist/src/features/views/commands/impl/update-table-views.command.js +0 -10
  2175. package/dist/src/features/views/commands/impl/update-table-views.command.js.map +0 -1
  2176. package/dist/src/features/views/index.d.ts +0 -6
  2177. package/dist/src/features/views/index.js +0 -23
  2178. package/dist/src/features/views/index.js.map +0 -1
  2179. package/dist/src/features/views/queries/handlers/get-table-views.handler.d.ts +0 -13
  2180. package/dist/src/features/views/queries/handlers/get-table-views.handler.js +0 -72
  2181. package/dist/src/features/views/queries/handlers/get-table-views.handler.js.map +0 -1
  2182. package/dist/src/features/views/queries/handlers/index.d.ts +0 -3
  2183. package/dist/src/features/views/queries/handlers/index.js +0 -21
  2184. package/dist/src/features/views/queries/handlers/index.js.map +0 -1
  2185. package/dist/src/features/views/queries/impl/get-table-views.query.d.ts +0 -10
  2186. package/dist/src/features/views/queries/impl/get-table-views.query.js +0 -10
  2187. package/dist/src/features/views/queries/impl/get-table-views.query.js.map +0 -1
  2188. package/dist/src/features/views/queries/impl/index.d.ts +0 -1
  2189. package/dist/src/features/views/queries/impl/index.js +0 -18
  2190. package/dist/src/features/views/queries/impl/index.js.map +0 -1
  2191. package/dist/src/features/views/services/index.d.ts +0 -1
  2192. package/dist/src/features/views/services/index.js +0 -18
  2193. package/dist/src/features/views/services/index.js.map +0 -1
  2194. package/dist/src/features/views/views-api.service.d.ts +0 -12
  2195. package/dist/src/features/views/views-api.service.js +0 -38
  2196. package/dist/src/features/views/views-api.service.js.map +0 -1
  2197. package/dist/src/infrastructure/admin/index.d.ts +0 -0
  2198. package/dist/src/infrastructure/admin/index.js +0 -1
  2199. package/dist/src/infrastructure/admin/index.js.map +0 -1
  2200. package/dist/src/infrastructure/configuration/queries/handlers/index.d.ts +0 -1
  2201. package/dist/src/infrastructure/configuration/queries/handlers/index.js +0 -18
  2202. package/dist/src/infrastructure/configuration/queries/handlers/index.js.map +0 -1
  2203. package/dist/src/infrastructure/configuration/queries/impl/index.d.ts +0 -1
  2204. package/dist/src/infrastructure/configuration/queries/impl/index.js +0 -18
  2205. package/dist/src/infrastructure/configuration/queries/impl/index.js.map +0 -1
  2206. package/dist/src/infrastructure/database/hash.service.d.ts +0 -4
  2207. package/dist/src/infrastructure/database/hash.service.js +0 -14
  2208. package/dist/src/infrastructure/database/hash.service.js.map +0 -1
  2209. package/dist/src/infrastructure/database/id.service.d.ts +0 -3
  2210. package/dist/src/infrastructure/database/id.service.js +0 -21
  2211. package/dist/src/infrastructure/database/id.service.js.map +0 -1
  2212. /package/dist/src/features/{draft → revision}/commands/impl/create-revision.command.js +0 -0
  2213. /package/dist/src/features/{draft → revision}/commands/impl/revert-changes.command.js +0 -0
  2214. /package/dist/src/features/{draft → row}/commands/impl/create-rows.command.js +0 -0
  2215. /package/dist/src/features/{draft → row}/commands/impl/patch-rows.command.js +0 -0
  2216. /package/dist/src/features/{draft → row}/commands/impl/remove-rows.command.js +0 -0
  2217. /package/dist/src/features/{draft → row}/commands/impl/rename-row.command.js +0 -0
  2218. /package/dist/src/features/{draft → row}/commands/impl/update-rows.command.js +0 -0
  2219. /package/dist/src/features/{draft → table}/commands/impl/create-table.command.js +0 -0
  2220. /package/dist/src/features/{draft → table}/commands/impl/remove-table.command.js +0 -0
  2221. /package/dist/src/features/{draft → table}/commands/impl/rename-table.command.js +0 -0
  2222. /package/dist/src/features/{draft → table}/commands/impl/update-table.command.js +0 -0
  2223. /package/dist/src/{api/rest-api/table/dto/__tests__/utils.d.ts → testing/assertions/find-constraint.d.ts} +0 -0
  2224. /package/dist/src/{__tests__/e2e/shared → testing/e2e}/helpers.d.ts +0 -0
  2225. /package/dist/src/{__tests__/e2e/shared → testing/e2e}/index.d.ts +0 -0
  2226. /package/dist/src/{__tests__/e2e/shared → testing/e2e}/index.js +0 -0
  2227. /package/dist/src/{__tests__ → testing}/utils/file.d.ts +0 -0
  2228. /package/dist/src/{__tests__ → testing}/utils/file.js +0 -0
  2229. /package/dist/src/{__tests__ → testing}/utils/gql.d.ts +0 -0
  2230. /package/dist/src/{__tests__ → testing}/utils/gql.js +0 -0
  2231. /package/dist/src/{__tests__ → testing}/utils/queryTest.d.ts +0 -0
  2232. /package/dist/src/{__tests__ → testing}/utils/queryTest.js +0 -0
@@ -11,24 +11,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  return function (target, key) { decorator(target, key, paramIndex); }
13
13
  };
14
+ var OAuthController_1;
14
15
  Object.defineProperty(exports, "__esModule", { value: true });
15
16
  exports.OAuthController = void 0;
16
17
  const common_1 = require("@nestjs/common");
17
18
  const config_1 = require("@nestjs/config");
18
- const jwt_1 = require("@nestjs/jwt");
19
19
  const swagger_1 = require("@nestjs/swagger");
20
- const jwt_secret_service_1 = require("../auth/jwt-secret.service");
20
+ const node_buffer_1 = require("node:buffer");
21
+ const http_jwt_auth_guard_service_1 = require("../auth/guards/jwt/http-jwt-auth-guard.service");
22
+ const no_auth_service_1 = require("../auth/no-auth.service");
21
23
  const oauth_client_service_1 = require("./oauth-client.service");
22
24
  const oauth_authorization_service_1 = require("./oauth-authorization.service");
23
25
  const oauth_token_service_1 = require("./oauth-token.service");
24
- let OAuthController = class OAuthController {
25
- constructor(configService, jwtService, jwtSecret, clientService, authorizationService, tokenService) {
26
+ let OAuthController = OAuthController_1 = class OAuthController {
27
+ constructor(configService, clientService, authorizationService, tokenService, noAuth) {
26
28
  this.configService = configService;
27
- this.jwtService = jwtService;
28
- this.jwtSecret = jwtSecret;
29
29
  this.clientService = clientService;
30
30
  this.authorizationService = authorizationService;
31
31
  this.tokenService = tokenService;
32
+ this.noAuth = noAuth;
32
33
  this.publicUrl =
33
34
  this.configService.get('PUBLIC_URL') || 'http://localhost:8080';
34
35
  }
@@ -41,9 +42,15 @@ let OAuthController = class OAuthController {
41
42
  response_types_supported: ['code'],
42
43
  grant_types_supported: ['authorization_code', 'refresh_token'],
43
44
  code_challenge_methods_supported: ['S256'],
44
- token_endpoint_auth_methods_supported: ['client_secret_post'],
45
+ token_endpoint_auth_methods_supported: [
46
+ 'client_secret_post',
47
+ 'client_secret_basic',
48
+ ],
45
49
  revocation_endpoint: `${this.publicUrl}/oauth/revoke`,
46
- revocation_endpoint_auth_methods_supported: ['client_secret_post'],
50
+ revocation_endpoint_auth_methods_supported: [
51
+ 'client_secret_post',
52
+ 'client_secret_basic',
53
+ ],
47
54
  scopes_supported: ['mcp'],
48
55
  };
49
56
  }
@@ -71,6 +78,7 @@ let OAuthController = class OAuthController {
71
78
  client_id: result.clientId,
72
79
  client_secret: result.clientSecret,
73
80
  client_name: result.clientName,
81
+ token_endpoint_auth_method: 'client_secret_post',
74
82
  redirect_uris: body.redirect_uris,
75
83
  grant_types: body.grant_types ?? ['authorization_code', 'refresh_token'],
76
84
  };
@@ -107,6 +115,9 @@ let OAuthController = class OAuthController {
107
115
  }
108
116
  async handleAuthorize(req, body) {
109
117
  const { client_id, redirect_uri, code_challenge, state, scope } = body;
118
+ if (!this.noAuth.enabled && req.user.authMethod !== 'jwt') {
119
+ throw new common_1.ForbiddenException('OAuth authorize requires a JWT-authenticated user session');
120
+ }
110
121
  if (!client_id || !redirect_uri || !code_challenge || !state) {
111
122
  throw new common_1.BadRequestException('Missing required fields');
112
123
  }
@@ -117,10 +128,9 @@ let OAuthController = class OAuthController {
117
128
  if (!client.redirectUris.includes(redirect_uri)) {
118
129
  throw new common_1.BadRequestException('Invalid redirect_uri');
119
130
  }
120
- const userId = this.extractUserIdFromBearer(req);
121
131
  const code = await this.authorizationService.createAuthorizationCode({
122
132
  clientId: client_id,
123
- userId,
133
+ userId: req.user.userId,
124
134
  redirectUri: redirect_uri,
125
135
  codeChallenge: code_challenge,
126
136
  scope,
@@ -132,51 +142,53 @@ let OAuthController = class OAuthController {
132
142
  redirect_uri: redirectUrl.toString(),
133
143
  };
134
144
  }
135
- async revokeToken(body) {
136
- const { token, token_type_hint, client_id, client_secret } = body;
145
+ async revokeToken(req, body) {
146
+ const { token, token_type_hint } = body;
137
147
  if (!token) {
138
148
  throw new common_1.BadRequestException('token is required');
139
149
  }
140
- if (!client_id || !client_secret) {
150
+ const { clientId, clientSecret } = this.extractClientCredentials(req, body);
151
+ if (!clientId || !clientSecret) {
141
152
  throw new common_1.BadRequestException('Client authentication required');
142
153
  }
143
- const validSecret = await this.clientService.validateClientSecret(client_id, client_secret);
154
+ const validSecret = await this.clientService.validateClientSecret(clientId, clientSecret);
144
155
  if (!validSecret) {
145
156
  throw new common_1.BadRequestException('Invalid client credentials');
146
157
  }
147
- await this.tokenService.revokeToken(token, token_type_hint, client_id);
158
+ await this.tokenService.revokeToken(token, token_type_hint, clientId);
148
159
  return {};
149
160
  }
150
- async exchangeToken(body) {
161
+ async exchangeToken(req, body) {
151
162
  const grantType = body.grant_type;
152
163
  if (grantType === 'authorization_code') {
153
- return this.handleAuthorizationCodeGrant(body);
164
+ return this.handleAuthorizationCodeGrant(req, body);
154
165
  }
155
166
  if (grantType === 'refresh_token') {
156
- return this.handleRefreshTokenGrant(body);
167
+ return this.handleRefreshTokenGrant(req, body);
157
168
  }
158
169
  throw new common_1.BadRequestException(`Unsupported grant_type: ${grantType}`);
159
170
  }
160
- async handleAuthorizationCodeGrant(body) {
161
- const { code, client_id, client_secret, code_verifier, redirect_uri } = body;
171
+ async handleAuthorizationCodeGrant(req, body) {
172
+ const { code, code_verifier, redirect_uri } = body;
173
+ const { clientId, clientSecret } = this.extractClientCredentials(req, body);
162
174
  if (!code ||
163
- !client_id ||
164
- !client_secret ||
175
+ !clientId ||
176
+ !clientSecret ||
165
177
  !code_verifier ||
166
178
  !redirect_uri) {
167
179
  throw new common_1.BadRequestException('Missing required parameters for authorization_code grant');
168
180
  }
169
- const validSecret = await this.clientService.validateClientSecret(client_id, client_secret);
181
+ const validSecret = await this.clientService.validateClientSecret(clientId, clientSecret);
170
182
  if (!validSecret) {
171
183
  throw new common_1.BadRequestException('Invalid client credentials');
172
184
  }
173
185
  const { userId, scope } = await this.authorizationService.exchangeCode({
174
186
  code,
175
- clientId: client_id,
187
+ clientId,
176
188
  codeVerifier: code_verifier,
177
189
  redirectUri: redirect_uri,
178
190
  });
179
- const tokens = await this.tokenService.createTokens(client_id, userId, scope ?? undefined);
191
+ const tokens = await this.tokenService.createTokens(clientId, userId, scope ?? undefined);
180
192
  return {
181
193
  access_token: tokens.accessToken,
182
194
  token_type: tokens.tokenType,
@@ -184,16 +196,17 @@ let OAuthController = class OAuthController {
184
196
  refresh_token: tokens.refreshToken,
185
197
  };
186
198
  }
187
- async handleRefreshTokenGrant(body) {
188
- const { client_id, client_secret, refresh_token } = body;
189
- if (!client_id || !client_secret || !refresh_token) {
199
+ async handleRefreshTokenGrant(req, body) {
200
+ const { refresh_token } = body;
201
+ const { clientId, clientSecret } = this.extractClientCredentials(req, body);
202
+ if (!clientId || !clientSecret || !refresh_token) {
190
203
  throw new common_1.BadRequestException('Missing required parameters for refresh_token grant');
191
204
  }
192
- const validSecret = await this.clientService.validateClientSecret(client_id, client_secret);
205
+ const validSecret = await this.clientService.validateClientSecret(clientId, clientSecret);
193
206
  if (!validSecret) {
194
207
  throw new common_1.BadRequestException('Invalid client credentials');
195
208
  }
196
- const tokens = await this.tokenService.refreshTokens(refresh_token, client_id);
209
+ const tokens = await this.tokenService.refreshTokens(refresh_token, clientId);
197
210
  return {
198
211
  access_token: tokens.accessToken,
199
212
  token_type: tokens.tokenType,
@@ -201,27 +214,43 @@ let OAuthController = class OAuthController {
201
214
  refresh_token: tokens.refreshToken,
202
215
  };
203
216
  }
204
- extractUserIdFromBearer(req) {
217
+ extractClientCredentials(req, body) {
205
218
  const authHeader = req.headers['authorization'];
206
- if (!authHeader?.startsWith('Bearer ')) {
207
- throw new common_1.UnauthorizedException('Missing Authorization header');
208
- }
209
- const token = authHeader.slice(7);
210
- try {
211
- const decoded = this.jwtService.verify(token, {
212
- secret: this.jwtSecret.secret,
213
- });
214
- if (!decoded?.sub) {
215
- throw new common_1.UnauthorizedException('Invalid token');
219
+ if (authHeader?.startsWith('Basic ')) {
220
+ const encoded = authHeader.slice(6).trim();
221
+ try {
222
+ if (encoded.length === 0 ||
223
+ encoded.length % 4 !== 0 ||
224
+ !OAuthController_1.BASIC_AUTH_BASE64_REGEX.test(encoded)) {
225
+ throw new common_1.BadRequestException('Invalid client credentials');
226
+ }
227
+ const decoded = node_buffer_1.Buffer.from(encoded, 'base64').toString('utf8');
228
+ const separatorIndex = decoded.indexOf(':');
229
+ if (separatorIndex <= 0) {
230
+ throw new common_1.BadRequestException('Invalid client credentials');
231
+ }
232
+ const clientId = decoded.slice(0, separatorIndex);
233
+ const clientSecret = decoded.slice(separatorIndex + 1);
234
+ if (!clientId || !clientSecret) {
235
+ throw new common_1.BadRequestException('Invalid client credentials');
236
+ }
237
+ return {
238
+ clientId,
239
+ clientSecret,
240
+ };
241
+ }
242
+ catch {
243
+ throw new common_1.BadRequestException('Invalid client credentials');
216
244
  }
217
- return decoded.sub;
218
- }
219
- catch {
220
- throw new common_1.UnauthorizedException('Invalid or expired token');
221
245
  }
246
+ return {
247
+ clientId: body.client_id,
248
+ clientSecret: body.client_secret,
249
+ };
222
250
  }
223
251
  };
224
252
  exports.OAuthController = OAuthController;
253
+ OAuthController.BASIC_AUTH_BASE64_REGEX = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;
225
254
  __decorate([
226
255
  (0, common_1.Get)('.well-known/oauth-authorization-server'),
227
256
  __metadata("design:type", Function),
@@ -250,6 +279,7 @@ __decorate([
250
279
  __metadata("design:returntype", Promise)
251
280
  ], OAuthController.prototype, "handleAuthorizeGet", null);
252
281
  __decorate([
282
+ (0, common_1.UseGuards)(http_jwt_auth_guard_service_1.HttpJwtAuthGuard),
253
283
  (0, common_1.Post)('oauth/authorize'),
254
284
  __param(0, (0, common_1.Req)()),
255
285
  __param(1, (0, common_1.Body)()),
@@ -260,26 +290,27 @@ __decorate([
260
290
  __decorate([
261
291
  (0, common_1.Post)('oauth/revoke'),
262
292
  (0, common_1.HttpCode)(200),
263
- __param(0, (0, common_1.Body)()),
293
+ __param(0, (0, common_1.Req)()),
294
+ __param(1, (0, common_1.Body)()),
264
295
  __metadata("design:type", Function),
265
- __metadata("design:paramtypes", [Object]),
296
+ __metadata("design:paramtypes", [Object, Object]),
266
297
  __metadata("design:returntype", Promise)
267
298
  ], OAuthController.prototype, "revokeToken", null);
268
299
  __decorate([
269
300
  (0, common_1.Post)('oauth/token'),
270
- __param(0, (0, common_1.Body)()),
301
+ __param(0, (0, common_1.Req)()),
302
+ __param(1, (0, common_1.Body)()),
271
303
  __metadata("design:type", Function),
272
- __metadata("design:paramtypes", [Object]),
304
+ __metadata("design:paramtypes", [Object, Object]),
273
305
  __metadata("design:returntype", Promise)
274
306
  ], OAuthController.prototype, "exchangeToken", null);
275
- exports.OAuthController = OAuthController = __decorate([
307
+ exports.OAuthController = OAuthController = OAuthController_1 = __decorate([
276
308
  (0, swagger_1.ApiExcludeController)(),
277
309
  (0, common_1.Controller)(),
278
310
  __metadata("design:paramtypes", [config_1.ConfigService,
279
- jwt_1.JwtService,
280
- jwt_secret_service_1.JwtSecretService,
281
311
  oauth_client_service_1.OAuthClientService,
282
312
  oauth_authorization_service_1.OAuthAuthorizationService,
283
- oauth_token_service_1.OAuthTokenService])
313
+ oauth_token_service_1.OAuthTokenService,
314
+ no_auth_service_1.NoAuthService])
284
315
  ], OAuthController);
285
316
  //# sourceMappingURL=oauth.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth.controller.js","sourceRoot":"","sources":["../../../../src/features/oauth/oauth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAWwB;AACxB,2CAA+C;AAC/C,qCAAyC;AACzC,6CAAuD;AAEvD,mEAAwE;AACxE,iEAA4D;AAC5D,+EAA0E;AAC1E,+DAA0D;AAInD,IAAM,eAAe,GAArB,MAA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,EAAC,gBAAgB,CAAC;IAEpB,WAAA,IAAA,aAAI,GAAE,CAAA;;;;qDA4BR;AAGK;IADL,IAAA,YAAG,EAAC,iBAAiB,CAAC;IAEpB,WAAA,IAAA,cAAK,GAAE,CAAA;IAUP,WAAA,IAAA,YAAG,GAAE,CAAA;;;;yDAkDP;AAIK;IAFL,IAAA,kBAAS,EAAC,8CAAgB,CAAC;IAC3B,IAAA,aAAI,EAAC,iBAAiB,CAAC;IAErB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;sDA6CR;AAIK;IAFL,IAAA,aAAI,EAAC,cAAc,CAAC;IACpB,IAAA,iBAAQ,EAAC,GAAG,CAAC;IAEX,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;kDA+BR;AAGK;IADL,IAAA,aAAI,EAAC,aAAa,CAAC;IAEjB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;oDAsBR;0BAlQU,eAAe;IAF3B,IAAA,8BAAoB,GAAE;IACtB,IAAA,mBAAU,GAAE;qCAOuB,sBAAa;QACb,yCAAkB;QACX,uDAAyB;QACjC,uCAAiB;QACvB,+BAAa;GAV7B,eAAe,CA8Y3B"}
@@ -1,12 +1,14 @@
1
1
  import { ICommandHandler } from '@nestjs/cqrs';
2
- import { IdService } from '../../../../infrastructure/database/id.service';
2
+ import { ILimitsService } from '../../../../features/billing/limits.interface';
3
+ import { IdService } from '@revisium/engine';
3
4
  import { PrismaService } from '../../../../infrastructure/database/prisma.service';
4
5
  import { AddUserToOrganizationCommand, AddUserToOrganizationCommandReturnType } from '../../../../features/organization/commands/impl';
5
6
  export declare class AddUserToOrganizationHandler implements ICommandHandler<AddUserToOrganizationCommand, AddUserToOrganizationCommandReturnType> {
6
7
  private readonly prisma;
7
8
  private readonly idService;
8
- constructor(prisma: PrismaService, idService: IdService);
9
+ private readonly limitsService;
10
+ constructor(prisma: PrismaService, idService: IdService, limitsService: ILimitsService);
9
11
  execute({ data }: AddUserToOrganizationCommand): Promise<boolean>;
10
12
  private upsertUserOrganization;
11
- private getUserOrganizationId;
13
+ private getExistingUserOrganization;
12
14
  }
@@ -8,24 +8,37 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.AddUserToOrganizationHandler = void 0;
13
16
  const common_1 = require("@nestjs/common");
14
17
  const cqrs_1 = require("@nestjs/cqrs");
18
+ const limits_interface_1 = require("../../../billing/limits.interface");
19
+ const limit_exceeded_exception_1 = require("../../../billing/limit-exceeded.exception");
15
20
  const consts_1 = require("../../../auth/consts");
16
- const id_service_1 = require("../../../../infrastructure/database/id.service");
21
+ const engine_1 = require("@revisium/engine");
17
22
  const prisma_service_1 = require("../../../../infrastructure/database/prisma.service");
18
23
  const impl_1 = require("../impl");
19
24
  let AddUserToOrganizationHandler = class AddUserToOrganizationHandler {
20
- constructor(prisma, idService) {
25
+ constructor(prisma, idService, limitsService) {
21
26
  this.prisma = prisma;
22
27
  this.idService = idService;
28
+ this.limitsService = limitsService;
23
29
  }
24
30
  async execute({ data }) {
25
31
  if (!(0, consts_1.isValidOrganizationRole)(data.roleId)) {
26
32
  throw new common_1.BadRequestException('Invalid OrganizationRole');
27
33
  }
28
- const userOrganizationId = await this.getUserOrganizationId(data);
34
+ const existing = await this.getExistingUserOrganization(data);
35
+ if (!existing) {
36
+ const limitResult = await this.limitsService.checkLimit(data.organizationId, limits_interface_1.LimitMetric.SEATS, 1);
37
+ if (!limitResult.allowed) {
38
+ throw new limit_exceeded_exception_1.LimitExceededException(limitResult);
39
+ }
40
+ }
41
+ const userOrganizationId = existing?.id ?? this.idService.generate();
29
42
  await this.upsertUserOrganization(data, userOrganizationId);
30
43
  return true;
31
44
  }
@@ -45,8 +58,8 @@ let AddUserToOrganizationHandler = class AddUserToOrganizationHandler {
45
58
  },
46
59
  });
47
60
  }
48
- async getUserOrganizationId(data) {
49
- const result = await this.prisma.userOrganization.findFirst({
61
+ async getExistingUserOrganization(data) {
62
+ return this.prisma.userOrganization.findFirst({
50
63
  where: {
51
64
  userId: data.userId,
52
65
  organizationId: data.organizationId,
@@ -55,13 +68,13 @@ let AddUserToOrganizationHandler = class AddUserToOrganizationHandler {
55
68
  id: true,
56
69
  },
57
70
  });
58
- return result?.id || this.idService.generate();
59
71
  }
60
72
  };
61
73
  exports.AddUserToOrganizationHandler = AddUserToOrganizationHandler;
62
74
  exports.AddUserToOrganizationHandler = AddUserToOrganizationHandler = __decorate([
63
75
  (0, cqrs_1.CommandHandler)(impl_1.AddUserToOrganizationCommand),
76
+ __param(2, (0, common_1.Inject)(limits_interface_1.LIMITS_SERVICE_TOKEN)),
64
77
  __metadata("design:paramtypes", [prisma_service_1.PrismaService,
65
- id_service_1.IdService])
78
+ engine_1.IdService, Object])
66
79
  ], AddUserToOrganizationHandler);
67
80
  //# sourceMappingURL=add-user-to-organization.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-to-organization.handler.js","sourceRoot":"","sources":["../../../../../../src/features/organization/commands/handlers/add-user-to-organization.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAC/D,iDAAmE;AACnE,+EAAmE;AACnE,uFAA2E;AAC3E,kCAGiD;AAG1C,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAIvC,YACmB,MAAqB,EACrB,SAAoB;QADpB,WAAM,GAAN,MAAM,CAAe;QACrB,cAAS,GAAT,SAAS,CAAW;IACpC,CAAC;IAEG,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAg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B,CAwDxC"}
1
+ {"version":3,"file":"add-user-to-organization.handler.js","sourceRoot":"","sources":["../../../../../../src/features/organization/commands/handlers/add-user-to-organization.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA6D;AAC7D,uCAA+D;AAC/D,wEAI+C;AAC/C,wFAAuF;AACvF,iDAAmE;AACnE,6CAA6C;AAC7C,uFAA2E;AAC3E,kCAGiD;AAG1C,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAIvC,YACmB,MAAqB,EACrB,SAAoB,EAEpB,aAA6B;QAH7B,WAAM,GAAN,MAAM,CAAe;QACrB,cAAS,GAAT,SAAS,CAAW;QAEpB,kBAAa,GAAb,aAAa,CAAgB;IAC7C,CAAC;IAEG,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAgC;QACzD,IAAI,CAAC,IAAA,gCAAuB,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC1C,MAAM,IAAI,4BAAmB,CAAC,0BAA0B,CAAC,CAAC;QAC5D,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;QAG9D,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,UAAU,CACrD,IAAI,CAAC,cAAc,EACnB,8BAAW,CAAC,KAAK,EACjB,CAAC,CACF,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;gBACzB,MAAM,IAAI,iDAAsB,CAAC,WAAW,CAAC,CAAC;YAChD,CAAC;QACH,CAAC;QAED,MAAM,kBAAkB,GAAG,QAAQ,EAAE,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QAErE,MAAM,IAAI,CAAC,sBAAsB,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAE5D,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,sBAAsB,CAC5B,IAA0C,EAC1C,kBAA0B;QAE1B,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;YACzC,KAAK,EAAE;gBACL,EAAE,EAAE,kBAAkB;aACvB;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,kBAAkB;gBACtB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,cAAc,EAAE,IAAI,CAAC,cAAc;gBACnC,MAAM,EAAE,IAAI,CAAC,MAAM;aACpB;YACD,MAAM,EAAE;gBACN,MAAM,EAAE,IAAI,CAAC,MAAM;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,2BAA2B,CACvC,IAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC;YAC5C,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,cAAc,EAAE,IAAI,CAAC,cAAc;aACpC;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;aACT;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAtEY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,qBAAc,EAAC,mCAA4B,CAAC;IAQxC,WAAA,IAAA,eAAM,EAAC,uCAAoB,CAAC,CAAA;qCAFJ,8BAAa;QACV,kBAAS;GAN5B,4BAA4B,CAsExC"}
@@ -1,2 +1,3 @@
1
- import { AddUserToOrganizationHandler, RemoveUserFromOrganizationHandler } from '../../../features/organization/commands/handlers';
1
+ import { AddUserToOrganizationHandler } from '../../../features/organization/commands/handlers/add-user-to-organization.handler';
2
+ import { RemoveUserFromOrganizationHandler } from '../../../features/organization/commands/handlers/remove-user-from-organization.handler';
2
3
  export declare const ORGANIZATIONS_COMMANDS: (typeof AddUserToOrganizationHandler | typeof RemoveUserFromOrganizationHandler)[];
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ORGANIZATIONS_COMMANDS = void 0;
4
- const handlers_1 = require("./handlers");
4
+ const add_user_to_organization_handler_1 = require("./handlers/add-user-to-organization.handler");
5
+ const remove_user_from_organization_handler_1 = require("./handlers/remove-user-from-organization.handler");
5
6
  exports.ORGANIZATIONS_COMMANDS = [
6
- handlers_1.AddUserToOrganizationHandler,
7
- handlers_1.RemoveUserFromOrganizationHandler,
7
+ add_user_to_organization_handler_1.AddUserToOrganizationHandler,
8
+ remove_user_from_organization_handler_1.RemoveUserFromOrganizationHandler,
8
9
  ];
9
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/organization/commands/index.ts"],"names":[],"mappings":";;;AAAA,yCAGqD;AAExC,QAAA,sBAAsB,GAAG;IACpC,uCAA4B;IAC5B,4CAAiC;CAClC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/organization/commands/index.ts"],"names":[],"mappings":";;;AAAA,kGAA4H;AAC5H,4GAAsI;AAEzH,QAAA,sBAAsB,GAAG;IACpC,+DAA4B;IAC5B,yEAAiC;CAClC,CAAC"}
@@ -4,7 +4,7 @@ import { GetProjectsByOrganizationIdQuery, GetProjectsByOrganizationIdQueryRetur
4
4
  export declare class GetProjectsByOrganizationIdHandler implements IQueryHandler<GetProjectsByOrganizationIdQuery, GetProjectsByOrganizationIdQueryReturnType> {
5
5
  private readonly prisma;
6
6
  constructor(prisma: PrismaService);
7
- execute({ data }: GetProjectsByOrganizationIdQuery): Promise<import("../../../share/pagination.interface").IPaginatedType<{
7
+ execute({ data }: GetProjectsByOrganizationIdQuery): Promise<import("@revisium/engine").IPaginatedType<{
8
8
  id: string;
9
9
  createdAt: Date;
10
10
  name: string;
@@ -4,8 +4,9 @@ import { GetUsersOrganizationQuery, GetUsersOrganizationQueryReturnType } from '
4
4
  export declare class GetUsersOrganizationHandler implements IQueryHandler<GetUsersOrganizationQuery, GetUsersOrganizationQueryReturnType> {
5
5
  private readonly prisma;
6
6
  constructor(prisma: PrismaService);
7
- execute({ data }: GetUsersOrganizationQuery): Promise<import("../../../share/pagination.interface").IPaginatedType<{
7
+ execute({ data }: GetUsersOrganizationQuery): Promise<import("@revisium/engine").IPaginatedType<{
8
8
  id: string;
9
+ roleId: string;
9
10
  user: {
10
11
  id: string;
11
12
  createdAt: Date;
@@ -15,6 +16,7 @@ export declare class GetUsersOrganizationHandler implements IQueryHandler<GetUse
15
16
  isEmailConfirmed: boolean;
16
17
  emailCode: string;
17
18
  roleId: string;
19
+ tokenVersion: number;
18
20
  };
19
21
  role: {
20
22
  id: string;
@@ -36,6 +36,7 @@ let GetUsersOrganizationHandler = class GetUsersOrganizationHandler {
36
36
  id: true,
37
37
  user: true,
38
38
  role: true,
39
+ roleId: true,
39
40
  },
40
41
  });
41
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-users-organization.handler.js","sourceRoot":"","sources":["../../../../../../src/features/organization/queries/handlers/get-users-organization.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2D;AAC3D,uFAA2E;AAC3E,kCAGgD;AAChD,2FAA4F;AAIrF,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAItC,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE/C,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAA6B;QACtD,OAAO,IAAA,yCAAmB,EAAC;YACzB,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CACjB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC;YAC3D,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SACtE,CAAC,CAAC;IACL,CAAC;IAEO,oBAAoB,CAC1B,KAAwC,EACxC,IAAoC;QAEpC,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC;YAC3C,KAAK;YACL,GAAG,IAAI;YACP,OAAO,EAAE;gBACP,SAAS,EAAE,MAAM;aAClB;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI;aACX;SACF,CAAC,CAAC;IACL,CAAC;IAEO,yBAAyB,CAAC,KAAwC;QACxE,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC;YACxC,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAEO,aAAa,CACnB,IAAuC;QAEvC,OAAO;YACL,cAAc,EAAE,IAAI,CAAC,cAAc;SACpC,CAAC;IACJ,CAAC;CACF,CAAA;AA9CY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,mBAAY,EAAC,gCAAyB,CAAC;qCAKD,8BAAa;GAJvC,2BAA2B,CA8CvC"}
1
+ {"version":3,"file":"get-users-organization.handler.js","sourceRoot":"","sources":["../../../../../../src/features/organization/queries/handlers/get-users-organization.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA2D;AAC3D,uFAA2E;AAC3E,kCAGgD;AAChD,2FAA4F;AAIrF,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAItC,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE/C,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAA6B;QACtD,OAAO,IAAA,yCAAmB,EAAC;YACzB,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CACjB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC;YAC3D,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SACtE,CAAC,CAAC;IACL,CAAC;IAEO,oBAAoB,CAC1B,KAAwC,EACxC,IAAoC;QAEpC,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC;YAC3C,KAAK;YACL,GAAG,IAAI;YACP,OAAO,EAAE;gBACP,SAAS,EAAE,MAAM;aAClB;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,IAAI;aACb;SACF,CAAC,CAAC;IACL,CAAC;IAEO,yBAAyB,CAAC,KAAwC;QACxE,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC;YACxC,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAEO,aAAa,CACnB,IAAuC;QAEvC,OAAO;YACL,cAAc,EAAE,IAAI,CAAC,cAAc;SACpC,CAAC;IACJ,CAAC;CACF,CAAA;AA/CY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,mBAAY,EAAC,gCAAyB,CAAC;qCAKD,8BAAa;GAJvC,2BAA2B,CA+CvC"}
@@ -1,5 +1,5 @@
1
1
  import { Project } from '../../../../__generated__/client';
2
- import { IPaginatedType } from '../../../../features/share/pagination.interface';
2
+ import { IPaginatedType } from '@revisium/engine';
3
3
  export declare class GetProjectsByOrganizationIdQuery {
4
4
  readonly data: {
5
5
  readonly userId?: string;
@@ -1,5 +1,5 @@
1
1
  import { Role, User } from '../../../../__generated__/client';
2
- import { IPaginatedType } from '../../../../features/share/pagination.interface';
2
+ import { IPaginatedType } from '@revisium/engine';
3
3
  export declare class GetUsersOrganizationQuery {
4
4
  readonly data: {
5
5
  readonly organizationId: string;
@@ -17,4 +17,5 @@ export type GetUsersOrganizationQueryReturnType = IPaginatedType<{
17
17
  id: string;
18
18
  user: User;
19
19
  role: Role;
20
+ roleId: string;
20
21
  }>;
@@ -1,4 +1,4 @@
1
- import { GetProjectsByOrganizationIdHandler } from '../../../features/organization/queries/handlers';
1
+ import { GetProjectsByOrganizationIdHandler } from '../../../features/organization/queries/handlers/get-projects-by-organization-id.handler';
2
2
  import { GetUsersOrganizationHandler } from '../../../features/organization/queries/handlers/get-users-organization.handler';
3
3
  import { GetOrganizationHandler } from '../../../features/organization/queries/handlers/get-organization.handler';
4
- export declare const ORGANIZATIONS_QUERIES: (typeof GetProjectsByOrganizationIdHandler | typeof GetOrganizationHandler | typeof GetUsersOrganizationHandler)[];
4
+ export declare const ORGANIZATIONS_QUERIES: (typeof GetProjectsByOrganizationIdHandler | typeof GetUsersOrganizationHandler | typeof GetOrganizationHandler)[];
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ORGANIZATIONS_QUERIES = void 0;
4
- const handlers_1 = require("./handlers");
4
+ const get_projects_by_organization_id_handler_1 = require("./handlers/get-projects-by-organization-id.handler");
5
5
  const get_users_organization_handler_1 = require("./handlers/get-users-organization.handler");
6
6
  const get_organization_handler_1 = require("./handlers/get-organization.handler");
7
7
  exports.ORGANIZATIONS_QUERIES = [
8
- handlers_1.GetProjectsByOrganizationIdHandler,
8
+ get_projects_by_organization_id_handler_1.GetProjectsByOrganizationIdHandler,
9
9
  get_users_organization_handler_1.GetUsersOrganizationHandler,
10
10
  get_organization_handler_1.GetOrganizationHandler,
11
11
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/organization/queries/index.ts"],"names":[],"mappings":";;;AAAA,yCAAgG;AAChG,8FAAwH;AACxH,kFAA6G;AAEhG,QAAA,qBAAqB,GAAG;IACnC,6CAAkC;IAClC,4DAA2B;IAC3B,iDAAsB;CACvB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/organization/queries/index.ts"],"names":[],"mappings":";;;AAAA,gHAAwI;AACxI,8FAAwH;AACxH,kFAA6G;AAEhG,QAAA,qBAAqB,GAAG;IACnC,4EAAkC;IAClC,4DAA2B;IAC3B,iDAAsB;CACvB,CAAC"}
@@ -1,12 +1,10 @@
1
- import { ConfigService } from '@nestjs/config';
2
1
  import { FileValueStore } from '../../../features/plugin/file/file-value.store';
3
2
  import { InternalAfterCreateRowOptions, InternalAfterMigrateRowsOptions, InternalAfterUpdateRowOptions, InternalComputeRowsOptions, IPluginService } from '../../../features/plugin/types';
4
3
  import { JsonValueStore } from '@revisium/schema-toolkit/model';
5
- import { S3Service } from '../../../infrastructure/database/s3.service';
4
+ import { IStorageService } from '../../../infrastructure/storage/storage.interface';
6
5
  export declare class FilePlugin implements IPluginService {
7
- private readonly s3Service;
8
- readonly publicEndpoint: string;
9
- constructor(s3Service: S3Service, configService: ConfigService);
6
+ private readonly storageService;
7
+ constructor(storageService: IStorageService);
10
8
  get isAvailable(): boolean;
11
9
  afterCreateRow(options: InternalAfterCreateRowOptions): Promise<void>;
12
10
  afterUpdateRow(options: InternalAfterUpdateRowOptions): Promise<void>;
@@ -8,24 +8,24 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.FilePlugin = void 0;
13
16
  const common_1 = require("@nestjs/common");
14
- const config_1 = require("@nestjs/config");
15
17
  const nanoid_1 = require("nanoid");
16
18
  const consts_1 = require("./consts");
17
19
  const fore_each_file_1 = require("./utils/fore-each-file");
18
20
  const validate_file_data_for_restore_1 = require("./utils/validate-file-data-for-restore");
19
21
  const lib_1 = require("@revisium/schema-toolkit/lib");
20
- const s3_service_1 = require("../../../infrastructure/database/s3.service");
22
+ const storage_interface_1 = require("../../../infrastructure/storage/storage.interface");
21
23
  let FilePlugin = class FilePlugin {
22
- constructor(s3Service, configService) {
23
- this.s3Service = s3Service;
24
- const endpoint = configService.get('FILE_PLUGIN_PUBLIC_ENDPOINT');
25
- this.publicEndpoint = endpoint ?? '';
24
+ constructor(storageService) {
25
+ this.storageService = storageService;
26
26
  }
27
27
  get isAvailable() {
28
- return this.s3Service.isAvailable;
28
+ return this.storageService.isAvailable;
29
29
  }
30
30
  async afterCreateRow(options) {
31
31
  if (options.isRestore) {
@@ -107,7 +107,7 @@ let FilePlugin = class FilePlugin {
107
107
  return fileStore;
108
108
  }
109
109
  getUrl(hash) {
110
- return encodeURI(`${this.publicEndpoint}/${this.getPathname(hash)}`);
110
+ return this.storageService.getPublicUrl(this.getPathname(hash));
111
111
  }
112
112
  getPathname(hash) {
113
113
  return encodeURI(`${hash}`);
@@ -120,7 +120,7 @@ let FilePlugin = class FilePlugin {
120
120
  exports.FilePlugin = FilePlugin;
121
121
  exports.FilePlugin = FilePlugin = __decorate([
122
122
  (0, common_1.Injectable)(),
123
- __metadata("design:paramtypes", [s3_service_1.S3Service,
124
- config_1.ConfigService])
123
+ __param(0, (0, common_1.Inject)(storage_interface_1.STORAGE_SERVICE)),
124
+ __metadata("design:paramtypes", [Object])
125
125
  ], FilePlugin);
126
126
  //# sourceMappingURL=file.plugin.js.map