@constructive-io/react 0.23.8 → 0.23.10

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 (305) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +30 -6
  4. package/admin/hooks/invalidation.js +80 -16
  5. package/admin/hooks/mutation-keys.d.ts +60 -12
  6. package/admin/hooks/mutation-keys.js +48 -8
  7. package/admin/hooks/mutations/index.d.ts +15 -3
  8. package/admin/hooks/mutations/index.js +15 -3
  9. package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +34 -0
  11. package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +34 -0
  15. package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
  16. package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +34 -0
  17. package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
  18. package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +39 -0
  19. package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
  20. package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +39 -0
  21. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
  22. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +39 -0
  23. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
  24. package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +39 -0
  25. package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
  26. package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +40 -0
  27. package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
  28. package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +40 -0
  29. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
  30. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +40 -0
  31. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
  32. package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +40 -0
  33. package/admin/hooks/queries/index.d.ts +10 -2
  34. package/admin/hooks/queries/index.js +10 -2
  35. package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
  36. package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +53 -0
  37. package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
  38. package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +38 -0
  39. package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
  40. package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +53 -0
  41. package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
  42. package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +38 -0
  43. package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
  44. package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +53 -0
  45. package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
  46. package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +38 -0
  47. package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
  48. package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +53 -0
  49. package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
  50. package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +38 -0
  51. package/admin/hooks/query-keys.d.ts +70 -14
  52. package/admin/hooks/query-keys.js +45 -9
  53. package/admin/orm/index.d.ts +10 -2
  54. package/admin/orm/index.js +10 -2
  55. package/admin/orm/input-types.d.ts +1611 -230
  56. package/admin/orm/input-types.js +9 -1
  57. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  58. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  59. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  60. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  61. package/admin/orm/models/index.d.ts +5 -1
  62. package/admin/orm/models/index.js +11 -3
  63. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  64. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  65. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  66. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  67. package/admin/schema-types.d.ts +702 -271
  68. package/admin/types.d.ts +49 -15
  69. package/agent/orm/input-types.d.ts +289 -47
  70. package/agent/orm/input-types.js +1 -0
  71. package/agent/schema-types.d.ts +37 -14
  72. package/agent/types.d.ts +3 -2
  73. package/api/hooks/index.d.ts +1 -1
  74. package/api/hooks/index.js +1 -1
  75. package/api/hooks/invalidation.d.ts +6 -0
  76. package/api/hooks/invalidation.js +16 -0
  77. package/api/hooks/mutation-keys.d.ts +12 -0
  78. package/api/hooks/mutation-keys.js +8 -1
  79. package/api/hooks/mutations/index.d.ts +3 -0
  80. package/api/hooks/mutations/index.js +3 -0
  81. package/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
  82. package/api/hooks/mutations/useCreateCompositeTypeMutation.js +34 -0
  83. package/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
  84. package/api/hooks/mutations/useDeleteCompositeTypeMutation.js +39 -0
  85. package/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
  86. package/api/hooks/mutations/useUpdateCompositeTypeMutation.js +40 -0
  87. package/api/hooks/queries/index.d.ts +2 -0
  88. package/api/hooks/queries/index.js +2 -0
  89. package/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
  90. package/api/hooks/queries/useCompositeTypeQuery.js +53 -0
  91. package/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
  92. package/api/hooks/queries/useCompositeTypesQuery.js +38 -0
  93. package/api/hooks/query-keys.d.ts +14 -0
  94. package/api/hooks/query-keys.js +9 -1
  95. package/api/orm/index.d.ts +2 -0
  96. package/api/orm/index.js +2 -0
  97. package/api/orm/input-types.d.ts +1064 -125
  98. package/api/orm/input-types.js +3 -0
  99. package/api/orm/models/compositeType.d.ts +54 -0
  100. package/api/orm/models/compositeType.js +104 -0
  101. package/api/orm/models/index.d.ts +1 -0
  102. package/api/orm/models/index.js +3 -1
  103. package/api/schema-types.d.ts +664 -560
  104. package/api/types.d.ts +15 -14
  105. package/auth/hooks/mutation-keys.d.ts +6 -0
  106. package/auth/hooks/mutation-keys.js +9 -0
  107. package/auth/hooks/mutations/index.d.ts +3 -0
  108. package/auth/hooks/mutations/index.js +3 -0
  109. package/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
  110. package/auth/hooks/mutations/useLinkIdentityMutation.js +26 -0
  111. package/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
  112. package/auth/hooks/mutations/useSignInSmsOtpMutation.js +26 -0
  113. package/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
  114. package/auth/hooks/mutations/useSignUpSmsMutation.js +26 -0
  115. package/auth/orm/index.d.ts +15 -0
  116. package/auth/orm/input-types.d.ts +197 -1
  117. package/auth/orm/mutation/index.d.ts +25 -1
  118. package/auth/orm/mutation/index.js +36 -0
  119. package/auth/schema-types.d.ts +78 -34
  120. package/esm/admin/hooks/index.d.ts +1 -1
  121. package/esm/admin/hooks/index.js +1 -1
  122. package/esm/admin/hooks/invalidation.d.ts +30 -6
  123. package/esm/admin/hooks/invalidation.js +81 -17
  124. package/esm/admin/hooks/mutation-keys.d.ts +60 -12
  125. package/esm/admin/hooks/mutation-keys.js +47 -7
  126. package/esm/admin/hooks/mutations/index.d.ts +15 -3
  127. package/esm/admin/hooks/mutations/index.js +15 -3
  128. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
  129. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +31 -0
  130. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
  131. package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +31 -0
  132. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
  133. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +31 -0
  134. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
  135. package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +31 -0
  136. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
  137. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +36 -0
  138. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
  139. package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +36 -0
  140. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
  141. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +36 -0
  142. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
  143. package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +36 -0
  144. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
  145. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +37 -0
  146. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
  147. package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +37 -0
  148. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
  149. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +37 -0
  150. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
  151. package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +37 -0
  152. package/esm/admin/hooks/queries/index.d.ts +10 -2
  153. package/esm/admin/hooks/queries/index.js +10 -2
  154. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
  155. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +47 -0
  156. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
  157. package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +32 -0
  158. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
  159. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +47 -0
  160. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
  161. package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +32 -0
  162. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
  163. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +47 -0
  164. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
  165. package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +32 -0
  166. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
  167. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +47 -0
  168. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
  169. package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +32 -0
  170. package/esm/admin/hooks/query-keys.d.ts +70 -14
  171. package/esm/admin/hooks/query-keys.js +44 -8
  172. package/esm/admin/orm/index.d.ts +10 -2
  173. package/esm/admin/orm/index.js +10 -2
  174. package/esm/admin/orm/input-types.d.ts +1611 -230
  175. package/esm/admin/orm/input-types.js +9 -1
  176. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  177. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  178. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  179. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  180. package/esm/admin/orm/models/index.d.ts +5 -1
  181. package/esm/admin/orm/models/index.js +5 -1
  182. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  183. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  184. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  185. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  186. package/esm/admin/schema-types.d.ts +702 -271
  187. package/esm/admin/types.d.ts +49 -15
  188. package/esm/agent/orm/input-types.d.ts +289 -47
  189. package/esm/agent/orm/input-types.js +1 -0
  190. package/esm/agent/schema-types.d.ts +37 -14
  191. package/esm/agent/types.d.ts +3 -2
  192. package/esm/api/hooks/index.d.ts +1 -1
  193. package/esm/api/hooks/index.js +1 -1
  194. package/esm/api/hooks/invalidation.d.ts +6 -0
  195. package/esm/api/hooks/invalidation.js +17 -1
  196. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  197. package/esm/api/hooks/mutation-keys.js +7 -0
  198. package/esm/api/hooks/mutations/index.d.ts +3 -0
  199. package/esm/api/hooks/mutations/index.js +3 -0
  200. package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
  201. package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.js +31 -0
  202. package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
  203. package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.js +36 -0
  204. package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
  205. package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.js +37 -0
  206. package/esm/api/hooks/queries/index.d.ts +2 -0
  207. package/esm/api/hooks/queries/index.js +2 -0
  208. package/esm/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
  209. package/esm/api/hooks/queries/useCompositeTypeQuery.js +47 -0
  210. package/esm/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
  211. package/esm/api/hooks/queries/useCompositeTypesQuery.js +32 -0
  212. package/esm/api/hooks/query-keys.d.ts +14 -0
  213. package/esm/api/hooks/query-keys.js +8 -0
  214. package/esm/api/orm/index.d.ts +2 -0
  215. package/esm/api/orm/index.js +2 -0
  216. package/esm/api/orm/input-types.d.ts +1064 -125
  217. package/esm/api/orm/input-types.js +3 -0
  218. package/esm/api/orm/models/compositeType.d.ts +54 -0
  219. package/esm/api/orm/models/compositeType.js +100 -0
  220. package/esm/api/orm/models/index.d.ts +1 -0
  221. package/esm/api/orm/models/index.js +1 -0
  222. package/esm/api/schema-types.d.ts +664 -560
  223. package/esm/api/types.d.ts +15 -14
  224. package/esm/auth/hooks/mutation-keys.d.ts +6 -0
  225. package/esm/auth/hooks/mutation-keys.js +9 -0
  226. package/esm/auth/hooks/mutations/index.d.ts +3 -0
  227. package/esm/auth/hooks/mutations/index.js +3 -0
  228. package/esm/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
  229. package/esm/auth/hooks/mutations/useLinkIdentityMutation.js +23 -0
  230. package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
  231. package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.js +23 -0
  232. package/esm/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
  233. package/esm/auth/hooks/mutations/useSignUpSmsMutation.js +23 -0
  234. package/esm/auth/orm/index.d.ts +15 -0
  235. package/esm/auth/orm/input-types.d.ts +197 -1
  236. package/esm/auth/orm/mutation/index.d.ts +25 -1
  237. package/esm/auth/orm/mutation/index.js +36 -0
  238. package/esm/auth/schema-types.d.ts +78 -34
  239. package/esm/modules/hooks/index.d.ts +1 -1
  240. package/esm/modules/hooks/index.js +1 -1
  241. package/esm/modules/hooks/invalidation.d.ts +79 -73
  242. package/esm/modules/hooks/invalidation.js +183 -167
  243. package/esm/modules/hooks/mutation-keys.d.ts +158 -146
  244. package/esm/modules/hooks/mutation-keys.js +104 -94
  245. package/esm/modules/hooks/mutations/index.d.ts +42 -39
  246. package/esm/modules/hooks/mutations/index.js +42 -39
  247. package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
  248. package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +31 -0
  249. package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
  250. package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +36 -0
  251. package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
  252. package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +37 -0
  253. package/esm/modules/hooks/queries/index.d.ts +28 -26
  254. package/esm/modules/hooks/queries/index.js +28 -26
  255. package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
  256. package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.js +47 -0
  257. package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
  258. package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.js +32 -0
  259. package/esm/modules/hooks/query-keys.d.ts +186 -172
  260. package/esm/modules/hooks/query-keys.js +107 -99
  261. package/esm/modules/orm/index.d.ts +28 -26
  262. package/esm/modules/orm/index.js +28 -26
  263. package/esm/modules/orm/input-types.d.ts +4485 -2514
  264. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  265. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  266. package/esm/modules/orm/models/index.d.ts +14 -13
  267. package/esm/modules/orm/models/index.js +14 -13
  268. package/esm/modules/schema-types.d.ts +2258 -1951
  269. package/esm/modules/types.d.ts +296 -233
  270. package/esm/objects/orm/input-types.d.ts +62 -0
  271. package/esm/usage/orm/input-types.d.ts +314 -19
  272. package/modules/hooks/index.d.ts +1 -1
  273. package/modules/hooks/index.js +1 -1
  274. package/modules/hooks/invalidation.d.ts +79 -73
  275. package/modules/hooks/invalidation.js +182 -166
  276. package/modules/hooks/mutation-keys.d.ts +158 -146
  277. package/modules/hooks/mutation-keys.js +106 -96
  278. package/modules/hooks/mutations/index.d.ts +42 -39
  279. package/modules/hooks/mutations/index.js +42 -39
  280. package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
  281. package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +34 -0
  282. package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
  283. package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +39 -0
  284. package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
  285. package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +40 -0
  286. package/modules/hooks/queries/index.d.ts +28 -26
  287. package/modules/hooks/queries/index.js +28 -26
  288. package/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
  289. package/modules/hooks/queries/useFunctionInvocationModuleQuery.js +53 -0
  290. package/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
  291. package/modules/hooks/queries/useFunctionInvocationModulesQuery.js +38 -0
  292. package/modules/hooks/query-keys.d.ts +186 -172
  293. package/modules/hooks/query-keys.js +109 -101
  294. package/modules/orm/index.d.ts +28 -26
  295. package/modules/orm/index.js +28 -26
  296. package/modules/orm/input-types.d.ts +4485 -2514
  297. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  298. package/modules/orm/models/functionInvocationModule.js +104 -0
  299. package/modules/orm/models/index.d.ts +14 -13
  300. package/modules/orm/models/index.js +30 -28
  301. package/modules/schema-types.d.ts +2258 -1951
  302. package/modules/types.d.ts +296 -233
  303. package/objects/orm/input-types.d.ts +62 -0
  304. package/package.json +4 -4
  305. package/usage/orm/input-types.d.ts +314 -19
@@ -3,55 +3,57 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { Api, ApiModule, ApiSchema, ApiSetting, App, AstMigration, CheckConstraint, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, EmbeddingChunk, Enum, Field, ForeignKeyConstraint, FullTextSearch, Function, Index, MigrateFile, NodeTypeRegistry, Partition, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { Api, ApiModule, ApiSchema, ApiSetting, App, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, EmbeddingChunk, Enum, Field, ForeignKeyConstraint, FullTextSearch, Function, Index, MigrateFile, NodeTypeRegistry, Partition, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type ConstructiveInternalTypeAttachment = unknown;
8
8
  export type ConstructiveInternalTypeHostname = unknown;
9
9
  export type ConstructiveInternalTypeImage = unknown;
10
10
  export type ConstructiveInternalTypeUpload = unknown;
11
11
  export type ConstructiveInternalTypeUrl = unknown;
12
- export type ObjectCategory = 'CORE' | 'MODULE' | 'APP';
12
+ export type ObjectCategory = 'CORE' | 'MODULE' | 'PERMISSIONS' | 'AUTH' | 'MEMBERSHIPS' | 'APP';
13
13
  /** Methods to use when ordering `CheckConstraint`. */
14
- export type CheckConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'EXPR_ASC' | 'EXPR_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14
+ export type CheckConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'EXPR_ASC' | 'EXPR_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
15
15
  /** Methods to use when ordering `SpatialRelation`. */
16
- export type SpatialRelationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_ID_ASC' | 'REF_FIELD_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OPERATOR_ASC' | 'OPERATOR_DESC' | 'PARAM_NAME_ASC' | 'PARAM_NAME_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
16
+ export type SpatialRelationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_ID_ASC' | 'REF_FIELD_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OPERATOR_ASC' | 'OPERATOR_DESC' | 'PARAM_NAME_ASC' | 'PARAM_NAME_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
17
17
  /** Methods to use when ordering `Field`. */
18
- export type FieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_ORDER_ASC' | 'FIELD_ORDER_DESC' | 'REGEXP_ASC' | 'REGEXP_DESC' | 'CHK_ASC' | 'CHK_DESC' | 'CHK_EXPR_ASC' | 'CHK_EXPR_DESC' | 'MIN_ASC' | 'MIN_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
18
+ export type FieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_ORDER_ASC' | 'FIELD_ORDER_DESC' | 'REGEXP_ASC' | 'REGEXP_DESC' | 'CHK_ASC' | 'CHK_DESC' | 'CHK_EXPR_ASC' | 'CHK_EXPR_DESC' | 'MIN_ASC' | 'MIN_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
19
19
  /** Methods to use when ordering `ForeignKeyConstraint`. */
20
- export type ForeignKeyConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_IDS_ASC' | 'REF_FIELD_IDS_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'UPDATE_ACTION_ASC' | 'UPDATE_ACTION_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
20
+ export type ForeignKeyConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_IDS_ASC' | 'REF_FIELD_IDS_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'UPDATE_ACTION_ASC' | 'UPDATE_ACTION_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
21
21
  /** Methods to use when ordering `FullTextSearch`. */
22
22
  export type FullTextSearchOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'WEIGHTS_ASC' | 'WEIGHTS_DESC' | 'LANGS_ASC' | 'LANGS_DESC' | 'LANG_COLUMN_ASC' | 'LANG_COLUMN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
23
23
  /** Methods to use when ordering `Index`. */
24
- export type IndexOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'INCLUDE_FIELD_IDS_ASC' | 'INCLUDE_FIELD_IDS_DESC' | 'ACCESS_METHOD_ASC' | 'ACCESS_METHOD_DESC' | 'INDEX_PARAMS_ASC' | 'INDEX_PARAMS_DESC' | 'WHERE_CLAUSE_ASC' | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'OP_CLASSES_ASC' | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
24
+ export type IndexOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'INCLUDE_FIELD_IDS_ASC' | 'INCLUDE_FIELD_IDS_DESC' | 'ACCESS_METHOD_ASC' | 'ACCESS_METHOD_DESC' | 'INDEX_PARAMS_ASC' | 'INDEX_PARAMS_DESC' | 'WHERE_CLAUSE_ASC' | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'OP_CLASSES_ASC' | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
25
  /** Methods to use when ordering `Policy`. */
26
- export type PolicyOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'PERMISSIVE_ASC' | 'PERMISSIVE_DESC' | 'DISABLED_ASC' | 'DISABLED_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
26
+ export type PolicyOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'PERMISSIVE_ASC' | 'PERMISSIVE_DESC' | 'DISABLED_ASC' | 'DISABLED_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
27
27
  /** Methods to use when ordering `PrimaryKeyConstraint`. */
28
- export type PrimaryKeyConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
28
+ export type PrimaryKeyConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
29
29
  /** Methods to use when ordering `TableGrant`. */
30
30
  export type TableGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
31
31
  /** Methods to use when ordering `Trigger`. */
32
- export type TriggerOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'FUNCTION_NAME_ASC' | 'FUNCTION_NAME_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
32
+ export type TriggerOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'FUNCTION_NAME_ASC' | 'FUNCTION_NAME_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
33
33
  /** Methods to use when ordering `UniqueConstraint`. */
34
- export type UniqueConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
34
+ export type UniqueConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
35
35
  /** Methods to use when ordering `ViewTable`. */
36
- export type ViewTableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'JOIN_ORDER_ASC' | 'JOIN_ORDER_DESC';
36
+ export type ViewTableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'JOIN_ORDER_ASC' | 'JOIN_ORDER_DESC';
37
37
  /** Methods to use when ordering `ViewGrant`. */
38
38
  export type ViewGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
39
39
  /** Methods to use when ordering `ViewRule`. */
40
40
  export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' | 'ACTION_DESC';
41
41
  /** Methods to use when ordering `View`. */
42
- export type ViewOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'VIEW_TYPE_ASC' | 'VIEW_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FILTER_TYPE_ASC' | 'FILTER_TYPE_DESC' | 'FILTER_DATA_ASC' | 'FILTER_DATA_DESC' | 'SECURITY_INVOKER_ASC' | 'SECURITY_INVOKER_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
42
+ export type ViewOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'VIEW_TYPE_ASC' | 'VIEW_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FILTER_TYPE_ASC' | 'FILTER_TYPE_DESC' | 'FILTER_DATA_ASC' | 'FILTER_DATA_DESC' | 'SECURITY_INVOKER_ASC' | 'SECURITY_INVOKER_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
43
43
  /** Methods to use when ordering `EmbeddingChunk`. */
44
44
  export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'SEARCH_INDEXES_ASC' | 'SEARCH_INDEXES_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_PROVIDER_ASC' | 'EMBEDDING_PROVIDER_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
45
45
  /** Methods to use when ordering `Table`. */
46
- export type TableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
46
+ export type TableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC';
47
47
  /** Methods to use when ordering `SchemaGrant`. */
48
48
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
49
49
  /** Methods to use when ordering `DefaultPrivilege`. */
50
50
  export type DefaultPrivilegeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
51
51
  /** Methods to use when ordering `Enum`. */
52
- export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
52
+ export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
53
53
  /** Methods to use when ordering `Function`. */
54
54
  export type FunctionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
55
+ /** Methods to use when ordering `CompositeType`. */
56
+ export type CompositeTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ATTRIBUTES_ASC' | 'ATTRIBUTES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
55
57
  /** Methods to use when ordering `ApiModule`. */
56
58
  export type ApiModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATA_ASC' | 'DATA_DESC';
57
59
  /** Methods to use when ordering `ApiSchema`. */
@@ -67,7 +69,7 @@ export type SiteThemeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
67
69
  /** Methods to use when ordering `CorsSetting`. */
68
70
  export type CorsSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC';
69
71
  /** Methods to use when ordering `Schema`. */
70
- export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCHEMA_NAME_ASC' | 'SCHEMA_NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
72
+ export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCHEMA_NAME_ASC' | 'SCHEMA_NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
71
73
  /** Methods to use when ordering `TriggerFunction`. */
72
74
  export type TriggerFunctionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CODE_ASC' | 'CODE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
73
75
  /** Methods to use when ordering `Partition`. */
@@ -120,8 +122,6 @@ export interface CheckConstraintFilter {
120
122
  smartTags?: JSONFilter;
121
123
  /** Filter by the object’s `category` field. */
122
124
  category?: ObjectCategoryFilter;
123
- /** Filter by the object’s `module` field. */
124
- module?: StringFilter;
125
125
  /** Filter by the object’s `scope` field. */
126
126
  scope?: IntFilter;
127
127
  /** Filter by the object’s `tags` field. */
@@ -250,6 +250,10 @@ export interface DatabaseFilter {
250
250
  views?: DatabaseToManyViewFilter;
251
251
  /** `views` exist. */
252
252
  viewsExist?: boolean;
253
+ /** Filter by the object’s `viewTables` relation. */
254
+ viewTables?: DatabaseToManyViewTableFilter;
255
+ /** `viewTables` exist. */
256
+ viewTablesExist?: boolean;
253
257
  /** Filter by the object’s `viewGrants` relation. */
254
258
  viewGrants?: DatabaseToManyViewGrantFilter;
255
259
  /** `viewGrants` exist. */
@@ -282,6 +286,10 @@ export interface DatabaseFilter {
282
286
  partitions?: DatabaseToManyPartitionFilter;
283
287
  /** `partitions` exist. */
284
288
  partitionsExist?: boolean;
289
+ /** Filter by the object’s `compositeTypes` relation. */
290
+ compositeTypes?: DatabaseToManyCompositeTypeFilter;
291
+ /** `compositeTypes` exist. */
292
+ compositeTypesExist?: boolean;
285
293
  /** Filter by the object’s `databaseTransfers` relation. */
286
294
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
287
295
  /** `databaseTransfers` exist. */
@@ -374,8 +382,6 @@ export interface SchemaFilter {
374
382
  smartTags?: JSONFilter;
375
383
  /** Filter by the object’s `category` field. */
376
384
  category?: ObjectCategoryFilter;
377
- /** Filter by the object’s `module` field. */
378
- module?: StringFilter;
379
385
  /** Filter by the object’s `scope` field. */
380
386
  scope?: IntFilter;
381
387
  /** Filter by the object’s `tags` field. */
@@ -418,6 +424,10 @@ export interface SchemaFilter {
418
424
  functions?: SchemaToManyFunctionFilter;
419
425
  /** `functions` exist. */
420
426
  functionsExist?: boolean;
427
+ /** Filter by the object’s `compositeTypes` relation. */
428
+ compositeTypes?: SchemaToManyCompositeTypeFilter;
429
+ /** `compositeTypes` exist. */
430
+ compositeTypesExist?: boolean;
421
431
  /** Filter by the object’s `apiSchemas` relation. */
422
432
  apiSchemas?: SchemaToManyApiSchemaFilter;
423
433
  /** `apiSchemas` exist. */
@@ -450,8 +460,6 @@ export interface TableFilter {
450
460
  smartTags?: JSONFilter;
451
461
  /** Filter by the object’s `category` field. */
452
462
  category?: ObjectCategoryFilter;
453
- /** Filter by the object’s `module` field. */
454
- module?: StringFilter;
455
463
  /** Filter by the object’s `scope` field. */
456
464
  scope?: IntFilter;
457
465
  /** Filter by the object’s `useRls` field. */
@@ -474,12 +482,12 @@ export interface TableFilter {
474
482
  partitionKeyNames?: StringListFilter;
475
483
  /** Filter by the object’s `partitionKeyTypes` field. */
476
484
  partitionKeyTypes?: StringListFilter;
477
- /** Filter by the object’s `inheritsId` field. */
478
- inheritsId?: UUIDFilter;
479
485
  /** Filter by the object’s `createdAt` field. */
480
486
  createdAt?: DatetimeFilter;
481
487
  /** Filter by the object’s `updatedAt` field. */
482
488
  updatedAt?: DatetimeFilter;
489
+ /** Filter by the object’s `inheritsId` field. */
490
+ inheritsId?: UUIDFilter;
483
491
  /** Checks for all expressions in this list. */
484
492
  and?: TableFilter[];
485
493
  /** Checks for any expressions in this list. */
@@ -621,8 +629,6 @@ export interface FieldFilter {
621
629
  tags?: StringListFilter;
622
630
  /** Filter by the object’s `category` field. */
623
631
  category?: ObjectCategoryFilter;
624
- /** Filter by the object’s `module` field. */
625
- module?: StringFilter;
626
632
  /** Filter by the object’s `scope` field. */
627
633
  scope?: IntFilter;
628
634
  /** Filter by the object’s `createdAt` field. */
@@ -679,8 +685,6 @@ export interface SpatialRelationFilter {
679
685
  paramName?: StringFilter;
680
686
  /** Filter by the object’s `category` field. */
681
687
  category?: ObjectCategoryFilter;
682
- /** Filter by the object’s `module` field. */
683
- module?: StringFilter;
684
688
  /** Filter by the object’s `scope` field. */
685
689
  scope?: IntFilter;
686
690
  /** Filter by the object’s `tags` field. */
@@ -743,8 +747,6 @@ export interface ForeignKeyConstraintFilter {
743
747
  updateAction?: StringFilter;
744
748
  /** Filter by the object’s `category` field. */
745
749
  category?: ObjectCategoryFilter;
746
- /** Filter by the object’s `module` field. */
747
- module?: StringFilter;
748
750
  /** Filter by the object’s `scope` field. */
749
751
  scope?: IntFilter;
750
752
  /** Filter by the object’s `tags` field. */
@@ -847,8 +849,6 @@ export interface IndexFilter {
847
849
  smartTags?: JSONFilter;
848
850
  /** Filter by the object’s `category` field. */
849
851
  category?: ObjectCategoryFilter;
850
- /** Filter by the object’s `module` field. */
851
- module?: StringFilter;
852
852
  /** Filter by the object’s `scope` field. */
853
853
  scope?: IntFilter;
854
854
  /** Filter by the object’s `tags` field. */
@@ -903,8 +903,6 @@ export interface PolicyFilter {
903
903
  smartTags?: JSONFilter;
904
904
  /** Filter by the object’s `category` field. */
905
905
  category?: ObjectCategoryFilter;
906
- /** Filter by the object’s `module` field. */
907
- module?: StringFilter;
908
906
  /** Filter by the object’s `scope` field. */
909
907
  scope?: IntFilter;
910
908
  /** Filter by the object’s `tags` field. */
@@ -951,8 +949,6 @@ export interface PrimaryKeyConstraintFilter {
951
949
  smartTags?: JSONFilter;
952
950
  /** Filter by the object’s `category` field. */
953
951
  category?: ObjectCategoryFilter;
954
- /** Filter by the object’s `module` field. */
955
- module?: StringFilter;
956
952
  /** Filter by the object’s `scope` field. */
957
953
  scope?: IntFilter;
958
954
  /** Filter by the object’s `tags` field. */
@@ -1039,8 +1035,6 @@ export interface TriggerFilter {
1039
1035
  smartTags?: JSONFilter;
1040
1036
  /** Filter by the object’s `category` field. */
1041
1037
  category?: ObjectCategoryFilter;
1042
- /** Filter by the object’s `module` field. */
1043
- module?: StringFilter;
1044
1038
  /** Filter by the object’s `scope` field. */
1045
1039
  scope?: IntFilter;
1046
1040
  /** Filter by the object’s `tags` field. */
@@ -1089,8 +1083,6 @@ export interface UniqueConstraintFilter {
1089
1083
  fieldIds?: UUIDListFilter;
1090
1084
  /** Filter by the object’s `category` field. */
1091
1085
  category?: ObjectCategoryFilter;
1092
- /** Filter by the object’s `module` field. */
1093
- module?: StringFilter;
1094
1086
  /** Filter by the object’s `scope` field. */
1095
1087
  scope?: IntFilter;
1096
1088
  /** Filter by the object’s `tags` field. */
@@ -1147,8 +1139,6 @@ export interface ViewFilter {
1147
1139
  smartTags?: JSONFilter;
1148
1140
  /** Filter by the object’s `category` field. */
1149
1141
  category?: ObjectCategoryFilter;
1150
- /** Filter by the object’s `module` field. */
1151
- module?: StringFilter;
1152
1142
  /** Filter by the object’s `scope` field. */
1153
1143
  scope?: IntFilter;
1154
1144
  /** Filter by the object’s `tags` field. */
@@ -1193,6 +1183,8 @@ export interface ViewToManyViewTableFilter {
1193
1183
  export interface ViewTableFilter {
1194
1184
  /** Filter by the object’s `id` field. */
1195
1185
  id?: UUIDFilter;
1186
+ /** Filter by the object’s `databaseId` field. */
1187
+ databaseId?: UUIDFilter;
1196
1188
  /** Filter by the object’s `viewId` field. */
1197
1189
  viewId?: UUIDFilter;
1198
1190
  /** Filter by the object’s `tableId` field. */
@@ -1205,6 +1197,8 @@ export interface ViewTableFilter {
1205
1197
  or?: ViewTableFilter[];
1206
1198
  /** Negates the expression. */
1207
1199
  not?: ViewTableFilter;
1200
+ /** Filter by the object’s `database` relation. */
1201
+ database?: DatabaseFilter;
1208
1202
  /** Filter by the object’s `table` relation. */
1209
1203
  table?: TableFilter;
1210
1204
  /** Filter by the object’s `view` relation. */
@@ -1523,8 +1517,6 @@ export interface EnumFilter {
1523
1517
  smartTags?: JSONFilter;
1524
1518
  /** Filter by the object’s `category` field. */
1525
1519
  category?: ObjectCategoryFilter;
1526
- /** Filter by the object’s `module` field. */
1527
- module?: StringFilter;
1528
1520
  /** Filter by the object’s `scope` field. */
1529
1521
  scope?: IntFilter;
1530
1522
  /** Filter by the object’s `tags` field. */
@@ -1570,6 +1562,50 @@ export interface FunctionFilter {
1570
1562
  /** Filter by the object’s `schema` relation. */
1571
1563
  schema?: SchemaFilter;
1572
1564
  }
1565
+ /** A filter to be used against many `CompositeType` object types. All fields are combined with a logical ‘and.’ */
1566
+ export interface SchemaToManyCompositeTypeFilter {
1567
+ /** Filters to entities where at least one related entity matches. */
1568
+ some?: CompositeTypeFilter;
1569
+ /** Filters to entities where every related entity matches. */
1570
+ every?: CompositeTypeFilter;
1571
+ /** Filters to entities where no related entity matches. */
1572
+ none?: CompositeTypeFilter;
1573
+ }
1574
+ /** A filter to be used against `CompositeType` object types. All fields are combined with a logical ‘and.’ */
1575
+ export interface CompositeTypeFilter {
1576
+ /** Filter by the object’s `id` field. */
1577
+ id?: UUIDFilter;
1578
+ /** Filter by the object’s `databaseId` field. */
1579
+ databaseId?: UUIDFilter;
1580
+ /** Filter by the object’s `schemaId` field. */
1581
+ schemaId?: UUIDFilter;
1582
+ /** Filter by the object’s `name` field. */
1583
+ name?: StringFilter;
1584
+ /** Filter by the object’s `label` field. */
1585
+ label?: StringFilter;
1586
+ /** Filter by the object’s `description` field. */
1587
+ description?: StringFilter;
1588
+ /** Filter by the object’s `attributes` field. */
1589
+ attributes?: JSONFilter;
1590
+ /** Filter by the object’s `smartTags` field. */
1591
+ smartTags?: JSONFilter;
1592
+ /** Filter by the object’s `category` field. */
1593
+ category?: ObjectCategoryFilter;
1594
+ /** Filter by the object’s `scope` field. */
1595
+ scope?: IntFilter;
1596
+ /** Filter by the object’s `tags` field. */
1597
+ tags?: StringListFilter;
1598
+ /** Checks for all expressions in this list. */
1599
+ and?: CompositeTypeFilter[];
1600
+ /** Checks for any expressions in this list. */
1601
+ or?: CompositeTypeFilter[];
1602
+ /** Negates the expression. */
1603
+ not?: CompositeTypeFilter;
1604
+ /** Filter by the object’s `database` relation. */
1605
+ database?: DatabaseFilter;
1606
+ /** Filter by the object’s `schema` relation. */
1607
+ schema?: SchemaFilter;
1608
+ }
1573
1609
  /** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
1574
1610
  export interface SchemaToManyApiSchemaFilter {
1575
1611
  /** Filters to entities where at least one related entity matches. */
@@ -2401,6 +2437,15 @@ export interface DatabaseToManyViewFilter {
2401
2437
  /** Filters to entities where no related entity matches. */
2402
2438
  none?: ViewFilter;
2403
2439
  }
2440
+ /** A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ */
2441
+ export interface DatabaseToManyViewTableFilter {
2442
+ /** Filters to entities where at least one related entity matches. */
2443
+ some?: ViewTableFilter;
2444
+ /** Filters to entities where every related entity matches. */
2445
+ every?: ViewTableFilter;
2446
+ /** Filters to entities where no related entity matches. */
2447
+ none?: ViewTableFilter;
2448
+ }
2404
2449
  /** A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ */
2405
2450
  export interface DatabaseToManyViewGrantFilter {
2406
2451
  /** Filters to entities where at least one related entity matches. */
@@ -2473,6 +2518,15 @@ export interface DatabaseToManyPartitionFilter {
2473
2518
  /** Filters to entities where no related entity matches. */
2474
2519
  none?: PartitionFilter;
2475
2520
  }
2521
+ /** A filter to be used against many `CompositeType` object types. All fields are combined with a logical ‘and.’ */
2522
+ export interface DatabaseToManyCompositeTypeFilter {
2523
+ /** Filters to entities where at least one related entity matches. */
2524
+ some?: CompositeTypeFilter;
2525
+ /** Filters to entities where every related entity matches. */
2526
+ every?: CompositeTypeFilter;
2527
+ /** Filters to entities where no related entity matches. */
2528
+ none?: CompositeTypeFilter;
2529
+ }
2476
2530
  /** A filter to be used against many `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ */
2477
2531
  export interface DatabaseToManyDatabaseTransferFilter {
2478
2532
  /** Filters to entities where at least one related entity matches. */
@@ -3082,18 +3136,6 @@ export interface FunctionInput {
3082
3136
  schemaId: string;
3083
3137
  name: string;
3084
3138
  }
3085
- export interface CreateViewTableInput {
3086
- clientMutationId?: string;
3087
- /** The `ViewTable` to be created by this mutation. */
3088
- viewTable: ViewTableInput;
3089
- }
3090
- /** An input for mutations affecting `ViewTable` */
3091
- export interface ViewTableInput {
3092
- id?: string;
3093
- viewId: string;
3094
- tableId: string;
3095
- joinOrder?: number;
3096
- }
3097
3139
  export interface CreateApiSchemaInput {
3098
3140
  clientMutationId?: string;
3099
3141
  /** The `ApiSchema` to be created by this mutation. */
@@ -3126,6 +3168,19 @@ export interface SiteThemeInput {
3126
3168
  /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
3127
3169
  theme: unknown;
3128
3170
  }
3171
+ export interface CreateViewTableInput {
3172
+ clientMutationId?: string;
3173
+ /** The `ViewTable` to be created by this mutation. */
3174
+ viewTable: ViewTableInput;
3175
+ }
3176
+ /** An input for mutations affecting `ViewTable` */
3177
+ export interface ViewTableInput {
3178
+ id?: string;
3179
+ databaseId?: string;
3180
+ viewId: string;
3181
+ tableId: string;
3182
+ joinOrder?: number;
3183
+ }
3129
3184
  export interface CreateViewRuleInput {
3130
3185
  clientMutationId?: string;
3131
3186
  /** The `ViewRule` to be created by this mutation. */
@@ -3466,6 +3521,44 @@ export interface PartitionInput {
3466
3521
  createdAt?: string;
3467
3522
  updatedAt?: string;
3468
3523
  }
3524
+ export interface CreateCompositeTypeInput {
3525
+ clientMutationId?: string;
3526
+ /** The `CompositeType` to be created by this mutation. */
3527
+ compositeType: CompositeTypeInput;
3528
+ }
3529
+ /** An input for mutations affecting `CompositeType` */
3530
+ export interface CompositeTypeInput {
3531
+ id?: string;
3532
+ databaseId: string;
3533
+ schemaId: string;
3534
+ name: string;
3535
+ label?: string;
3536
+ description?: string;
3537
+ attributes?: unknown;
3538
+ smartTags?: unknown;
3539
+ category?: ObjectCategory;
3540
+ scope?: number;
3541
+ tags?: string[];
3542
+ }
3543
+ export interface CreateEnumInput {
3544
+ clientMutationId?: string;
3545
+ /** The `Enum` to be created by this mutation. */
3546
+ enum: EnumInput;
3547
+ }
3548
+ /** An input for mutations affecting `Enum` */
3549
+ export interface EnumInput {
3550
+ id?: string;
3551
+ databaseId: string;
3552
+ schemaId: string;
3553
+ name: string;
3554
+ label?: string;
3555
+ description?: string;
3556
+ values?: string[];
3557
+ smartTags?: unknown;
3558
+ category?: ObjectCategory;
3559
+ scope?: number;
3560
+ tags?: string[];
3561
+ }
3469
3562
  export interface CreateSqlActionInput {
3470
3563
  clientMutationId?: string;
3471
3564
  /** The `SqlAction` to be created by this mutation. */
@@ -3487,6 +3580,29 @@ export interface SqlActionInput {
3487
3580
  actionId?: string;
3488
3581
  actorId?: string;
3489
3582
  }
3583
+ export interface CreateViewInput {
3584
+ clientMutationId?: string;
3585
+ /** The `View` to be created by this mutation. */
3586
+ view: ViewInput;
3587
+ }
3588
+ /** An input for mutations affecting `View` */
3589
+ export interface ViewInput {
3590
+ id?: string;
3591
+ databaseId?: string;
3592
+ schemaId: string;
3593
+ name: string;
3594
+ tableId?: string;
3595
+ viewType: string;
3596
+ data?: unknown;
3597
+ filterType?: string;
3598
+ filterData?: unknown;
3599
+ securityInvoker?: boolean;
3600
+ isReadOnly?: boolean;
3601
+ smartTags?: unknown;
3602
+ category?: ObjectCategory;
3603
+ scope?: number;
3604
+ tags?: string[];
3605
+ }
3490
3606
  export interface CreateDatabaseSettingInput {
3491
3607
  clientMutationId?: string;
3492
3608
  /** The `DatabaseSetting` to be created by this mutation. */
@@ -3525,50 +3641,6 @@ export interface DatabaseSettingInput {
3525
3641
  /** Extensible JSON for additional settings that do not have dedicated columns */
3526
3642
  options?: unknown;
3527
3643
  }
3528
- export interface CreateEnumInput {
3529
- clientMutationId?: string;
3530
- /** The `Enum` to be created by this mutation. */
3531
- enum: EnumInput;
3532
- }
3533
- /** An input for mutations affecting `Enum` */
3534
- export interface EnumInput {
3535
- id?: string;
3536
- databaseId: string;
3537
- schemaId: string;
3538
- name: string;
3539
- label?: string;
3540
- description?: string;
3541
- values?: string[];
3542
- smartTags?: unknown;
3543
- category?: ObjectCategory;
3544
- module?: string;
3545
- scope?: number;
3546
- tags?: string[];
3547
- }
3548
- export interface CreateViewInput {
3549
- clientMutationId?: string;
3550
- /** The `View` to be created by this mutation. */
3551
- view: ViewInput;
3552
- }
3553
- /** An input for mutations affecting `View` */
3554
- export interface ViewInput {
3555
- id?: string;
3556
- databaseId?: string;
3557
- schemaId: string;
3558
- name: string;
3559
- tableId?: string;
3560
- viewType: string;
3561
- data?: unknown;
3562
- filterType?: string;
3563
- filterData?: unknown;
3564
- securityInvoker?: boolean;
3565
- isReadOnly?: boolean;
3566
- smartTags?: unknown;
3567
- category?: ObjectCategory;
3568
- module?: string;
3569
- scope?: number;
3570
- tags?: string[];
3571
- }
3572
3644
  export interface CreateApiSettingInput {
3573
3645
  clientMutationId?: string;
3574
3646
  /** The `ApiSetting` to be created by this mutation. */
@@ -3631,58 +3703,6 @@ export interface DatabaseTransferInput {
3631
3703
  updatedAt?: string;
3632
3704
  completedAt?: string;
3633
3705
  }
3634
- export interface CreateAppInput {
3635
- clientMutationId?: string;
3636
- /** The `App` to be created by this mutation. */
3637
- app: AppInput;
3638
- }
3639
- /** An input for mutations affecting `App` */
3640
- export interface AppInput {
3641
- /** Unique identifier for this app */
3642
- id?: string;
3643
- /** Reference to the metaschema database this app belongs to */
3644
- databaseId: string;
3645
- /** Site this app is associated with (one app per site) */
3646
- siteId: string;
3647
- /** Display name of the app */
3648
- name?: string;
3649
- /** App icon or promotional image */
3650
- appImage?: ConstructiveInternalTypeImage;
3651
- /** URL to the Apple App Store listing */
3652
- appStoreLink?: ConstructiveInternalTypeUrl;
3653
- /** Apple App Store application identifier */
3654
- appStoreId?: string;
3655
- /** Apple App ID prefix (Team ID) for universal links and associated domains */
3656
- appIdPrefix?: string;
3657
- /** URL to the Google Play Store listing */
3658
- playStoreLink?: ConstructiveInternalTypeUrl;
3659
- }
3660
- export interface CreateSiteInput {
3661
- clientMutationId?: string;
3662
- /** The `Site` to be created by this mutation. */
3663
- site: SiteInput;
3664
- }
3665
- /** An input for mutations affecting `Site` */
3666
- export interface SiteInput {
3667
- /** Unique identifier for this site */
3668
- id?: string;
3669
- /** Reference to the metaschema database this site belongs to */
3670
- databaseId: string;
3671
- /** Display title for the site (max 120 characters) */
3672
- title?: string;
3673
- /** Short description of the site (max 120 characters) */
3674
- description?: string;
3675
- /** Open Graph image used for social media link previews */
3676
- ogImage?: ConstructiveInternalTypeImage;
3677
- /** Browser favicon attachment */
3678
- favicon?: ConstructiveInternalTypeAttachment;
3679
- /** Apple touch icon for iOS home screen bookmarks */
3680
- appleTouchIcon?: ConstructiveInternalTypeImage;
3681
- /** Primary logo image for the site */
3682
- logo?: ConstructiveInternalTypeImage;
3683
- /** PostgreSQL database name this site connects to */
3684
- dbname?: string;
3685
- }
3686
3706
  export interface CreatePrimaryKeyConstraintInput {
3687
3707
  clientMutationId?: string;
3688
3708
  /** The `PrimaryKeyConstraint` to be created by this mutation. */
@@ -3698,7 +3718,6 @@ export interface PrimaryKeyConstraintInput {
3698
3718
  fieldIds: string[];
3699
3719
  smartTags?: unknown;
3700
3720
  category?: ObjectCategory;
3701
- module?: string;
3702
3721
  scope?: number;
3703
3722
  tags?: string[];
3704
3723
  createdAt?: string;
@@ -3719,7 +3738,6 @@ export interface TriggerInput {
3719
3738
  functionName?: string;
3720
3739
  smartTags?: unknown;
3721
3740
  category?: ObjectCategory;
3722
- module?: string;
3723
3741
  scope?: number;
3724
3742
  tags?: string[];
3725
3743
  createdAt?: string;
@@ -3741,7 +3759,6 @@ export interface CheckConstraintInput {
3741
3759
  expr?: unknown;
3742
3760
  smartTags?: unknown;
3743
3761
  category?: ObjectCategory;
3744
- module?: string;
3745
3762
  scope?: number;
3746
3763
  tags?: string[];
3747
3764
  createdAt?: string;
@@ -3763,7 +3780,6 @@ export interface UniqueConstraintInput {
3763
3780
  type?: string;
3764
3781
  fieldIds: string[];
3765
3782
  category?: ObjectCategory;
3766
- module?: string;
3767
3783
  scope?: number;
3768
3784
  tags?: string[];
3769
3785
  createdAt?: string;
@@ -3786,7 +3802,6 @@ export interface SpatialRelationInput {
3786
3802
  operator: string;
3787
3803
  paramName?: string;
3788
3804
  category?: ObjectCategory;
3789
- module?: string;
3790
3805
  scope?: number;
3791
3806
  tags?: string[];
3792
3807
  createdAt?: string;
@@ -3811,37 +3826,87 @@ export interface PolicyInput {
3811
3826
  data?: unknown;
3812
3827
  smartTags?: unknown;
3813
3828
  category?: ObjectCategory;
3814
- module?: string;
3815
3829
  scope?: number;
3816
3830
  tags?: string[];
3817
3831
  createdAt?: string;
3818
3832
  updatedAt?: string;
3819
3833
  }
3820
- export interface CreateSchemaInput {
3834
+ export interface CreateAppInput {
3821
3835
  clientMutationId?: string;
3822
- /** The `Schema` to be created by this mutation. */
3823
- schema: SchemaInput;
3836
+ /** The `App` to be created by this mutation. */
3837
+ app: AppInput;
3824
3838
  }
3825
- /** An input for mutations affecting `Schema` */
3826
- export interface SchemaInput {
3839
+ /** An input for mutations affecting `App` */
3840
+ export interface AppInput {
3841
+ /** Unique identifier for this app */
3827
3842
  id?: string;
3843
+ /** Reference to the metaschema database this app belongs to */
3828
3844
  databaseId: string;
3829
- name: string;
3830
- schemaName: string;
3831
- label?: string;
3832
- description?: string;
3833
- smartTags?: unknown;
3834
- category?: ObjectCategory;
3835
- module?: string;
3836
- scope?: number;
3837
- tags?: string[];
3838
- isPublic?: boolean;
3839
- createdAt?: string;
3840
- updatedAt?: string;
3841
- }
3842
- export interface CreateIndexInput {
3843
- clientMutationId?: string;
3844
- /** The `Index` to be created by this mutation. */
3845
+ /** Site this app is associated with (one app per site) */
3846
+ siteId: string;
3847
+ /** Display name of the app */
3848
+ name?: string;
3849
+ /** App icon or promotional image */
3850
+ appImage?: ConstructiveInternalTypeImage;
3851
+ /** URL to the Apple App Store listing */
3852
+ appStoreLink?: ConstructiveInternalTypeUrl;
3853
+ /** Apple App Store application identifier */
3854
+ appStoreId?: string;
3855
+ /** Apple App ID prefix (Team ID) for universal links and associated domains */
3856
+ appIdPrefix?: string;
3857
+ /** URL to the Google Play Store listing */
3858
+ playStoreLink?: ConstructiveInternalTypeUrl;
3859
+ }
3860
+ export interface CreateSiteInput {
3861
+ clientMutationId?: string;
3862
+ /** The `Site` to be created by this mutation. */
3863
+ site: SiteInput;
3864
+ }
3865
+ /** An input for mutations affecting `Site` */
3866
+ export interface SiteInput {
3867
+ /** Unique identifier for this site */
3868
+ id?: string;
3869
+ /** Reference to the metaschema database this site belongs to */
3870
+ databaseId: string;
3871
+ /** Display title for the site (max 120 characters) */
3872
+ title?: string;
3873
+ /** Short description of the site (max 120 characters) */
3874
+ description?: string;
3875
+ /** Open Graph image used for social media link previews */
3876
+ ogImage?: ConstructiveInternalTypeImage;
3877
+ /** Browser favicon attachment */
3878
+ favicon?: ConstructiveInternalTypeAttachment;
3879
+ /** Apple touch icon for iOS home screen bookmarks */
3880
+ appleTouchIcon?: ConstructiveInternalTypeImage;
3881
+ /** Primary logo image for the site */
3882
+ logo?: ConstructiveInternalTypeImage;
3883
+ /** PostgreSQL database name this site connects to */
3884
+ dbname?: string;
3885
+ }
3886
+ export interface CreateSchemaInput {
3887
+ clientMutationId?: string;
3888
+ /** The `Schema` to be created by this mutation. */
3889
+ schema: SchemaInput;
3890
+ }
3891
+ /** An input for mutations affecting `Schema` */
3892
+ export interface SchemaInput {
3893
+ id?: string;
3894
+ databaseId: string;
3895
+ name: string;
3896
+ schemaName: string;
3897
+ label?: string;
3898
+ description?: string;
3899
+ smartTags?: unknown;
3900
+ category?: ObjectCategory;
3901
+ scope?: number;
3902
+ tags?: string[];
3903
+ isPublic?: boolean;
3904
+ createdAt?: string;
3905
+ updatedAt?: string;
3906
+ }
3907
+ export interface CreateIndexInput {
3908
+ clientMutationId?: string;
3909
+ /** The `Index` to be created by this mutation. */
3845
3910
  index: IndexInput;
3846
3911
  }
3847
3912
  /** An input for mutations affecting `Index` */
@@ -3860,7 +3925,31 @@ export interface IndexInput {
3860
3925
  opClasses?: string[];
3861
3926
  smartTags?: unknown;
3862
3927
  category?: ObjectCategory;
3863
- module?: string;
3928
+ scope?: number;
3929
+ tags?: string[];
3930
+ createdAt?: string;
3931
+ updatedAt?: string;
3932
+ }
3933
+ export interface CreateForeignKeyConstraintInput {
3934
+ clientMutationId?: string;
3935
+ /** The `ForeignKeyConstraint` to be created by this mutation. */
3936
+ foreignKeyConstraint: ForeignKeyConstraintInput;
3937
+ }
3938
+ /** An input for mutations affecting `ForeignKeyConstraint` */
3939
+ export interface ForeignKeyConstraintInput {
3940
+ id?: string;
3941
+ databaseId?: string;
3942
+ tableId: string;
3943
+ name?: string;
3944
+ description?: string;
3945
+ smartTags?: unknown;
3946
+ type?: string;
3947
+ fieldIds: string[];
3948
+ refTableId: string;
3949
+ refFieldIds: string[];
3950
+ deleteAction?: string;
3951
+ updateAction?: string;
3952
+ category?: ObjectCategory;
3864
3953
  scope?: number;
3865
3954
  tags?: string[];
3866
3955
  createdAt?: string;
@@ -3895,32 +3984,6 @@ export interface EmbeddingChunkInput {
3895
3984
  createdAt?: string;
3896
3985
  updatedAt?: string;
3897
3986
  }
3898
- export interface CreateForeignKeyConstraintInput {
3899
- clientMutationId?: string;
3900
- /** The `ForeignKeyConstraint` to be created by this mutation. */
3901
- foreignKeyConstraint: ForeignKeyConstraintInput;
3902
- }
3903
- /** An input for mutations affecting `ForeignKeyConstraint` */
3904
- export interface ForeignKeyConstraintInput {
3905
- id?: string;
3906
- databaseId?: string;
3907
- tableId: string;
3908
- name?: string;
3909
- description?: string;
3910
- smartTags?: unknown;
3911
- type?: string;
3912
- fieldIds: string[];
3913
- refTableId: string;
3914
- refFieldIds: string[];
3915
- deleteAction?: string;
3916
- updateAction?: string;
3917
- category?: ObjectCategory;
3918
- module?: string;
3919
- scope?: number;
3920
- tags?: string[];
3921
- createdAt?: string;
3922
- updatedAt?: string;
3923
- }
3924
3987
  export interface CreateWebauthnSettingInput {
3925
3988
  clientMutationId?: string;
3926
3989
  /** The `WebauthnSetting` to be created by this mutation. */
@@ -4012,7 +4075,6 @@ export interface FieldInput {
4012
4075
  max?: number;
4013
4076
  tags?: string[];
4014
4077
  category?: ObjectCategory;
4015
- module?: string;
4016
4078
  scope?: number;
4017
4079
  createdAt?: string;
4018
4080
  updatedAt?: string;
@@ -4032,7 +4094,6 @@ export interface TableInput {
4032
4094
  description?: string;
4033
4095
  smartTags?: unknown;
4034
4096
  category?: ObjectCategory;
4035
- module?: string;
4036
4097
  scope?: number;
4037
4098
  useRls?: boolean;
4038
4099
  timestamps?: boolean;
@@ -4044,9 +4105,9 @@ export interface TableInput {
4044
4105
  partitionStrategy?: string;
4045
4106
  partitionKeyNames?: string[];
4046
4107
  partitionKeyTypes?: string[];
4047
- inheritsId?: string;
4048
4108
  createdAt?: string;
4049
4109
  updatedAt?: string;
4110
+ inheritsId?: string;
4050
4111
  }
4051
4112
  export interface UpdateFunctionInput {
4052
4113
  clientMutationId?: string;
@@ -4061,19 +4122,6 @@ export interface FunctionPatch {
4061
4122
  schemaId?: string;
4062
4123
  name?: string;
4063
4124
  }
4064
- export interface UpdateViewTableInput {
4065
- clientMutationId?: string;
4066
- id: string;
4067
- /** An object where the defined keys will be set on the `ViewTable` being updated. */
4068
- viewTablePatch: ViewTablePatch;
4069
- }
4070
- /** Represents an update to a `ViewTable`. Fields that are set will be updated. */
4071
- export interface ViewTablePatch {
4072
- id?: string;
4073
- viewId?: string;
4074
- tableId?: string;
4075
- joinOrder?: number;
4076
- }
4077
4125
  export interface UpdateApiSchemaInput {
4078
4126
  clientMutationId?: string;
4079
4127
  /** Unique identifier for this API-schema mapping */
@@ -4110,6 +4158,20 @@ export interface SiteThemePatch {
4110
4158
  /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
4111
4159
  theme?: unknown;
4112
4160
  }
4161
+ export interface UpdateViewTableInput {
4162
+ clientMutationId?: string;
4163
+ id: string;
4164
+ /** An object where the defined keys will be set on the `ViewTable` being updated. */
4165
+ viewTablePatch: ViewTablePatch;
4166
+ }
4167
+ /** Represents an update to a `ViewTable`. Fields that are set will be updated. */
4168
+ export interface ViewTablePatch {
4169
+ id?: string;
4170
+ databaseId?: string;
4171
+ viewId?: string;
4172
+ tableId?: string;
4173
+ joinOrder?: number;
4174
+ }
4113
4175
  export interface UpdateViewRuleInput {
4114
4176
  clientMutationId?: string;
4115
4177
  id: string;
@@ -4467,45 +4529,25 @@ export interface PartitionPatch {
4467
4529
  createdAt?: string;
4468
4530
  updatedAt?: string;
4469
4531
  }
4470
- export interface UpdateDatabaseSettingInput {
4532
+ export interface UpdateCompositeTypeInput {
4471
4533
  clientMutationId?: string;
4472
- /** Unique identifier for this settings record */
4473
4534
  id: string;
4474
- /** An object where the defined keys will be set on the `DatabaseSetting` being updated. */
4475
- databaseSettingPatch: DatabaseSettingPatch;
4535
+ /** An object where the defined keys will be set on the `CompositeType` being updated. */
4536
+ compositeTypePatch: CompositeTypePatch;
4476
4537
  }
4477
- /** Represents an update to a `DatabaseSetting`. Fields that are set will be updated. */
4478
- export interface DatabaseSettingPatch {
4479
- /** Unique identifier for this settings record */
4538
+ /** Represents an update to a `CompositeType`. Fields that are set will be updated. */
4539
+ export interface CompositeTypePatch {
4480
4540
  id?: string;
4481
- /** Reference to the metaschema database these settings apply to */
4482
4541
  databaseId?: string;
4483
- /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
4484
- enableAggregates?: boolean;
4485
- /** Enable PostGIS spatial types and operators in the GraphQL API */
4486
- enablePostgis?: boolean;
4487
- /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
4488
- enableSearch?: boolean;
4489
- /** Enable direct (multipart) file upload mutations in the GraphQL API */
4490
- enableDirectUploads?: boolean;
4491
- /** Enable presigned URL upload flow for S3/MinIO storage */
4492
- enablePresignedUploads?: boolean;
4493
- /** Enable many-to-many relationship queries in the GraphQL API */
4494
- enableManyToMany?: boolean;
4495
- /** Enable connection filter (where argument) in the GraphQL API */
4496
- enableConnectionFilter?: boolean;
4497
- /** Enable ltree hierarchical data type support in the GraphQL API */
4498
- enableLtree?: boolean;
4499
- /** Enable LLM/AI integration features in the GraphQL API */
4500
- enableLlm?: boolean;
4501
- /** Enable realtime subscriptions (cursor-tracked change delivery) in the GraphQL API */
4502
- enableRealtime?: boolean;
4503
- /** Enable bulk mutation operations (insert, upsert, update, delete) in the GraphQL API */
4504
- enableBulk?: boolean;
4505
- /** Enable internationalization plugin (localeStrings field, translation table discovery) in the GraphQL API */
4506
- enableI18N?: boolean;
4507
- /** Extensible JSON for additional settings that do not have dedicated columns */
4508
- options?: unknown;
4542
+ schemaId?: string;
4543
+ name?: string;
4544
+ label?: string;
4545
+ description?: string;
4546
+ attributes?: unknown;
4547
+ smartTags?: unknown;
4548
+ category?: ObjectCategory;
4549
+ scope?: number;
4550
+ tags?: string[];
4509
4551
  }
4510
4552
  export interface UpdateEnumInput {
4511
4553
  clientMutationId?: string;
@@ -4524,7 +4566,6 @@ export interface EnumPatch {
4524
4566
  values?: string[];
4525
4567
  smartTags?: unknown;
4526
4568
  category?: ObjectCategory;
4527
- module?: string;
4528
4569
  scope?: number;
4529
4570
  tags?: string[];
4530
4571
  }
@@ -4549,10 +4590,49 @@ export interface ViewPatch {
4549
4590
  isReadOnly?: boolean;
4550
4591
  smartTags?: unknown;
4551
4592
  category?: ObjectCategory;
4552
- module?: string;
4553
4593
  scope?: number;
4554
4594
  tags?: string[];
4555
4595
  }
4596
+ export interface UpdateDatabaseSettingInput {
4597
+ clientMutationId?: string;
4598
+ /** Unique identifier for this settings record */
4599
+ id: string;
4600
+ /** An object where the defined keys will be set on the `DatabaseSetting` being updated. */
4601
+ databaseSettingPatch: DatabaseSettingPatch;
4602
+ }
4603
+ /** Represents an update to a `DatabaseSetting`. Fields that are set will be updated. */
4604
+ export interface DatabaseSettingPatch {
4605
+ /** Unique identifier for this settings record */
4606
+ id?: string;
4607
+ /** Reference to the metaschema database these settings apply to */
4608
+ databaseId?: string;
4609
+ /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
4610
+ enableAggregates?: boolean;
4611
+ /** Enable PostGIS spatial types and operators in the GraphQL API */
4612
+ enablePostgis?: boolean;
4613
+ /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
4614
+ enableSearch?: boolean;
4615
+ /** Enable direct (multipart) file upload mutations in the GraphQL API */
4616
+ enableDirectUploads?: boolean;
4617
+ /** Enable presigned URL upload flow for S3/MinIO storage */
4618
+ enablePresignedUploads?: boolean;
4619
+ /** Enable many-to-many relationship queries in the GraphQL API */
4620
+ enableManyToMany?: boolean;
4621
+ /** Enable connection filter (where argument) in the GraphQL API */
4622
+ enableConnectionFilter?: boolean;
4623
+ /** Enable ltree hierarchical data type support in the GraphQL API */
4624
+ enableLtree?: boolean;
4625
+ /** Enable LLM/AI integration features in the GraphQL API */
4626
+ enableLlm?: boolean;
4627
+ /** Enable realtime subscriptions (cursor-tracked change delivery) in the GraphQL API */
4628
+ enableRealtime?: boolean;
4629
+ /** Enable bulk mutation operations (insert, upsert, update, delete) in the GraphQL API */
4630
+ enableBulk?: boolean;
4631
+ /** Enable internationalization plugin (localeStrings field, translation table discovery) in the GraphQL API */
4632
+ enableI18N?: boolean;
4633
+ /** Extensible JSON for additional settings that do not have dedicated columns */
4634
+ options?: unknown;
4635
+ }
4556
4636
  export interface UpdateApiSettingInput {
4557
4637
  clientMutationId?: string;
4558
4638
  /** Unique identifier for this API settings record */
@@ -4599,90 +4679,24 @@ export interface UpdateDatabaseTransferInput {
4599
4679
  clientMutationId?: string;
4600
4680
  id: string;
4601
4681
  /** An object where the defined keys will be set on the `DatabaseTransfer` being updated. */
4602
- databaseTransferPatch: DatabaseTransferPatch;
4603
- }
4604
- /** Represents an update to a `DatabaseTransfer`. Fields that are set will be updated. */
4605
- export interface DatabaseTransferPatch {
4606
- id?: string;
4607
- databaseId?: string;
4608
- targetOwnerId?: string;
4609
- sourceApproved?: boolean;
4610
- targetApproved?: boolean;
4611
- sourceApprovedAt?: string;
4612
- targetApprovedAt?: string;
4613
- status?: string;
4614
- initiatedBy?: string;
4615
- notes?: string;
4616
- expiresAt?: string;
4617
- createdAt?: string;
4618
- updatedAt?: string;
4619
- completedAt?: string;
4620
- }
4621
- export interface UpdateAppInput {
4622
- clientMutationId?: string;
4623
- /** Unique identifier for this app */
4624
- id: string;
4625
- /** An object where the defined keys will be set on the `App` being updated. */
4626
- appPatch: AppPatch;
4627
- }
4628
- /** Represents an update to a `App`. Fields that are set will be updated. */
4629
- export interface AppPatch {
4630
- /** Unique identifier for this app */
4631
- id?: string;
4632
- /** Reference to the metaschema database this app belongs to */
4633
- databaseId?: string;
4634
- /** Site this app is associated with (one app per site) */
4635
- siteId?: string;
4636
- /** Display name of the app */
4637
- name?: string;
4638
- /** App icon or promotional image */
4639
- appImage?: ConstructiveInternalTypeImage;
4640
- /** URL to the Apple App Store listing */
4641
- appStoreLink?: ConstructiveInternalTypeUrl;
4642
- /** Apple App Store application identifier */
4643
- appStoreId?: string;
4644
- /** Apple App ID prefix (Team ID) for universal links and associated domains */
4645
- appIdPrefix?: string;
4646
- /** URL to the Google Play Store listing */
4647
- playStoreLink?: ConstructiveInternalTypeUrl;
4648
- /** Upload for App icon or promotional image */
4649
- appImageUpload?: File;
4650
- }
4651
- export interface UpdateSiteInput {
4652
- clientMutationId?: string;
4653
- /** Unique identifier for this site */
4654
- id: string;
4655
- /** An object where the defined keys will be set on the `Site` being updated. */
4656
- sitePatch: SitePatch;
4657
- }
4658
- /** Represents an update to a `Site`. Fields that are set will be updated. */
4659
- export interface SitePatch {
4660
- /** Unique identifier for this site */
4661
- id?: string;
4662
- /** Reference to the metaschema database this site belongs to */
4663
- databaseId?: string;
4664
- /** Display title for the site (max 120 characters) */
4665
- title?: string;
4666
- /** Short description of the site (max 120 characters) */
4667
- description?: string;
4668
- /** Open Graph image used for social media link previews */
4669
- ogImage?: ConstructiveInternalTypeImage;
4670
- /** Browser favicon attachment */
4671
- favicon?: ConstructiveInternalTypeAttachment;
4672
- /** Apple touch icon for iOS home screen bookmarks */
4673
- appleTouchIcon?: ConstructiveInternalTypeImage;
4674
- /** Primary logo image for the site */
4675
- logo?: ConstructiveInternalTypeImage;
4676
- /** PostgreSQL database name this site connects to */
4677
- dbname?: string;
4678
- /** Upload for Open Graph image used for social media link previews */
4679
- ogImageUpload?: File;
4680
- /** Upload for Browser favicon attachment */
4681
- faviconUpload?: File;
4682
- /** Upload for Apple touch icon for iOS home screen bookmarks */
4683
- appleTouchIconUpload?: File;
4684
- /** Upload for Primary logo image for the site */
4685
- logoUpload?: File;
4682
+ databaseTransferPatch: DatabaseTransferPatch;
4683
+ }
4684
+ /** Represents an update to a `DatabaseTransfer`. Fields that are set will be updated. */
4685
+ export interface DatabaseTransferPatch {
4686
+ id?: string;
4687
+ databaseId?: string;
4688
+ targetOwnerId?: string;
4689
+ sourceApproved?: boolean;
4690
+ targetApproved?: boolean;
4691
+ sourceApprovedAt?: string;
4692
+ targetApprovedAt?: string;
4693
+ status?: string;
4694
+ initiatedBy?: string;
4695
+ notes?: string;
4696
+ expiresAt?: string;
4697
+ createdAt?: string;
4698
+ updatedAt?: string;
4699
+ completedAt?: string;
4686
4700
  }
4687
4701
  export interface UpdatePrimaryKeyConstraintInput {
4688
4702
  clientMutationId?: string;
@@ -4700,7 +4714,6 @@ export interface PrimaryKeyConstraintPatch {
4700
4714
  fieldIds?: string[];
4701
4715
  smartTags?: unknown;
4702
4716
  category?: ObjectCategory;
4703
- module?: string;
4704
4717
  scope?: number;
4705
4718
  tags?: string[];
4706
4719
  createdAt?: string;
@@ -4722,7 +4735,6 @@ export interface TriggerPatch {
4722
4735
  functionName?: string;
4723
4736
  smartTags?: unknown;
4724
4737
  category?: ObjectCategory;
4725
- module?: string;
4726
4738
  scope?: number;
4727
4739
  tags?: string[];
4728
4740
  createdAt?: string;
@@ -4745,7 +4757,6 @@ export interface CheckConstraintPatch {
4745
4757
  expr?: unknown;
4746
4758
  smartTags?: unknown;
4747
4759
  category?: ObjectCategory;
4748
- module?: string;
4749
4760
  scope?: number;
4750
4761
  tags?: string[];
4751
4762
  createdAt?: string;
@@ -4768,7 +4779,6 @@ export interface UniqueConstraintPatch {
4768
4779
  type?: string;
4769
4780
  fieldIds?: string[];
4770
4781
  category?: ObjectCategory;
4771
- module?: string;
4772
4782
  scope?: number;
4773
4783
  tags?: string[];
4774
4784
  createdAt?: string;
@@ -4792,7 +4802,6 @@ export interface SpatialRelationPatch {
4792
4802
  operator?: string;
4793
4803
  paramName?: string;
4794
4804
  category?: ObjectCategory;
4795
- module?: string;
4796
4805
  scope?: number;
4797
4806
  tags?: string[];
4798
4807
  createdAt?: string;
@@ -4818,12 +4827,77 @@ export interface PolicyPatch {
4818
4827
  data?: unknown;
4819
4828
  smartTags?: unknown;
4820
4829
  category?: ObjectCategory;
4821
- module?: string;
4822
4830
  scope?: number;
4823
4831
  tags?: string[];
4824
4832
  createdAt?: string;
4825
4833
  updatedAt?: string;
4826
4834
  }
4835
+ export interface UpdateAppInput {
4836
+ clientMutationId?: string;
4837
+ /** Unique identifier for this app */
4838
+ id: string;
4839
+ /** An object where the defined keys will be set on the `App` being updated. */
4840
+ appPatch: AppPatch;
4841
+ }
4842
+ /** Represents an update to a `App`. Fields that are set will be updated. */
4843
+ export interface AppPatch {
4844
+ /** Unique identifier for this app */
4845
+ id?: string;
4846
+ /** Reference to the metaschema database this app belongs to */
4847
+ databaseId?: string;
4848
+ /** Site this app is associated with (one app per site) */
4849
+ siteId?: string;
4850
+ /** Display name of the app */
4851
+ name?: string;
4852
+ /** App icon or promotional image */
4853
+ appImage?: ConstructiveInternalTypeImage;
4854
+ /** URL to the Apple App Store listing */
4855
+ appStoreLink?: ConstructiveInternalTypeUrl;
4856
+ /** Apple App Store application identifier */
4857
+ appStoreId?: string;
4858
+ /** Apple App ID prefix (Team ID) for universal links and associated domains */
4859
+ appIdPrefix?: string;
4860
+ /** URL to the Google Play Store listing */
4861
+ playStoreLink?: ConstructiveInternalTypeUrl;
4862
+ /** Upload for App icon or promotional image */
4863
+ appImageUpload?: File;
4864
+ }
4865
+ export interface UpdateSiteInput {
4866
+ clientMutationId?: string;
4867
+ /** Unique identifier for this site */
4868
+ id: string;
4869
+ /** An object where the defined keys will be set on the `Site` being updated. */
4870
+ sitePatch: SitePatch;
4871
+ }
4872
+ /** Represents an update to a `Site`. Fields that are set will be updated. */
4873
+ export interface SitePatch {
4874
+ /** Unique identifier for this site */
4875
+ id?: string;
4876
+ /** Reference to the metaschema database this site belongs to */
4877
+ databaseId?: string;
4878
+ /** Display title for the site (max 120 characters) */
4879
+ title?: string;
4880
+ /** Short description of the site (max 120 characters) */
4881
+ description?: string;
4882
+ /** Open Graph image used for social media link previews */
4883
+ ogImage?: ConstructiveInternalTypeImage;
4884
+ /** Browser favicon attachment */
4885
+ favicon?: ConstructiveInternalTypeAttachment;
4886
+ /** Apple touch icon for iOS home screen bookmarks */
4887
+ appleTouchIcon?: ConstructiveInternalTypeImage;
4888
+ /** Primary logo image for the site */
4889
+ logo?: ConstructiveInternalTypeImage;
4890
+ /** PostgreSQL database name this site connects to */
4891
+ dbname?: string;
4892
+ /** Upload for Open Graph image used for social media link previews */
4893
+ ogImageUpload?: File;
4894
+ /** Upload for Browser favicon attachment */
4895
+ faviconUpload?: File;
4896
+ /** Upload for Apple touch icon for iOS home screen bookmarks */
4897
+ appleTouchIconUpload?: File;
4898
+ /** Upload for Primary logo image for the site */
4899
+ logoUpload?: File;
4900
+ }
4827
4901
  export interface UpdateSchemaInput {
4828
4902
  clientMutationId?: string;
4829
4903
  id: string;
@@ -4840,7 +4914,6 @@ export interface SchemaPatch {
4840
4914
  description?: string;
4841
4915
  smartTags?: unknown;
4842
4916
  category?: ObjectCategory;
4843
- module?: string;
4844
4917
  scope?: number;
4845
4918
  tags?: string[];
4846
4919
  isPublic?: boolean;
@@ -4869,7 +4942,32 @@ export interface IndexPatch {
4869
4942
  opClasses?: string[];
4870
4943
  smartTags?: unknown;
4871
4944
  category?: ObjectCategory;
4872
- module?: string;
4945
+ scope?: number;
4946
+ tags?: string[];
4947
+ createdAt?: string;
4948
+ updatedAt?: string;
4949
+ }
4950
+ export interface UpdateForeignKeyConstraintInput {
4951
+ clientMutationId?: string;
4952
+ id: string;
4953
+ /** An object where the defined keys will be set on the `ForeignKeyConstraint` being updated. */
4954
+ foreignKeyConstraintPatch: ForeignKeyConstraintPatch;
4955
+ }
4956
+ /** Represents an update to a `ForeignKeyConstraint`. Fields that are set will be updated. */
4957
+ export interface ForeignKeyConstraintPatch {
4958
+ id?: string;
4959
+ databaseId?: string;
4960
+ tableId?: string;
4961
+ name?: string;
4962
+ description?: string;
4963
+ smartTags?: unknown;
4964
+ type?: string;
4965
+ fieldIds?: string[];
4966
+ refTableId?: string;
4967
+ refFieldIds?: string[];
4968
+ deleteAction?: string;
4969
+ updateAction?: string;
4970
+ category?: ObjectCategory;
4873
4971
  scope?: number;
4874
4972
  tags?: string[];
4875
4973
  createdAt?: string;
@@ -4905,33 +5003,6 @@ export interface EmbeddingChunkPatch {
4905
5003
  createdAt?: string;
4906
5004
  updatedAt?: string;
4907
5005
  }
4908
- export interface UpdateForeignKeyConstraintInput {
4909
- clientMutationId?: string;
4910
- id: string;
4911
- /** An object where the defined keys will be set on the `ForeignKeyConstraint` being updated. */
4912
- foreignKeyConstraintPatch: ForeignKeyConstraintPatch;
4913
- }
4914
- /** Represents an update to a `ForeignKeyConstraint`. Fields that are set will be updated. */
4915
- export interface ForeignKeyConstraintPatch {
4916
- id?: string;
4917
- databaseId?: string;
4918
- tableId?: string;
4919
- name?: string;
4920
- description?: string;
4921
- smartTags?: unknown;
4922
- type?: string;
4923
- fieldIds?: string[];
4924
- refTableId?: string;
4925
- refFieldIds?: string[];
4926
- deleteAction?: string;
4927
- updateAction?: string;
4928
- category?: ObjectCategory;
4929
- module?: string;
4930
- scope?: number;
4931
- tags?: string[];
4932
- createdAt?: string;
4933
- updatedAt?: string;
4934
- }
4935
5006
  export interface UpdateWebauthnSettingInput {
4936
5007
  clientMutationId?: string;
4937
5008
  /** Unique identifier for this WebAuthn settings record */
@@ -5005,7 +5076,6 @@ export interface FieldPatch {
5005
5076
  max?: number;
5006
5077
  tags?: string[];
5007
5078
  category?: ObjectCategory;
5008
- module?: string;
5009
5079
  scope?: number;
5010
5080
  createdAt?: string;
5011
5081
  updatedAt?: string;
@@ -5026,7 +5096,6 @@ export interface TablePatch {
5026
5096
  description?: string;
5027
5097
  smartTags?: unknown;
5028
5098
  category?: ObjectCategory;
5029
- module?: string;
5030
5099
  scope?: number;
5031
5100
  useRls?: boolean;
5032
5101
  timestamps?: boolean;
@@ -5038,18 +5107,14 @@ export interface TablePatch {
5038
5107
  partitionStrategy?: string;
5039
5108
  partitionKeyNames?: string[];
5040
5109
  partitionKeyTypes?: string[];
5041
- inheritsId?: string;
5042
5110
  createdAt?: string;
5043
5111
  updatedAt?: string;
5112
+ inheritsId?: string;
5044
5113
  }
5045
5114
  export interface DeleteFunctionInput {
5046
5115
  clientMutationId?: string;
5047
5116
  id: string;
5048
5117
  }
5049
- export interface DeleteViewTableInput {
5050
- clientMutationId?: string;
5051
- id: string;
5052
- }
5053
5118
  export interface DeleteApiSchemaInput {
5054
5119
  clientMutationId?: string;
5055
5120
  /** Unique identifier for this API-schema mapping */
@@ -5060,6 +5125,10 @@ export interface DeleteSiteThemeInput {
5060
5125
  /** Unique identifier for this theme record */
5061
5126
  id: string;
5062
5127
  }
5128
+ export interface DeleteViewTableInput {
5129
+ clientMutationId?: string;
5130
+ id: string;
5131
+ }
5063
5132
  export interface DeleteViewRuleInput {
5064
5133
  clientMutationId?: string;
5065
5134
  id: string;
@@ -5140,9 +5209,8 @@ export interface DeletePartitionInput {
5140
5209
  clientMutationId?: string;
5141
5210
  id: string;
5142
5211
  }
5143
- export interface DeleteDatabaseSettingInput {
5212
+ export interface DeleteCompositeTypeInput {
5144
5213
  clientMutationId?: string;
5145
- /** Unique identifier for this settings record */
5146
5214
  id: string;
5147
5215
  }
5148
5216
  export interface DeleteEnumInput {
@@ -5153,23 +5221,18 @@ export interface DeleteViewInput {
5153
5221
  clientMutationId?: string;
5154
5222
  id: string;
5155
5223
  }
5156
- export interface DeleteApiSettingInput {
5157
- clientMutationId?: string;
5158
- /** Unique identifier for this API settings record */
5159
- id: string;
5160
- }
5161
- export interface DeleteDatabaseTransferInput {
5224
+ export interface DeleteDatabaseSettingInput {
5162
5225
  clientMutationId?: string;
5226
+ /** Unique identifier for this settings record */
5163
5227
  id: string;
5164
5228
  }
5165
- export interface DeleteAppInput {
5229
+ export interface DeleteApiSettingInput {
5166
5230
  clientMutationId?: string;
5167
- /** Unique identifier for this app */
5231
+ /** Unique identifier for this API settings record */
5168
5232
  id: string;
5169
5233
  }
5170
- export interface DeleteSiteInput {
5234
+ export interface DeleteDatabaseTransferInput {
5171
5235
  clientMutationId?: string;
5172
- /** Unique identifier for this site */
5173
5236
  id: string;
5174
5237
  }
5175
5238
  export interface DeletePrimaryKeyConstraintInput {
@@ -5196,6 +5259,16 @@ export interface DeletePolicyInput {
5196
5259
  clientMutationId?: string;
5197
5260
  id: string;
5198
5261
  }
5262
+ export interface DeleteAppInput {
5263
+ clientMutationId?: string;
5264
+ /** Unique identifier for this app */
5265
+ id: string;
5266
+ }
5267
+ export interface DeleteSiteInput {
5268
+ clientMutationId?: string;
5269
+ /** Unique identifier for this site */
5270
+ id: string;
5271
+ }
5199
5272
  export interface DeleteSchemaInput {
5200
5273
  clientMutationId?: string;
5201
5274
  id: string;
@@ -5204,11 +5277,11 @@ export interface DeleteIndexInput {
5204
5277
  clientMutationId?: string;
5205
5278
  id: string;
5206
5279
  }
5207
- export interface DeleteEmbeddingChunkInput {
5280
+ export interface DeleteForeignKeyConstraintInput {
5208
5281
  clientMutationId?: string;
5209
5282
  id: string;
5210
5283
  }
5211
- export interface DeleteForeignKeyConstraintInput {
5284
+ export interface DeleteEmbeddingChunkInput {
5212
5285
  clientMutationId?: string;
5213
5286
  id: string;
5214
5287
  }
@@ -5241,13 +5314,6 @@ export interface FunctionConnection {
5241
5314
  pageInfo: PageInfo;
5242
5315
  totalCount: number;
5243
5316
  }
5244
- /** A connection to a list of `ViewTable` values. */
5245
- export interface ViewTableConnection {
5246
- nodes: ViewTable[];
5247
- edges: ViewTableEdge[];
5248
- pageInfo: PageInfo;
5249
- totalCount: number;
5250
- }
5251
5317
  /** A connection to a list of `ApiSchema` values. */
5252
5318
  export interface ApiSchemaConnection {
5253
5319
  nodes: ApiSchema[];
@@ -5262,6 +5328,13 @@ export interface SiteThemeConnection {
5262
5328
  pageInfo: PageInfo;
5263
5329
  totalCount: number;
5264
5330
  }
5331
+ /** A connection to a list of `ViewTable` values. */
5332
+ export interface ViewTableConnection {
5333
+ nodes: ViewTable[];
5334
+ edges: ViewTableEdge[];
5335
+ pageInfo: PageInfo;
5336
+ totalCount: number;
5337
+ }
5265
5338
  /** A connection to a list of `ViewRule` values. */
5266
5339
  export interface ViewRuleConnection {
5267
5340
  nodes: ViewRule[];
@@ -5395,17 +5468,10 @@ export interface PartitionConnection {
5395
5468
  pageInfo: PageInfo;
5396
5469
  totalCount: number;
5397
5470
  }
5398
- /** A connection to a list of `SqlAction` values. */
5399
- export interface SqlActionConnection {
5400
- nodes: SqlAction[];
5401
- edges: SqlActionEdge[];
5402
- pageInfo: PageInfo;
5403
- totalCount: number;
5404
- }
5405
- /** A connection to a list of `DatabaseSetting` values. */
5406
- export interface DatabaseSettingConnection {
5407
- nodes: DatabaseSetting[];
5408
- edges: DatabaseSettingEdge[];
5471
+ /** A connection to a list of `CompositeType` values. */
5472
+ export interface CompositeTypeConnection {
5473
+ nodes: CompositeType[];
5474
+ edges: CompositeTypeEdge[];
5409
5475
  pageInfo: PageInfo;
5410
5476
  totalCount: number;
5411
5477
  }
@@ -5416,6 +5482,13 @@ export interface EnumConnection {
5416
5482
  pageInfo: PageInfo;
5417
5483
  totalCount: number;
5418
5484
  }
5485
+ /** A connection to a list of `SqlAction` values. */
5486
+ export interface SqlActionConnection {
5487
+ nodes: SqlAction[];
5488
+ edges: SqlActionEdge[];
5489
+ pageInfo: PageInfo;
5490
+ totalCount: number;
5491
+ }
5419
5492
  /** A connection to a list of `View` values. */
5420
5493
  export interface ViewConnection {
5421
5494
  nodes: View[];
@@ -5423,6 +5496,13 @@ export interface ViewConnection {
5423
5496
  pageInfo: PageInfo;
5424
5497
  totalCount: number;
5425
5498
  }
5499
+ /** A connection to a list of `DatabaseSetting` values. */
5500
+ export interface DatabaseSettingConnection {
5501
+ nodes: DatabaseSetting[];
5502
+ edges: DatabaseSettingEdge[];
5503
+ pageInfo: PageInfo;
5504
+ totalCount: number;
5505
+ }
5426
5506
  /** A connection to a list of `ApiSetting` values. */
5427
5507
  export interface ApiSettingConnection {
5428
5508
  nodes: ApiSetting[];
@@ -5437,20 +5517,6 @@ export interface DatabaseTransferConnection {
5437
5517
  pageInfo: PageInfo;
5438
5518
  totalCount: number;
5439
5519
  }
5440
- /** A connection to a list of `App` values. */
5441
- export interface AppConnection {
5442
- nodes: App[];
5443
- edges: AppEdge[];
5444
- pageInfo: PageInfo;
5445
- totalCount: number;
5446
- }
5447
- /** A connection to a list of `Site` values. */
5448
- export interface SiteConnection {
5449
- nodes: Site[];
5450
- edges: SiteEdge[];
5451
- pageInfo: PageInfo;
5452
- totalCount: number;
5453
- }
5454
5520
  /** A connection to a list of `PrimaryKeyConstraint` values. */
5455
5521
  export interface PrimaryKeyConstraintConnection {
5456
5522
  nodes: PrimaryKeyConstraint[];
@@ -5493,6 +5559,20 @@ export interface PolicyConnection {
5493
5559
  pageInfo: PageInfo;
5494
5560
  totalCount: number;
5495
5561
  }
5562
+ /** A connection to a list of `App` values. */
5563
+ export interface AppConnection {
5564
+ nodes: App[];
5565
+ edges: AppEdge[];
5566
+ pageInfo: PageInfo;
5567
+ totalCount: number;
5568
+ }
5569
+ /** A connection to a list of `Site` values. */
5570
+ export interface SiteConnection {
5571
+ nodes: Site[];
5572
+ edges: SiteEdge[];
5573
+ pageInfo: PageInfo;
5574
+ totalCount: number;
5575
+ }
5496
5576
  /** A connection to a list of `Schema` values. */
5497
5577
  export interface SchemaConnection {
5498
5578
  nodes: Schema[];
@@ -5507,13 +5587,6 @@ export interface IndexConnection {
5507
5587
  pageInfo: PageInfo;
5508
5588
  totalCount: number;
5509
5589
  }
5510
- /** A connection to a list of `EmbeddingChunk` values. */
5511
- export interface EmbeddingChunkConnection {
5512
- nodes: EmbeddingChunk[];
5513
- edges: EmbeddingChunkEdge[];
5514
- pageInfo: PageInfo;
5515
- totalCount: number;
5516
- }
5517
5590
  /** A connection to a list of `ForeignKeyConstraint` values. */
5518
5591
  export interface ForeignKeyConstraintConnection {
5519
5592
  nodes: ForeignKeyConstraint[];
@@ -5521,6 +5594,13 @@ export interface ForeignKeyConstraintConnection {
5521
5594
  pageInfo: PageInfo;
5522
5595
  totalCount: number;
5523
5596
  }
5597
+ /** A connection to a list of `EmbeddingChunk` values. */
5598
+ export interface EmbeddingChunkConnection {
5599
+ nodes: EmbeddingChunk[];
5600
+ edges: EmbeddingChunkEdge[];
5601
+ pageInfo: PageInfo;
5602
+ totalCount: number;
5603
+ }
5524
5604
  /** A connection to a list of `WebauthnSetting` values. */
5525
5605
  export interface WebauthnSettingConnection {
5526
5606
  nodes: WebauthnSetting[];
@@ -5589,12 +5669,6 @@ export interface CreateFunctionPayload {
5589
5669
  function?: Function | null;
5590
5670
  functionEdge?: FunctionEdge | null;
5591
5671
  }
5592
- export interface CreateViewTablePayload {
5593
- clientMutationId?: string | null;
5594
- /** The `ViewTable` that was created by this mutation. */
5595
- viewTable?: ViewTable | null;
5596
- viewTableEdge?: ViewTableEdge | null;
5597
- }
5598
5672
  export interface CreateApiSchemaPayload {
5599
5673
  clientMutationId?: string | null;
5600
5674
  /** The `ApiSchema` that was created by this mutation. */
@@ -5607,6 +5681,12 @@ export interface CreateSiteThemePayload {
5607
5681
  siteTheme?: SiteTheme | null;
5608
5682
  siteThemeEdge?: SiteThemeEdge | null;
5609
5683
  }
5684
+ export interface CreateViewTablePayload {
5685
+ clientMutationId?: string | null;
5686
+ /** The `ViewTable` that was created by this mutation. */
5687
+ viewTable?: ViewTable | null;
5688
+ viewTableEdge?: ViewTableEdge | null;
5689
+ }
5610
5690
  export interface CreateViewRulePayload {
5611
5691
  clientMutationId?: string | null;
5612
5692
  /** The `ViewRule` that was created by this mutation. */
@@ -5720,16 +5800,11 @@ export interface CreatePartitionPayload {
5720
5800
  partition?: Partition | null;
5721
5801
  partitionEdge?: PartitionEdge | null;
5722
5802
  }
5723
- export interface CreateSqlActionPayload {
5724
- clientMutationId?: string | null;
5725
- /** The `SqlAction` that was created by this mutation. */
5726
- sqlAction?: SqlAction | null;
5727
- }
5728
- export interface CreateDatabaseSettingPayload {
5803
+ export interface CreateCompositeTypePayload {
5729
5804
  clientMutationId?: string | null;
5730
- /** The `DatabaseSetting` that was created by this mutation. */
5731
- databaseSetting?: DatabaseSetting | null;
5732
- databaseSettingEdge?: DatabaseSettingEdge | null;
5805
+ /** The `CompositeType` that was created by this mutation. */
5806
+ compositeType?: CompositeType | null;
5807
+ compositeTypeEdge?: CompositeTypeEdge | null;
5733
5808
  }
5734
5809
  export interface CreateEnumPayload {
5735
5810
  clientMutationId?: string | null;
@@ -5737,12 +5812,23 @@ export interface CreateEnumPayload {
5737
5812
  enum?: Enum | null;
5738
5813
  enumEdge?: EnumEdge | null;
5739
5814
  }
5815
+ export interface CreateSqlActionPayload {
5816
+ clientMutationId?: string | null;
5817
+ /** The `SqlAction` that was created by this mutation. */
5818
+ sqlAction?: SqlAction | null;
5819
+ }
5740
5820
  export interface CreateViewPayload {
5741
5821
  clientMutationId?: string | null;
5742
5822
  /** The `View` that was created by this mutation. */
5743
5823
  view?: View | null;
5744
5824
  viewEdge?: ViewEdge | null;
5745
5825
  }
5826
+ export interface CreateDatabaseSettingPayload {
5827
+ clientMutationId?: string | null;
5828
+ /** The `DatabaseSetting` that was created by this mutation. */
5829
+ databaseSetting?: DatabaseSetting | null;
5830
+ databaseSettingEdge?: DatabaseSettingEdge | null;
5831
+ }
5746
5832
  export interface CreateApiSettingPayload {
5747
5833
  clientMutationId?: string | null;
5748
5834
  /** The `ApiSetting` that was created by this mutation. */
@@ -5755,18 +5841,6 @@ export interface CreateDatabaseTransferPayload {
5755
5841
  databaseTransfer?: DatabaseTransfer | null;
5756
5842
  databaseTransferEdge?: DatabaseTransferEdge | null;
5757
5843
  }
5758
- export interface CreateAppPayload {
5759
- clientMutationId?: string | null;
5760
- /** The `App` that was created by this mutation. */
5761
- app?: App | null;
5762
- appEdge?: AppEdge | null;
5763
- }
5764
- export interface CreateSitePayload {
5765
- clientMutationId?: string | null;
5766
- /** The `Site` that was created by this mutation. */
5767
- site?: Site | null;
5768
- siteEdge?: SiteEdge | null;
5769
- }
5770
5844
  export interface CreatePrimaryKeyConstraintPayload {
5771
5845
  clientMutationId?: string | null;
5772
5846
  /** The `PrimaryKeyConstraint` that was created by this mutation. */
@@ -5803,6 +5877,18 @@ export interface CreatePolicyPayload {
5803
5877
  policy?: Policy | null;
5804
5878
  policyEdge?: PolicyEdge | null;
5805
5879
  }
5880
+ export interface CreateAppPayload {
5881
+ clientMutationId?: string | null;
5882
+ /** The `App` that was created by this mutation. */
5883
+ app?: App | null;
5884
+ appEdge?: AppEdge | null;
5885
+ }
5886
+ export interface CreateSitePayload {
5887
+ clientMutationId?: string | null;
5888
+ /** The `Site` that was created by this mutation. */
5889
+ site?: Site | null;
5890
+ siteEdge?: SiteEdge | null;
5891
+ }
5806
5892
  export interface CreateSchemaPayload {
5807
5893
  clientMutationId?: string | null;
5808
5894
  /** The `Schema` that was created by this mutation. */
@@ -5815,18 +5901,18 @@ export interface CreateIndexPayload {
5815
5901
  index?: Index | null;
5816
5902
  indexEdge?: IndexEdge | null;
5817
5903
  }
5818
- export interface CreateEmbeddingChunkPayload {
5819
- clientMutationId?: string | null;
5820
- /** The `EmbeddingChunk` that was created by this mutation. */
5821
- embeddingChunk?: EmbeddingChunk | null;
5822
- embeddingChunkEdge?: EmbeddingChunkEdge | null;
5823
- }
5824
5904
  export interface CreateForeignKeyConstraintPayload {
5825
5905
  clientMutationId?: string | null;
5826
5906
  /** The `ForeignKeyConstraint` that was created by this mutation. */
5827
5907
  foreignKeyConstraint?: ForeignKeyConstraint | null;
5828
5908
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
5829
5909
  }
5910
+ export interface CreateEmbeddingChunkPayload {
5911
+ clientMutationId?: string | null;
5912
+ /** The `EmbeddingChunk` that was created by this mutation. */
5913
+ embeddingChunk?: EmbeddingChunk | null;
5914
+ embeddingChunkEdge?: EmbeddingChunkEdge | null;
5915
+ }
5830
5916
  export interface CreateWebauthnSettingPayload {
5831
5917
  clientMutationId?: string | null;
5832
5918
  /** The `WebauthnSetting` that was created by this mutation. */
@@ -5856,12 +5942,6 @@ export interface UpdateFunctionPayload {
5856
5942
  function?: Function | null;
5857
5943
  functionEdge?: FunctionEdge | null;
5858
5944
  }
5859
- export interface UpdateViewTablePayload {
5860
- clientMutationId?: string | null;
5861
- /** The `ViewTable` that was updated by this mutation. */
5862
- viewTable?: ViewTable | null;
5863
- viewTableEdge?: ViewTableEdge | null;
5864
- }
5865
5945
  export interface UpdateApiSchemaPayload {
5866
5946
  clientMutationId?: string | null;
5867
5947
  /** The `ApiSchema` that was updated by this mutation. */
@@ -5874,6 +5954,12 @@ export interface UpdateSiteThemePayload {
5874
5954
  siteTheme?: SiteTheme | null;
5875
5955
  siteThemeEdge?: SiteThemeEdge | null;
5876
5956
  }
5957
+ export interface UpdateViewTablePayload {
5958
+ clientMutationId?: string | null;
5959
+ /** The `ViewTable` that was updated by this mutation. */
5960
+ viewTable?: ViewTable | null;
5961
+ viewTableEdge?: ViewTableEdge | null;
5962
+ }
5877
5963
  export interface UpdateViewRulePayload {
5878
5964
  clientMutationId?: string | null;
5879
5965
  /** The `ViewRule` that was updated by this mutation. */
@@ -5982,11 +6068,11 @@ export interface UpdatePartitionPayload {
5982
6068
  partition?: Partition | null;
5983
6069
  partitionEdge?: PartitionEdge | null;
5984
6070
  }
5985
- export interface UpdateDatabaseSettingPayload {
6071
+ export interface UpdateCompositeTypePayload {
5986
6072
  clientMutationId?: string | null;
5987
- /** The `DatabaseSetting` that was updated by this mutation. */
5988
- databaseSetting?: DatabaseSetting | null;
5989
- databaseSettingEdge?: DatabaseSettingEdge | null;
6073
+ /** The `CompositeType` that was updated by this mutation. */
6074
+ compositeType?: CompositeType | null;
6075
+ compositeTypeEdge?: CompositeTypeEdge | null;
5990
6076
  }
5991
6077
  export interface UpdateEnumPayload {
5992
6078
  clientMutationId?: string | null;
@@ -6000,6 +6086,12 @@ export interface UpdateViewPayload {
6000
6086
  view?: View | null;
6001
6087
  viewEdge?: ViewEdge | null;
6002
6088
  }
6089
+ export interface UpdateDatabaseSettingPayload {
6090
+ clientMutationId?: string | null;
6091
+ /** The `DatabaseSetting` that was updated by this mutation. */
6092
+ databaseSetting?: DatabaseSetting | null;
6093
+ databaseSettingEdge?: DatabaseSettingEdge | null;
6094
+ }
6003
6095
  export interface UpdateApiSettingPayload {
6004
6096
  clientMutationId?: string | null;
6005
6097
  /** The `ApiSetting` that was updated by this mutation. */
@@ -6012,18 +6104,6 @@ export interface UpdateDatabaseTransferPayload {
6012
6104
  databaseTransfer?: DatabaseTransfer | null;
6013
6105
  databaseTransferEdge?: DatabaseTransferEdge | null;
6014
6106
  }
6015
- export interface UpdateAppPayload {
6016
- clientMutationId?: string | null;
6017
- /** The `App` that was updated by this mutation. */
6018
- app?: App | null;
6019
- appEdge?: AppEdge | null;
6020
- }
6021
- export interface UpdateSitePayload {
6022
- clientMutationId?: string | null;
6023
- /** The `Site` that was updated by this mutation. */
6024
- site?: Site | null;
6025
- siteEdge?: SiteEdge | null;
6026
- }
6027
6107
  export interface UpdatePrimaryKeyConstraintPayload {
6028
6108
  clientMutationId?: string | null;
6029
6109
  /** The `PrimaryKeyConstraint` that was updated by this mutation. */
@@ -6060,6 +6140,18 @@ export interface UpdatePolicyPayload {
6060
6140
  policy?: Policy | null;
6061
6141
  policyEdge?: PolicyEdge | null;
6062
6142
  }
6143
+ export interface UpdateAppPayload {
6144
+ clientMutationId?: string | null;
6145
+ /** The `App` that was updated by this mutation. */
6146
+ app?: App | null;
6147
+ appEdge?: AppEdge | null;
6148
+ }
6149
+ export interface UpdateSitePayload {
6150
+ clientMutationId?: string | null;
6151
+ /** The `Site` that was updated by this mutation. */
6152
+ site?: Site | null;
6153
+ siteEdge?: SiteEdge | null;
6154
+ }
6063
6155
  export interface UpdateSchemaPayload {
6064
6156
  clientMutationId?: string | null;
6065
6157
  /** The `Schema` that was updated by this mutation. */
@@ -6072,18 +6164,18 @@ export interface UpdateIndexPayload {
6072
6164
  index?: Index | null;
6073
6165
  indexEdge?: IndexEdge | null;
6074
6166
  }
6075
- export interface UpdateEmbeddingChunkPayload {
6076
- clientMutationId?: string | null;
6077
- /** The `EmbeddingChunk` that was updated by this mutation. */
6078
- embeddingChunk?: EmbeddingChunk | null;
6079
- embeddingChunkEdge?: EmbeddingChunkEdge | null;
6080
- }
6081
6167
  export interface UpdateForeignKeyConstraintPayload {
6082
6168
  clientMutationId?: string | null;
6083
6169
  /** The `ForeignKeyConstraint` that was updated by this mutation. */
6084
6170
  foreignKeyConstraint?: ForeignKeyConstraint | null;
6085
6171
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
6086
6172
  }
6173
+ export interface UpdateEmbeddingChunkPayload {
6174
+ clientMutationId?: string | null;
6175
+ /** The `EmbeddingChunk` that was updated by this mutation. */
6176
+ embeddingChunk?: EmbeddingChunk | null;
6177
+ embeddingChunkEdge?: EmbeddingChunkEdge | null;
6178
+ }
6087
6179
  export interface UpdateWebauthnSettingPayload {
6088
6180
  clientMutationId?: string | null;
6089
6181
  /** The `WebauthnSetting` that was updated by this mutation. */
@@ -6108,12 +6200,6 @@ export interface DeleteFunctionPayload {
6108
6200
  function?: Function | null;
6109
6201
  functionEdge?: FunctionEdge | null;
6110
6202
  }
6111
- export interface DeleteViewTablePayload {
6112
- clientMutationId?: string | null;
6113
- /** The `ViewTable` that was deleted by this mutation. */
6114
- viewTable?: ViewTable | null;
6115
- viewTableEdge?: ViewTableEdge | null;
6116
- }
6117
6203
  export interface DeleteApiSchemaPayload {
6118
6204
  clientMutationId?: string | null;
6119
6205
  /** The `ApiSchema` that was deleted by this mutation. */
@@ -6126,6 +6212,12 @@ export interface DeleteSiteThemePayload {
6126
6212
  siteTheme?: SiteTheme | null;
6127
6213
  siteThemeEdge?: SiteThemeEdge | null;
6128
6214
  }
6215
+ export interface DeleteViewTablePayload {
6216
+ clientMutationId?: string | null;
6217
+ /** The `ViewTable` that was deleted by this mutation. */
6218
+ viewTable?: ViewTable | null;
6219
+ viewTableEdge?: ViewTableEdge | null;
6220
+ }
6129
6221
  export interface DeleteViewRulePayload {
6130
6222
  clientMutationId?: string | null;
6131
6223
  /** The `ViewRule` that was deleted by this mutation. */
@@ -6234,11 +6326,11 @@ export interface DeletePartitionPayload {
6234
6326
  partition?: Partition | null;
6235
6327
  partitionEdge?: PartitionEdge | null;
6236
6328
  }
6237
- export interface DeleteDatabaseSettingPayload {
6329
+ export interface DeleteCompositeTypePayload {
6238
6330
  clientMutationId?: string | null;
6239
- /** The `DatabaseSetting` that was deleted by this mutation. */
6240
- databaseSetting?: DatabaseSetting | null;
6241
- databaseSettingEdge?: DatabaseSettingEdge | null;
6331
+ /** The `CompositeType` that was deleted by this mutation. */
6332
+ compositeType?: CompositeType | null;
6333
+ compositeTypeEdge?: CompositeTypeEdge | null;
6242
6334
  }
6243
6335
  export interface DeleteEnumPayload {
6244
6336
  clientMutationId?: string | null;
@@ -6252,6 +6344,12 @@ export interface DeleteViewPayload {
6252
6344
  view?: View | null;
6253
6345
  viewEdge?: ViewEdge | null;
6254
6346
  }
6347
+ export interface DeleteDatabaseSettingPayload {
6348
+ clientMutationId?: string | null;
6349
+ /** The `DatabaseSetting` that was deleted by this mutation. */
6350
+ databaseSetting?: DatabaseSetting | null;
6351
+ databaseSettingEdge?: DatabaseSettingEdge | null;
6352
+ }
6255
6353
  export interface DeleteApiSettingPayload {
6256
6354
  clientMutationId?: string | null;
6257
6355
  /** The `ApiSetting` that was deleted by this mutation. */
@@ -6264,18 +6362,6 @@ export interface DeleteDatabaseTransferPayload {
6264
6362
  databaseTransfer?: DatabaseTransfer | null;
6265
6363
  databaseTransferEdge?: DatabaseTransferEdge | null;
6266
6364
  }
6267
- export interface DeleteAppPayload {
6268
- clientMutationId?: string | null;
6269
- /** The `App` that was deleted by this mutation. */
6270
- app?: App | null;
6271
- appEdge?: AppEdge | null;
6272
- }
6273
- export interface DeleteSitePayload {
6274
- clientMutationId?: string | null;
6275
- /** The `Site` that was deleted by this mutation. */
6276
- site?: Site | null;
6277
- siteEdge?: SiteEdge | null;
6278
- }
6279
6365
  export interface DeletePrimaryKeyConstraintPayload {
6280
6366
  clientMutationId?: string | null;
6281
6367
  /** The `PrimaryKeyConstraint` that was deleted by this mutation. */
@@ -6312,6 +6398,18 @@ export interface DeletePolicyPayload {
6312
6398
  policy?: Policy | null;
6313
6399
  policyEdge?: PolicyEdge | null;
6314
6400
  }
6401
+ export interface DeleteAppPayload {
6402
+ clientMutationId?: string | null;
6403
+ /** The `App` that was deleted by this mutation. */
6404
+ app?: App | null;
6405
+ appEdge?: AppEdge | null;
6406
+ }
6407
+ export interface DeleteSitePayload {
6408
+ clientMutationId?: string | null;
6409
+ /** The `Site` that was deleted by this mutation. */
6410
+ site?: Site | null;
6411
+ siteEdge?: SiteEdge | null;
6412
+ }
6315
6413
  export interface DeleteSchemaPayload {
6316
6414
  clientMutationId?: string | null;
6317
6415
  /** The `Schema` that was deleted by this mutation. */
@@ -6324,18 +6422,18 @@ export interface DeleteIndexPayload {
6324
6422
  index?: Index | null;
6325
6423
  indexEdge?: IndexEdge | null;
6326
6424
  }
6327
- export interface DeleteEmbeddingChunkPayload {
6328
- clientMutationId?: string | null;
6329
- /** The `EmbeddingChunk` that was deleted by this mutation. */
6330
- embeddingChunk?: EmbeddingChunk | null;
6331
- embeddingChunkEdge?: EmbeddingChunkEdge | null;
6332
- }
6333
6425
  export interface DeleteForeignKeyConstraintPayload {
6334
6426
  clientMutationId?: string | null;
6335
6427
  /** The `ForeignKeyConstraint` that was deleted by this mutation. */
6336
6428
  foreignKeyConstraint?: ForeignKeyConstraint | null;
6337
6429
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
6338
6430
  }
6431
+ export interface DeleteEmbeddingChunkPayload {
6432
+ clientMutationId?: string | null;
6433
+ /** The `EmbeddingChunk` that was deleted by this mutation. */
6434
+ embeddingChunk?: EmbeddingChunk | null;
6435
+ embeddingChunkEdge?: EmbeddingChunkEdge | null;
6436
+ }
6339
6437
  export interface DeleteWebauthnSettingPayload {
6340
6438
  clientMutationId?: string | null;
6341
6439
  /** The `WebauthnSetting` that was deleted by this mutation. */
@@ -6385,12 +6483,6 @@ export interface PageInfo {
6385
6483
  /** When paginating forwards, the cursor to continue. */
6386
6484
  endCursor?: string | null;
6387
6485
  }
6388
- /** A `ViewTable` edge in the connection. */
6389
- export interface ViewTableEdge {
6390
- cursor?: string | null;
6391
- /** The `ViewTable` at the end of the edge. */
6392
- node?: ViewTable | null;
6393
- }
6394
6486
  /** A `ApiSchema` edge in the connection. */
6395
6487
  export interface ApiSchemaEdge {
6396
6488
  cursor?: string | null;
@@ -6403,6 +6495,12 @@ export interface SiteThemeEdge {
6403
6495
  /** The `SiteTheme` at the end of the edge. */
6404
6496
  node?: SiteTheme | null;
6405
6497
  }
6498
+ /** A `ViewTable` edge in the connection. */
6499
+ export interface ViewTableEdge {
6500
+ cursor?: string | null;
6501
+ /** The `ViewTable` at the end of the edge. */
6502
+ node?: ViewTable | null;
6503
+ }
6406
6504
  /** A `ViewRule` edge in the connection. */
6407
6505
  export interface ViewRuleEdge {
6408
6506
  cursor?: string | null;
@@ -6517,17 +6615,11 @@ export interface PartitionEdge {
6517
6615
  /** The `Partition` at the end of the edge. */
6518
6616
  node?: Partition | null;
6519
6617
  }
6520
- /** A `SqlAction` edge in the connection. */
6521
- export interface SqlActionEdge {
6522
- cursor?: string | null;
6523
- /** The `SqlAction` at the end of the edge. */
6524
- node?: SqlAction | null;
6525
- }
6526
- /** A `DatabaseSetting` edge in the connection. */
6527
- export interface DatabaseSettingEdge {
6618
+ /** A `CompositeType` edge in the connection. */
6619
+ export interface CompositeTypeEdge {
6528
6620
  cursor?: string | null;
6529
- /** The `DatabaseSetting` at the end of the edge. */
6530
- node?: DatabaseSetting | null;
6621
+ /** The `CompositeType` at the end of the edge. */
6622
+ node?: CompositeType | null;
6531
6623
  }
6532
6624
  /** A `Enum` edge in the connection. */
6533
6625
  export interface EnumEdge {
@@ -6535,12 +6627,24 @@ export interface EnumEdge {
6535
6627
  /** The `Enum` at the end of the edge. */
6536
6628
  node?: Enum | null;
6537
6629
  }
6630
+ /** A `SqlAction` edge in the connection. */
6631
+ export interface SqlActionEdge {
6632
+ cursor?: string | null;
6633
+ /** The `SqlAction` at the end of the edge. */
6634
+ node?: SqlAction | null;
6635
+ }
6538
6636
  /** A `View` edge in the connection. */
6539
6637
  export interface ViewEdge {
6540
6638
  cursor?: string | null;
6541
6639
  /** The `View` at the end of the edge. */
6542
6640
  node?: View | null;
6543
6641
  }
6642
+ /** A `DatabaseSetting` edge in the connection. */
6643
+ export interface DatabaseSettingEdge {
6644
+ cursor?: string | null;
6645
+ /** The `DatabaseSetting` at the end of the edge. */
6646
+ node?: DatabaseSetting | null;
6647
+ }
6544
6648
  /** A `ApiSetting` edge in the connection. */
6545
6649
  export interface ApiSettingEdge {
6546
6650
  cursor?: string | null;
@@ -6553,18 +6657,6 @@ export interface DatabaseTransferEdge {
6553
6657
  /** The `DatabaseTransfer` at the end of the edge. */
6554
6658
  node?: DatabaseTransfer | null;
6555
6659
  }
6556
- /** A `App` edge in the connection. */
6557
- export interface AppEdge {
6558
- cursor?: string | null;
6559
- /** The `App` at the end of the edge. */
6560
- node?: App | null;
6561
- }
6562
- /** A `Site` edge in the connection. */
6563
- export interface SiteEdge {
6564
- cursor?: string | null;
6565
- /** The `Site` at the end of the edge. */
6566
- node?: Site | null;
6567
- }
6568
6660
  /** A `PrimaryKeyConstraint` edge in the connection. */
6569
6661
  export interface PrimaryKeyConstraintEdge {
6570
6662
  cursor?: string | null;
@@ -6601,6 +6693,18 @@ export interface PolicyEdge {
6601
6693
  /** The `Policy` at the end of the edge. */
6602
6694
  node?: Policy | null;
6603
6695
  }
6696
+ /** A `App` edge in the connection. */
6697
+ export interface AppEdge {
6698
+ cursor?: string | null;
6699
+ /** The `App` at the end of the edge. */
6700
+ node?: App | null;
6701
+ }
6702
+ /** A `Site` edge in the connection. */
6703
+ export interface SiteEdge {
6704
+ cursor?: string | null;
6705
+ /** The `Site` at the end of the edge. */
6706
+ node?: Site | null;
6707
+ }
6604
6708
  /** A `Schema` edge in the connection. */
6605
6709
  export interface SchemaEdge {
6606
6710
  cursor?: string | null;
@@ -6613,18 +6717,18 @@ export interface IndexEdge {
6613
6717
  /** The `Index` at the end of the edge. */
6614
6718
  node?: Index | null;
6615
6719
  }
6616
- /** A `EmbeddingChunk` edge in the connection. */
6617
- export interface EmbeddingChunkEdge {
6618
- cursor?: string | null;
6619
- /** The `EmbeddingChunk` at the end of the edge. */
6620
- node?: EmbeddingChunk | null;
6621
- }
6622
6720
  /** A `ForeignKeyConstraint` edge in the connection. */
6623
6721
  export interface ForeignKeyConstraintEdge {
6624
6722
  cursor?: string | null;
6625
6723
  /** The `ForeignKeyConstraint` at the end of the edge. */
6626
6724
  node?: ForeignKeyConstraint | null;
6627
6725
  }
6726
+ /** A `EmbeddingChunk` edge in the connection. */
6727
+ export interface EmbeddingChunkEdge {
6728
+ cursor?: string | null;
6729
+ /** The `EmbeddingChunk` at the end of the edge. */
6730
+ node?: EmbeddingChunk | null;
6731
+ }
6628
6732
  /** A `WebauthnSetting` edge in the connection. */
6629
6733
  export interface WebauthnSettingEdge {
6630
6734
  cursor?: string | null;