@revisium/core 2.6.0 → 2.7.0

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 (243) hide show
  1. package/README.md +5 -0
  2. package/dist/package.json +3 -4
  3. package/dist/src/api/graphql-api/branch/branch.resolver.d.ts +2 -2
  4. package/dist/src/api/graphql-api/branch/branch.resolver.js +3 -3
  5. package/dist/src/api/graphql-api/branch/branch.resolver.js.map +1 -1
  6. package/dist/src/api/graphql-api/branch/inputs/create-branch.input.d.ts +2 -1
  7. package/dist/src/api/graphql-api/branch/inputs/create-branch.input.js +5 -1
  8. package/dist/src/api/graphql-api/branch/inputs/create-branch.input.js.map +1 -1
  9. package/dist/src/api/graphql-api/branch/inputs/index.d.ts +0 -1
  10. package/dist/src/api/graphql-api/branch/inputs/index.js +0 -1
  11. package/dist/src/api/graphql-api/branch/inputs/index.js.map +1 -1
  12. package/dist/src/api/graphql-api/configuration/model/configuration.model.d.ts +1 -0
  13. package/dist/src/api/graphql-api/configuration/model/configuration.model.js +4 -0
  14. package/dist/src/api/graphql-api/configuration/model/configuration.model.js.map +1 -1
  15. package/dist/src/api/graphql-api/draft/draft.resolver.d.ts +4 -4
  16. package/dist/src/api/graphql-api/draft/draft.resolver.js +15 -15
  17. package/dist/src/api/graphql-api/draft/input/{remove-row.input.d.ts → delete-row.input.d.ts} +1 -1
  18. package/dist/src/api/graphql-api/draft/input/{remove-row.input.js → delete-row.input.js} +6 -6
  19. package/dist/src/api/graphql-api/draft/input/delete-row.input.js.map +1 -0
  20. package/dist/src/api/graphql-api/draft/input/{remove-rows.input.d.ts → delete-rows.input.d.ts} +1 -1
  21. package/dist/src/api/graphql-api/draft/input/{remove-rows.input.js → delete-rows.input.js} +9 -9
  22. package/dist/src/api/graphql-api/draft/input/{remove-rows.input.js.map → delete-rows.input.js.map} +1 -1
  23. package/dist/src/api/graphql-api/draft/input/{remove-table.input.d.ts → delete-table.input.d.ts} +1 -1
  24. package/dist/src/api/graphql-api/draft/input/{remove-table.input.js → delete-table.input.js} +8 -8
  25. package/dist/src/api/graphql-api/draft/input/{remove-table.input.js.map → delete-table.input.js.map} +1 -1
  26. package/dist/src/api/graphql-api/draft/input/index.d.ts +3 -3
  27. package/dist/src/api/graphql-api/draft/input/index.js +3 -3
  28. package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.d.ts → delete-row-result.model.d.ts} +1 -1
  29. package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.js → delete-row-result.model.js} +9 -9
  30. package/dist/src/api/graphql-api/draft/model/{remove-row-result.model.js.map → delete-row-result.model.js.map} +1 -1
  31. package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.d.ts → delete-rows-result.model.d.ts} +1 -1
  32. package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.js → delete-rows-result.model.js} +9 -9
  33. package/dist/src/api/graphql-api/draft/model/{remove-rows-result.model.js.map → delete-rows-result.model.js.map} +1 -1
  34. package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.d.ts → delete-table-result.model.d.ts} +1 -1
  35. package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.js → delete-table-result.model.js} +7 -7
  36. package/dist/src/api/graphql-api/draft/model/{remove-table-result.model.js.map → delete-table-result.model.js.map} +1 -1
  37. package/dist/src/api/graphql-api/graphql-api.module.js +4 -0
  38. package/dist/src/api/graphql-api/graphql-api.module.js.map +1 -1
  39. package/dist/src/api/graphql-api/row/model/formula-field-error.model.d.ts +6 -0
  40. package/dist/src/api/graphql-api/{branch/inputs/create-branch-by-revision-id.input.js → row/model/formula-field-error.model.js} +17 -11
  41. package/dist/src/api/graphql-api/row/model/formula-field-error.model.js.map +1 -0
  42. package/dist/src/api/graphql-api/row/model/row.model.d.ts +2 -0
  43. package/dist/src/api/graphql-api/row/model/row.model.js +5 -0
  44. package/dist/src/api/graphql-api/row/model/row.model.js.map +1 -1
  45. package/dist/src/api/graphql-api/row/model/search-result.model.d.ts +2 -0
  46. package/dist/src/api/graphql-api/row/model/search-result.model.js +5 -0
  47. package/dist/src/api/graphql-api/row/model/search-result.model.js.map +1 -1
  48. package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.d.ts +63 -0
  49. package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.js +242 -0
  50. package/dist/src/api/graphql-api/sub-schema/inputs/get-sub-schema-items.input.js.map +1 -0
  51. package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.d.ts +12 -0
  52. package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.js +46 -0
  53. package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.js.map +1 -0
  54. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.d.ts +7 -0
  55. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js +50 -0
  56. package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js.map +1 -0
  57. package/dist/src/api/mcp-api/mcp-server.service.d.ts +4 -1
  58. package/dist/src/api/mcp-api/mcp-server.service.js +20 -10
  59. package/dist/src/api/mcp-api/mcp-server.service.js.map +1 -1
  60. package/dist/src/api/mcp-api/mcp.module.js +2 -0
  61. package/dist/src/api/mcp-api/mcp.module.js.map +1 -1
  62. package/dist/src/api/mcp-api/resources/schema.resource.d.ts +3 -0
  63. package/dist/src/api/mcp-api/resources/schema.resource.js +94 -1
  64. package/dist/src/api/mcp-api/resources/schema.resource.js.map +1 -1
  65. package/dist/src/api/mcp-api/tools/auth.tools.js +4 -4
  66. package/dist/src/api/mcp-api/tools/auth.tools.js.map +1 -1
  67. package/dist/src/api/mcp-api/tools/branch.tools.js +4 -4
  68. package/dist/src/api/mcp-api/tools/branch.tools.js.map +1 -1
  69. package/dist/src/api/mcp-api/tools/endpoint.tools.js +6 -6
  70. package/dist/src/api/mcp-api/tools/endpoint.tools.js.map +1 -1
  71. package/dist/src/api/mcp-api/tools/file.tools.js +1 -1
  72. package/dist/src/api/mcp-api/tools/file.tools.js.map +1 -1
  73. package/dist/src/api/mcp-api/tools/migration.tools.js +2 -2
  74. package/dist/src/api/mcp-api/tools/migration.tools.js.map +1 -1
  75. package/dist/src/api/mcp-api/tools/organization.tools.js +2 -2
  76. package/dist/src/api/mcp-api/tools/organization.tools.js.map +1 -1
  77. package/dist/src/api/mcp-api/tools/project.tools.js +3 -3
  78. package/dist/src/api/mcp-api/tools/project.tools.js.map +1 -1
  79. package/dist/src/api/mcp-api/tools/revision-changes.tools.js +3 -3
  80. package/dist/src/api/mcp-api/tools/revision-changes.tools.js.map +1 -1
  81. package/dist/src/api/mcp-api/tools/revision.tools.js +2 -2
  82. package/dist/src/api/mcp-api/tools/revision.tools.js.map +1 -1
  83. package/dist/src/api/mcp-api/tools/row.tools.js +112 -18
  84. package/dist/src/api/mcp-api/tools/row.tools.js.map +1 -1
  85. package/dist/src/api/mcp-api/tools/table.tools.js +53 -9
  86. package/dist/src/api/mcp-api/tools/table.tools.js.map +1 -1
  87. package/dist/src/api/mcp-api/tools/user.tools.js +7 -5
  88. package/dist/src/api/mcp-api/tools/user.tools.js.map +1 -1
  89. package/dist/src/api/mcp-api/types.d.ts +2 -0
  90. package/dist/src/api/rest-api/row/model/formula-field-error.model.d.ts +6 -0
  91. package/dist/src/api/rest-api/row/model/formula-field-error.model.js +45 -0
  92. package/dist/src/api/rest-api/row/model/formula-field-error.model.js.map +1 -0
  93. package/dist/src/api/rest-api/row/model/index.d.ts +1 -0
  94. package/dist/src/api/rest-api/row/model/index.js +1 -0
  95. package/dist/src/api/rest-api/row/model/index.js.map +1 -1
  96. package/dist/src/api/rest-api/row/model/row.model.d.ts +2 -0
  97. package/dist/src/api/rest-api/row/model/row.model.js +9 -0
  98. package/dist/src/api/rest-api/row/model/row.model.js.map +1 -1
  99. package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +7 -2
  100. package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.js +3 -0
  101. package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.js.map +1 -1
  102. package/dist/src/features/auth/commands/handlers/create-user.handler.js +17 -5
  103. package/dist/src/features/auth/commands/handlers/create-user.handler.js.map +1 -1
  104. package/dist/src/features/auth/github-oauth.service.d.ts +1 -1
  105. package/dist/src/features/auth/github-oauth.service.js +6 -5
  106. package/dist/src/features/auth/github-oauth.service.js.map +1 -1
  107. package/dist/src/features/auth/google-oauth.service.d.ts +1 -1
  108. package/dist/src/features/auth/google-oauth.service.js +6 -5
  109. package/dist/src/features/auth/google-oauth.service.js.map +1 -1
  110. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +1 -0
  111. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js +15 -2
  112. package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +1 -1
  113. package/dist/src/features/draft/commands/handlers/api-base-row.handler.d.ts +1 -0
  114. package/dist/src/features/draft/commands/handlers/api-create-rows.handler.d.ts +1 -0
  115. package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.d.ts +1 -0
  116. package/dist/src/features/draft/commands/handlers/api-update-rows.handler.d.ts +1 -0
  117. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.d.ts +4 -1
  118. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js +13 -2
  119. package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map +1 -1
  120. package/dist/src/features/draft-revision/services/draft-revision-internal.service.js +1 -1
  121. package/dist/src/features/draft-revision/services/draft-revision-internal.service.js.map +1 -1
  122. package/dist/src/features/plugin/formula/formula-validation.service.d.ts +12 -0
  123. package/dist/src/features/plugin/formula/formula-validation.service.js +48 -0
  124. package/dist/src/features/plugin/formula/formula-validation.service.js.map +1 -0
  125. package/dist/src/features/plugin/formula/formula.plugin.d.ts +8 -0
  126. package/dist/src/features/plugin/formula/formula.plugin.js +67 -0
  127. package/dist/src/features/plugin/formula/formula.plugin.js.map +1 -0
  128. package/dist/src/features/plugin/formula/formula.service.d.ts +5 -0
  129. package/dist/src/features/plugin/formula/formula.service.js +26 -0
  130. package/dist/src/features/plugin/formula/formula.service.js.map +1 -0
  131. package/dist/src/features/plugin/formula/index.d.ts +3 -0
  132. package/dist/src/features/plugin/formula/index.js +20 -0
  133. package/dist/src/features/plugin/formula/index.js.map +1 -0
  134. package/dist/src/features/plugin/index.d.ts +2 -1
  135. package/dist/src/features/plugin/index.js +2 -0
  136. package/dist/src/features/plugin/index.js.map +1 -1
  137. package/dist/src/features/plugin/plugin.list.service.d.ts +2 -1
  138. package/dist/src/features/plugin/plugin.list.service.js +4 -2
  139. package/dist/src/features/plugin/plugin.list.service.js.map +1 -1
  140. package/dist/src/features/plugin/plugin.module.js +14 -2
  141. package/dist/src/features/plugin/plugin.module.js.map +1 -1
  142. package/dist/src/features/plugin/plugin.service.d.ts +6 -3
  143. package/dist/src/features/plugin/plugin.service.js +36 -2
  144. package/dist/src/features/plugin/plugin.service.js.map +1 -1
  145. package/dist/src/features/plugin/types.d.ts +14 -1
  146. package/dist/src/features/project/commands/handlers/create-project.handler.js +4 -3
  147. package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -1
  148. package/dist/src/features/revision-changes/services/row-diff.service.d.ts +2 -6
  149. package/dist/src/features/revision-changes/services/row-diff.service.js +17 -120
  150. package/dist/src/features/revision-changes/services/row-diff.service.js.map +1 -1
  151. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.d.ts +1 -0
  152. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js +14 -17
  153. package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js.map +1 -1
  154. package/dist/src/features/row/queries/handlers/get-row.handler.js +2 -1
  155. package/dist/src/features/row/queries/handlers/get-row.handler.js.map +1 -1
  156. package/dist/src/features/row/queries/handlers/get-rows.handler.d.ts +1 -0
  157. package/dist/src/features/row/queries/handlers/get-rows.handler.js +2 -1
  158. package/dist/src/features/row/queries/handlers/get-rows.handler.js.map +1 -1
  159. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js +3 -2
  160. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js.map +1 -1
  161. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js +3 -2
  162. package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js.map +1 -1
  163. package/dist/src/features/row/queries/handlers/search-rows.handler.d.ts +0 -1
  164. package/dist/src/features/row/queries/handlers/search-rows.handler.js +2 -15
  165. package/dist/src/features/row/queries/handlers/search-rows.handler.js.map +1 -1
  166. package/dist/src/features/row/queries/impl/get-rows.query.d.ts +1 -9
  167. package/dist/src/features/row/queries/impl/get-rows.query.js.map +1 -1
  168. package/dist/src/features/row/queries/impl/search-rows.query.d.ts +2 -0
  169. package/dist/src/features/row/queries/impl/search-rows.query.js.map +1 -1
  170. package/dist/src/features/share/exceptions/validation.exception.d.ts +14 -0
  171. package/dist/src/features/share/exceptions/validation.exception.js +26 -1
  172. package/dist/src/features/share/exceptions/validation.exception.js.map +1 -1
  173. package/dist/src/features/share/foreign-keys.service.js +3 -6
  174. package/dist/src/features/share/foreign-keys.service.js.map +1 -1
  175. package/dist/src/features/share/json-schema-validator.service.js +3 -0
  176. package/dist/src/features/share/json-schema-validator.service.js.map +1 -1
  177. package/dist/src/features/share/schema/consts.d.ts +2 -1
  178. package/dist/src/features/share/schema/consts.js +1 -0
  179. package/dist/src/features/share/schema/consts.js.map +1 -1
  180. package/dist/src/features/share/schema/meta-schema.d.ts +3 -0
  181. package/dist/src/features/share/schema/meta-schema.js +43 -1
  182. package/dist/src/features/share/schema/meta-schema.js.map +1 -1
  183. package/dist/src/features/share/types/row-with-context.types.d.ts +2 -0
  184. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.d.ts +2 -0
  185. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js +111 -0
  186. package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js.map +1 -0
  187. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.d.ts +3 -0
  188. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js +18 -0
  189. package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js.map +1 -0
  190. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.d.ts +3 -0
  191. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js +18 -0
  192. package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js.map +1 -0
  193. package/dist/src/features/sub-schema/index.d.ts +3 -0
  194. package/dist/src/features/sub-schema/index.js +20 -0
  195. package/dist/src/features/sub-schema/index.js.map +1 -0
  196. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.d.ts +22 -0
  197. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js +143 -0
  198. package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js.map +1 -0
  199. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.d.ts +21 -0
  200. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js +128 -0
  201. package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js.map +1 -0
  202. package/dist/src/features/sub-schema/queries/handlers/index.d.ts +2 -0
  203. package/dist/src/features/sub-schema/queries/handlers/index.js +6 -0
  204. package/dist/src/features/sub-schema/queries/handlers/index.js.map +1 -0
  205. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.d.ts +31 -0
  206. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js +10 -0
  207. package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js.map +1 -0
  208. package/dist/src/features/sub-schema/queries/impl/index.d.ts +1 -0
  209. package/dist/src/features/sub-schema/queries/impl/index.js +18 -0
  210. package/dist/src/features/sub-schema/queries/impl/index.js.map +1 -0
  211. package/dist/src/features/sub-schema/sub-schema-api.service.d.ts +7 -0
  212. package/dist/src/features/sub-schema/sub-schema-api.service.js +29 -0
  213. package/dist/src/features/sub-schema/sub-schema-api.service.js.map +1 -0
  214. package/dist/src/features/sub-schema/sub-schema.module.d.ts +2 -0
  215. package/dist/src/features/sub-schema/sub-schema.module.js +27 -0
  216. package/dist/src/features/sub-schema/sub-schema.module.js.map +1 -0
  217. package/dist/src/features/sub-schema/utils/find-ref-paths.d.ts +3 -0
  218. package/dist/src/features/sub-schema/utils/find-ref-paths.js +17 -0
  219. package/dist/src/features/sub-schema/utils/find-ref-paths.js.map +1 -0
  220. package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.d.ts +30 -0
  221. package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.js +146 -0
  222. package/dist/src/features/sub-schema/utils/get-sub-schema-items-sql.js.map +1 -0
  223. package/dist/src/features/user/commands/handlers/reset-password.handler.js +4 -1
  224. package/dist/src/features/user/commands/handlers/reset-password.handler.js.map +1 -1
  225. package/dist/src/features/user/commands/handlers/set-username.handler.js +6 -6
  226. package/dist/src/features/user/commands/handlers/set-username.handler.js.map +1 -1
  227. package/dist/src/infrastructure/cache/revisium-cache.module.js +10 -9
  228. package/dist/src/infrastructure/cache/revisium-cache.module.js.map +1 -1
  229. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts +3 -1
  230. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +6 -2
  231. package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map +1 -1
  232. package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.d.ts +1 -0
  233. package/dist/src/utils/env/deprecated-env.d.ts +4 -0
  234. package/dist/src/utils/env/deprecated-env.js +55 -0
  235. package/dist/src/utils/env/deprecated-env.js.map +1 -0
  236. package/dist/src/utils/env/index.d.ts +1 -0
  237. package/dist/src/utils/env/index.js +8 -0
  238. package/dist/src/utils/env/index.js.map +1 -0
  239. package/dist/tsconfig.build.tsbuildinfo +1 -1
  240. package/package.json +3 -4
  241. package/dist/src/api/graphql-api/branch/inputs/create-branch-by-revision-id.input.d.ts +0 -5
  242. package/dist/src/api/graphql-api/branch/inputs/create-branch-by-revision-id.input.js.map +0 -1
  243. package/dist/src/api/graphql-api/draft/input/remove-row.input.js.map +0 -1
package/README.md CHANGED
@@ -76,12 +76,17 @@ CQRS pattern separates read and write operations:
76
76
  | **S3** | File storage |
77
77
  | **SMTP** | Email notifications |
78
78
 
79
+ ## Configuration
80
+
81
+ See [ENV.md](./ENV.md) for all environment variables.
82
+
79
83
  ## Related Packages
80
84
 
81
85
  | Package | Description |
82
86
  |---------|-------------|
83
87
  | [@revisium/endpoint](https://github.com/revisium/revisium-endpoint) | Dynamic GraphQL/REST API generator |
84
88
  | [@revisium/schema-toolkit](https://github.com/revisium/schema-toolkit) | JSON Schema utilities, validation, and transformation helpers |
89
+ | [@revisium/formula](https://github.com/revisium/formula) | Formula expression parser and evaluator for computed fields |
85
90
  | [revisium-cli](https://github.com/revisium/revisium-cli) | CLI for migrations — save and apply schema & data changes across environments |
86
91
 
87
92
  ## License
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revisium/core",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Revisium is a tool (UI/API) inspired by JSON (JSON Schema) and Git, designed to provide a flexible and low-level headless CMS solution.",
5
5
  "private": false,
6
6
  "homepage": "https://revisium.io",
@@ -69,8 +69,8 @@
69
69
  "@nestjs/terminus": "^11.0.0",
70
70
  "@prisma/adapter-pg": "^7.2.0",
71
71
  "@prisma/client": "^7.2.0",
72
- "@revisium/prisma-pg-json": "^1.1.0",
73
- "@revisium/schema-toolkit": "^0.2.2",
72
+ "@revisium/prisma-pg-json": "^1.4.0",
73
+ "@revisium/schema-toolkit": "^0.13.0",
74
74
  "ajv": "^8.17.1",
75
75
  "bcrypt": "^6.0.0",
76
76
  "bentocache": "^1.6.0",
@@ -79,7 +79,6 @@
79
79
  "class-validator": "^0.14.3",
80
80
  "compression": "^1.8.1",
81
81
  "dotenv": "^17.2.3",
82
- "fast-json-patch": "^3.1.1",
83
82
  "graphql": "^16.12.0",
84
83
  "graphql-scalars": "^1.25.0",
85
84
  "handlebars": "^4.7.8",
@@ -1,5 +1,5 @@
1
1
  import { BranchApiService } from '../../../features/branch/branch-api.service';
2
- import { CreateBranchByRevisionIdInput, DeleteBranchInput, GetBranchesInput, GetBranchInput, RevertChangesInput } from '../../../api/graphql-api/branch/inputs';
2
+ import { CreateBranchInput, DeleteBranchInput, GetBranchesInput, GetBranchInput, RevertChangesInput } from '../../../api/graphql-api/branch/inputs';
3
3
  import { GetBranchRevisionsInput } from '../../../api/graphql-api/branch/inputs/get-branch-revisions.input';
4
4
  import { BranchModel } from '../../../api/graphql-api/branch/model/branch.model';
5
5
  export declare class BranchResolver {
@@ -60,7 +60,7 @@ export declare class BranchResolver {
60
60
  }>;
61
61
  revisions(branch: BranchModel, data: GetBranchRevisionsInput): Promise<import("../../../features/branch/quieries/impl").GetRevisionsByBranchIdQueryReturnType>;
62
62
  touched(branch: BranchModel): Promise<boolean>;
63
- createBranchByRevisionId(data: CreateBranchByRevisionIdInput): Promise<{
63
+ createBranch(data: CreateBranchInput): Promise<{
64
64
  id: string;
65
65
  createdAt: Date;
66
66
  name: string;
@@ -58,7 +58,7 @@ let BranchResolver = class BranchResolver {
58
58
  touched(branch) {
59
59
  return this.branchApiService.getTouchedByBranchId(branch.id);
60
60
  }
61
- async createBranchByRevisionId(data) {
61
+ async createBranch(data) {
62
62
  return this.branchApiService.apiCreateBranchByRevisionId(data);
63
63
  }
64
64
  revertChanges(data) {
@@ -145,9 +145,9 @@ __decorate([
145
145
  (0, graphql_1.Mutation)(() => branch_model_1.BranchModel),
146
146
  __param(0, (0, graphql_1.Args)('data')),
147
147
  __metadata("design:type", Function),
148
- __metadata("design:paramtypes", [inputs_1.CreateBranchByRevisionIdInput]),
148
+ __metadata("design:paramtypes", [inputs_1.CreateBranchInput]),
149
149
  __metadata("design:returntype", Promise)
150
- ], BranchResolver.prototype, "createBranchByRevisionId", null);
150
+ ], BranchResolver.prototype, "createBranch", null);
151
151
  __decorate([
152
152
  (0, common_1.UseGuards)(gql_jwt_auth_guard_service_1.GqlJwtAuthGuard, project_guard_1.GQLProjectGuard),
153
153
  (0, permission_params_1.PermissionParams)({
@@ -1 +1 @@
1
- {"version":3,"file":"branch.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/branch/branch.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2C;AAC3C,6CAOyB;AACzB,0DAA+E;AAC/E,6GAA0F;AAC1F,+HAA2G;AAC3G,uFAA8E;AAC9E,+EAAyE;AACzE,oFAA0E;AAC1E,qCAM2C;AAC3C,oFAAuG;AACvG,uDAGuD;AAOhD,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAA6B,gBAAkC;QAAlC,qBAAgB,GAAhB,gBAAgB,CAAkB;IAAG,CAAC;IAInE,MAAM,CAAe,IAAoB;QACvC,OAAO,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IAID,QAAQ,CAAe,IAAsB;QAC3C,OAAO,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAGD,MAAM,CAAW,MAAmB;QAClC,OAAO,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAGD,OAAO,CAAW,MAAmB;QACnC,OAAO,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;IAGD,KAAK,CAAW,MAAmB;QACjC,OAAO,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC3D,CAAC;IAGD,IAAI,CAAW,MAAmB;QAChC,OAAO,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,C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;IACD,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACR,WAAA,IAAA,cAAI,EAAC,MAAM,CAAC,CAAA;;qCAAO,0BAAiB;;kDAEvD;AAQD;IANC,IAAA,kBAAS,EAAC,4CAAe,EAAE,+BAAe,CAAC;IAC3C,IAAA,oCAAgB,EAAC;QAChB,MAAM,EAAE,yBAAgB,CAAC,MAAM;QAC/B,OAAO,EAAE,0BAAiB,CAAC,QAAQ;KACpC,CAAC;IACD,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACb,WAAA,IAAA,cAAI,EAAC,MAAM,CAAC,CAAA;;qCAAO,2BAAkB;;mDAEnD;AAQD;IANC,IAAA,kBAAS,EAAC,4CAAe,EAAE,+BAAe,CAAC;IAC3C,IAAA,oCAAgB,EAAC;QAChB,MAAM,EAAE,yBAAgB,CAAC,MAAM;QAC/B,OAAO,EAAE,0BAAiB,CAAC,MAAM;KAClC,CAAC;IACD,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;IACV,WAAA,IAAA,cAAI,EAAC,MAAM,CAAC,CAAA;;qCAAO,0BAAiB;;kDAEjD;yBApFU,cAAc;IAL1B,IAAA,oCAAgB,EAAC;QAChB,MAAM,EAAE,yBAAgB,CAAC,IAAI;QAC7B,OAAO,EAAE,0BAAiB,CAAC,OAAO;KACnC,CAAC;IACD,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;qCAEqB,qCAAgB;GADpD,cAAc,CAqF1B"}
@@ -1,4 +1,5 @@
1
1
  export { InputType } from '@nestjs/graphql';
2
2
  export declare class CreateBranchInput {
3
- name: string;
3
+ revisionId: string;
4
+ branchName: string;
4
5
  }
@@ -19,7 +19,11 @@ exports.CreateBranchInput = CreateBranchInput;
19
19
  __decorate([
20
20
  (0, graphql_1.Field)(),
21
21
  __metadata("design:type", String)
22
- ], CreateBranchInput.prototype, "name", void 0);
22
+ ], CreateBranchInput.prototype, "revisionId", void 0);
23
+ __decorate([
24
+ (0, graphql_1.Field)(),
25
+ __metadata("design:type", String)
26
+ ], CreateBranchInput.prototype, "branchName", void 0);
23
27
  exports.CreateBranchInput = CreateBranchInput = __decorate([
24
28
  (0, graphql_1.InputType)()
25
29
  ], CreateBranchInput);
@@ -1 +1 @@
1
- {"version":3,"file":"create-branch.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/branch/inputs/create-branch.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AAEnD,2CAA4C;AAAnC,oGAAA,SAAS,OAAA;AAGX,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAG7B,CAAA;AAHY,8CAAiB;AAE5B;IADC,IAAA,eAAK,GAAE;;+CACK;4BAFF,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAG7B"}
1
+ {"version":3,"file":"create-branch.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/branch/inputs/create-branch.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AAEnD,2CAA4C;AAAnC,oGAAA,SAAS,OAAA;AAGX,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAM7B,CAAA;AANY,8CAAiB;AAE5B;IADC,IAAA,eAAK,GAAE;;qDACW;AAGnB;IADC,IAAA,eAAK,GAAE;;qDACW;4BALR,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAM7B"}
@@ -1,4 +1,3 @@
1
- export * from '../../../../api/graphql-api/branch/inputs/create-branch-by-revision-id.input';
2
1
  export * from '../../../../api/graphql-api/branch/inputs/create-branch.input';
3
2
  export * from '../../../../api/graphql-api/branch/inputs/get-branch.input';
4
3
  export * from '../../../../api/graphql-api/branch/inputs/revert-changes.input';
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./create-branch-by-revision-id.input"), exports);
18
17
  __exportStar(require("./create-branch.input"), exports);
19
18
  __exportStar(require("./get-branch.input"), exports);
20
19
  __exportStar(require("./revert-changes.input"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/branch/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqF;AACrF,wDAAsE;AACtE,qDAAmE;AACnE,yDAAuE;AACvE,uDAAqE;AACrE,wDAAsE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/branch/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsE;AACtE,qDAAmE;AACnE,yDAAuE;AACvE,uDAAqE;AACrE,wDAAsE"}
@@ -8,6 +8,7 @@ export declare class GithubOauth {
8
8
  }
9
9
  export declare class PluginsModel {
10
10
  file: boolean;
11
+ formula: boolean;
11
12
  }
12
13
  export declare class ConfigurationModel {
13
14
  availableEmailSignUp: boolean;
@@ -46,6 +46,10 @@ __decorate([
46
46
  (0, graphql_1.Field)(() => Boolean),
47
47
  __metadata("design:type", Boolean)
48
48
  ], PluginsModel.prototype, "file", void 0);
49
+ __decorate([
50
+ (0, graphql_1.Field)(() => Boolean),
51
+ __metadata("design:type", Boolean)
52
+ ], PluginsModel.prototype, "formula", void 0);
49
53
  exports.PluginsModel = PluginsModel = __decorate([
50
54
  (0, graphql_1.ObjectType)()
51
55
  ], PluginsModel);
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/configuration/model/configuration.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AAG7C,IAAM,WAAW,GAAjB,MAAM,WAAW;CAMvB,CAAA;AANY,kCAAW;AAEtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACR;sBALP,WAAW;IADvB,IAAA,oBAAU,GAAE;GACA,WAAW,CAMvB;AAGM,IAAM,WAAW,GAAjB,MAAM,WAAW;CAMvB,CAAA;AANY,kCAAW;AAEtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACR;sBALP,WAAW;IADvB,IAAA,oBAAU,GAAE;GACA,WAAW,CAMvB;AAGM,IAAM,YAAY,GAAlB,MAAM,YAAY;CAGxB,CAAA;AAHY,oCAAY;AAEvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0CACP;uBAFH,YAAY;IADxB,IAAA,oBAAU,GAAE;GACA,YAAY,CAGxB;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAY9B,CAAA;AAZY,gDAAkB;AAE7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;gEACS;AAG9B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,WAAW,CAAC;8BACjB,WAAW;kDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,WAAW,CAAC;8BACjB,WAAW;kDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAY,CAAC;8BACjB,YAAY;mDAAC;6BAXX,kBAAkB;IAD9B,IAAA,oBAAU,GAAE;GACA,kBAAkB,CAY9B"}
1
+ {"version":3,"file":"configuration.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/configuration/model/configuration.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AAG7C,IAAM,WAAW,GAAjB,MAAM,WAAW;CAMvB,C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-row.input';
2
2
  import { PatchRowsInput } from '../../../api/graphql-api/draft/input/patch-rows.input';
3
3
  import { DraftApiService } from '../../../features/draft/draft-api.service';
4
- import { CreateRowInput, CreateRowsInput, CreateTableInput, RemoveRowInput, RemoveRowsInput, RemoveTableInput, RenameRowInput, RenameTableInput, UpdateRowInput, UpdateRowsInput } from '../../../api/graphql-api/draft/input';
4
+ import { CreateRowInput, CreateRowsInput, CreateTableInput, DeleteRowInput, DeleteRowsInput, DeleteTableInput, RenameRowInput, RenameTableInput, UpdateRowInput, UpdateRowsInput } from '../../../api/graphql-api/draft/input';
5
5
  import { UpdateTableInput } from '../../../api/graphql-api/draft/input/update-table.input';
6
6
  export declare class DraftResolver {
7
7
  private readonly draftApiService;
8
8
  constructor(draftApiService: DraftApiService);
9
9
  createTable(data: CreateTableInput): Promise<import("../../../features/draft/commands/types/api-create-table.handler.types").ApiCreateTableHandlerReturnType>;
10
- removeTable(data: RemoveTableInput): Promise<import("../../../features/draft/commands/types/api-remove-table.handler.types").ApiRemoveTableHandlerReturnType>;
10
+ deleteTable(data: DeleteTableInput): Promise<import("../../../features/draft/commands/types/api-remove-table.handler.types").ApiRemoveTableHandlerReturnType>;
11
11
  updateTable(data: UpdateTableInput): Promise<import("../../../features/draft/commands/types/api-update-table.handler.types").ApiUpdateTableHandlerReturnType>;
12
12
  renameTable(data: RenameTableInput): Promise<import("../../../features/draft/commands/impl/api-rename-table.command").ApiRenameTableCommandReturnType>;
13
13
  createRow(data: CreateRowInput): Promise<import("../../../features/draft/commands/types/api-create-row.handler.types").ApiCreateRowHandlerReturnType>;
@@ -17,6 +17,6 @@ export declare class DraftResolver {
17
17
  patchRow(data: PatchRowInput): Promise<import("../../../features/draft/commands/impl/api-patch-row.command").ApiPatchRowCommandReturnType>;
18
18
  patchRows(data: PatchRowsInput): Promise<import("../../../features/draft/commands/types/api-patch-rows.handler.types").ApiPatchRowsHandlerReturnType>;
19
19
  renameRow(data: RenameRowInput): Promise<import("../../../features/draft/commands/impl/api-rename-row.command").ApiRenameRowCommandReturnType>;
20
- removeRow(data: RemoveRowInput): Promise<import("../../../features/draft/commands/types/api-remove-row.handler.types").ApiRemoveRowHandlerReturnType>;
21
- removeRows(data: RemoveRowsInput): Promise<import("../../../features/draft/commands/types/api-remove-rows.handler.types").ApiRemoveRowsHandlerReturnType>;
20
+ deleteRow(data: DeleteRowInput): Promise<import("../../../features/draft/commands/types/api-remove-row.handler.types").ApiRemoveRowHandlerReturnType>;
21
+ deleteRows(data: DeleteRowsInput): Promise<import("../../../features/draft/commands/types/api-remove-rows.handler.types").ApiRemoveRowsHandlerReturnType>;
22
22
  }
@@ -21,7 +21,7 @@ const patch_row_result_model_1 = require("./model/patch-row-result.model");
21
21
  const patch_rows_result_model_1 = require("./model/patch-rows-result.model");
22
22
  const rename_row_result_model_1 = require("./model/rename-row-result.model");
23
23
  const rename_table_result_model_1 = require("./model/rename-table-result.model");
24
- const remove_rows_result_model_1 = require("./model/remove-rows-result.model");
24
+ const delete_rows_result_model_1 = require("./model/delete-rows-result.model");
25
25
  const update_table_result_model_1 = require("./model/update-table-result.model");
26
26
  const graphql_validation_exception_filter_1 = require("../filters/graphql-validation-exception.filter");
27
27
  const consts_1 = require("../../../features/auth/consts");
@@ -34,8 +34,8 @@ const update_table_input_1 = require("./input/update-table.input");
34
34
  const create_row_result_model_1 = require("./model/create-row-result.model");
35
35
  const create_rows_result_model_1 = require("./model/create-rows-result.model");
36
36
  const create_table_result_model_1 = require("./model/create-table-result.model");
37
- const remove_row_result_model_1 = require("./model/remove-row-result.model");
38
- const remove_table_result_model_1 = require("./model/remove-table-result.model");
37
+ const delete_row_result_model_1 = require("./model/delete-row-result.model");
38
+ const delete_table_result_model_1 = require("./model/delete-table-result.model");
39
39
  const update_row_result_model_1 = require("./model/update-row-result.model");
40
40
  const update_rows_result_model_1 = require("./model/update-rows-result.model");
41
41
  let DraftResolver = class DraftResolver {
@@ -45,7 +45,7 @@ let DraftResolver = class DraftResolver {
45
45
  createTable(data) {
46
46
  return this.draftApiService.apiCreateTable(data);
47
47
  }
48
- async removeTable(data) {
48
+ async deleteTable(data) {
49
49
  return this.draftApiService.apiRemoveTable(data);
50
50
  }
51
51
  async updateTable(data) {
@@ -75,10 +75,10 @@ let DraftResolver = class DraftResolver {
75
75
  async renameRow(data) {
76
76
  return this.draftApiService.apiRenameRow(data);
77
77
  }
78
- async removeRow(data) {
78
+ async deleteRow(data) {
79
79
  return this.draftApiService.apiRemoveRow(data);
80
80
  }
81
- async removeRows(data) {
81
+ async deleteRows(data) {
82
82
  return this.draftApiService.apiRemoveRows(data);
83
83
  }
84
84
  };
@@ -101,12 +101,12 @@ __decorate([
101
101
  action: consts_1.PermissionAction.delete,
102
102
  subject: consts_1.PermissionSubject.Table,
103
103
  }),
104
- (0, graphql_1.Mutation)(() => remove_table_result_model_1.RemoveTableResultModel),
104
+ (0, graphql_1.Mutation)(() => delete_table_result_model_1.DeleteTableResultModel),
105
105
  __param(0, (0, graphql_1.Args)('data')),
106
106
  __metadata("design:type", Function),
107
- __metadata("design:paramtypes", [input_1.RemoveTableInput]),
107
+ __metadata("design:paramtypes", [input_1.DeleteTableInput]),
108
108
  __metadata("design:returntype", Promise)
109
- ], DraftResolver.prototype, "removeTable", null);
109
+ ], DraftResolver.prototype, "deleteTable", null);
110
110
  __decorate([
111
111
  (0, common_1.UseGuards)(gql_jwt_auth_guard_service_1.GqlJwtAuthGuard, project_guard_1.GQLProjectGuard),
112
112
  (0, permission_params_1.PermissionParams)({
@@ -221,24 +221,24 @@ __decorate([
221
221
  action: consts_1.PermissionAction.delete,
222
222
  subject: consts_1.PermissionSubject.Row,
223
223
  }),
224
- (0, graphql_1.Mutation)(() => remove_row_result_model_1.RemoveRowResultModel),
224
+ (0, graphql_1.Mutation)(() => delete_row_result_model_1.DeleteRowResultModel),
225
225
  __param(0, (0, graphql_1.Args)('data')),
226
226
  __metadata("design:type", Function),
227
- __metadata("design:paramtypes", [input_1.RemoveRowInput]),
227
+ __metadata("design:paramtypes", [input_1.DeleteRowInput]),
228
228
  __metadata("design:returntype", Promise)
229
- ], DraftResolver.prototype, "removeRow", null);
229
+ ], DraftResolver.prototype, "deleteRow", null);
230
230
  __decorate([
231
231
  (0, common_1.UseGuards)(gql_jwt_auth_guard_service_1.GqlJwtAuthGuard, project_guard_1.GQLProjectGuard),
232
232
  (0, permission_params_1.PermissionParams)({
233
233
  action: consts_1.PermissionAction.delete,
234
234
  subject: consts_1.PermissionSubject.Row,
235
235
  }),
236
- (0, graphql_1.Mutation)(() => remove_rows_result_model_1.RemoveRowsResultModel),
236
+ (0, graphql_1.Mutation)(() => delete_rows_result_model_1.DeleteRowsResultModel),
237
237
  __param(0, (0, graphql_1.Args)('data')),
238
238
  __metadata("design:type", Function),
239
- __metadata("design:paramtypes", [input_1.RemoveRowsInput]),
239
+ __metadata("design:paramtypes", [input_1.DeleteRowsInput]),
240
240
  __metadata("design:returntype", Promise)
241
- ], DraftResolver.prototype, "removeRows", null);
241
+ ], DraftResolver.prototype, "deleteRows", null);
242
242
  exports.DraftResolver = DraftResolver = __decorate([
243
243
  (0, common_1.UseFilters)(graphql_validation_exception_filter_1.GraphQLValidationExceptionFilter),
244
244
  (0, permission_params_1.PermissionParams)({
@@ -1,3 +1,3 @@
1
1
  import { GetRowInput } from '../../../../api/graphql-api/row/inputs/get-row.input';
2
- export declare class RemoveRowInput extends GetRowInput {
2
+ export declare class DeleteRowInput extends GetRowInput {
3
3
  }
@@ -6,13 +6,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.RemoveRowInput = void 0;
9
+ exports.DeleteRowInput = void 0;
10
10
  const graphql_1 = require("@nestjs/graphql");
11
11
  const get_row_input_1 = require("../../row/inputs/get-row.input");
12
- let RemoveRowInput = class RemoveRowInput extends get_row_input_1.GetRowInput {
12
+ let DeleteRowInput = class DeleteRowInput extends get_row_input_1.GetRowInput {
13
13
  };
14
- exports.RemoveRowInput = RemoveRowInput;
15
- exports.RemoveRowInput = RemoveRowInput = __decorate([
14
+ exports.DeleteRowInput = DeleteRowInput;
15
+ exports.DeleteRowInput = DeleteRowInput = __decorate([
16
16
  (0, graphql_1.InputType)()
17
- ], RemoveRowInput);
18
- //# sourceMappingURL=remove-row.input.js.map
17
+ ], DeleteRowInput);
18
+ //# sourceMappingURL=delete-row.input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-row.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/input/delete-row.input.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA4C;AAC5C,kEAA2E;AAGpE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,2BAAW;CAAG,CAAA;AAArC,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAAuB"}
@@ -1,4 +1,4 @@
1
- export declare class RemoveRowsInput {
1
+ export declare class DeleteRowsInput {
2
2
  revisionId: string;
3
3
  tableId: string;
4
4
  rowIds: string[];
@@ -9,28 +9,28 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RemoveRowsInput = void 0;
12
+ exports.DeleteRowsInput = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
14
  const class_validator_1 = require("class-validator");
15
- let RemoveRowsInput = class RemoveRowsInput {
15
+ let DeleteRowsInput = class DeleteRowsInput {
16
16
  };
17
- exports.RemoveRowsInput = RemoveRowsInput;
17
+ exports.DeleteRowsInput = DeleteRowsInput;
18
18
  __decorate([
19
19
  (0, graphql_1.Field)(),
20
20
  __metadata("design:type", String)
21
- ], RemoveRowsInput.prototype, "revisionId", void 0);
21
+ ], DeleteRowsInput.prototype, "revisionId", void 0);
22
22
  __decorate([
23
23
  (0, graphql_1.Field)(),
24
24
  __metadata("design:type", String)
25
- ], RemoveRowsInput.prototype, "tableId", void 0);
25
+ ], DeleteRowsInput.prototype, "tableId", void 0);
26
26
  __decorate([
27
27
  (0, graphql_1.Field)(() => [String]),
28
28
  (0, class_validator_1.ArrayNotEmpty)({ message: 'rowIds array cannot be empty' }),
29
29
  (0, class_validator_1.ArrayMaxSize)(1000, { message: 'rowIds array cannot exceed 1000 items' }),
30
30
  (0, class_validator_1.IsString)({ each: true }),
31
31
  __metadata("design:type", Array)
32
- ], RemoveRowsInput.prototype, "rowIds", void 0);
33
- exports.RemoveRowsInput = RemoveRowsInput = __decorate([
32
+ ], DeleteRowsInput.prototype, "rowIds", void 0);
33
+ exports.DeleteRowsInput = DeleteRowsInput = __decorate([
34
34
  (0, graphql_1.InputType)()
35
- ], RemoveRowsInput);
36
- //# sourceMappingURL=remove-rows.input.js.map
35
+ ], DeleteRowsInput);
36
+ //# sourceMappingURL=delete-rows.input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-rows.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/input/remove-rows.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,qDAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;CAY3B,CAAA;AAZY,0CAAe;AAE1B;IADC,IAAA,eAAK,GAAE;;mDACW;AAGnB;IADC,IAAA,eAAK,GAAE;;gDACQ;AAMhB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IACrB,IAAA,+BAAa,EAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,8BAAY,EAAC,IAAI,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;IACxE,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACR;0BAXN,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAY3B"}
1
+ {"version":3,"file":"delete-rows.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/input/delete-rows.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,qDAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;CAY3B,CAAA;AAZY,0CAAe;AAE1B;IADC,IAAA,eAAK,GAAE;;mDACW;AAGnB;IADC,IAAA,eAAK,GAAE;;gDACQ;AAMhB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IACrB,IAAA,+BAAa,EAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,8BAAY,EAAC,IAAI,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;IACxE,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACR;0BAXN,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAY3B"}
@@ -1,4 +1,4 @@
1
- export declare class RemoveTableInput {
1
+ export declare class DeleteTableInput {
2
2
  revisionId: string;
3
3
  tableId: string;
4
4
  }
@@ -9,20 +9,20 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RemoveTableInput = void 0;
12
+ exports.DeleteTableInput = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
- let RemoveTableInput = class RemoveTableInput {
14
+ let DeleteTableInput = class DeleteTableInput {
15
15
  };
16
- exports.RemoveTableInput = RemoveTableInput;
16
+ exports.DeleteTableInput = DeleteTableInput;
17
17
  __decorate([
18
18
  (0, graphql_1.Field)(),
19
19
  __metadata("design:type", String)
20
- ], RemoveTableInput.prototype, "revisionId", void 0);
20
+ ], DeleteTableInput.prototype, "revisionId", void 0);
21
21
  __decorate([
22
22
  (0, graphql_1.Field)(),
23
23
  __metadata("design:type", String)
24
- ], RemoveTableInput.prototype, "tableId", void 0);
25
- exports.RemoveTableInput = RemoveTableInput = __decorate([
24
+ ], DeleteTableInput.prototype, "tableId", void 0);
25
+ exports.DeleteTableInput = DeleteTableInput = __decorate([
26
26
  (0, graphql_1.InputType)()
27
- ], RemoveTableInput);
28
- //# sourceMappingURL=remove-table.input.js.map
27
+ ], DeleteTableInput);
28
+ //# sourceMappingURL=delete-table.input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-table.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/input/remove-table.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AAG5C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAM5B,CAAA;AANY,4CAAgB;AAE3B;IADC,IAAA,eAAK,GAAE;;oDACW;AAGnB;IADC,IAAA,eAAK,GAAE;;iDACQ;2BALL,gBAAgB;IAD5B,IAAA,mBAAS,GAAE;GACC,gBAAgB,CAM5B"}
1
+ {"version":3,"file":"delete-table.input.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/input/delete-table.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AAG5C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAM5B,CAAA;AANY,4CAAgB;AAE3B;IADC,IAAA,eAAK,GAAE;;oDACW;AAGnB;IADC,IAAA,eAAK,GAAE;;iDACQ;2BALL,gBAAgB;IAD5B,IAAA,mBAAS,GAAE;GACC,gBAAgB,CAM5B"}
@@ -1,11 +1,11 @@
1
1
  export * from '../../../../api/graphql-api/draft/input/create-table.input';
2
- export * from '../../../../api/graphql-api/draft/input/remove-table.input';
2
+ export * from '../../../../api/graphql-api/draft/input/delete-table.input';
3
3
  export * from '../../../../api/graphql-api/draft/input/update-table.input';
4
4
  export * from '../../../../api/graphql-api/draft/input/rename-table.input';
5
5
  export * from '../../../../api/graphql-api/draft/input/create-row.input';
6
6
  export * from '../../../../api/graphql-api/draft/input/create-rows.input';
7
- export * from '../../../../api/graphql-api/draft/input/remove-row.input';
8
- export * from '../../../../api/graphql-api/draft/input/remove-rows.input';
7
+ export * from '../../../../api/graphql-api/draft/input/delete-row.input';
8
+ export * from '../../../../api/graphql-api/draft/input/delete-rows.input';
9
9
  export * from '../../../../api/graphql-api/draft/input/update-row.input';
10
10
  export * from '../../../../api/graphql-api/draft/input/update-rows.input';
11
11
  export * from '../../../../api/graphql-api/draft/input/patch-rows.input';
@@ -15,13 +15,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-table.input"), exports);
18
- __exportStar(require("./remove-table.input"), exports);
18
+ __exportStar(require("./delete-table.input"), exports);
19
19
  __exportStar(require("./update-table.input"), exports);
20
20
  __exportStar(require("./rename-table.input"), exports);
21
21
  __exportStar(require("./create-row.input"), exports);
22
22
  __exportStar(require("./create-rows.input"), exports);
23
- __exportStar(require("./remove-row.input"), exports);
24
- __exportStar(require("./remove-rows.input"), exports);
23
+ __exportStar(require("./delete-row.input"), exports);
24
+ __exportStar(require("./delete-rows.input"), exports);
25
25
  __exportStar(require("./update-row.input"), exports);
26
26
  __exportStar(require("./update-rows.input"), exports);
27
27
  __exportStar(require("./patch-rows.input"), exports);
@@ -1,6 +1,6 @@
1
1
  import { BranchModel } from '../../../../api/graphql-api/branch/model/branch.model';
2
2
  import { TableModel } from '../../../../api/graphql-api/table/model/table.model';
3
- export declare class RemoveRowResultModel {
3
+ export declare class DeleteRowResultModel {
4
4
  branch: BranchModel;
5
5
  table?: TableModel;
6
6
  previousVersionTableId?: string;
@@ -9,26 +9,26 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RemoveRowResultModel = void 0;
12
+ exports.DeleteRowResultModel = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
14
  const branch_model_1 = require("../../branch/model/branch.model");
15
15
  const table_model_1 = require("../../table/model/table.model");
16
- let RemoveRowResultModel = class RemoveRowResultModel {
16
+ let DeleteRowResultModel = class DeleteRowResultModel {
17
17
  };
18
- exports.RemoveRowResultModel = RemoveRowResultModel;
18
+ exports.DeleteRowResultModel = DeleteRowResultModel;
19
19
  __decorate([
20
20
  (0, graphql_1.Field)(() => branch_model_1.BranchModel),
21
21
  __metadata("design:type", branch_model_1.BranchModel)
22
- ], RemoveRowResultModel.prototype, "branch", void 0);
22
+ ], DeleteRowResultModel.prototype, "branch", void 0);
23
23
  __decorate([
24
24
  (0, graphql_1.Field)(() => table_model_1.TableModel, { nullable: true }),
25
25
  __metadata("design:type", table_model_1.TableModel)
26
- ], RemoveRowResultModel.prototype, "table", void 0);
26
+ ], DeleteRowResultModel.prototype, "table", void 0);
27
27
  __decorate([
28
28
  (0, graphql_1.Field)({ nullable: true }),
29
29
  __metadata("design:type", String)
30
- ], RemoveRowResultModel.prototype, "previousVersionTableId", void 0);
31
- exports.RemoveRowResultModel = RemoveRowResultModel = __decorate([
30
+ ], DeleteRowResultModel.prototype, "previousVersionTableId", void 0);
31
+ exports.DeleteRowResultModel = DeleteRowResultModel = __decorate([
32
32
  (0, graphql_1.ObjectType)()
33
- ], RemoveRowResultModel);
34
- //# sourceMappingURL=remove-row-result.model.js.map
33
+ ], DeleteRowResultModel);
34
+ //# sourceMappingURL=delete-row-result.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-row-result.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/model/remove-row-result.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,kEAA4E;AAC5E,+DAAyE;AAGlE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAShC,CAAA;AATY,oDAAoB;AAE/B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACjB,0BAAW;oDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,wBAAU;mDAAC;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACM;+BARrB,oBAAoB;IADhC,IAAA,oBAAU,GAAE;GACA,oBAAoB,CAShC"}
1
+ {"version":3,"file":"delete-row-result.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/model/delete-row-result.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,kEAA4E;AAC5E,+DAAyE;AAGlE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAShC,CAAA;AATY,oDAAoB;AAE/B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACjB,0BAAW;oDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,wBAAU;mDAAC;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACM;+BARrB,oBAAoB;IADhC,IAAA,oBAAU,GAAE;GACA,oBAAoB,CAShC"}
@@ -1,6 +1,6 @@
1
1
  import { BranchModel } from '../../../../api/graphql-api/branch/model/branch.model';
2
2
  import { TableModel } from '../../../../api/graphql-api/table/model/table.model';
3
- export declare class RemoveRowsResultModel {
3
+ export declare class DeleteRowsResultModel {
4
4
  branch: BranchModel;
5
5
  table?: TableModel;
6
6
  previousVersionTableId?: string;
@@ -9,26 +9,26 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RemoveRowsResultModel = void 0;
12
+ exports.DeleteRowsResultModel = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
14
  const branch_model_1 = require("../../branch/model/branch.model");
15
15
  const table_model_1 = require("../../table/model/table.model");
16
- let RemoveRowsResultModel = class RemoveRowsResultModel {
16
+ let DeleteRowsResultModel = class DeleteRowsResultModel {
17
17
  };
18
- exports.RemoveRowsResultModel = RemoveRowsResultModel;
18
+ exports.DeleteRowsResultModel = DeleteRowsResultModel;
19
19
  __decorate([
20
20
  (0, graphql_1.Field)(() => branch_model_1.BranchModel),
21
21
  __metadata("design:type", branch_model_1.BranchModel)
22
- ], RemoveRowsResultModel.prototype, "branch", void 0);
22
+ ], DeleteRowsResultModel.prototype, "branch", void 0);
23
23
  __decorate([
24
24
  (0, graphql_1.Field)(() => table_model_1.TableModel, { nullable: true }),
25
25
  __metadata("design:type", table_model_1.TableModel)
26
- ], RemoveRowsResultModel.prototype, "table", void 0);
26
+ ], DeleteRowsResultModel.prototype, "table", void 0);
27
27
  __decorate([
28
28
  (0, graphql_1.Field)({ nullable: true }),
29
29
  __metadata("design:type", String)
30
- ], RemoveRowsResultModel.prototype, "previousVersionTableId", void 0);
31
- exports.RemoveRowsResultModel = RemoveRowsResultModel = __decorate([
30
+ ], DeleteRowsResultModel.prototype, "previousVersionTableId", void 0);
31
+ exports.DeleteRowsResultModel = DeleteRowsResultModel = __decorate([
32
32
  (0, graphql_1.ObjectType)()
33
- ], RemoveRowsResultModel);
34
- //# sourceMappingURL=remove-rows-result.model.js.map
33
+ ], DeleteRowsResultModel);
34
+ //# sourceMappingURL=delete-rows-result.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-rows-result.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/model/remove-rows-result.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,kEAA4E;AAC5E,+DAAyE;AAGlE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CASjC,CAAA;AATY,sDAAqB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACjB,0BAAW;qDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,wBAAU;oDAAC;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACM;gCARrB,qBAAqB;IADjC,IAAA,oBAAU,GAAE;GACA,qBAAqB,CASjC"}
1
+ {"version":3,"file":"delete-rows-result.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/draft/model/delete-rows-result.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,kEAA4E;AAC5E,+DAAyE;AAGlE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CASjC,CAAA;AATY,sDAAqB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACjB,0BAAW;qDAAC;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,wBAAU;oDAAC;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACM;gCARrB,qBAAqB;IADjC,IAAA,oBAAU,GAAE;GACA,qBAAqB,CASjC"}
@@ -1,4 +1,4 @@
1
1
  import { BranchModel } from '../../../../api/graphql-api/branch/model/branch.model';
2
- export declare class RemoveTableResultModel {
2
+ export declare class DeleteTableResultModel {
3
3
  branch: BranchModel;
4
4
  }
@@ -9,17 +9,17 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RemoveTableResultModel = void 0;
12
+ exports.DeleteTableResultModel = void 0;
13
13
  const graphql_1 = require("@nestjs/graphql");
14
14
  const branch_model_1 = require("../../branch/model/branch.model");
15
- let RemoveTableResultModel = class RemoveTableResultModel {
15
+ let DeleteTableResultModel = class DeleteTableResultModel {
16
16
  };
17
- exports.RemoveTableResultModel = RemoveTableResultModel;
17
+ exports.DeleteTableResultModel = DeleteTableResultModel;
18
18
  __decorate([
19
19
  (0, graphql_1.Field)(() => branch_model_1.BranchModel),
20
20
  __metadata("design:type", branch_model_1.BranchModel)
21
- ], RemoveTableResultModel.prototype, "branch", void 0);
22
- exports.RemoveTableResultModel = RemoveTableResultModel = __decorate([
21
+ ], DeleteTableResultModel.prototype, "branch", void 0);
22
+ exports.DeleteTableResultModel = DeleteTableResultModel = __decorate([
23
23
  (0, graphql_1.ObjectType)()
24
- ], RemoveTableResultModel);
25
- //# sourceMappingURL=remove-table-result.model.js.map
24
+ ], DeleteTableResultModel);
25
+ //# sourceMappingURL=delete-table-result.model.js.map