@contember/engine-content-api 2.2.0-alpha.18 → 2.2.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/development/index.cjs +3 -0
  2. package/dist/development/index.cjs.map +1 -1
  3. package/dist/development/index.js +4 -1
  4. package/dist/development/index.js.map +1 -1
  5. package/dist/development/src/ExecutionContainer.cjs +1 -0
  6. package/dist/development/src/ExecutionContainer.cjs.map +1 -1
  7. package/dist/development/src/ExecutionContainer.js +1 -0
  8. package/dist/development/src/ExecutionContainer.js.map +1 -1
  9. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs +2 -1
  10. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs.map +1 -1
  11. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js +2 -1
  12. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js.map +1 -1
  13. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs +5 -1
  14. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs.map +1 -1
  15. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js +5 -1
  16. package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js.map +1 -1
  17. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs +2 -1
  18. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs.map +1 -1
  19. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js +2 -1
  20. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js.map +1 -1
  21. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs +4 -1
  22. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs.map +1 -1
  23. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js +4 -1
  24. package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js.map +1 -1
  25. package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs +24 -3
  26. package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs.map +1 -1
  27. package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js +24 -3
  28. package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js.map +1 -1
  29. package/dist/development/src/inputProcessing/UpdateInputVisitor.cjs +52 -2
  30. package/dist/development/src/inputProcessing/UpdateInputVisitor.cjs.map +1 -1
  31. package/dist/development/src/inputProcessing/UpdateInputVisitor.js +52 -2
  32. package/dist/development/src/inputProcessing/UpdateInputVisitor.js.map +1 -1
  33. package/dist/development/src/mapper/ErrorUtils.cjs +10 -0
  34. package/dist/development/src/mapper/ErrorUtils.cjs.map +1 -1
  35. package/dist/development/src/mapper/ErrorUtils.js +10 -0
  36. package/dist/development/src/mapper/ErrorUtils.js.map +1 -1
  37. package/dist/development/src/mapper/Mapper.cjs +37 -1
  38. package/dist/development/src/mapper/Mapper.cjs.map +1 -1
  39. package/dist/development/src/mapper/Mapper.js +38 -2
  40. package/dist/development/src/mapper/Mapper.js.map +1 -1
  41. package/dist/development/src/mapper/MutationProcessorHelper.cjs +12 -0
  42. package/dist/development/src/mapper/MutationProcessorHelper.cjs.map +1 -1
  43. package/dist/development/src/mapper/MutationProcessorHelper.js +13 -1
  44. package/dist/development/src/mapper/MutationProcessorHelper.js.map +1 -1
  45. package/dist/development/src/mapper/Result.cjs +1 -0
  46. package/dist/development/src/mapper/Result.cjs.map +1 -1
  47. package/dist/development/src/mapper/Result.js +1 -0
  48. package/dist/development/src/mapper/Result.js.map +1 -1
  49. package/dist/development/src/mapper/delete/DeleteExecutor.cjs +1 -1
  50. package/dist/development/src/mapper/delete/DeleteExecutor.js +1 -1
  51. package/dist/development/src/mapper/select/handlers/MetaHandler.cjs +1 -1
  52. package/dist/development/src/mapper/select/handlers/MetaHandler.js +1 -1
  53. package/dist/development/src/mapper/select/optimizer/WhereOptimizer.cjs +2 -2
  54. package/dist/development/src/mapper/select/optimizer/WhereOptimizer.cjs.map +1 -1
  55. package/dist/development/src/mapper/select/optimizer/WhereOptimizer.js +1 -1
  56. package/dist/development/src/mapper/select/optimizer/WhereOptimizer.js.map +1 -1
  57. package/dist/development/src/mapper/select/optimizer/WhereReplacer.cjs +3 -3
  58. package/dist/development/src/mapper/select/optimizer/WhereReplacer.cjs.map +1 -1
  59. package/dist/development/src/mapper/select/optimizer/WhereReplacer.js +1 -1
  60. package/dist/development/src/mapper/select/optimizer/WhereReplacer.js.map +1 -1
  61. package/dist/development/src/mapper/update/SqlUpdateInputProcessor.cjs +6 -3
  62. package/dist/development/src/mapper/update/SqlUpdateInputProcessor.cjs.map +1 -1
  63. package/dist/development/src/mapper/update/SqlUpdateInputProcessor.js +7 -4
  64. package/dist/development/src/mapper/update/SqlUpdateInputProcessor.js.map +1 -1
  65. package/dist/development/src/mapper/update/Updater.cjs +1 -1
  66. package/dist/development/src/mapper/update/Updater.js +1 -1
  67. package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs +6 -0
  68. package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs.map +1 -1
  69. package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js +6 -0
  70. package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js.map +1 -1
  71. package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs +6 -0
  72. package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs.map +1 -1
  73. package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js +6 -0
  74. package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js.map +1 -1
  75. package/dist/development/src/mapper/update/relations/SetManyRelationHelper.cjs +123 -0
  76. package/dist/development/src/mapper/update/relations/SetManyRelationHelper.cjs.map +1 -0
  77. package/dist/development/src/mapper/update/relations/SetManyRelationHelper.js +123 -0
  78. package/dist/development/src/mapper/update/relations/SetManyRelationHelper.js.map +1 -0
  79. package/dist/development/src/resolvers/MutationResolver.cjs +4 -1
  80. package/dist/development/src/resolvers/MutationResolver.cjs.map +1 -1
  81. package/dist/development/src/resolvers/MutationResolver.js +4 -1
  82. package/dist/development/src/resolvers/MutationResolver.js.map +1 -1
  83. package/dist/development/src/resolvers/ReadHelpers.cjs +2 -1
  84. package/dist/development/src/resolvers/ReadHelpers.cjs.map +1 -1
  85. package/dist/development/src/resolvers/ReadHelpers.js +2 -1
  86. package/dist/development/src/resolvers/ReadHelpers.js.map +1 -1
  87. package/dist/development/src/schema/CustomTypesProvider.cjs +35 -14
  88. package/dist/development/src/schema/CustomTypesProvider.cjs.map +1 -1
  89. package/dist/development/src/schema/CustomTypesProvider.js +36 -15
  90. package/dist/development/src/schema/CustomTypesProvider.js.map +1 -1
  91. package/dist/development/src/schema/EntityTypeProvider.cjs +8 -5
  92. package/dist/development/src/schema/EntityTypeProvider.cjs.map +1 -1
  93. package/dist/development/src/schema/EntityTypeProvider.js +8 -5
  94. package/dist/development/src/schema/EntityTypeProvider.js.map +1 -1
  95. package/dist/development/src/schema/GraphQlSchemaBuilderFactory.cjs +1 -1
  96. package/dist/development/src/schema/GraphQlSchemaBuilderFactory.js +1 -1
  97. package/dist/development/src/schema/MutationProvider.cjs +4 -0
  98. package/dist/development/src/schema/MutationProvider.cjs.map +1 -1
  99. package/dist/development/src/schema/MutationProvider.js +4 -0
  100. package/dist/development/src/schema/MutationProvider.js.map +1 -1
  101. package/dist/development/src/schema/OrderByTypeProvider.cjs +8 -2
  102. package/dist/development/src/schema/OrderByTypeProvider.cjs.map +1 -1
  103. package/dist/development/src/schema/OrderByTypeProvider.js +9 -3
  104. package/dist/development/src/schema/OrderByTypeProvider.js.map +1 -1
  105. package/dist/development/src/schema/QueryProvider.cjs +3 -0
  106. package/dist/development/src/schema/QueryProvider.cjs.map +1 -1
  107. package/dist/development/src/schema/QueryProvider.js +3 -0
  108. package/dist/development/src/schema/QueryProvider.js.map +1 -1
  109. package/dist/development/src/schema/ValidationQueriesProvider.cjs +2 -0
  110. package/dist/development/src/schema/ValidationQueriesProvider.cjs.map +1 -1
  111. package/dist/development/src/schema/ValidationQueriesProvider.js +2 -0
  112. package/dist/development/src/schema/ValidationQueriesProvider.js.map +1 -1
  113. package/dist/development/src/schema/WhereTypeProvider.cjs +17 -5
  114. package/dist/development/src/schema/WhereTypeProvider.cjs.map +1 -1
  115. package/dist/development/src/schema/WhereTypeProvider.js +18 -6
  116. package/dist/development/src/schema/WhereTypeProvider.js.map +1 -1
  117. package/dist/development/src/schema/calendarDate.cjs +21 -0
  118. package/dist/development/src/schema/calendarDate.cjs.map +1 -0
  119. package/dist/development/src/schema/calendarDate.js +21 -0
  120. package/dist/development/src/schema/calendarDate.js.map +1 -0
  121. package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.cjs +11 -3
  122. package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.cjs.map +1 -1
  123. package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.js +11 -3
  124. package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.js.map +1 -1
  125. package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs +11 -3
  126. package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs.map +1 -1
  127. package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.js +11 -3
  128. package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.js.map +1 -1
  129. package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs +39 -2
  130. package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs.map +1 -1
  131. package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +40 -3
  132. package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
  133. package/dist/development/src/schema/utils.cjs +10 -0
  134. package/dist/development/src/schema/utils.cjs.map +1 -1
  135. package/dist/development/src/schema/utils.js +11 -1
  136. package/dist/development/src/schema/utils.js.map +1 -1
  137. package/dist/production/index.cjs +3 -0
  138. package/dist/production/index.cjs.map +1 -1
  139. package/dist/production/index.js +4 -1
  140. package/dist/production/index.js.map +1 -1
  141. package/dist/production/src/ExecutionContainer.cjs +1 -0
  142. package/dist/production/src/ExecutionContainer.cjs.map +1 -1
  143. package/dist/production/src/ExecutionContainer.js +1 -0
  144. package/dist/production/src/ExecutionContainer.js.map +1 -1
  145. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs +2 -1
  146. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs.map +1 -1
  147. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js +2 -1
  148. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js.map +1 -1
  149. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs +5 -1
  150. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs.map +1 -1
  151. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js +5 -1
  152. package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js.map +1 -1
  153. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs +2 -1
  154. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs.map +1 -1
  155. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js +2 -1
  156. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js.map +1 -1
  157. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs +4 -1
  158. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs.map +1 -1
  159. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js +4 -1
  160. package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js.map +1 -1
  161. package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs +24 -3
  162. package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs.map +1 -1
  163. package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js +24 -3
  164. package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js.map +1 -1
  165. package/dist/production/src/inputProcessing/UpdateInputVisitor.cjs +52 -2
  166. package/dist/production/src/inputProcessing/UpdateInputVisitor.cjs.map +1 -1
  167. package/dist/production/src/inputProcessing/UpdateInputVisitor.js +52 -2
  168. package/dist/production/src/inputProcessing/UpdateInputVisitor.js.map +1 -1
  169. package/dist/production/src/mapper/ErrorUtils.cjs +10 -0
  170. package/dist/production/src/mapper/ErrorUtils.cjs.map +1 -1
  171. package/dist/production/src/mapper/ErrorUtils.js +10 -0
  172. package/dist/production/src/mapper/ErrorUtils.js.map +1 -1
  173. package/dist/production/src/mapper/Mapper.cjs +37 -1
  174. package/dist/production/src/mapper/Mapper.cjs.map +1 -1
  175. package/dist/production/src/mapper/Mapper.js +38 -2
  176. package/dist/production/src/mapper/Mapper.js.map +1 -1
  177. package/dist/production/src/mapper/MutationProcessorHelper.cjs +12 -0
  178. package/dist/production/src/mapper/MutationProcessorHelper.cjs.map +1 -1
  179. package/dist/production/src/mapper/MutationProcessorHelper.js +13 -1
  180. package/dist/production/src/mapper/MutationProcessorHelper.js.map +1 -1
  181. package/dist/production/src/mapper/Result.cjs +1 -0
  182. package/dist/production/src/mapper/Result.cjs.map +1 -1
  183. package/dist/production/src/mapper/Result.js +1 -0
  184. package/dist/production/src/mapper/Result.js.map +1 -1
  185. package/dist/production/src/mapper/delete/DeleteExecutor.cjs +1 -1
  186. package/dist/production/src/mapper/delete/DeleteExecutor.js +1 -1
  187. package/dist/production/src/mapper/select/handlers/MetaHandler.cjs +1 -1
  188. package/dist/production/src/mapper/select/handlers/MetaHandler.js +1 -1
  189. package/dist/production/src/mapper/select/optimizer/WhereOptimizer.cjs +2 -2
  190. package/dist/production/src/mapper/select/optimizer/WhereOptimizer.cjs.map +1 -1
  191. package/dist/production/src/mapper/select/optimizer/WhereOptimizer.js +1 -1
  192. package/dist/production/src/mapper/select/optimizer/WhereOptimizer.js.map +1 -1
  193. package/dist/production/src/mapper/select/optimizer/WhereReplacer.cjs +3 -3
  194. package/dist/production/src/mapper/select/optimizer/WhereReplacer.cjs.map +1 -1
  195. package/dist/production/src/mapper/select/optimizer/WhereReplacer.js +1 -1
  196. package/dist/production/src/mapper/select/optimizer/WhereReplacer.js.map +1 -1
  197. package/dist/production/src/mapper/update/SqlUpdateInputProcessor.cjs +6 -3
  198. package/dist/production/src/mapper/update/SqlUpdateInputProcessor.cjs.map +1 -1
  199. package/dist/production/src/mapper/update/SqlUpdateInputProcessor.js +7 -4
  200. package/dist/production/src/mapper/update/SqlUpdateInputProcessor.js.map +1 -1
  201. package/dist/production/src/mapper/update/Updater.cjs +1 -1
  202. package/dist/production/src/mapper/update/Updater.js +1 -1
  203. package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs +6 -0
  204. package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs.map +1 -1
  205. package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js +6 -0
  206. package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js.map +1 -1
  207. package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs +6 -0
  208. package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs.map +1 -1
  209. package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js +6 -0
  210. package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js.map +1 -1
  211. package/dist/production/src/mapper/update/relations/SetManyRelationHelper.cjs +123 -0
  212. package/dist/production/src/mapper/update/relations/SetManyRelationHelper.cjs.map +1 -0
  213. package/dist/production/src/mapper/update/relations/SetManyRelationHelper.js +123 -0
  214. package/dist/production/src/mapper/update/relations/SetManyRelationHelper.js.map +1 -0
  215. package/dist/production/src/resolvers/MutationResolver.cjs +4 -1
  216. package/dist/production/src/resolvers/MutationResolver.cjs.map +1 -1
  217. package/dist/production/src/resolvers/MutationResolver.js +4 -1
  218. package/dist/production/src/resolvers/MutationResolver.js.map +1 -1
  219. package/dist/production/src/resolvers/ReadHelpers.cjs +2 -1
  220. package/dist/production/src/resolvers/ReadHelpers.cjs.map +1 -1
  221. package/dist/production/src/resolvers/ReadHelpers.js +2 -1
  222. package/dist/production/src/resolvers/ReadHelpers.js.map +1 -1
  223. package/dist/production/src/schema/CustomTypesProvider.cjs +35 -14
  224. package/dist/production/src/schema/CustomTypesProvider.cjs.map +1 -1
  225. package/dist/production/src/schema/CustomTypesProvider.js +36 -15
  226. package/dist/production/src/schema/CustomTypesProvider.js.map +1 -1
  227. package/dist/production/src/schema/EntityTypeProvider.cjs +8 -5
  228. package/dist/production/src/schema/EntityTypeProvider.cjs.map +1 -1
  229. package/dist/production/src/schema/EntityTypeProvider.js +8 -5
  230. package/dist/production/src/schema/EntityTypeProvider.js.map +1 -1
  231. package/dist/production/src/schema/GraphQlSchemaBuilderFactory.cjs +1 -1
  232. package/dist/production/src/schema/GraphQlSchemaBuilderFactory.js +1 -1
  233. package/dist/production/src/schema/MutationProvider.cjs +4 -0
  234. package/dist/production/src/schema/MutationProvider.cjs.map +1 -1
  235. package/dist/production/src/schema/MutationProvider.js +4 -0
  236. package/dist/production/src/schema/MutationProvider.js.map +1 -1
  237. package/dist/production/src/schema/OrderByTypeProvider.cjs +8 -2
  238. package/dist/production/src/schema/OrderByTypeProvider.cjs.map +1 -1
  239. package/dist/production/src/schema/OrderByTypeProvider.js +9 -3
  240. package/dist/production/src/schema/OrderByTypeProvider.js.map +1 -1
  241. package/dist/production/src/schema/QueryProvider.cjs +3 -0
  242. package/dist/production/src/schema/QueryProvider.cjs.map +1 -1
  243. package/dist/production/src/schema/QueryProvider.js +3 -0
  244. package/dist/production/src/schema/QueryProvider.js.map +1 -1
  245. package/dist/production/src/schema/ValidationQueriesProvider.cjs +2 -0
  246. package/dist/production/src/schema/ValidationQueriesProvider.cjs.map +1 -1
  247. package/dist/production/src/schema/ValidationQueriesProvider.js +2 -0
  248. package/dist/production/src/schema/ValidationQueriesProvider.js.map +1 -1
  249. package/dist/production/src/schema/WhereTypeProvider.cjs +17 -5
  250. package/dist/production/src/schema/WhereTypeProvider.cjs.map +1 -1
  251. package/dist/production/src/schema/WhereTypeProvider.js +18 -6
  252. package/dist/production/src/schema/WhereTypeProvider.js.map +1 -1
  253. package/dist/production/src/schema/calendarDate.cjs +21 -0
  254. package/dist/production/src/schema/calendarDate.cjs.map +1 -0
  255. package/dist/production/src/schema/calendarDate.js +21 -0
  256. package/dist/production/src/schema/calendarDate.js.map +1 -0
  257. package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.cjs +11 -3
  258. package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.cjs.map +1 -1
  259. package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.js +11 -3
  260. package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.js.map +1 -1
  261. package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs +11 -3
  262. package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs.map +1 -1
  263. package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.js +11 -3
  264. package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.js.map +1 -1
  265. package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs +39 -2
  266. package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs.map +1 -1
  267. package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +40 -3
  268. package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
  269. package/dist/production/src/schema/utils.cjs +10 -0
  270. package/dist/production/src/schema/utils.cjs.map +1 -1
  271. package/dist/production/src/schema/utils.js +11 -1
  272. package/dist/production/src/schema/utils.js.map +1 -1
  273. package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.d.ts +2 -0
  274. package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.d.ts.map +1 -0
  275. package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.d.ts +2 -0
  276. package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.d.ts.map +1 -0
  277. package/dist/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.d.ts +2 -0
  278. package/dist/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.d.ts.map +1 -0
  279. package/dist/tests/cases/unit/checkViolationError.test.d.ts +2 -0
  280. package/dist/tests/cases/unit/checkViolationError.test.d.ts.map +1 -0
  281. package/dist/tests/cases/unit/dateType.test.d.ts +2 -0
  282. package/dist/tests/cases/unit/dateType.test.d.ts.map +1 -0
  283. package/dist/tests/tsconfig.tsbuildinfo +1 -1
  284. package/dist/types/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.d.ts.map +1 -1
  285. package/dist/types/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.d.ts.map +1 -1
  286. package/dist/types/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts +6 -0
  287. package/dist/types/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts.map +1 -1
  288. package/dist/types/inputProcessing/UpdateInputProcessor.d.ts +7 -0
  289. package/dist/types/inputProcessing/UpdateInputProcessor.d.ts.map +1 -1
  290. package/dist/types/inputProcessing/UpdateInputVisitor.d.ts +2 -0
  291. package/dist/types/inputProcessing/UpdateInputVisitor.d.ts.map +1 -1
  292. package/dist/types/mapper/ErrorUtils.d.ts.map +1 -1
  293. package/dist/types/mapper/Mapper.d.ts +5 -0
  294. package/dist/types/mapper/Mapper.d.ts.map +1 -1
  295. package/dist/types/mapper/MutationProcessorHelper.d.ts +3 -0
  296. package/dist/types/mapper/MutationProcessorHelper.d.ts.map +1 -1
  297. package/dist/types/mapper/Result.d.ts +2 -1
  298. package/dist/types/mapper/Result.d.ts.map +1 -1
  299. package/dist/types/mapper/types.d.ts +8 -1
  300. package/dist/types/mapper/types.d.ts.map +1 -1
  301. package/dist/types/mapper/update/SqlUpdateInputProcessor.d.ts.map +1 -1
  302. package/dist/types/mapper/update/relations/ManyHasManyUpdateInputProcessor.d.ts +5 -0
  303. package/dist/types/mapper/update/relations/ManyHasManyUpdateInputProcessor.d.ts.map +1 -1
  304. package/dist/types/mapper/update/relations/OneHasManyUpdateInputProcessor.d.ts +5 -0
  305. package/dist/types/mapper/update/relations/OneHasManyUpdateInputProcessor.d.ts.map +1 -1
  306. package/dist/types/mapper/update/relations/SetManyRelationHelper.d.ts +67 -0
  307. package/dist/types/mapper/update/relations/SetManyRelationHelper.d.ts.map +1 -0
  308. package/dist/types/resolvers/MutationResolver.d.ts.map +1 -1
  309. package/dist/types/schema/CustomTypesProvider.d.ts.map +1 -1
  310. package/dist/types/schema/EntityTypeProvider.d.ts.map +1 -1
  311. package/dist/types/schema/MutationProvider.d.ts.map +1 -1
  312. package/dist/types/schema/OrderByTypeProvider.d.ts.map +1 -1
  313. package/dist/types/schema/QueryProvider.d.ts.map +1 -1
  314. package/dist/types/schema/ValidationQueriesProvider.d.ts.map +1 -1
  315. package/dist/types/schema/WhereTypeProvider.d.ts.map +1 -1
  316. package/dist/types/schema/calendarDate.d.ts +6 -0
  317. package/dist/types/schema/calendarDate.d.ts.map +1 -0
  318. package/dist/types/schema/index.d.ts +1 -0
  319. package/dist/types/schema/index.d.ts.map +1 -1
  320. package/dist/types/schema/mutations/CreateEntityInputFieldVisitor.d.ts.map +1 -1
  321. package/dist/types/schema/mutations/UpdateEntityInputFieldVisitor.d.ts +3 -0
  322. package/dist/types/schema/mutations/UpdateEntityInputFieldVisitor.d.ts.map +1 -1
  323. package/dist/types/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts +1 -0
  324. package/dist/types/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts.map +1 -1
  325. package/dist/types/schema/utils.d.ts +7 -0
  326. package/dist/types/schema/utils.d.ts.map +1 -1
  327. package/dist/types/tsconfig.tsbuildinfo +1 -1
  328. package/package.json +10 -10
  329. package/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.ts +3 -0
  330. package/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.ts +9 -7
  331. package/src/input-validation/preValidation/UpdateInputPreValidationProcessor.ts +29 -0
  332. package/src/inputProcessing/UpdateInputProcessor.ts +6 -0
  333. package/src/inputProcessing/UpdateInputVisitor.ts +64 -2
  334. package/src/mapper/ErrorUtils.ts +11 -0
  335. package/src/mapper/Mapper.ts +61 -1
  336. package/src/mapper/MutationProcessorHelper.ts +14 -0
  337. package/src/mapper/Result.ts +1 -0
  338. package/src/mapper/select/optimizer/WhereOptimizer.ts +1 -1
  339. package/src/mapper/select/optimizer/WhereReplacer.ts +1 -1
  340. package/src/mapper/types.ts +16 -1
  341. package/src/mapper/update/SqlUpdateInputProcessor.ts +4 -1
  342. package/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.ts +9 -0
  343. package/src/mapper/update/relations/OneHasManyUpdateInputProcessor.ts +9 -0
  344. package/src/mapper/update/relations/SetManyRelationHelper.ts +199 -0
  345. package/src/resolvers/MutationResolver.ts +2 -0
  346. package/src/schema/CustomTypesProvider.ts +40 -15
  347. package/src/schema/EntityTypeProvider.ts +8 -4
  348. package/src/schema/MutationProvider.ts +4 -0
  349. package/src/schema/OrderByTypeProvider.ts +9 -3
  350. package/src/schema/QueryProvider.ts +3 -0
  351. package/src/schema/ValidationQueriesProvider.ts +2 -0
  352. package/src/schema/WhereTypeProvider.ts +18 -6
  353. package/src/schema/calendarDate.ts +26 -0
  354. package/src/schema/index.ts +1 -0
  355. package/src/schema/mutations/CreateEntityInputFieldVisitor.ts +10 -2
  356. package/src/schema/mutations/UpdateEntityInputFieldVisitor.ts +10 -2
  357. package/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.ts +66 -7
  358. package/src/schema/utils.ts +14 -0
  359. package/src/tsconfig.json +2 -1
  360. package/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.ts +219 -0
  361. package/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.ts +479 -0
  362. package/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.ts +948 -0
  363. package/tests/cases/integration/graphQlSchema/graphQlSchemaBuilder.test.ts +102 -1
  364. package/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +17 -0
  365. package/tests/cases/integration/graphQlSchema/schema-acl-create-only.gql +1 -0
  366. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +14 -0
  367. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +11 -0
  368. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-read.gql +254 -0
  369. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +1 -0
  370. package/tests/cases/integration/graphQlSchema/schema-acl.gql +1 -0
  371. package/tests/cases/integration/graphQlSchema/schema-aliased-type.gql +1 -0
  372. package/tests/cases/integration/graphQlSchema/schema-array.gql +1 -0
  373. package/tests/cases/integration/graphQlSchema/schema-basic.gql +50 -0
  374. package/tests/cases/integration/graphQlSchema/schema-bug-66.gql +17 -0
  375. package/tests/cases/integration/graphQlSchema/schema-column-types.gql +1 -0
  376. package/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +50 -0
  377. package/tests/cases/integration/graphQlSchema/schema-deprecation.gql +962 -0
  378. package/tests/cases/integration/graphQlSchema/schema-description.gql +992 -0
  379. package/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +17 -0
  380. package/tests/cases/integration/graphQlSchema/schema-mixed-root-through.gql +1 -0
  381. package/tests/cases/integration/graphQlSchema/schema-new-builder.gql +50 -0
  382. package/tests/cases/integration/graphQlSchema/schema-no-root-ops.gql +1 -0
  383. package/tests/cases/unit/checkViolationError.test.ts +49 -0
  384. package/tests/cases/unit/dateType.test.ts +46 -0
  385. package/tests/cases/unit/decimalType.test.ts +2 -2
@@ -0,0 +1,992 @@
1
+ type Query {
2
+ getArticle(by: ArticleUniqueWhere!, filter: ArticleWhere): Article
3
+ listArticle(filter: ArticleWhere, orderBy: [ArticleOrderBy!], offset: Int, limit: Int): [Article!]!
4
+ paginateArticle(filter: ArticleWhere, orderBy: [ArticleOrderBy!], skip: Int, first: Int): ArticleConnection!
5
+ validateCreateArticle(data: ArticleCreateInput!): _ValidationResult!
6
+ validateUpdateArticle(by: ArticleUniqueWhere!, data: ArticleUpdateInput!): _ValidationResult!
7
+ getArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere): ArticleStats
8
+ listArticleStats(filter: ArticleStatsWhere, orderBy: [ArticleStatsOrderBy!], offset: Int, limit: Int): [ArticleStats!]!
9
+ paginateArticleStats(filter: ArticleStatsWhere, orderBy: [ArticleStatsOrderBy!], skip: Int, first: Int): ArticleStatsConnection!
10
+ validateCreateArticleStats(data: ArticleStatsCreateInput!): _ValidationResult!
11
+ validateUpdateArticleStats(by: ArticleStatsUniqueWhere!, data: ArticleStatsUpdateInput!): _ValidationResult!
12
+ getCategory(by: CategoryUniqueWhere!, filter: CategoryWhere): Category
13
+ listCategory(filter: CategoryWhere, orderBy: [CategoryOrderBy!], offset: Int, limit: Int): [Category!]!
14
+ paginateCategory(filter: CategoryWhere, orderBy: [CategoryOrderBy!], skip: Int, first: Int): CategoryConnection!
15
+ validateCreateCategory(data: CategoryCreateInput!): _ValidationResult!
16
+ validateUpdateCategory(by: CategoryUniqueWhere!, data: CategoryUpdateInput!): _ValidationResult!
17
+ getTag(by: TagUniqueWhere!, filter: TagWhere): Tag
18
+ listTag(filter: TagWhere, orderBy: [TagOrderBy!], offset: Int, limit: Int): [Tag!]!
19
+ paginateTag(filter: TagWhere, orderBy: [TagOrderBy!], skip: Int, first: Int): TagConnection!
20
+ validateCreateTag(data: TagCreateInput!): _ValidationResult!
21
+ validateUpdateTag(by: TagUniqueWhere!, data: TagUpdateInput!): _ValidationResult!
22
+ transaction: QueryTransaction
23
+ _info: Info
24
+ }
25
+
26
+ """description of entity Article"""
27
+ type Article {
28
+ _meta: ArticleMeta
29
+ id: UUID!
30
+
31
+ """description of Article.title"""
32
+ title: String
33
+
34
+ """description of Article.category"""
35
+ category(filter: CategoryWhere): Category
36
+
37
+ """description of Article.tags"""
38
+ tags(filter: TagWhere, orderBy: [TagOrderBy!], offset: Int, limit: Int): [Tag!]!
39
+
40
+ """description of Article.stats"""
41
+ stats(filter: ArticleStatsWhere): ArticleStats
42
+
43
+ """description of Article.tags"""
44
+ paginateTags(filter: TagWhere, orderBy: [TagOrderBy!], skip: Int, first: Int): TagConnection!
45
+ }
46
+
47
+ type ArticleMeta {
48
+ id: FieldMeta
49
+ title: FieldMeta
50
+ category: FieldMeta
51
+ tags: FieldMeta
52
+ stats: FieldMeta
53
+ }
54
+
55
+ type FieldMeta {
56
+ readable: Boolean
57
+ updatable: Boolean
58
+ }
59
+
60
+ scalar UUID
61
+
62
+ """description of entity Category"""
63
+ type Category {
64
+ _meta: CategoryMeta
65
+ id: UUID!
66
+
67
+ """description of Category.name"""
68
+ name: String
69
+
70
+ """description of Category.articles"""
71
+ articles(filter: ArticleWhere, orderBy: [ArticleOrderBy!], offset: Int, limit: Int): [Article!]!
72
+
73
+ """description of Category.articles"""
74
+ articlesByStats(by: CategoryArticlesByStatsUniqueWhere!, filter: ArticleWhere): Article
75
+ articlesBy(by: ArticlesOfCategoryByUniqueWhere!, filter: ArticleWhere): Article
76
+
77
+ """description of Category.articles"""
78
+ paginateArticles(filter: ArticleWhere, orderBy: [ArticleOrderBy!], skip: Int, first: Int): ArticleConnection!
79
+ }
80
+
81
+ type CategoryMeta {
82
+ id: FieldMeta
83
+ name: FieldMeta
84
+ articles: FieldMeta
85
+ }
86
+
87
+ input ArticleWhere {
88
+ id: UUIDCondition
89
+
90
+ """description of Article.title"""
91
+ title: StringCondition
92
+
93
+ """description of Article.category"""
94
+ category: CategoryWhere
95
+
96
+ """description of Article.tags"""
97
+ tags: TagWhere
98
+
99
+ """description of Article.stats"""
100
+ stats: ArticleStatsWhere
101
+ and: [ArticleWhere]
102
+ or: [ArticleWhere]
103
+ not: ArticleWhere
104
+ }
105
+
106
+ input UUIDCondition {
107
+ and: [UUIDCondition!]
108
+ or: [UUIDCondition!]
109
+ not: UUIDCondition
110
+ null: Boolean
111
+ isNull: Boolean
112
+ eq: UUID
113
+ notEq: UUID
114
+ in: [UUID!]
115
+ notIn: [UUID!]
116
+ lt: UUID
117
+ lte: UUID
118
+ gt: UUID
119
+ gte: UUID
120
+ }
121
+
122
+ input StringCondition {
123
+ and: [StringCondition!]
124
+ or: [StringCondition!]
125
+ not: StringCondition
126
+ null: Boolean
127
+ isNull: Boolean
128
+ eq: String
129
+ notEq: String
130
+ in: [String!]
131
+ notIn: [String!]
132
+ lt: String
133
+ lte: String
134
+ gt: String
135
+ gte: String
136
+ contains: String
137
+ startsWith: String
138
+ endsWith: String
139
+ containsCI: String
140
+ startsWithCI: String
141
+ endsWithCI: String
142
+ similar: String
143
+ wordSimilar: String
144
+ }
145
+
146
+ input CategoryWhere {
147
+ id: UUIDCondition
148
+
149
+ """description of Category.name"""
150
+ name: StringCondition
151
+
152
+ """description of Category.articles"""
153
+ articles: ArticleWhere
154
+ and: [CategoryWhere]
155
+ or: [CategoryWhere]
156
+ not: CategoryWhere
157
+ }
158
+
159
+ input TagWhere {
160
+ id: UUIDCondition
161
+
162
+ """description of Tag.name"""
163
+ name: StringCondition
164
+
165
+ """description of Tag.articles"""
166
+ articles: ArticleWhere
167
+ and: [TagWhere]
168
+ or: [TagWhere]
169
+ not: TagWhere
170
+ }
171
+
172
+ input ArticleStatsWhere {
173
+ id: UUIDCondition
174
+
175
+ """description of ArticleStats.article"""
176
+ article: ArticleWhere
177
+ and: [ArticleStatsWhere]
178
+ or: [ArticleStatsWhere]
179
+ not: ArticleStatsWhere
180
+ }
181
+
182
+ input ArticleOrderBy {
183
+ _random: Boolean
184
+ _randomSeeded: Int
185
+ id: OrderDirection
186
+
187
+ """description of Article.title"""
188
+ title: OrderDirection
189
+
190
+ """description of Article.category"""
191
+ category: CategoryOrderBy
192
+
193
+ """description of Article.stats"""
194
+ stats: ArticleStatsOrderBy
195
+ }
196
+
197
+ enum OrderDirection {
198
+ asc
199
+ desc
200
+ ascNullsFirst
201
+ descNullsLast
202
+ }
203
+
204
+ input CategoryOrderBy {
205
+ _random: Boolean
206
+ _randomSeeded: Int
207
+ id: OrderDirection
208
+
209
+ """description of Category.name"""
210
+ name: OrderDirection
211
+ }
212
+
213
+ input ArticleStatsOrderBy {
214
+ _random: Boolean
215
+ _randomSeeded: Int
216
+ id: OrderDirection
217
+
218
+ """description of ArticleStats.article"""
219
+ article: ArticleOrderBy
220
+ }
221
+
222
+ input CategoryArticlesByStatsUniqueWhere {
223
+ """description of Article.stats"""
224
+ stats: ArticleStatsUniqueWhere
225
+ }
226
+
227
+ input ArticleStatsUniqueWhere {
228
+ id: UUID
229
+
230
+ """description of ArticleStats.article"""
231
+ article: ArticleUniqueWhere
232
+ }
233
+
234
+ input ArticleUniqueWhere {
235
+ id: UUID
236
+
237
+ """description of Article.stats"""
238
+ stats: ArticleStatsUniqueWhere
239
+ }
240
+
241
+ input ArticlesOfCategoryByUniqueWhere {
242
+ id: UUID
243
+
244
+ """description of Article.stats"""
245
+ stats: ArticleStatsUniqueWhere
246
+ }
247
+
248
+ type ArticleConnection {
249
+ pageInfo: PageInfo!
250
+ edges: [ArticleEdge!]!
251
+ }
252
+
253
+ type PageInfo {
254
+ totalCount: Int!
255
+ }
256
+
257
+ type ArticleEdge {
258
+ node: Article!
259
+ }
260
+
261
+ """description of entity Tag"""
262
+ type Tag {
263
+ _meta: TagMeta
264
+ id: UUID!
265
+
266
+ """description of Tag.name"""
267
+ name: String
268
+
269
+ """description of Tag.articles"""
270
+ articles(filter: ArticleWhere, orderBy: [ArticleOrderBy!], offset: Int, limit: Int): [Article!]!
271
+
272
+ """description of Tag.articles"""
273
+ paginateArticles(filter: ArticleWhere, orderBy: [ArticleOrderBy!], skip: Int, first: Int): ArticleConnection!
274
+ }
275
+
276
+ type TagMeta {
277
+ id: FieldMeta
278
+ name: FieldMeta
279
+ articles: FieldMeta
280
+ }
281
+
282
+ input TagOrderBy {
283
+ _random: Boolean
284
+ _randomSeeded: Int
285
+ id: OrderDirection
286
+
287
+ """description of Tag.name"""
288
+ name: OrderDirection
289
+ }
290
+
291
+ """description of entity ArticleStats"""
292
+ type ArticleStats {
293
+ _meta: ArticleStatsMeta
294
+ id: UUID!
295
+
296
+ """description of ArticleStats.article"""
297
+ article(filter: ArticleWhere): Article
298
+ }
299
+
300
+ type ArticleStatsMeta {
301
+ id: FieldMeta
302
+ article: FieldMeta
303
+ }
304
+
305
+ type TagConnection {
306
+ pageInfo: PageInfo!
307
+ edges: [TagEdge!]!
308
+ }
309
+
310
+ type TagEdge {
311
+ node: Tag!
312
+ }
313
+
314
+ type _ValidationResult {
315
+ valid: Boolean!
316
+ errors: [_ValidationError!]!
317
+ }
318
+
319
+ type _ValidationError {
320
+ path: [_PathFragment!]!
321
+ message: _ValidationMessage!
322
+ }
323
+
324
+ union _PathFragment = _FieldPathFragment | _IndexPathFragment
325
+
326
+ type _FieldPathFragment {
327
+ field: String!
328
+ }
329
+
330
+ type _IndexPathFragment {
331
+ index: Int!
332
+ alias: String
333
+ }
334
+
335
+ type _ValidationMessage {
336
+ text: String!
337
+ }
338
+
339
+ input ArticleCreateInput {
340
+ """description of Article.title"""
341
+ title: String
342
+
343
+ """description of Article.category"""
344
+ category: ArticleCreateCategoryEntityRelationInput
345
+
346
+ """description of Article.tags"""
347
+ tags: [ArticleCreateTagsEntityRelationInput!]
348
+
349
+ """description of Article.stats"""
350
+ stats: ArticleCreateStatsEntityRelationInput
351
+ _dummy_field_: Boolean
352
+ }
353
+
354
+ input ArticleCreateCategoryEntityRelationInput {
355
+ connect: CategoryUniqueWhere
356
+ create: CategoryWithoutArticlesCreateInput
357
+ connectOrCreate: ArticleConnectOrCreateCategoryRelationInput
358
+ }
359
+
360
+ input CategoryUniqueWhere {
361
+ id: UUID
362
+
363
+ """description of Category.articles"""
364
+ articles: ArticleUniqueWhere
365
+ }
366
+
367
+ input CategoryWithoutArticlesCreateInput {
368
+ """description of Category.name"""
369
+ name: String
370
+ _dummy_field_: Boolean
371
+ }
372
+
373
+ input ArticleConnectOrCreateCategoryRelationInput {
374
+ connect: CategoryUniqueWhere!
375
+ create: CategoryWithoutArticlesCreateInput!
376
+ }
377
+
378
+ input ArticleCreateTagsEntityRelationInput {
379
+ connect: TagUniqueWhere
380
+ create: TagWithoutArticlesCreateInput
381
+ connectOrCreate: ArticleConnectOrCreateTagsRelationInput
382
+ alias: String
383
+ }
384
+
385
+ input TagUniqueWhere {
386
+ id: UUID
387
+ }
388
+
389
+ input TagWithoutArticlesCreateInput {
390
+ """description of Tag.name"""
391
+ name: String
392
+ _dummy_field_: Boolean
393
+ }
394
+
395
+ input ArticleConnectOrCreateTagsRelationInput {
396
+ connect: TagUniqueWhere!
397
+ create: TagWithoutArticlesCreateInput!
398
+ }
399
+
400
+ input ArticleCreateStatsEntityRelationInput {
401
+ connect: ArticleStatsUniqueWhere
402
+ create: ArticleStatsWithoutArticleCreateInput
403
+ connectOrCreate: ArticleConnectOrCreateStatsRelationInput
404
+ }
405
+
406
+ input ArticleStatsWithoutArticleCreateInput {
407
+ _dummy_field_: Boolean
408
+ }
409
+
410
+ input ArticleConnectOrCreateStatsRelationInput {
411
+ connect: ArticleStatsUniqueWhere!
412
+ create: ArticleStatsWithoutArticleCreateInput!
413
+ }
414
+
415
+ input ArticleUpdateInput {
416
+ """description of Article.title"""
417
+ title: String
418
+
419
+ """description of Article.category"""
420
+ category: ArticleUpdateCategoryEntityRelationInput
421
+
422
+ """description of Article.tags"""
423
+ tags: [ArticleUpdateTagsEntityRelationInput!]
424
+
425
+ """description of Article.stats"""
426
+ stats: ArticleUpdateStatsEntityRelationInput
427
+ _dummy_field_: Boolean
428
+ }
429
+
430
+ input ArticleUpdateCategoryEntityRelationInput {
431
+ connect: CategoryUniqueWhere
432
+ create: CategoryWithoutArticlesCreateInput
433
+ connectOrCreate: ArticleConnectOrCreateCategoryRelationInput
434
+ update: CategoryWithoutArticlesUpdateInput
435
+ upsert: ArticleUpsertCategoryRelationInput
436
+ disconnect: Boolean
437
+ delete: Boolean
438
+ }
439
+
440
+ input CategoryWithoutArticlesUpdateInput {
441
+ """description of Category.name"""
442
+ name: String
443
+ _dummy_field_: Boolean
444
+ }
445
+
446
+ input ArticleUpsertCategoryRelationInput {
447
+ update: CategoryWithoutArticlesUpdateInput!
448
+ create: CategoryWithoutArticlesCreateInput!
449
+ }
450
+
451
+ input ArticleUpdateTagsEntityRelationInput {
452
+ create: TagWithoutArticlesCreateInput
453
+ update: ArticleUpdateTagsRelationInput
454
+ upsert: ArticleUpsertTagsRelationInput
455
+ connect: TagUniqueWhere
456
+ connectOrCreate: ArticleConnectOrCreateTagsRelationInput
457
+ disconnect: TagUniqueWhere
458
+ delete: TagUniqueWhere
459
+ set: [ArticleSetTagsItemRelationInput!]
460
+ orphanStrategy: OrphanRemovalStrategy
461
+ alias: String
462
+ }
463
+
464
+ input ArticleUpdateTagsRelationInput {
465
+ by: TagUniqueWhere!
466
+ data: TagWithoutArticlesUpdateInput!
467
+ }
468
+
469
+ input TagWithoutArticlesUpdateInput {
470
+ """description of Tag.name"""
471
+ name: String
472
+ _dummy_field_: Boolean
473
+ }
474
+
475
+ input ArticleUpsertTagsRelationInput {
476
+ by: TagUniqueWhere!
477
+ update: TagWithoutArticlesUpdateInput!
478
+ create: TagWithoutArticlesCreateInput!
479
+ }
480
+
481
+ input ArticleSetTagsItemRelationInput {
482
+ create: TagWithoutArticlesCreateInput
483
+ connect: TagUniqueWhere
484
+ connectOrCreate: ArticleConnectOrCreateTagsRelationInput
485
+ update: ArticleUpdateTagsRelationInput
486
+ upsert: ArticleUpsertTagsRelationInput
487
+ alias: String
488
+ }
489
+
490
+ enum OrphanRemovalStrategy {
491
+ disconnect
492
+ delete
493
+ }
494
+
495
+ input ArticleUpdateStatsEntityRelationInput {
496
+ connect: ArticleStatsUniqueWhere
497
+ create: ArticleStatsWithoutArticleCreateInput
498
+ connectOrCreate: ArticleConnectOrCreateStatsRelationInput
499
+ update: ArticleStatsWithoutArticleUpdateInput
500
+ upsert: ArticleUpsertStatsRelationInput
501
+ disconnect: Boolean
502
+ delete: Boolean
503
+ }
504
+
505
+ input ArticleStatsWithoutArticleUpdateInput {
506
+ _dummy_field_: Boolean
507
+ }
508
+
509
+ input ArticleUpsertStatsRelationInput {
510
+ update: ArticleStatsWithoutArticleUpdateInput!
511
+ create: ArticleStatsWithoutArticleCreateInput!
512
+ }
513
+
514
+ type ArticleStatsConnection {
515
+ pageInfo: PageInfo!
516
+ edges: [ArticleStatsEdge!]!
517
+ }
518
+
519
+ type ArticleStatsEdge {
520
+ node: ArticleStats!
521
+ }
522
+
523
+ input ArticleStatsCreateInput {
524
+ """description of ArticleStats.article"""
525
+ article: ArticleStatsCreateArticleEntityRelationInput
526
+ _dummy_field_: Boolean
527
+ }
528
+
529
+ input ArticleStatsCreateArticleEntityRelationInput {
530
+ connect: ArticleUniqueWhere
531
+ create: ArticleWithoutStatsCreateInput
532
+ connectOrCreate: ArticleStatsConnectOrCreateArticleRelationInput
533
+ }
534
+
535
+ input ArticleWithoutStatsCreateInput {
536
+ """description of Article.title"""
537
+ title: String
538
+
539
+ """description of Article.category"""
540
+ category: ArticleCreateCategoryEntityRelationInput
541
+
542
+ """description of Article.tags"""
543
+ tags: [ArticleCreateTagsEntityRelationInput!]
544
+ _dummy_field_: Boolean
545
+ }
546
+
547
+ input ArticleStatsConnectOrCreateArticleRelationInput {
548
+ connect: ArticleUniqueWhere!
549
+ create: ArticleWithoutStatsCreateInput!
550
+ }
551
+
552
+ input ArticleStatsUpdateInput {
553
+ """description of ArticleStats.article"""
554
+ article: ArticleStatsUpdateArticleEntityRelationInput
555
+ _dummy_field_: Boolean
556
+ }
557
+
558
+ input ArticleStatsUpdateArticleEntityRelationInput {
559
+ connect: ArticleUniqueWhere
560
+ create: ArticleWithoutStatsCreateInput
561
+ connectOrCreate: ArticleStatsConnectOrCreateArticleRelationInput
562
+ update: ArticleWithoutStatsUpdateInput
563
+ upsert: ArticleStatsUpsertArticleRelationInput
564
+ disconnect: Boolean
565
+ delete: Boolean
566
+ }
567
+
568
+ input ArticleWithoutStatsUpdateInput {
569
+ """description of Article.title"""
570
+ title: String
571
+
572
+ """description of Article.category"""
573
+ category: ArticleUpdateCategoryEntityRelationInput
574
+
575
+ """description of Article.tags"""
576
+ tags: [ArticleUpdateTagsEntityRelationInput!]
577
+ _dummy_field_: Boolean
578
+ }
579
+
580
+ input ArticleStatsUpsertArticleRelationInput {
581
+ update: ArticleWithoutStatsUpdateInput!
582
+ create: ArticleWithoutStatsCreateInput!
583
+ }
584
+
585
+ type CategoryConnection {
586
+ pageInfo: PageInfo!
587
+ edges: [CategoryEdge!]!
588
+ }
589
+
590
+ type CategoryEdge {
591
+ node: Category!
592
+ }
593
+
594
+ input CategoryCreateInput {
595
+ """description of Category.name"""
596
+ name: String
597
+
598
+ """description of Category.articles"""
599
+ articles: [CategoryCreateArticlesEntityRelationInput!]
600
+ _dummy_field_: Boolean
601
+ }
602
+
603
+ input CategoryCreateArticlesEntityRelationInput {
604
+ connect: ArticleUniqueWhere
605
+ create: ArticleWithoutCategoryCreateInput
606
+ connectOrCreate: CategoryConnectOrCreateArticlesRelationInput
607
+ alias: String
608
+ }
609
+
610
+ input ArticleWithoutCategoryCreateInput {
611
+ """description of Article.title"""
612
+ title: String
613
+
614
+ """description of Article.tags"""
615
+ tags: [ArticleCreateTagsEntityRelationInput!]
616
+
617
+ """description of Article.stats"""
618
+ stats: ArticleCreateStatsEntityRelationInput
619
+ _dummy_field_: Boolean
620
+ }
621
+
622
+ input CategoryConnectOrCreateArticlesRelationInput {
623
+ connect: ArticleUniqueWhere!
624
+ create: ArticleWithoutCategoryCreateInput!
625
+ }
626
+
627
+ input CategoryUpdateInput {
628
+ """description of Category.name"""
629
+ name: String
630
+
631
+ """description of Category.articles"""
632
+ articles: [CategoryUpdateArticlesEntityRelationInput!]
633
+ _dummy_field_: Boolean
634
+ }
635
+
636
+ input CategoryUpdateArticlesEntityRelationInput {
637
+ create: ArticleWithoutCategoryCreateInput
638
+ update: CategoryUpdateArticlesRelationInput
639
+ upsert: CategoryUpsertArticlesRelationInput
640
+ connect: ArticleUniqueWhere
641
+ connectOrCreate: CategoryConnectOrCreateArticlesRelationInput
642
+ disconnect: ArticleUniqueWhere
643
+ delete: ArticleUniqueWhere
644
+ set: [CategorySetArticlesItemRelationInput!]
645
+ orphanStrategy: OrphanRemovalStrategy
646
+ alias: String
647
+ }
648
+
649
+ input CategoryUpdateArticlesRelationInput {
650
+ by: ArticleUniqueWhere!
651
+ data: ArticleWithoutCategoryUpdateInput!
652
+ }
653
+
654
+ input ArticleWithoutCategoryUpdateInput {
655
+ """description of Article.title"""
656
+ title: String
657
+
658
+ """description of Article.tags"""
659
+ tags: [ArticleUpdateTagsEntityRelationInput!]
660
+
661
+ """description of Article.stats"""
662
+ stats: ArticleUpdateStatsEntityRelationInput
663
+ _dummy_field_: Boolean
664
+ }
665
+
666
+ input CategoryUpsertArticlesRelationInput {
667
+ by: ArticleUniqueWhere!
668
+ update: ArticleWithoutCategoryUpdateInput!
669
+ create: ArticleWithoutCategoryCreateInput!
670
+ }
671
+
672
+ input CategorySetArticlesItemRelationInput {
673
+ create: ArticleWithoutCategoryCreateInput
674
+ connect: ArticleUniqueWhere
675
+ connectOrCreate: CategoryConnectOrCreateArticlesRelationInput
676
+ update: CategoryUpdateArticlesRelationInput
677
+ upsert: CategoryUpsertArticlesRelationInput
678
+ alias: String
679
+ }
680
+
681
+ input TagCreateInput {
682
+ """description of Tag.name"""
683
+ name: String
684
+
685
+ """description of Tag.articles"""
686
+ articles: [TagCreateArticlesEntityRelationInput!]
687
+ _dummy_field_: Boolean
688
+ }
689
+
690
+ input TagCreateArticlesEntityRelationInput {
691
+ connect: ArticleUniqueWhere
692
+ create: ArticleWithoutTagsCreateInput
693
+ connectOrCreate: TagConnectOrCreateArticlesRelationInput
694
+ alias: String
695
+ }
696
+
697
+ input ArticleWithoutTagsCreateInput {
698
+ """description of Article.title"""
699
+ title: String
700
+
701
+ """description of Article.category"""
702
+ category: ArticleCreateCategoryEntityRelationInput
703
+
704
+ """description of Article.stats"""
705
+ stats: ArticleCreateStatsEntityRelationInput
706
+ _dummy_field_: Boolean
707
+ }
708
+
709
+ input TagConnectOrCreateArticlesRelationInput {
710
+ connect: ArticleUniqueWhere!
711
+ create: ArticleWithoutTagsCreateInput!
712
+ }
713
+
714
+ input TagUpdateInput {
715
+ """description of Tag.name"""
716
+ name: String
717
+
718
+ """description of Tag.articles"""
719
+ articles: [TagUpdateArticlesEntityRelationInput!]
720
+ _dummy_field_: Boolean
721
+ }
722
+
723
+ input TagUpdateArticlesEntityRelationInput {
724
+ create: ArticleWithoutTagsCreateInput
725
+ update: TagUpdateArticlesRelationInput
726
+ upsert: TagUpsertArticlesRelationInput
727
+ connect: ArticleUniqueWhere
728
+ connectOrCreate: TagConnectOrCreateArticlesRelationInput
729
+ disconnect: ArticleUniqueWhere
730
+ delete: ArticleUniqueWhere
731
+ set: [TagSetArticlesItemRelationInput!]
732
+ orphanStrategy: OrphanRemovalStrategy
733
+ alias: String
734
+ }
735
+
736
+ input TagUpdateArticlesRelationInput {
737
+ by: ArticleUniqueWhere!
738
+ data: ArticleWithoutTagsUpdateInput!
739
+ }
740
+
741
+ input ArticleWithoutTagsUpdateInput {
742
+ """description of Article.title"""
743
+ title: String
744
+
745
+ """description of Article.category"""
746
+ category: ArticleUpdateCategoryEntityRelationInput
747
+
748
+ """description of Article.stats"""
749
+ stats: ArticleUpdateStatsEntityRelationInput
750
+ _dummy_field_: Boolean
751
+ }
752
+
753
+ input TagUpsertArticlesRelationInput {
754
+ by: ArticleUniqueWhere!
755
+ update: ArticleWithoutTagsUpdateInput!
756
+ create: ArticleWithoutTagsCreateInput!
757
+ }
758
+
759
+ input TagSetArticlesItemRelationInput {
760
+ create: ArticleWithoutTagsCreateInput
761
+ connect: ArticleUniqueWhere
762
+ connectOrCreate: TagConnectOrCreateArticlesRelationInput
763
+ update: TagUpdateArticlesRelationInput
764
+ upsert: TagUpsertArticlesRelationInput
765
+ alias: String
766
+ }
767
+
768
+ type QueryTransaction {
769
+ getArticle(by: ArticleUniqueWhere!, filter: ArticleWhere): Article
770
+ listArticle(filter: ArticleWhere, orderBy: [ArticleOrderBy!], offset: Int, limit: Int): [Article!]!
771
+ paginateArticle(filter: ArticleWhere, orderBy: [ArticleOrderBy!], skip: Int, first: Int): ArticleConnection!
772
+ validateCreateArticle(data: ArticleCreateInput!): _ValidationResult!
773
+ validateUpdateArticle(by: ArticleUniqueWhere!, data: ArticleUpdateInput!): _ValidationResult!
774
+ getArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere): ArticleStats
775
+ listArticleStats(filter: ArticleStatsWhere, orderBy: [ArticleStatsOrderBy!], offset: Int, limit: Int): [ArticleStats!]!
776
+ paginateArticleStats(filter: ArticleStatsWhere, orderBy: [ArticleStatsOrderBy!], skip: Int, first: Int): ArticleStatsConnection!
777
+ validateCreateArticleStats(data: ArticleStatsCreateInput!): _ValidationResult!
778
+ validateUpdateArticleStats(by: ArticleStatsUniqueWhere!, data: ArticleStatsUpdateInput!): _ValidationResult!
779
+ getCategory(by: CategoryUniqueWhere!, filter: CategoryWhere): Category
780
+ listCategory(filter: CategoryWhere, orderBy: [CategoryOrderBy!], offset: Int, limit: Int): [Category!]!
781
+ paginateCategory(filter: CategoryWhere, orderBy: [CategoryOrderBy!], skip: Int, first: Int): CategoryConnection!
782
+ validateCreateCategory(data: CategoryCreateInput!): _ValidationResult!
783
+ validateUpdateCategory(by: CategoryUniqueWhere!, data: CategoryUpdateInput!): _ValidationResult!
784
+ getTag(by: TagUniqueWhere!, filter: TagWhere): Tag
785
+ listTag(filter: TagWhere, orderBy: [TagOrderBy!], offset: Int, limit: Int): [Tag!]!
786
+ paginateTag(filter: TagWhere, orderBy: [TagOrderBy!], skip: Int, first: Int): TagConnection!
787
+ validateCreateTag(data: TagCreateInput!): _ValidationResult!
788
+ validateUpdateTag(by: TagUniqueWhere!, data: TagUpdateInput!): _ValidationResult!
789
+ }
790
+
791
+ type Info {
792
+ description: String
793
+ }
794
+
795
+ type Mutation {
796
+ createArticle(data: ArticleCreateInput!): ArticleCreateResult!
797
+ deleteArticle(by: ArticleUniqueWhere!, filter: ArticleWhere): ArticleDeleteResult!
798
+ updateArticle(by: ArticleUniqueWhere!, filter: ArticleWhere, data: ArticleUpdateInput!): ArticleUpdateResult!
799
+ upsertArticle(by: ArticleUniqueWhere!, filter: ArticleWhere, update: ArticleUpdateInput!, create: ArticleCreateInput!): ArticleUpsertResult!
800
+ createArticleStats(data: ArticleStatsCreateInput!): ArticleStatsCreateResult!
801
+ deleteArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere): ArticleStatsDeleteResult!
802
+ updateArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere, data: ArticleStatsUpdateInput!): ArticleStatsUpdateResult!
803
+ upsertArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere, update: ArticleStatsUpdateInput!, create: ArticleStatsCreateInput!): ArticleStatsUpsertResult!
804
+ createCategory(data: CategoryCreateInput!): CategoryCreateResult!
805
+ deleteCategory(by: CategoryUniqueWhere!, filter: CategoryWhere): CategoryDeleteResult!
806
+ updateCategory(by: CategoryUniqueWhere!, filter: CategoryWhere, data: CategoryUpdateInput!): CategoryUpdateResult!
807
+ upsertCategory(by: CategoryUniqueWhere!, filter: CategoryWhere, update: CategoryUpdateInput!, create: CategoryCreateInput!): CategoryUpsertResult!
808
+ createTag(data: TagCreateInput!): TagCreateResult!
809
+ deleteTag(by: TagUniqueWhere!, filter: TagWhere): TagDeleteResult!
810
+ updateTag(by: TagUniqueWhere!, filter: TagWhere, data: TagUpdateInput!): TagUpdateResult!
811
+ upsertTag(by: TagUniqueWhere!, filter: TagWhere, update: TagUpdateInput!, create: TagCreateInput!): TagUpsertResult!
812
+ transaction(options: MutationTransactionOptions): MutationTransaction!
813
+ query: Query!
814
+ }
815
+
816
+ type ArticleCreateResult implements MutationResult {
817
+ ok: Boolean!
818
+ errorMessage: String
819
+ errors: [_MutationError!]!
820
+ node: Article
821
+ validation: _ValidationResult!
822
+ }
823
+
824
+ interface MutationResult {
825
+ ok: Boolean!
826
+ errorMessage: String
827
+ errors: [_MutationError!]!
828
+ }
829
+
830
+ type _MutationError {
831
+ path: [_PathFragment!]! @deprecated(reason: "Use `paths`.")
832
+ paths: [[_PathFragment!]!]!
833
+ type: _MutationErrorType!
834
+ message: String
835
+ }
836
+
837
+ enum _MutationErrorType {
838
+ NotNullConstraintViolation
839
+ UniqueConstraintViolation
840
+ ForeignKeyConstraintViolation
841
+ CheckConstraintViolation
842
+ NotFoundOrDenied
843
+ NonUniqueWhereInput
844
+ InvalidDataInput
845
+ SqlError
846
+ ResourceExhausted
847
+ }
848
+
849
+ type ArticleDeleteResult implements MutationResult {
850
+ ok: Boolean!
851
+ errorMessage: String
852
+ errors: [_MutationError!]!
853
+ node: Article
854
+ }
855
+
856
+ type ArticleUpdateResult implements MutationResult {
857
+ ok: Boolean!
858
+ errorMessage: String
859
+ errors: [_MutationError!]!
860
+ node: Article
861
+ validation: _ValidationResult!
862
+ }
863
+
864
+ type ArticleUpsertResult implements MutationResult {
865
+ ok: Boolean!
866
+ errorMessage: String
867
+ errors: [_MutationError!]!
868
+ node: Article
869
+ validation: _ValidationResult!
870
+ }
871
+
872
+ type ArticleStatsCreateResult implements MutationResult {
873
+ ok: Boolean!
874
+ errorMessage: String
875
+ errors: [_MutationError!]!
876
+ node: ArticleStats
877
+ validation: _ValidationResult!
878
+ }
879
+
880
+ type ArticleStatsDeleteResult implements MutationResult {
881
+ ok: Boolean!
882
+ errorMessage: String
883
+ errors: [_MutationError!]!
884
+ node: ArticleStats
885
+ }
886
+
887
+ type ArticleStatsUpdateResult implements MutationResult {
888
+ ok: Boolean!
889
+ errorMessage: String
890
+ errors: [_MutationError!]!
891
+ node: ArticleStats
892
+ validation: _ValidationResult!
893
+ }
894
+
895
+ type ArticleStatsUpsertResult implements MutationResult {
896
+ ok: Boolean!
897
+ errorMessage: String
898
+ errors: [_MutationError!]!
899
+ node: ArticleStats
900
+ validation: _ValidationResult!
901
+ }
902
+
903
+ type CategoryCreateResult implements MutationResult {
904
+ ok: Boolean!
905
+ errorMessage: String
906
+ errors: [_MutationError!]!
907
+ node: Category
908
+ validation: _ValidationResult!
909
+ }
910
+
911
+ type CategoryDeleteResult implements MutationResult {
912
+ ok: Boolean!
913
+ errorMessage: String
914
+ errors: [_MutationError!]!
915
+ node: Category
916
+ }
917
+
918
+ type CategoryUpdateResult implements MutationResult {
919
+ ok: Boolean!
920
+ errorMessage: String
921
+ errors: [_MutationError!]!
922
+ node: Category
923
+ validation: _ValidationResult!
924
+ }
925
+
926
+ type CategoryUpsertResult implements MutationResult {
927
+ ok: Boolean!
928
+ errorMessage: String
929
+ errors: [_MutationError!]!
930
+ node: Category
931
+ validation: _ValidationResult!
932
+ }
933
+
934
+ type TagCreateResult implements MutationResult {
935
+ ok: Boolean!
936
+ errorMessage: String
937
+ errors: [_MutationError!]!
938
+ node: Tag
939
+ validation: _ValidationResult!
940
+ }
941
+
942
+ type TagDeleteResult implements MutationResult {
943
+ ok: Boolean!
944
+ errorMessage: String
945
+ errors: [_MutationError!]!
946
+ node: Tag
947
+ }
948
+
949
+ type TagUpdateResult implements MutationResult {
950
+ ok: Boolean!
951
+ errorMessage: String
952
+ errors: [_MutationError!]!
953
+ node: Tag
954
+ validation: _ValidationResult!
955
+ }
956
+
957
+ type TagUpsertResult implements MutationResult {
958
+ ok: Boolean!
959
+ errorMessage: String
960
+ errors: [_MutationError!]!
961
+ node: Tag
962
+ validation: _ValidationResult!
963
+ }
964
+
965
+ type MutationTransaction {
966
+ ok: Boolean!
967
+ errorMessage: String
968
+ errors: [_MutationError!]!
969
+ validation: _ValidationResult!
970
+ createArticle(data: ArticleCreateInput!): ArticleCreateResult!
971
+ deleteArticle(by: ArticleUniqueWhere!, filter: ArticleWhere): ArticleDeleteResult!
972
+ updateArticle(by: ArticleUniqueWhere!, filter: ArticleWhere, data: ArticleUpdateInput!): ArticleUpdateResult!
973
+ upsertArticle(by: ArticleUniqueWhere!, filter: ArticleWhere, update: ArticleUpdateInput!, create: ArticleCreateInput!): ArticleUpsertResult!
974
+ createArticleStats(data: ArticleStatsCreateInput!): ArticleStatsCreateResult!
975
+ deleteArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere): ArticleStatsDeleteResult!
976
+ updateArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere, data: ArticleStatsUpdateInput!): ArticleStatsUpdateResult!
977
+ upsertArticleStats(by: ArticleStatsUniqueWhere!, filter: ArticleStatsWhere, update: ArticleStatsUpdateInput!, create: ArticleStatsCreateInput!): ArticleStatsUpsertResult!
978
+ createCategory(data: CategoryCreateInput!): CategoryCreateResult!
979
+ deleteCategory(by: CategoryUniqueWhere!, filter: CategoryWhere): CategoryDeleteResult!
980
+ updateCategory(by: CategoryUniqueWhere!, filter: CategoryWhere, data: CategoryUpdateInput!): CategoryUpdateResult!
981
+ upsertCategory(by: CategoryUniqueWhere!, filter: CategoryWhere, update: CategoryUpdateInput!, create: CategoryCreateInput!): CategoryUpsertResult!
982
+ createTag(data: TagCreateInput!): TagCreateResult!
983
+ deleteTag(by: TagUniqueWhere!, filter: TagWhere): TagDeleteResult!
984
+ updateTag(by: TagUniqueWhere!, filter: TagWhere, data: TagUpdateInput!): TagUpdateResult!
985
+ upsertTag(by: TagUniqueWhere!, filter: TagWhere, update: TagUpdateInput!, create: TagCreateInput!): TagUpsertResult!
986
+ query: Query
987
+ }
988
+
989
+ input MutationTransactionOptions {
990
+ deferForeignKeyConstraints: Boolean
991
+ deferUniqueConstraints: Boolean
992
+ }