@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
@@ -229,7 +229,7 @@ export interface UUIDListFilter {
229
229
  anyGreaterThan?: string;
230
230
  anyGreaterThanOrEqualTo?: string;
231
231
  }
232
- export type ObjectCategory = 'CORE' | 'MODULE' | 'APP';
232
+ export type ObjectCategory = 'CORE' | 'MODULE' | 'PERMISSIONS' | 'AUTH' | 'MEMBERSHIPS' | 'APP';
233
233
  export type ConstructiveInternalTypeAttachment = unknown;
234
234
  export type ConstructiveInternalTypeHostname = unknown;
235
235
  export type ConstructiveInternalTypeImage = unknown;
@@ -250,7 +250,6 @@ export interface Schema {
250
250
  description?: string | null;
251
251
  smartTags?: Record<string, unknown> | null;
252
252
  category?: ObjectCategory | null;
253
- module?: string | null;
254
253
  scope?: number | null;
255
254
  tags?: string[] | null;
256
255
  isPublic?: boolean | null;
@@ -266,7 +265,6 @@ export interface Table {
266
265
  description?: string | null;
267
266
  smartTags?: Record<string, unknown> | null;
268
267
  category?: ObjectCategory | null;
269
- module?: string | null;
270
268
  scope?: number | null;
271
269
  useRls?: boolean | null;
272
270
  timestamps?: boolean | null;
@@ -278,9 +276,9 @@ export interface Table {
278
276
  partitionStrategy?: string | null;
279
277
  partitionKeyNames?: string[] | null;
280
278
  partitionKeyTypes?: string[] | null;
281
- inheritsId?: string | null;
282
279
  createdAt?: string | null;
283
280
  updatedAt?: string | null;
281
+ inheritsId?: string | null;
284
282
  }
285
283
  export interface CheckConstraint {
286
284
  id: string;
@@ -292,7 +290,6 @@ export interface CheckConstraint {
292
290
  expr?: Record<string, unknown> | null;
293
291
  smartTags?: Record<string, unknown> | null;
294
292
  category?: ObjectCategory | null;
295
- module?: string | null;
296
293
  scope?: number | null;
297
294
  tags?: string[] | null;
298
295
  createdAt?: string | null;
@@ -318,7 +315,6 @@ export interface Field {
318
315
  max?: number | null;
319
316
  tags?: string[] | null;
320
317
  category?: ObjectCategory | null;
321
- module?: string | null;
322
318
  scope?: number | null;
323
319
  createdAt?: string | null;
324
320
  updatedAt?: string | null;
@@ -334,7 +330,6 @@ export interface SpatialRelation {
334
330
  operator?: string | null;
335
331
  paramName?: string | null;
336
332
  category?: ObjectCategory | null;
337
- module?: string | null;
338
333
  scope?: number | null;
339
334
  tags?: string[] | null;
340
335
  createdAt?: string | null;
@@ -354,7 +349,6 @@ export interface ForeignKeyConstraint {
354
349
  deleteAction?: string | null;
355
350
  updateAction?: string | null;
356
351
  category?: ObjectCategory | null;
357
- module?: string | null;
358
352
  scope?: number | null;
359
353
  tags?: string[] | null;
360
354
  createdAt?: string | null;
@@ -387,7 +381,6 @@ export interface Index {
387
381
  opClasses?: string[] | null;
388
382
  smartTags?: Record<string, unknown> | null;
389
383
  category?: ObjectCategory | null;
390
- module?: string | null;
391
384
  scope?: number | null;
392
385
  tags?: string[] | null;
393
386
  createdAt?: string | null;
@@ -406,7 +399,6 @@ export interface Policy {
406
399
  data?: Record<string, unknown> | null;
407
400
  smartTags?: Record<string, unknown> | null;
408
401
  category?: ObjectCategory | null;
409
- module?: string | null;
410
402
  scope?: number | null;
411
403
  tags?: string[] | null;
412
404
  createdAt?: string | null;
@@ -421,7 +413,6 @@ export interface PrimaryKeyConstraint {
421
413
  fieldIds?: string[] | null;
422
414
  smartTags?: Record<string, unknown> | null;
423
415
  category?: ObjectCategory | null;
424
- module?: string | null;
425
416
  scope?: number | null;
426
417
  tags?: string[] | null;
427
418
  createdAt?: string | null;
@@ -447,7 +438,6 @@ export interface Trigger {
447
438
  functionName?: string | null;
448
439
  smartTags?: Record<string, unknown> | null;
449
440
  category?: ObjectCategory | null;
450
- module?: string | null;
451
441
  scope?: number | null;
452
442
  tags?: string[] | null;
453
443
  createdAt?: string | null;
@@ -463,7 +453,6 @@ export interface UniqueConstraint {
463
453
  type?: string | null;
464
454
  fieldIds?: string[] | null;
465
455
  category?: ObjectCategory | null;
466
- module?: string | null;
467
456
  scope?: number | null;
468
457
  tags?: string[] | null;
469
458
  createdAt?: string | null;
@@ -483,13 +472,13 @@ export interface View {
483
472
  isReadOnly?: boolean | null;
484
473
  smartTags?: Record<string, unknown> | null;
485
474
  category?: ObjectCategory | null;
486
- module?: string | null;
487
475
  scope?: number | null;
488
476
  tags?: string[] | null;
489
477
  }
490
478
  /** Junction table linking views to their joined tables for referential integrity */
491
479
  export interface ViewTable {
492
480
  id: string;
481
+ databaseId?: string | null;
493
482
  viewId?: string | null;
494
483
  tableId?: string | null;
495
484
  joinOrder?: number | null;
@@ -564,7 +553,19 @@ export interface Enum {
564
553
  values?: string[] | null;
565
554
  smartTags?: Record<string, unknown> | null;
566
555
  category?: ObjectCategory | null;
567
- module?: string | null;
556
+ scope?: number | null;
557
+ tags?: string[] | null;
558
+ }
559
+ export interface CompositeType {
560
+ id: string;
561
+ databaseId?: string | null;
562
+ schemaId?: string | null;
563
+ name?: string | null;
564
+ label?: string | null;
565
+ description?: string | null;
566
+ attributes?: Record<string, unknown> | null;
567
+ smartTags?: Record<string, unknown> | null;
568
+ category?: ObjectCategory | null;
568
569
  scope?: number | null;
569
570
  tags?: string[] | null;
570
571
  }
@@ -983,6 +984,7 @@ export interface SchemaRelations {
983
984
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
984
985
  enums?: ConnectionResult<Enum>;
985
986
  functions?: ConnectionResult<Function>;
987
+ compositeTypes?: ConnectionResult<CompositeType>;
986
988
  apiSchemas?: ConnectionResult<ApiSchema>;
987
989
  }
988
990
  export interface TableRelations {
@@ -1066,6 +1068,7 @@ export interface ViewRelations {
1066
1068
  viewRules?: ConnectionResult<ViewRule>;
1067
1069
  }
1068
1070
  export interface ViewTableRelations {
1071
+ database?: Database | null;
1069
1072
  table?: Table | null;
1070
1073
  view?: View | null;
1071
1074
  }
@@ -1096,6 +1099,10 @@ export interface EnumRelations {
1096
1099
  database?: Database | null;
1097
1100
  schema?: Schema | null;
1098
1101
  }
1102
+ export interface CompositeTypeRelations {
1103
+ database?: Database | null;
1104
+ schema?: Schema | null;
1105
+ }
1099
1106
  export interface ApiSchemaRelations {
1100
1107
  api?: Api | null;
1101
1108
  database?: Database | null;
@@ -1193,6 +1200,7 @@ export interface DatabaseRelations {
1193
1200
  triggers?: ConnectionResult<Trigger>;
1194
1201
  uniqueConstraints?: ConnectionResult<UniqueConstraint>;
1195
1202
  views?: ConnectionResult<View>;
1203
+ viewTables?: ConnectionResult<ViewTable>;
1196
1204
  viewGrants?: ConnectionResult<ViewGrant>;
1197
1205
  viewRules?: ConnectionResult<ViewRule>;
1198
1206
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
@@ -1201,6 +1209,7 @@ export interface DatabaseRelations {
1201
1209
  spatialRelations?: ConnectionResult<SpatialRelation>;
1202
1210
  functions?: ConnectionResult<Function>;
1203
1211
  partitions?: ConnectionResult<Partition>;
1212
+ compositeTypes?: ConnectionResult<CompositeType>;
1204
1213
  databaseTransfers?: ConnectionResult<DatabaseTransfer>;
1205
1214
  apis?: ConnectionResult<Api>;
1206
1215
  apiModules?: ConnectionResult<ApiModule>;
@@ -1266,6 +1275,7 @@ export type EmbeddingChunkWithRelations = EmbeddingChunk & EmbeddingChunkRelatio
1266
1275
  export type SchemaGrantWithRelations = SchemaGrant & SchemaGrantRelations;
1267
1276
  export type DefaultPrivilegeWithRelations = DefaultPrivilege & DefaultPrivilegeRelations;
1268
1277
  export type EnumWithRelations = Enum & EnumRelations;
1278
+ export type CompositeTypeWithRelations = CompositeType & CompositeTypeRelations;
1269
1279
  export type ApiSchemaWithRelations = ApiSchema & ApiSchemaRelations;
1270
1280
  export type ApiModuleWithRelations = ApiModule & ApiModuleRelations;
1271
1281
  export type DomainWithRelations = Domain & DomainRelations;
@@ -1310,7 +1320,6 @@ export type SchemaSelect = {
1310
1320
  description?: boolean;
1311
1321
  smartTags?: boolean;
1312
1322
  category?: boolean;
1313
- module?: boolean;
1314
1323
  scope?: boolean;
1315
1324
  tags?: boolean;
1316
1325
  isPublic?: boolean;
@@ -1355,6 +1364,12 @@ export type SchemaSelect = {
1355
1364
  filter?: FunctionFilter;
1356
1365
  orderBy?: FunctionOrderBy[];
1357
1366
  };
1367
+ compositeTypes?: {
1368
+ select: CompositeTypeSelect;
1369
+ first?: number;
1370
+ filter?: CompositeTypeFilter;
1371
+ orderBy?: CompositeTypeOrderBy[];
1372
+ };
1358
1373
  apiSchemas?: {
1359
1374
  select: ApiSchemaSelect;
1360
1375
  first?: number;
@@ -1371,7 +1386,6 @@ export type TableSelect = {
1371
1386
  description?: boolean;
1372
1387
  smartTags?: boolean;
1373
1388
  category?: boolean;
1374
- module?: boolean;
1375
1389
  scope?: boolean;
1376
1390
  useRls?: boolean;
1377
1391
  timestamps?: boolean;
@@ -1383,9 +1397,9 @@ export type TableSelect = {
1383
1397
  partitionStrategy?: boolean;
1384
1398
  partitionKeyNames?: boolean;
1385
1399
  partitionKeyTypes?: boolean;
1386
- inheritsId?: boolean;
1387
1400
  createdAt?: boolean;
1388
1401
  updatedAt?: boolean;
1402
+ inheritsId?: boolean;
1389
1403
  database?: {
1390
1404
  select: DatabaseSelect;
1391
1405
  };
@@ -1505,7 +1519,6 @@ export type CheckConstraintSelect = {
1505
1519
  expr?: boolean;
1506
1520
  smartTags?: boolean;
1507
1521
  category?: boolean;
1508
- module?: boolean;
1509
1522
  scope?: boolean;
1510
1523
  tags?: boolean;
1511
1524
  createdAt?: boolean;
@@ -1537,7 +1550,6 @@ export type FieldSelect = {
1537
1550
  max?: boolean;
1538
1551
  tags?: boolean;
1539
1552
  category?: boolean;
1540
- module?: boolean;
1541
1553
  scope?: boolean;
1542
1554
  createdAt?: boolean;
1543
1555
  updatedAt?: boolean;
@@ -1571,7 +1583,6 @@ export type SpatialRelationSelect = {
1571
1583
  operator?: boolean;
1572
1584
  paramName?: boolean;
1573
1585
  category?: boolean;
1574
- module?: boolean;
1575
1586
  scope?: boolean;
1576
1587
  tags?: boolean;
1577
1588
  createdAt?: boolean;
@@ -1606,7 +1617,6 @@ export type ForeignKeyConstraintSelect = {
1606
1617
  deleteAction?: boolean;
1607
1618
  updateAction?: boolean;
1608
1619
  category?: boolean;
1609
- module?: boolean;
1610
1620
  scope?: boolean;
1611
1621
  tags?: boolean;
1612
1622
  createdAt?: boolean;
@@ -1654,7 +1664,6 @@ export type IndexSelect = {
1654
1664
  opClasses?: boolean;
1655
1665
  smartTags?: boolean;
1656
1666
  category?: boolean;
1657
- module?: boolean;
1658
1667
  scope?: boolean;
1659
1668
  tags?: boolean;
1660
1669
  createdAt?: boolean;
@@ -1679,7 +1688,6 @@ export type PolicySelect = {
1679
1688
  data?: boolean;
1680
1689
  smartTags?: boolean;
1681
1690
  category?: boolean;
1682
- module?: boolean;
1683
1691
  scope?: boolean;
1684
1692
  tags?: boolean;
1685
1693
  createdAt?: boolean;
@@ -1700,7 +1708,6 @@ export type PrimaryKeyConstraintSelect = {
1700
1708
  fieldIds?: boolean;
1701
1709
  smartTags?: boolean;
1702
1710
  category?: boolean;
1703
- module?: boolean;
1704
1711
  scope?: boolean;
1705
1712
  tags?: boolean;
1706
1713
  createdAt?: boolean;
@@ -1738,7 +1745,6 @@ export type TriggerSelect = {
1738
1745
  functionName?: boolean;
1739
1746
  smartTags?: boolean;
1740
1747
  category?: boolean;
1741
- module?: boolean;
1742
1748
  scope?: boolean;
1743
1749
  tags?: boolean;
1744
1750
  createdAt?: boolean;
@@ -1760,7 +1766,6 @@ export type UniqueConstraintSelect = {
1760
1766
  type?: boolean;
1761
1767
  fieldIds?: boolean;
1762
1768
  category?: boolean;
1763
- module?: boolean;
1764
1769
  scope?: boolean;
1765
1770
  tags?: boolean;
1766
1771
  createdAt?: boolean;
@@ -1786,7 +1791,6 @@ export type ViewSelect = {
1786
1791
  isReadOnly?: boolean;
1787
1792
  smartTags?: boolean;
1788
1793
  category?: boolean;
1789
- module?: boolean;
1790
1794
  scope?: boolean;
1791
1795
  tags?: boolean;
1792
1796
  database?: {
@@ -1819,9 +1823,13 @@ export type ViewSelect = {
1819
1823
  };
1820
1824
  export type ViewTableSelect = {
1821
1825
  id?: boolean;
1826
+ databaseId?: boolean;
1822
1827
  viewId?: boolean;
1823
1828
  tableId?: boolean;
1824
1829
  joinOrder?: boolean;
1830
+ database?: {
1831
+ select: DatabaseSelect;
1832
+ };
1825
1833
  table?: {
1826
1834
  select: TableSelect;
1827
1835
  };
@@ -1935,7 +1943,25 @@ export type EnumSelect = {
1935
1943
  values?: boolean;
1936
1944
  smartTags?: boolean;
1937
1945
  category?: boolean;
1938
- module?: boolean;
1946
+ scope?: boolean;
1947
+ tags?: boolean;
1948
+ database?: {
1949
+ select: DatabaseSelect;
1950
+ };
1951
+ schema?: {
1952
+ select: SchemaSelect;
1953
+ };
1954
+ };
1955
+ export type CompositeTypeSelect = {
1956
+ id?: boolean;
1957
+ databaseId?: boolean;
1958
+ schemaId?: boolean;
1959
+ name?: boolean;
1960
+ label?: boolean;
1961
+ description?: boolean;
1962
+ attributes?: boolean;
1963
+ smartTags?: boolean;
1964
+ category?: boolean;
1939
1965
  scope?: boolean;
1940
1966
  tags?: boolean;
1941
1967
  database?: {
@@ -2370,6 +2396,12 @@ export type DatabaseSelect = {
2370
2396
  filter?: ViewFilter;
2371
2397
  orderBy?: ViewOrderBy[];
2372
2398
  };
2399
+ viewTables?: {
2400
+ select: ViewTableSelect;
2401
+ first?: number;
2402
+ filter?: ViewTableFilter;
2403
+ orderBy?: ViewTableOrderBy[];
2404
+ };
2373
2405
  viewGrants?: {
2374
2406
  select: ViewGrantSelect;
2375
2407
  first?: number;
@@ -2418,6 +2450,12 @@ export type DatabaseSelect = {
2418
2450
  filter?: PartitionFilter;
2419
2451
  orderBy?: PartitionOrderBy[];
2420
2452
  };
2453
+ compositeTypes?: {
2454
+ select: CompositeTypeSelect;
2455
+ first?: number;
2456
+ filter?: CompositeTypeFilter;
2457
+ orderBy?: CompositeTypeOrderBy[];
2458
+ };
2421
2459
  databaseTransfers?: {
2422
2460
  select: DatabaseTransferSelect;
2423
2461
  first?: number;
@@ -2667,8 +2705,6 @@ export interface SchemaFilter {
2667
2705
  smartTags?: JSONFilter;
2668
2706
  /** Filter by the object’s `category` field. */
2669
2707
  category?: ObjectCategoryFilter;
2670
- /** Filter by the object’s `module` field. */
2671
- module?: StringFilter;
2672
2708
  /** Filter by the object’s `scope` field. */
2673
2709
  scope?: IntFilter;
2674
2710
  /** Filter by the object’s `tags` field. */
@@ -2711,6 +2747,10 @@ export interface SchemaFilter {
2711
2747
  functions?: SchemaToManyFunctionFilter;
2712
2748
  /** `functions` exist. */
2713
2749
  functionsExist?: boolean;
2750
+ /** Filter by the object’s `compositeTypes` relation. */
2751
+ compositeTypes?: SchemaToManyCompositeTypeFilter;
2752
+ /** `compositeTypes` exist. */
2753
+ compositeTypesExist?: boolean;
2714
2754
  /** Filter by the object’s `apiSchemas` relation. */
2715
2755
  apiSchemas?: SchemaToManyApiSchemaFilter;
2716
2756
  /** `apiSchemas` exist. */
@@ -2733,8 +2773,6 @@ export interface TableFilter {
2733
2773
  smartTags?: JSONFilter;
2734
2774
  /** Filter by the object’s `category` field. */
2735
2775
  category?: ObjectCategoryFilter;
2736
- /** Filter by the object’s `module` field. */
2737
- module?: StringFilter;
2738
2776
  /** Filter by the object’s `scope` field. */
2739
2777
  scope?: IntFilter;
2740
2778
  /** Filter by the object’s `useRls` field. */
@@ -2757,12 +2795,12 @@ export interface TableFilter {
2757
2795
  partitionKeyNames?: StringListFilter;
2758
2796
  /** Filter by the object’s `partitionKeyTypes` field. */
2759
2797
  partitionKeyTypes?: StringListFilter;
2760
- /** Filter by the object’s `inheritsId` field. */
2761
- inheritsId?: UUIDFilter;
2762
2798
  /** Filter by the object’s `createdAt` field. */
2763
2799
  createdAt?: DatetimeFilter;
2764
2800
  /** Filter by the object’s `updatedAt` field. */
2765
2801
  updatedAt?: DatetimeFilter;
2802
+ /** Filter by the object’s `inheritsId` field. */
2803
+ inheritsId?: UUIDFilter;
2766
2804
  /** Checks for all expressions in this list. */
2767
2805
  and?: TableFilter[];
2768
2806
  /** Checks for any expressions in this list. */
@@ -2865,8 +2903,6 @@ export interface CheckConstraintFilter {
2865
2903
  smartTags?: JSONFilter;
2866
2904
  /** Filter by the object’s `category` field. */
2867
2905
  category?: ObjectCategoryFilter;
2868
- /** Filter by the object’s `module` field. */
2869
- module?: StringFilter;
2870
2906
  /** Filter by the object’s `scope` field. */
2871
2907
  scope?: IntFilter;
2872
2908
  /** Filter by the object’s `tags` field. */
@@ -2925,8 +2961,6 @@ export interface FieldFilter {
2925
2961
  tags?: StringListFilter;
2926
2962
  /** Filter by the object’s `category` field. */
2927
2963
  category?: ObjectCategoryFilter;
2928
- /** Filter by the object’s `module` field. */
2929
- module?: StringFilter;
2930
2964
  /** Filter by the object’s `scope` field. */
2931
2965
  scope?: IntFilter;
2932
2966
  /** Filter by the object’s `createdAt` field. */
@@ -2973,8 +3007,6 @@ export interface SpatialRelationFilter {
2973
3007
  paramName?: StringFilter;
2974
3008
  /** Filter by the object’s `category` field. */
2975
3009
  category?: ObjectCategoryFilter;
2976
- /** Filter by the object’s `module` field. */
2977
- module?: StringFilter;
2978
3010
  /** Filter by the object’s `scope` field. */
2979
3011
  scope?: IntFilter;
2980
3012
  /** Filter by the object’s `tags` field. */
@@ -3027,8 +3059,6 @@ export interface ForeignKeyConstraintFilter {
3027
3059
  updateAction?: StringFilter;
3028
3060
  /** Filter by the object’s `category` field. */
3029
3061
  category?: ObjectCategoryFilter;
3030
- /** Filter by the object’s `module` field. */
3031
- module?: StringFilter;
3032
3062
  /** Filter by the object’s `scope` field. */
3033
3063
  scope?: IntFilter;
3034
3064
  /** Filter by the object’s `tags` field. */
@@ -3111,8 +3141,6 @@ export interface IndexFilter {
3111
3141
  smartTags?: JSONFilter;
3112
3142
  /** Filter by the object’s `category` field. */
3113
3143
  category?: ObjectCategoryFilter;
3114
- /** Filter by the object’s `module` field. */
3115
- module?: StringFilter;
3116
3144
  /** Filter by the object’s `scope` field. */
3117
3145
  scope?: IntFilter;
3118
3146
  /** Filter by the object’s `tags` field. */
@@ -3157,8 +3185,6 @@ export interface PolicyFilter {
3157
3185
  smartTags?: JSONFilter;
3158
3186
  /** Filter by the object’s `category` field. */
3159
3187
  category?: ObjectCategoryFilter;
3160
- /** Filter by the object’s `module` field. */
3161
- module?: StringFilter;
3162
3188
  /** Filter by the object’s `scope` field. */
3163
3189
  scope?: IntFilter;
3164
3190
  /** Filter by the object’s `tags` field. */
@@ -3195,8 +3221,6 @@ export interface PrimaryKeyConstraintFilter {
3195
3221
  smartTags?: JSONFilter;
3196
3222
  /** Filter by the object’s `category` field. */
3197
3223
  category?: ObjectCategoryFilter;
3198
- /** Filter by the object’s `module` field. */
3199
- module?: StringFilter;
3200
3224
  /** Filter by the object’s `scope` field. */
3201
3225
  scope?: IntFilter;
3202
3226
  /** Filter by the object’s `tags` field. */
@@ -3263,8 +3287,6 @@ export interface TriggerFilter {
3263
3287
  smartTags?: JSONFilter;
3264
3288
  /** Filter by the object’s `category` field. */
3265
3289
  category?: ObjectCategoryFilter;
3266
- /** Filter by the object’s `module` field. */
3267
- module?: StringFilter;
3268
3290
  /** Filter by the object’s `scope` field. */
3269
3291
  scope?: IntFilter;
3270
3292
  /** Filter by the object’s `tags` field. */
@@ -3303,8 +3325,6 @@ export interface UniqueConstraintFilter {
3303
3325
  fieldIds?: UUIDListFilter;
3304
3326
  /** Filter by the object’s `category` field. */
3305
3327
  category?: ObjectCategoryFilter;
3306
- /** Filter by the object’s `module` field. */
3307
- module?: StringFilter;
3308
3328
  /** Filter by the object’s `scope` field. */
3309
3329
  scope?: IntFilter;
3310
3330
  /** Filter by the object’s `tags` field. */
@@ -3351,8 +3371,6 @@ export interface ViewFilter {
3351
3371
  smartTags?: JSONFilter;
3352
3372
  /** Filter by the object’s `category` field. */
3353
3373
  category?: ObjectCategoryFilter;
3354
- /** Filter by the object’s `module` field. */
3355
- module?: StringFilter;
3356
3374
  /** Filter by the object’s `scope` field. */
3357
3375
  scope?: IntFilter;
3358
3376
  /** Filter by the object’s `tags` field. */
@@ -3387,6 +3405,8 @@ export interface ViewFilter {
3387
3405
  export interface ViewTableFilter {
3388
3406
  /** Filter by the object’s `id` field. */
3389
3407
  id?: UUIDFilter;
3408
+ /** Filter by the object’s `databaseId` field. */
3409
+ databaseId?: UUIDFilter;
3390
3410
  /** Filter by the object’s `viewId` field. */
3391
3411
  viewId?: UUIDFilter;
3392
3412
  /** Filter by the object’s `tableId` field. */
@@ -3399,6 +3419,8 @@ export interface ViewTableFilter {
3399
3419
  or?: ViewTableFilter[];
3400
3420
  /** Negates the expression. */
3401
3421
  not?: ViewTableFilter;
3422
+ /** Filter by the object’s `database` relation. */
3423
+ database?: DatabaseFilter;
3402
3424
  /** Filter by the object’s `table` relation. */
3403
3425
  table?: TableFilter;
3404
3426
  /** Filter by the object’s `view` relation. */
@@ -3589,8 +3611,6 @@ export interface EnumFilter {
3589
3611
  smartTags?: JSONFilter;
3590
3612
  /** Filter by the object’s `category` field. */
3591
3613
  category?: ObjectCategoryFilter;
3592
- /** Filter by the object’s `module` field. */
3593
- module?: StringFilter;
3594
3614
  /** Filter by the object’s `scope` field. */
3595
3615
  scope?: IntFilter;
3596
3616
  /** Filter by the object’s `tags` field. */
@@ -3606,6 +3626,40 @@ export interface EnumFilter {
3606
3626
  /** Filter by the object’s `schema` relation. */
3607
3627
  schema?: SchemaFilter;
3608
3628
  }
3629
+ export interface CompositeTypeFilter {
3630
+ /** Filter by the object’s `id` field. */
3631
+ id?: UUIDFilter;
3632
+ /** Filter by the object’s `databaseId` field. */
3633
+ databaseId?: UUIDFilter;
3634
+ /** Filter by the object’s `schemaId` field. */
3635
+ schemaId?: UUIDFilter;
3636
+ /** Filter by the object’s `name` field. */
3637
+ name?: StringFilter;
3638
+ /** Filter by the object’s `label` field. */
3639
+ label?: StringFilter;
3640
+ /** Filter by the object’s `description` field. */
3641
+ description?: StringFilter;
3642
+ /** Filter by the object’s `attributes` field. */
3643
+ attributes?: JSONFilter;
3644
+ /** Filter by the object’s `smartTags` field. */
3645
+ smartTags?: JSONFilter;
3646
+ /** Filter by the object’s `category` field. */
3647
+ category?: ObjectCategoryFilter;
3648
+ /** Filter by the object’s `scope` field. */
3649
+ scope?: IntFilter;
3650
+ /** Filter by the object’s `tags` field. */
3651
+ tags?: StringListFilter;
3652
+ /** Checks for all expressions in this list. */
3653
+ and?: CompositeTypeFilter[];
3654
+ /** Checks for any expressions in this list. */
3655
+ or?: CompositeTypeFilter[];
3656
+ /** Negates the expression. */
3657
+ not?: CompositeTypeFilter;
3658
+ /** Filter by the object’s `database` relation. */
3659
+ database?: DatabaseFilter;
3660
+ /** Filter by the object’s `schema` relation. */
3661
+ schema?: SchemaFilter;
3662
+ }
3609
3663
  export interface ApiSchemaFilter {
3610
3664
  /** Filter by the object’s `id` field. */
3611
3665
  id?: UUIDFilter;
@@ -4197,6 +4251,10 @@ export interface DatabaseFilter {
4197
4251
  views?: DatabaseToManyViewFilter;
4198
4252
  /** `views` exist. */
4199
4253
  viewsExist?: boolean;
4254
+ /** Filter by the object’s `viewTables` relation. */
4255
+ viewTables?: DatabaseToManyViewTableFilter;
4256
+ /** `viewTables` exist. */
4257
+ viewTablesExist?: boolean;
4200
4258
  /** Filter by the object’s `viewGrants` relation. */
4201
4259
  viewGrants?: DatabaseToManyViewGrantFilter;
4202
4260
  /** `viewGrants` exist. */
@@ -4229,6 +4287,10 @@ export interface DatabaseFilter {
4229
4287
  partitions?: DatabaseToManyPartitionFilter;
4230
4288
  /** `partitions` exist. */
4231
4289
  partitionsExist?: boolean;
4290
+ /** Filter by the object’s `compositeTypes` relation. */
4291
+ compositeTypes?: DatabaseToManyCompositeTypeFilter;
4292
+ /** `compositeTypes` exist. */
4293
+ compositeTypesExist?: boolean;
4232
4294
  /** Filter by the object’s `databaseTransfers` relation. */
4233
4295
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
4234
4296
  /** `databaseTransfers` exist. */
@@ -4545,27 +4607,28 @@ export interface AstMigrationFilter {
4545
4607
  not?: AstMigrationFilter;
4546
4608
  }
4547
4609
  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';
4548
- 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';
4549
- 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';
4550
- 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';
4551
- 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';
4552
- 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';
4553
- 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';
4610
+ 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';
4611
+ 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';
4612
+ 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';
4613
+ 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';
4614
+ 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';
4615
+ 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';
4554
4616
  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';
4555
- 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';
4556
- 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';
4557
- 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';
4617
+ 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';
4618
+ 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';
4619
+ 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';
4558
4620
  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';
4559
- 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';
4560
- 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';
4561
- 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';
4562
- 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';
4621
+ 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';
4622
+ 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';
4623
+ 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';
4624
+ 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';
4563
4625
  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';
4564
4626
  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';
4565
4627
  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';
4566
4628
  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';
4567
4629
  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';
4568
- 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';
4630
+ 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';
4631
+ 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';
4569
4632
  export type ApiSchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC';
4570
4633
  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';
4571
4634
  export type DomainOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC';
@@ -4621,7 +4684,6 @@ export interface CreateSchemaInput {
4621
4684
  description?: string;
4622
4685
  smartTags?: Record<string, unknown>;
4623
4686
  category?: ObjectCategory;
4624
- module?: string;
4625
4687
  scope?: number;
4626
4688
  tags?: string[];
4627
4689
  isPublic?: boolean;
@@ -4635,7 +4697,6 @@ export interface SchemaPatch {
4635
4697
  description?: string | null;
4636
4698
  smartTags?: Record<string, unknown> | null;
4637
4699
  category?: ObjectCategory | null;
4638
- module?: string | null;
4639
4700
  scope?: number | null;
4640
4701
  tags?: string[] | null;
4641
4702
  isPublic?: boolean | null;
@@ -4659,7 +4720,6 @@ export interface CreateTableInput {
4659
4720
  description?: string;
4660
4721
  smartTags?: Record<string, unknown>;
4661
4722
  category?: ObjectCategory;
4662
- module?: string;
4663
4723
  scope?: number;
4664
4724
  useRls?: boolean;
4665
4725
  timestamps?: boolean;
@@ -4682,7 +4742,6 @@ export interface TablePatch {
4682
4742
  description?: string | null;
4683
4743
  smartTags?: Record<string, unknown> | null;
4684
4744
  category?: ObjectCategory | null;
4685
- module?: string | null;
4686
4745
  scope?: number | null;
4687
4746
  useRls?: boolean | null;
4688
4747
  timestamps?: boolean | null;
@@ -4716,7 +4775,6 @@ export interface CreateCheckConstraintInput {
4716
4775
  expr?: Record<string, unknown>;
4717
4776
  smartTags?: Record<string, unknown>;
4718
4777
  category?: ObjectCategory;
4719
- module?: string;
4720
4778
  scope?: number;
4721
4779
  tags?: string[];
4722
4780
  };
@@ -4730,7 +4788,6 @@ export interface CheckConstraintPatch {
4730
4788
  expr?: Record<string, unknown> | null;
4731
4789
  smartTags?: Record<string, unknown> | null;
4732
4790
  category?: ObjectCategory | null;
4733
- module?: string | null;
4734
4791
  scope?: number | null;
4735
4792
  tags?: string[] | null;
4736
4793
  }
@@ -4764,7 +4821,6 @@ export interface CreateFieldInput {
4764
4821
  max?: number;
4765
4822
  tags?: string[];
4766
4823
  category?: ObjectCategory;
4767
- module?: string;
4768
4824
  scope?: number;
4769
4825
  };
4770
4826
  }
@@ -4787,7 +4843,6 @@ export interface FieldPatch {
4787
4843
  max?: number | null;
4788
4844
  tags?: string[] | null;
4789
4845
  category?: ObjectCategory | null;
4790
- module?: string | null;
4791
4846
  scope?: number | null;
4792
4847
  }
4793
4848
  export interface UpdateFieldInput {
@@ -4811,7 +4866,6 @@ export interface CreateSpatialRelationInput {
4811
4866
  operator: string;
4812
4867
  paramName?: string;
4813
4868
  category?: ObjectCategory;
4814
- module?: string;
4815
4869
  scope?: number;
4816
4870
  tags?: string[];
4817
4871
  };
@@ -4826,7 +4880,6 @@ export interface SpatialRelationPatch {
4826
4880
  operator?: string | null;
4827
4881
  paramName?: string | null;
4828
4882
  category?: ObjectCategory | null;
4829
- module?: string | null;
4830
4883
  scope?: number | null;
4831
4884
  tags?: string[] | null;
4832
4885
  }
@@ -4854,7 +4907,6 @@ export interface CreateForeignKeyConstraintInput {
4854
4907
  deleteAction?: string;
4855
4908
  updateAction?: string;
4856
4909
  category?: ObjectCategory;
4857
- module?: string;
4858
4910
  scope?: number;
4859
4911
  tags?: string[];
4860
4912
  };
@@ -4872,7 +4924,6 @@ export interface ForeignKeyConstraintPatch {
4872
4924
  deleteAction?: string | null;
4873
4925
  updateAction?: string | null;
4874
4926
  category?: ObjectCategory | null;
4875
- module?: string | null;
4876
4927
  scope?: number | null;
4877
4928
  tags?: string[] | null;
4878
4929
  }
@@ -4931,7 +4982,6 @@ export interface CreateIndexInput {
4931
4982
  opClasses?: string[];
4932
4983
  smartTags?: Record<string, unknown>;
4933
4984
  category?: ObjectCategory;
4934
- module?: string;
4935
4985
  scope?: number;
4936
4986
  tags?: string[];
4937
4987
  };
@@ -4950,7 +5000,6 @@ export interface IndexPatch {
4950
5000
  opClasses?: string[] | null;
4951
5001
  smartTags?: Record<string, unknown> | null;
4952
5002
  category?: ObjectCategory | null;
4953
- module?: string | null;
4954
5003
  scope?: number | null;
4955
5004
  tags?: string[] | null;
4956
5005
  }
@@ -4977,7 +5026,6 @@ export interface CreatePolicyInput {
4977
5026
  data?: Record<string, unknown>;
4978
5027
  smartTags?: Record<string, unknown>;
4979
5028
  category?: ObjectCategory;
4980
- module?: string;
4981
5029
  scope?: number;
4982
5030
  tags?: string[];
4983
5031
  };
@@ -4994,7 +5042,6 @@ export interface PolicyPatch {
4994
5042
  data?: Record<string, unknown> | null;
4995
5043
  smartTags?: Record<string, unknown> | null;
4996
5044
  category?: ObjectCategory | null;
4997
- module?: string | null;
4998
5045
  scope?: number | null;
4999
5046
  tags?: string[] | null;
5000
5047
  }
@@ -5017,7 +5064,6 @@ export interface CreatePrimaryKeyConstraintInput {
5017
5064
  fieldIds: string[];
5018
5065
  smartTags?: Record<string, unknown>;
5019
5066
  category?: ObjectCategory;
5020
- module?: string;
5021
5067
  scope?: number;
5022
5068
  tags?: string[];
5023
5069
  };
@@ -5030,7 +5076,6 @@ export interface PrimaryKeyConstraintPatch {
5030
5076
  fieldIds?: string[] | null;
5031
5077
  smartTags?: Record<string, unknown> | null;
5032
5078
  category?: ObjectCategory | null;
5033
- module?: string | null;
5034
5079
  scope?: number | null;
5035
5080
  tags?: string[] | null;
5036
5081
  }
@@ -5081,7 +5126,6 @@ export interface CreateTriggerInput {
5081
5126
  functionName?: string;
5082
5127
  smartTags?: Record<string, unknown>;
5083
5128
  category?: ObjectCategory;
5084
- module?: string;
5085
5129
  scope?: number;
5086
5130
  tags?: string[];
5087
5131
  };
@@ -5094,7 +5138,6 @@ export interface TriggerPatch {
5094
5138
  functionName?: string | null;
5095
5139
  smartTags?: Record<string, unknown> | null;
5096
5140
  category?: ObjectCategory | null;
5097
- module?: string | null;
5098
5141
  scope?: number | null;
5099
5142
  tags?: string[] | null;
5100
5143
  }
@@ -5118,7 +5161,6 @@ export interface CreateUniqueConstraintInput {
5118
5161
  type?: string;
5119
5162
  fieldIds: string[];
5120
5163
  category?: ObjectCategory;
5121
- module?: string;
5122
5164
  scope?: number;
5123
5165
  tags?: string[];
5124
5166
  };
@@ -5132,7 +5174,6 @@ export interface UniqueConstraintPatch {
5132
5174
  type?: string | null;
5133
5175
  fieldIds?: string[] | null;
5134
5176
  category?: ObjectCategory | null;
5135
- module?: string | null;
5136
5177
  scope?: number | null;
5137
5178
  tags?: string[] | null;
5138
5179
  }
@@ -5160,7 +5201,6 @@ export interface CreateViewInput {
5160
5201
  isReadOnly?: boolean;
5161
5202
  smartTags?: Record<string, unknown>;
5162
5203
  category?: ObjectCategory;
5163
- module?: string;
5164
5204
  scope?: number;
5165
5205
  tags?: string[];
5166
5206
  };
@@ -5178,7 +5218,6 @@ export interface ViewPatch {
5178
5218
  isReadOnly?: boolean | null;
5179
5219
  smartTags?: Record<string, unknown> | null;
5180
5220
  category?: ObjectCategory | null;
5181
- module?: string | null;
5182
5221
  scope?: number | null;
5183
5222
  tags?: string[] | null;
5184
5223
  }
@@ -5194,12 +5233,14 @@ export interface DeleteViewInput {
5194
5233
  export interface CreateViewTableInput {
5195
5234
  clientMutationId?: string;
5196
5235
  viewTable: {
5236
+ databaseId?: string;
5197
5237
  viewId: string;
5198
5238
  tableId: string;
5199
5239
  joinOrder?: number;
5200
5240
  };
5201
5241
  }
5202
5242
  export interface ViewTablePatch {
5243
+ databaseId?: string | null;
5203
5244
  viewId?: string | null;
5204
5245
  tableId?: string | null;
5205
5246
  joinOrder?: number | null;
@@ -5380,7 +5421,6 @@ export interface CreateEnumInput {
5380
5421
  values?: string[];
5381
5422
  smartTags?: Record<string, unknown>;
5382
5423
  category?: ObjectCategory;
5383
- module?: string;
5384
5424
  scope?: number;
5385
5425
  tags?: string[];
5386
5426
  };
@@ -5394,7 +5434,6 @@ export interface EnumPatch {
5394
5434
  values?: string[] | null;
5395
5435
  smartTags?: Record<string, unknown> | null;
5396
5436
  category?: ObjectCategory | null;
5397
- module?: string | null;
5398
5437
  scope?: number | null;
5399
5438
  tags?: string[] | null;
5400
5439
  }
@@ -5407,6 +5446,42 @@ export interface DeleteEnumInput {
5407
5446
  clientMutationId?: string;
5408
5447
  id: string;
5409
5448
  }
5449
+ export interface CreateCompositeTypeInput {
5450
+ clientMutationId?: string;
5451
+ compositeType: {
5452
+ databaseId: string;
5453
+ schemaId: string;
5454
+ name: string;
5455
+ label?: string;
5456
+ description?: string;
5457
+ attributes?: Record<string, unknown>;
5458
+ smartTags?: Record<string, unknown>;
5459
+ category?: ObjectCategory;
5460
+ scope?: number;
5461
+ tags?: string[];
5462
+ };
5463
+ }
5464
+ export interface CompositeTypePatch {
5465
+ databaseId?: string | null;
5466
+ schemaId?: string | null;
5467
+ name?: string | null;
5468
+ label?: string | null;
5469
+ description?: string | null;
5470
+ attributes?: Record<string, unknown> | null;
5471
+ smartTags?: Record<string, unknown> | null;
5472
+ category?: ObjectCategory | null;
5473
+ scope?: number | null;
5474
+ tags?: string[] | null;
5475
+ }
5476
+ export interface UpdateCompositeTypeInput {
5477
+ clientMutationId?: string;
5478
+ id: string;
5479
+ compositeTypePatch: CompositeTypePatch;
5480
+ }
5481
+ export interface DeleteCompositeTypeInput {
5482
+ clientMutationId?: string;
5483
+ id: string;
5484
+ }
5410
5485
  export interface CreateApiSchemaInput {
5411
5486
  clientMutationId?: string;
5412
5487
  apiSchema: {
@@ -6268,6 +6343,15 @@ export interface SchemaToManyFunctionFilter {
6268
6343
  /** Filters to entities where no related entity matches. */
6269
6344
  none?: FunctionFilter;
6270
6345
  }
6346
+ /** A filter to be used against many `CompositeType` object types. All fields are combined with a logical ‘and.’ */
6347
+ export interface SchemaToManyCompositeTypeFilter {
6348
+ /** Filters to entities where at least one related entity matches. */
6349
+ some?: CompositeTypeFilter;
6350
+ /** Filters to entities where every related entity matches. */
6351
+ every?: CompositeTypeFilter;
6352
+ /** Filters to entities where no related entity matches. */
6353
+ none?: CompositeTypeFilter;
6354
+ }
6271
6355
  /** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
6272
6356
  export interface SchemaToManyApiSchemaFilter {
6273
6357
  /** Filters to entities where at least one related entity matches. */
@@ -6947,6 +7031,15 @@ export interface DatabaseToManyViewFilter {
6947
7031
  /** Filters to entities where no related entity matches. */
6948
7032
  none?: ViewFilter;
6949
7033
  }
7034
+ /** A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ */
7035
+ export interface DatabaseToManyViewTableFilter {
7036
+ /** Filters to entities where at least one related entity matches. */
7037
+ some?: ViewTableFilter;
7038
+ /** Filters to entities where every related entity matches. */
7039
+ every?: ViewTableFilter;
7040
+ /** Filters to entities where no related entity matches. */
7041
+ none?: ViewTableFilter;
7042
+ }
6950
7043
  /** A filter to be used against many `ViewGrant` object types. All fields are combined with a logical ‘and.’ */
6951
7044
  export interface DatabaseToManyViewGrantFilter {
6952
7045
  /** Filters to entities where at least one related entity matches. */
@@ -7019,6 +7112,15 @@ export interface DatabaseToManyPartitionFilter {
7019
7112
  /** Filters to entities where no related entity matches. */
7020
7113
  none?: PartitionFilter;
7021
7114
  }
7115
+ /** A filter to be used against many `CompositeType` object types. All fields are combined with a logical ‘and.’ */
7116
+ export interface DatabaseToManyCompositeTypeFilter {
7117
+ /** Filters to entities where at least one related entity matches. */
7118
+ some?: CompositeTypeFilter;
7119
+ /** Filters to entities where every related entity matches. */
7120
+ every?: CompositeTypeFilter;
7121
+ /** Filters to entities where no related entity matches. */
7122
+ none?: CompositeTypeFilter;
7123
+ }
7022
7124
  /** A filter to be used against many `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ */
7023
7125
  export interface DatabaseToManyDatabaseTransferFilter {
7024
7126
  /** Filters to entities where at least one related entity matches. */
@@ -7127,6 +7229,761 @@ export interface DatabaseToManyCorsSettingFilter {
7127
7229
  /** Filters to entities where no related entity matches. */
7128
7230
  none?: CorsSettingFilter;
7129
7231
  }
7232
+ /** An input for mutations affecting `Function` */
7233
+ export interface FunctionInput {
7234
+ id?: string;
7235
+ databaseId: string;
7236
+ schemaId: string;
7237
+ name: string;
7238
+ }
7239
+ /** An input for mutations affecting `Schema` */
7240
+ export interface SchemaInput {
7241
+ id?: string;
7242
+ databaseId: string;
7243
+ name: string;
7244
+ schemaName: string;
7245
+ label?: string;
7246
+ description?: string;
7247
+ smartTags?: Record<string, unknown>;
7248
+ category?: ObjectCategory;
7249
+ scope?: number;
7250
+ tags?: string[];
7251
+ isPublic?: boolean;
7252
+ createdAt?: string;
7253
+ updatedAt?: string;
7254
+ }
7255
+ /** An input for mutations affecting `Table` */
7256
+ export interface TableInput {
7257
+ id?: string;
7258
+ databaseId?: string;
7259
+ schemaId: string;
7260
+ name: string;
7261
+ label?: string;
7262
+ description?: string;
7263
+ smartTags?: Record<string, unknown>;
7264
+ category?: ObjectCategory;
7265
+ scope?: number;
7266
+ useRls?: boolean;
7267
+ timestamps?: boolean;
7268
+ peoplestamps?: boolean;
7269
+ pluralName?: string;
7270
+ singularName?: string;
7271
+ tags?: string[];
7272
+ partitioned?: boolean;
7273
+ partitionStrategy?: string;
7274
+ partitionKeyNames?: string[];
7275
+ partitionKeyTypes?: string[];
7276
+ createdAt?: string;
7277
+ updatedAt?: string;
7278
+ inheritsId?: string;
7279
+ }
7280
+ /** An input for mutations affecting `CheckConstraint` */
7281
+ export interface CheckConstraintInput {
7282
+ id?: string;
7283
+ databaseId?: string;
7284
+ tableId: string;
7285
+ name?: string;
7286
+ type?: string;
7287
+ fieldIds: string[];
7288
+ expr?: Record<string, unknown>;
7289
+ smartTags?: Record<string, unknown>;
7290
+ category?: ObjectCategory;
7291
+ scope?: number;
7292
+ tags?: string[];
7293
+ createdAt?: string;
7294
+ updatedAt?: string;
7295
+ }
7296
+ /** An input for mutations affecting `Field` */
7297
+ export interface FieldInput {
7298
+ id?: string;
7299
+ databaseId?: string;
7300
+ tableId: string;
7301
+ name: string;
7302
+ label?: string;
7303
+ description?: string;
7304
+ smartTags?: Record<string, unknown>;
7305
+ isRequired?: boolean;
7306
+ apiRequired?: boolean;
7307
+ defaultValue?: Record<string, unknown>;
7308
+ type: Record<string, unknown>;
7309
+ fieldOrder?: number;
7310
+ regexp?: string;
7311
+ chk?: Record<string, unknown>;
7312
+ chkExpr?: Record<string, unknown>;
7313
+ min?: number;
7314
+ max?: number;
7315
+ tags?: string[];
7316
+ category?: ObjectCategory;
7317
+ scope?: number;
7318
+ createdAt?: string;
7319
+ updatedAt?: string;
7320
+ }
7321
+ /** An input for mutations affecting `SpatialRelation` */
7322
+ export interface SpatialRelationInput {
7323
+ id?: string;
7324
+ databaseId?: string;
7325
+ tableId: string;
7326
+ fieldId: string;
7327
+ refTableId: string;
7328
+ refFieldId: string;
7329
+ name: string;
7330
+ operator: string;
7331
+ paramName?: string;
7332
+ category?: ObjectCategory;
7333
+ scope?: number;
7334
+ tags?: string[];
7335
+ createdAt?: string;
7336
+ updatedAt?: string;
7337
+ }
7338
+ /** An input for mutations affecting `ForeignKeyConstraint` */
7339
+ export interface ForeignKeyConstraintInput {
7340
+ id?: string;
7341
+ databaseId?: string;
7342
+ tableId: string;
7343
+ name?: string;
7344
+ description?: string;
7345
+ smartTags?: Record<string, unknown>;
7346
+ type?: string;
7347
+ fieldIds: string[];
7348
+ refTableId: string;
7349
+ refFieldIds: string[];
7350
+ deleteAction?: string;
7351
+ updateAction?: string;
7352
+ category?: ObjectCategory;
7353
+ scope?: number;
7354
+ tags?: string[];
7355
+ createdAt?: string;
7356
+ updatedAt?: string;
7357
+ }
7358
+ /** An input for mutations affecting `FullTextSearch` */
7359
+ export interface FullTextSearchInput {
7360
+ id?: string;
7361
+ databaseId?: string;
7362
+ tableId: string;
7363
+ fieldId: string;
7364
+ fieldIds: string[];
7365
+ weights: string[];
7366
+ langs: string[];
7367
+ langColumn?: string;
7368
+ createdAt?: string;
7369
+ updatedAt?: string;
7370
+ }
7371
+ /** An input for mutations affecting `Index` */
7372
+ export interface IndexInput {
7373
+ id?: string;
7374
+ databaseId: string;
7375
+ tableId: string;
7376
+ name?: string;
7377
+ fieldIds?: string[];
7378
+ includeFieldIds?: string[];
7379
+ accessMethod?: string;
7380
+ indexParams?: Record<string, unknown>;
7381
+ whereClause?: Record<string, unknown>;
7382
+ isUnique?: boolean;
7383
+ options?: Record<string, unknown>;
7384
+ opClasses?: string[];
7385
+ smartTags?: Record<string, unknown>;
7386
+ category?: ObjectCategory;
7387
+ scope?: number;
7388
+ tags?: string[];
7389
+ createdAt?: string;
7390
+ updatedAt?: string;
7391
+ }
7392
+ /** An input for mutations affecting `Policy` */
7393
+ export interface PolicyInput {
7394
+ id?: string;
7395
+ databaseId?: string;
7396
+ tableId: string;
7397
+ name?: string;
7398
+ granteeName?: string;
7399
+ privilege?: string;
7400
+ permissive?: boolean;
7401
+ disabled?: boolean;
7402
+ policyType?: string;
7403
+ data?: Record<string, unknown>;
7404
+ smartTags?: Record<string, unknown>;
7405
+ category?: ObjectCategory;
7406
+ scope?: number;
7407
+ tags?: string[];
7408
+ createdAt?: string;
7409
+ updatedAt?: string;
7410
+ }
7411
+ /** An input for mutations affecting `PrimaryKeyConstraint` */
7412
+ export interface PrimaryKeyConstraintInput {
7413
+ id?: string;
7414
+ databaseId?: string;
7415
+ tableId: string;
7416
+ name?: string;
7417
+ type?: string;
7418
+ fieldIds: string[];
7419
+ smartTags?: Record<string, unknown>;
7420
+ category?: ObjectCategory;
7421
+ scope?: number;
7422
+ tags?: string[];
7423
+ createdAt?: string;
7424
+ updatedAt?: string;
7425
+ }
7426
+ /** An input for mutations affecting `TableGrant` */
7427
+ export interface TableGrantInput {
7428
+ id?: string;
7429
+ databaseId?: string;
7430
+ tableId: string;
7431
+ privilege: string;
7432
+ granteeName: string;
7433
+ fieldIds?: string[];
7434
+ isGrant?: boolean;
7435
+ createdAt?: string;
7436
+ updatedAt?: string;
7437
+ }
7438
+ /** An input for mutations affecting `Trigger` */
7439
+ export interface TriggerInput {
7440
+ id?: string;
7441
+ databaseId?: string;
7442
+ tableId: string;
7443
+ name: string;
7444
+ event?: string;
7445
+ functionName?: string;
7446
+ smartTags?: Record<string, unknown>;
7447
+ category?: ObjectCategory;
7448
+ scope?: number;
7449
+ tags?: string[];
7450
+ createdAt?: string;
7451
+ updatedAt?: string;
7452
+ }
7453
+ /** An input for mutations affecting `UniqueConstraint` */
7454
+ export interface UniqueConstraintInput {
7455
+ id?: string;
7456
+ databaseId?: string;
7457
+ tableId: string;
7458
+ name?: string;
7459
+ description?: string;
7460
+ smartTags?: Record<string, unknown>;
7461
+ type?: string;
7462
+ fieldIds: string[];
7463
+ category?: ObjectCategory;
7464
+ scope?: number;
7465
+ tags?: string[];
7466
+ createdAt?: string;
7467
+ updatedAt?: string;
7468
+ }
7469
+ /** An input for mutations affecting `View` */
7470
+ export interface ViewInput {
7471
+ id?: string;
7472
+ databaseId?: string;
7473
+ schemaId: string;
7474
+ name: string;
7475
+ tableId?: string;
7476
+ viewType: string;
7477
+ data?: Record<string, unknown>;
7478
+ filterType?: string;
7479
+ filterData?: Record<string, unknown>;
7480
+ securityInvoker?: boolean;
7481
+ isReadOnly?: boolean;
7482
+ smartTags?: Record<string, unknown>;
7483
+ category?: ObjectCategory;
7484
+ scope?: number;
7485
+ tags?: string[];
7486
+ }
7487
+ /** An input for mutations affecting `ViewTable` */
7488
+ export interface ViewTableInput {
7489
+ id?: string;
7490
+ databaseId?: string;
7491
+ viewId: string;
7492
+ tableId: string;
7493
+ joinOrder?: number;
7494
+ }
7495
+ /** An input for mutations affecting `ViewGrant` */
7496
+ export interface ViewGrantInput {
7497
+ id?: string;
7498
+ databaseId?: string;
7499
+ viewId: string;
7500
+ granteeName: string;
7501
+ privilege: string;
7502
+ withGrantOption?: boolean;
7503
+ isGrant?: boolean;
7504
+ }
7505
+ /** An input for mutations affecting `ViewRule` */
7506
+ export interface ViewRuleInput {
7507
+ id?: string;
7508
+ databaseId?: string;
7509
+ viewId: string;
7510
+ name: string;
7511
+ /** INSERT, UPDATE, or DELETE */
7512
+ event: string;
7513
+ /** NOTHING (for read-only) or custom action */
7514
+ action?: string;
7515
+ }
7516
+ /** An input for mutations affecting `EmbeddingChunk` */
7517
+ export interface EmbeddingChunkInput {
7518
+ id?: string;
7519
+ databaseId?: string;
7520
+ tableId: string;
7521
+ embeddingFieldId?: string;
7522
+ chunksTableId?: string;
7523
+ chunksTableName?: string;
7524
+ contentFieldName?: string;
7525
+ dimensions?: number;
7526
+ metric?: string;
7527
+ chunkSize?: number;
7528
+ chunkOverlap?: number;
7529
+ chunkStrategy?: string;
7530
+ metadataFields?: Record<string, unknown>;
7531
+ searchIndexes?: Record<string, unknown>;
7532
+ enqueueChunkingJob?: boolean;
7533
+ chunkingTaskName?: string;
7534
+ embeddingModel?: string;
7535
+ embeddingProvider?: string;
7536
+ parentFkFieldId?: string;
7537
+ createdAt?: string;
7538
+ updatedAt?: string;
7539
+ }
7540
+ /** An input for mutations affecting `SchemaGrant` */
7541
+ export interface SchemaGrantInput {
7542
+ id?: string;
7543
+ databaseId?: string;
7544
+ schemaId: string;
7545
+ granteeName: string;
7546
+ createdAt?: string;
7547
+ updatedAt?: string;
7548
+ }
7549
+ /** An input for mutations affecting `DefaultPrivilege` */
7550
+ export interface DefaultPrivilegeInput {
7551
+ id?: string;
7552
+ databaseId?: string;
7553
+ schemaId: string;
7554
+ objectType: string;
7555
+ privilege: string;
7556
+ granteeName: string;
7557
+ isGrant?: boolean;
7558
+ }
7559
+ /** An input for mutations affecting `Enum` */
7560
+ export interface EnumInput {
7561
+ id?: string;
7562
+ databaseId: string;
7563
+ schemaId: string;
7564
+ name: string;
7565
+ label?: string;
7566
+ description?: string;
7567
+ values?: string[];
7568
+ smartTags?: Record<string, unknown>;
7569
+ category?: ObjectCategory;
7570
+ scope?: number;
7571
+ tags?: string[];
7572
+ }
7573
+ /** An input for mutations affecting `CompositeType` */
7574
+ export interface CompositeTypeInput {
7575
+ id?: string;
7576
+ databaseId: string;
7577
+ schemaId: string;
7578
+ name: string;
7579
+ label?: string;
7580
+ description?: string;
7581
+ attributes?: Record<string, unknown>;
7582
+ smartTags?: Record<string, unknown>;
7583
+ category?: ObjectCategory;
7584
+ scope?: number;
7585
+ tags?: string[];
7586
+ }
7587
+ /** An input for mutations affecting `ApiSchema` */
7588
+ export interface ApiSchemaInput {
7589
+ /** Unique identifier for this API-schema mapping */
7590
+ id?: string;
7591
+ /** Reference to the metaschema database */
7592
+ databaseId: string;
7593
+ /** Metaschema schema being exposed through the API */
7594
+ schemaId: string;
7595
+ /** API that exposes this schema */
7596
+ apiId: string;
7597
+ }
7598
+ /** An input for mutations affecting `ApiModule` */
7599
+ export interface ApiModuleInput {
7600
+ /** Unique identifier for this API module record */
7601
+ id?: string;
7602
+ /** Reference to the metaschema database */
7603
+ databaseId: string;
7604
+ /** API this module configuration belongs to */
7605
+ apiId: string;
7606
+ /** Module name (e.g. auth, uploads, webhooks) */
7607
+ name: string;
7608
+ /** JSON configuration data for this module */
7609
+ data: Record<string, unknown>;
7610
+ }
7611
+ /** An input for mutations affecting `Domain` */
7612
+ export interface DomainInput {
7613
+ /** Unique identifier for this domain record */
7614
+ id?: string;
7615
+ /** Reference to the metaschema database this domain belongs to */
7616
+ databaseId: string;
7617
+ /** API endpoint this domain routes to (mutually exclusive with site_id) */
7618
+ apiId?: string;
7619
+ /** Site this domain routes to (mutually exclusive with api_id) */
7620
+ siteId?: string;
7621
+ /** Subdomain portion of the hostname */
7622
+ subdomain?: ConstructiveInternalTypeHostname;
7623
+ /** Root domain of the hostname */
7624
+ domain?: ConstructiveInternalTypeHostname;
7625
+ }
7626
+ /** An input for mutations affecting `SiteMetadatum` */
7627
+ export interface SiteMetadatumInput {
7628
+ /** Unique identifier for this metadata record */
7629
+ id?: string;
7630
+ /** Reference to the metaschema database */
7631
+ databaseId: string;
7632
+ /** Site this metadata belongs to */
7633
+ siteId: string;
7634
+ /** Page title for SEO (max 120 characters) */
7635
+ title?: string;
7636
+ /** Meta description for SEO and social sharing (max 120 characters) */
7637
+ description?: string;
7638
+ /** Open Graph image for social media previews */
7639
+ ogImage?: ConstructiveInternalTypeImage;
7640
+ }
7641
+ /** An input for mutations affecting `SiteModule` */
7642
+ export interface SiteModuleInput {
7643
+ /** Unique identifier for this site module record */
7644
+ id?: string;
7645
+ /** Reference to the metaschema database */
7646
+ databaseId: string;
7647
+ /** Site this module configuration belongs to */
7648
+ siteId: string;
7649
+ /** Module name (e.g. user_auth_module, analytics) */
7650
+ name: string;
7651
+ /** JSON configuration data for this module */
7652
+ data: Record<string, unknown>;
7653
+ }
7654
+ /** An input for mutations affecting `SiteTheme` */
7655
+ export interface SiteThemeInput {
7656
+ /** Unique identifier for this theme record */
7657
+ id?: string;
7658
+ /** Reference to the metaschema database */
7659
+ databaseId: string;
7660
+ /** Site this theme belongs to */
7661
+ siteId: string;
7662
+ /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
7663
+ theme: Record<string, unknown>;
7664
+ }
7665
+ /** An input for mutations affecting `CorsSetting` */
7666
+ export interface CorsSettingInput {
7667
+ /** Unique identifier for this CORS settings record */
7668
+ id?: string;
7669
+ /** Reference to the metaschema database */
7670
+ databaseId: string;
7671
+ /** Optional API for per-API override; NULL means database-wide default */
7672
+ apiId?: string;
7673
+ /** Array of allowed CORS origins (e.g. https://example.com) */
7674
+ allowedOrigins?: string[];
7675
+ }
7676
+ /** An input for mutations affecting `TriggerFunction` */
7677
+ export interface TriggerFunctionInput {
7678
+ id?: string;
7679
+ databaseId: string;
7680
+ name: string;
7681
+ code?: string;
7682
+ createdAt?: string;
7683
+ updatedAt?: string;
7684
+ }
7685
+ /** An input for mutations affecting `Partition` */
7686
+ export interface PartitionInput {
7687
+ id?: string;
7688
+ databaseId: string;
7689
+ tableId: string;
7690
+ strategy: string;
7691
+ partitionKeyId: string;
7692
+ interval?: string;
7693
+ retention?: string;
7694
+ retentionKeepTable?: boolean;
7695
+ premake?: number;
7696
+ namingPattern?: string;
7697
+ isParented?: boolean;
7698
+ createdAt?: string;
7699
+ updatedAt?: string;
7700
+ }
7701
+ /** An input for mutations affecting `DatabaseTransfer` */
7702
+ export interface DatabaseTransferInput {
7703
+ id?: string;
7704
+ databaseId: string;
7705
+ targetOwnerId: string;
7706
+ sourceApproved?: boolean;
7707
+ targetApproved?: boolean;
7708
+ sourceApprovedAt?: string;
7709
+ targetApprovedAt?: string;
7710
+ status?: string;
7711
+ initiatedBy: string;
7712
+ notes?: string;
7713
+ expiresAt?: string;
7714
+ createdAt?: string;
7715
+ updatedAt?: string;
7716
+ completedAt?: string;
7717
+ }
7718
+ /** An input for mutations affecting `Api` */
7719
+ export interface ApiInput {
7720
+ /** Unique identifier for this API */
7721
+ id?: string;
7722
+ /** Reference to the metaschema database this API serves */
7723
+ databaseId: string;
7724
+ /** Unique name for this API within its database */
7725
+ name: string;
7726
+ /** PostgreSQL database name to connect to */
7727
+ dbname?: string;
7728
+ /** PostgreSQL role used for authenticated requests */
7729
+ roleName?: string;
7730
+ /** PostgreSQL role used for anonymous/unauthenticated requests */
7731
+ anonRole?: string;
7732
+ /** Whether this API is publicly accessible without authentication */
7733
+ isPublic?: boolean;
7734
+ }
7735
+ /** An input for mutations affecting `Site` */
7736
+ export interface SiteInput {
7737
+ /** Unique identifier for this site */
7738
+ id?: string;
7739
+ /** Reference to the metaschema database this site belongs to */
7740
+ databaseId: string;
7741
+ /** Display title for the site (max 120 characters) */
7742
+ title?: string;
7743
+ /** Short description of the site (max 120 characters) */
7744
+ description?: string;
7745
+ /** Open Graph image used for social media link previews */
7746
+ ogImage?: ConstructiveInternalTypeImage;
7747
+ /** Browser favicon attachment */
7748
+ favicon?: ConstructiveInternalTypeAttachment;
7749
+ /** Apple touch icon for iOS home screen bookmarks */
7750
+ appleTouchIcon?: ConstructiveInternalTypeImage;
7751
+ /** Primary logo image for the site */
7752
+ logo?: ConstructiveInternalTypeImage;
7753
+ /** PostgreSQL database name this site connects to */
7754
+ dbname?: string;
7755
+ }
7756
+ /** An input for mutations affecting `App` */
7757
+ export interface AppInput {
7758
+ /** Unique identifier for this app */
7759
+ id?: string;
7760
+ /** Reference to the metaschema database this app belongs to */
7761
+ databaseId: string;
7762
+ /** Site this app is associated with (one app per site) */
7763
+ siteId: string;
7764
+ /** Display name of the app */
7765
+ name?: string;
7766
+ /** App icon or promotional image */
7767
+ appImage?: ConstructiveInternalTypeImage;
7768
+ /** URL to the Apple App Store listing */
7769
+ appStoreLink?: ConstructiveInternalTypeUrl;
7770
+ /** Apple App Store application identifier */
7771
+ appStoreId?: string;
7772
+ /** Apple App ID prefix (Team ID) for universal links and associated domains */
7773
+ appIdPrefix?: string;
7774
+ /** URL to the Google Play Store listing */
7775
+ playStoreLink?: ConstructiveInternalTypeUrl;
7776
+ }
7777
+ /** An input for mutations affecting `ApiSetting` */
7778
+ export interface ApiSettingInput {
7779
+ /** Unique identifier for this API settings record */
7780
+ id?: string;
7781
+ /** Reference to the metaschema database */
7782
+ databaseId: string;
7783
+ /** API these settings override for */
7784
+ apiId: string;
7785
+ /** Override: enable aggregate queries (NULL = inherit from database_settings) */
7786
+ enableAggregates?: boolean;
7787
+ /** Override: enable PostGIS spatial types (NULL = inherit from database_settings) */
7788
+ enablePostgis?: boolean;
7789
+ /** Override: enable unified search (NULL = inherit from database_settings) */
7790
+ enableSearch?: boolean;
7791
+ /** Override: enable direct (multipart) file uploads (NULL = inherit from database_settings) */
7792
+ enableDirectUploads?: boolean;
7793
+ /** Override: enable presigned URL upload flow (NULL = inherit from database_settings) */
7794
+ enablePresignedUploads?: boolean;
7795
+ /** Override: enable many-to-many relationships (NULL = inherit from database_settings) */
7796
+ enableManyToMany?: boolean;
7797
+ /** Override: enable connection filter (NULL = inherit from database_settings) */
7798
+ enableConnectionFilter?: boolean;
7799
+ /** Override: enable ltree hierarchical data type (NULL = inherit from database_settings) */
7800
+ enableLtree?: boolean;
7801
+ /** Override: enable LLM/AI integration features (NULL = inherit from database_settings) */
7802
+ enableLlm?: boolean;
7803
+ /** Override: enable realtime subscriptions (NULL = inherit from database_settings) */
7804
+ enableRealtime?: boolean;
7805
+ /** Override: enable bulk mutations (NULL = inherit from database_settings) */
7806
+ enableBulk?: boolean;
7807
+ /** Override: enable internationalization plugin (NULL = inherit from database_settings) */
7808
+ enableI18N?: boolean;
7809
+ /** Extensible JSON for additional per-API settings that do not have dedicated columns */
7810
+ options?: Record<string, unknown>;
7811
+ }
7812
+ /** An input for mutations affecting `MigrateFile` */
7813
+ export interface MigrateFileInput {
7814
+ id?: string;
7815
+ databaseId?: string;
7816
+ upload?: ConstructiveInternalTypeUpload;
7817
+ }
7818
+ /** An input for mutations affecting `NodeTypeRegistry` */
7819
+ export interface NodeTypeRegistryInput {
7820
+ name: string;
7821
+ slug: string;
7822
+ category: string;
7823
+ displayName?: string;
7824
+ description?: string;
7825
+ parameterSchema?: Record<string, unknown>;
7826
+ tags?: string[];
7827
+ }
7828
+ /** An input for mutations affecting `PubkeySetting` */
7829
+ export interface PubkeySettingInput {
7830
+ /** Unique identifier for this pubkey settings record */
7831
+ id?: string;
7832
+ /** Reference to the metaschema database */
7833
+ databaseId: string;
7834
+ /** Schema containing the crypto auth functions (FK to metaschema_public.schema) */
7835
+ schemaId?: string;
7836
+ /** Crypto network for key derivation (e.g. cosmos, ethereum) */
7837
+ cryptoNetwork?: string;
7838
+ /** Field name used to identify the user in crypto auth functions */
7839
+ userField?: string;
7840
+ /** Reference to the sign-up-with-key function (FK to metaschema_public.function) */
7841
+ signUpWithKeyFunctionId?: string;
7842
+ /** Reference to the sign-in challenge request function (FK to metaschema_public.function) */
7843
+ signInRequestChallengeFunctionId?: string;
7844
+ /** Reference to the sign-in failure recording function (FK to metaschema_public.function) */
7845
+ signInRecordFailureFunctionId?: string;
7846
+ /** Reference to the sign-in-with-challenge function (FK to metaschema_public.function) */
7847
+ signInWithChallengeFunctionId?: string;
7848
+ }
7849
+ /** An input for mutations affecting `Database` */
7850
+ export interface DatabaseInput {
7851
+ id?: string;
7852
+ ownerId?: string;
7853
+ schemaHash?: string;
7854
+ name?: string;
7855
+ label?: string;
7856
+ hash?: string;
7857
+ createdAt?: string;
7858
+ updatedAt?: string;
7859
+ }
7860
+ /** An input for mutations affecting `RlsSetting` */
7861
+ export interface RlsSettingInput {
7862
+ /** Unique identifier for this RLS settings record */
7863
+ id?: string;
7864
+ /** Reference to the metaschema database */
7865
+ databaseId: string;
7866
+ /** Schema containing authenticate/authenticate_strict functions (FK to metaschema_public.schema) */
7867
+ authenticateSchemaId?: string;
7868
+ /** Schema containing current_role and related functions (FK to metaschema_public.schema) */
7869
+ roleSchemaId?: string;
7870
+ /** Reference to the authenticate function (FK to metaschema_public.function) */
7871
+ authenticateFunctionId?: string;
7872
+ /** Reference to the strict authenticate function (FK to metaschema_public.function) */
7873
+ authenticateStrictFunctionId?: string;
7874
+ /** Reference to the current_role function (FK to metaschema_public.function) */
7875
+ currentRoleFunctionId?: string;
7876
+ /** Reference to the current_role_id function (FK to metaschema_public.function) */
7877
+ currentRoleIdFunctionId?: string;
7878
+ /** Reference to the current_user_agent function (FK to metaschema_public.function) */
7879
+ currentUserAgentFunctionId?: string;
7880
+ /** Reference to the current_ip_address function (FK to metaschema_public.function) */
7881
+ currentIpAddressFunctionId?: string;
7882
+ }
7883
+ /** An input for mutations affecting `SqlAction` */
7884
+ export interface SqlActionInput {
7885
+ id?: number;
7886
+ name?: string;
7887
+ databaseId?: string;
7888
+ deploy?: string;
7889
+ deps?: string[];
7890
+ payload?: Record<string, unknown>;
7891
+ content?: string;
7892
+ revert?: string;
7893
+ verify?: string;
7894
+ createdAt?: string;
7895
+ action?: string;
7896
+ actionId?: string;
7897
+ actorId?: string;
7898
+ }
7899
+ /** An input for mutations affecting `DatabaseSetting` */
7900
+ export interface DatabaseSettingInput {
7901
+ /** Unique identifier for this settings record */
7902
+ id?: string;
7903
+ /** Reference to the metaschema database these settings apply to */
7904
+ databaseId: string;
7905
+ /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
7906
+ enableAggregates?: boolean;
7907
+ /** Enable PostGIS spatial types and operators in the GraphQL API */
7908
+ enablePostgis?: boolean;
7909
+ /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
7910
+ enableSearch?: boolean;
7911
+ /** Enable direct (multipart) file upload mutations in the GraphQL API */
7912
+ enableDirectUploads?: boolean;
7913
+ /** Enable presigned URL upload flow for S3/MinIO storage */
7914
+ enablePresignedUploads?: boolean;
7915
+ /** Enable many-to-many relationship queries in the GraphQL API */
7916
+ enableManyToMany?: boolean;
7917
+ /** Enable connection filter (where argument) in the GraphQL API */
7918
+ enableConnectionFilter?: boolean;
7919
+ /** Enable ltree hierarchical data type support in the GraphQL API */
7920
+ enableLtree?: boolean;
7921
+ /** Enable LLM/AI integration features in the GraphQL API */
7922
+ enableLlm?: boolean;
7923
+ /** Enable realtime subscriptions (cursor-tracked change delivery) in the GraphQL API */
7924
+ enableRealtime?: boolean;
7925
+ /** Enable bulk mutation operations (insert, upsert, update, delete) in the GraphQL API */
7926
+ enableBulk?: boolean;
7927
+ /** Enable internationalization plugin (localeStrings field, translation table discovery) in the GraphQL API */
7928
+ enableI18N?: boolean;
7929
+ /** Extensible JSON for additional settings that do not have dedicated columns */
7930
+ options?: Record<string, unknown>;
7931
+ }
7932
+ /** An input for mutations affecting `WebauthnSetting` */
7933
+ export interface WebauthnSettingInput {
7934
+ /** Unique identifier for this WebAuthn settings record */
7935
+ id?: string;
7936
+ /** Reference to the metaschema database */
7937
+ databaseId: string;
7938
+ /** Schema containing WebAuthn auth procedures (FK to metaschema_public.schema) */
7939
+ schemaId?: string;
7940
+ /** Schema of the webauthn_credentials table (FK to metaschema_public.schema) */
7941
+ credentialsSchemaId?: string;
7942
+ /** Schema of the sessions table (FK to metaschema_public.schema) */
7943
+ sessionsSchemaId?: string;
7944
+ /** Schema of the session_secrets table (FK to metaschema_public.schema) */
7945
+ sessionSecretsSchemaId?: string;
7946
+ /** Reference to the webauthn_credentials table (FK to metaschema_public.table) */
7947
+ credentialsTableId?: string;
7948
+ /** Reference to the sessions table (FK to metaschema_public.table) */
7949
+ sessionsTableId?: string;
7950
+ /** Reference to the session_credentials table (FK to metaschema_public.table) */
7951
+ sessionCredentialsTableId?: string;
7952
+ /** Reference to the session_secrets table (FK to metaschema_public.table) */
7953
+ sessionSecretsTableId?: string;
7954
+ /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
7955
+ userFieldId?: string;
7956
+ /** WebAuthn Relying Party ID (typically the domain name) */
7957
+ rpId?: string;
7958
+ /** WebAuthn Relying Party display name */
7959
+ rpName?: string;
7960
+ /** Allowed origins for WebAuthn registration and authentication */
7961
+ originAllowlist?: string[];
7962
+ /** Attestation conveyance preference (none, indirect, direct, enterprise) */
7963
+ attestationType?: string;
7964
+ /** Whether to require user verification (biometric/PIN) during auth */
7965
+ requireUserVerification?: boolean;
7966
+ /** Resident key requirement (discouraged, preferred, required) */
7967
+ residentKey?: string;
7968
+ /** Challenge TTL in seconds (default 300 = 5 minutes) */
7969
+ challengeExpirySeconds?: string;
7970
+ }
7971
+ /** An input for mutations affecting `AstMigration` */
7972
+ export interface AstMigrationInput {
7973
+ id?: number;
7974
+ databaseId?: string;
7975
+ name?: string;
7976
+ requires?: string[];
7977
+ payload?: Record<string, unknown>;
7978
+ deploys?: string;
7979
+ deploy?: Record<string, unknown>;
7980
+ revert?: Record<string, unknown>;
7981
+ verify?: Record<string, unknown>;
7982
+ createdAt?: string;
7983
+ action?: string;
7984
+ actionId?: string;
7985
+ actorId?: string;
7986
+ }
7130
7987
  /** An interval of time that has passed where the smallest distinct unit is a second. */
7131
7988
  export interface IntervalInput {
7132
7989
  /**
@@ -7164,8 +8021,6 @@ export interface TableFilter {
7164
8021
  smartTags?: JSONFilter;
7165
8022
  /** Filter by the object’s `category` field. */
7166
8023
  category?: ObjectCategoryFilter;
7167
- /** Filter by the object’s `module` field. */
7168
- module?: StringFilter;
7169
8024
  /** Filter by the object’s `scope` field. */
7170
8025
  scope?: IntFilter;
7171
8026
  /** Filter by the object’s `useRls` field. */
@@ -7188,12 +8043,12 @@ export interface TableFilter {
7188
8043
  partitionKeyNames?: StringListFilter;
7189
8044
  /** Filter by the object’s `partitionKeyTypes` field. */
7190
8045
  partitionKeyTypes?: StringListFilter;
7191
- /** Filter by the object’s `inheritsId` field. */
7192
- inheritsId?: UUIDFilter;
7193
8046
  /** Filter by the object’s `createdAt` field. */
7194
8047
  createdAt?: DatetimeFilter;
7195
8048
  /** Filter by the object’s `updatedAt` field. */
7196
8049
  updatedAt?: DatetimeFilter;
8050
+ /** Filter by the object’s `inheritsId` field. */
8051
+ inheritsId?: UUIDFilter;
7197
8052
  /** Checks for all expressions in this list. */
7198
8053
  and?: TableFilter[];
7199
8054
  /** Checks for any expressions in this list. */
@@ -7330,8 +8185,6 @@ export interface ViewFilter {
7330
8185
  smartTags?: JSONFilter;
7331
8186
  /** Filter by the object’s `category` field. */
7332
8187
  category?: ObjectCategoryFilter;
7333
- /** Filter by the object’s `module` field. */
7334
- module?: StringFilter;
7335
8188
  /** Filter by the object’s `scope` field. */
7336
8189
  scope?: IntFilter;
7337
8190
  /** Filter by the object’s `tags` field. */
@@ -7410,8 +8263,6 @@ export interface EnumFilter {
7410
8263
  smartTags?: JSONFilter;
7411
8264
  /** Filter by the object’s `category` field. */
7412
8265
  category?: ObjectCategoryFilter;
7413
- /** Filter by the object’s `module` field. */
7414
- module?: StringFilter;
7415
8266
  /** Filter by the object’s `scope` field. */
7416
8267
  scope?: IntFilter;
7417
8268
  /** Filter by the object’s `tags` field. */
@@ -7448,6 +8299,41 @@ export interface FunctionFilter {
7448
8299
  /** Filter by the object’s `schema` relation. */
7449
8300
  schema?: SchemaFilter;
7450
8301
  }
8302
+ /** A filter to be used against `CompositeType` object types. All fields are combined with a logical ‘and.’ */
8303
+ export interface CompositeTypeFilter {
8304
+ /** Filter by the object’s `id` field. */
8305
+ id?: UUIDFilter;
8306
+ /** Filter by the object’s `databaseId` field. */
8307
+ databaseId?: UUIDFilter;
8308
+ /** Filter by the object’s `schemaId` field. */
8309
+ schemaId?: UUIDFilter;
8310
+ /** Filter by the object’s `name` field. */
8311
+ name?: StringFilter;
8312
+ /** Filter by the object’s `label` field. */
8313
+ label?: StringFilter;
8314
+ /** Filter by the object’s `description` field. */
8315
+ description?: StringFilter;
8316
+ /** Filter by the object’s `attributes` field. */
8317
+ attributes?: JSONFilter;
8318
+ /** Filter by the object’s `smartTags` field. */
8319
+ smartTags?: JSONFilter;
8320
+ /** Filter by the object’s `category` field. */
8321
+ category?: ObjectCategoryFilter;
8322
+ /** Filter by the object’s `scope` field. */
8323
+ scope?: IntFilter;
8324
+ /** Filter by the object’s `tags` field. */
8325
+ tags?: StringListFilter;
8326
+ /** Checks for all expressions in this list. */
8327
+ and?: CompositeTypeFilter[];
8328
+ /** Checks for any expressions in this list. */
8329
+ or?: CompositeTypeFilter[];
8330
+ /** Negates the expression. */
8331
+ not?: CompositeTypeFilter;
8332
+ /** Filter by the object’s `database` relation. */
8333
+ database?: DatabaseFilter;
8334
+ /** Filter by the object’s `schema` relation. */
8335
+ schema?: SchemaFilter;
8336
+ }
7451
8337
  /** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
7452
8338
  export interface ApiSchemaFilter {
7453
8339
  /** Filter by the object’s `id` field. */
@@ -7491,8 +8377,6 @@ export interface CheckConstraintFilter {
7491
8377
  smartTags?: JSONFilter;
7492
8378
  /** Filter by the object’s `category` field. */
7493
8379
  category?: ObjectCategoryFilter;
7494
- /** Filter by the object’s `module` field. */
7495
- module?: StringFilter;
7496
8380
  /** Filter by the object’s `scope` field. */
7497
8381
  scope?: IntFilter;
7498
8382
  /** Filter by the object’s `tags` field. */
@@ -7552,8 +8436,6 @@ export interface FieldFilter {
7552
8436
  tags?: StringListFilter;
7553
8437
  /** Filter by the object’s `category` field. */
7554
8438
  category?: ObjectCategoryFilter;
7555
- /** Filter by the object’s `module` field. */
7556
- module?: StringFilter;
7557
8439
  /** Filter by the object’s `scope` field. */
7558
8440
  scope?: IntFilter;
7559
8441
  /** Filter by the object’s `createdAt` field. */
@@ -7607,8 +8489,6 @@ export interface ForeignKeyConstraintFilter {
7607
8489
  updateAction?: StringFilter;
7608
8490
  /** Filter by the object’s `category` field. */
7609
8491
  category?: ObjectCategoryFilter;
7610
- /** Filter by the object’s `module` field. */
7611
- module?: StringFilter;
7612
8492
  /** Filter by the object’s `scope` field. */
7613
8493
  scope?: IntFilter;
7614
8494
  /** Filter by the object’s `tags` field. */
@@ -7693,8 +8573,6 @@ export interface IndexFilter {
7693
8573
  smartTags?: JSONFilter;
7694
8574
  /** Filter by the object’s `category` field. */
7695
8575
  category?: ObjectCategoryFilter;
7696
- /** Filter by the object’s `module` field. */
7697
- module?: StringFilter;
7698
8576
  /** Filter by the object’s `scope` field. */
7699
8577
  scope?: IntFilter;
7700
8578
  /** Filter by the object’s `tags` field. */
@@ -7740,8 +8618,6 @@ export interface PolicyFilter {
7740
8618
  smartTags?: JSONFilter;
7741
8619
  /** Filter by the object’s `category` field. */
7742
8620
  category?: ObjectCategoryFilter;
7743
- /** Filter by the object’s `module` field. */
7744
- module?: StringFilter;
7745
8621
  /** Filter by the object’s `scope` field. */
7746
8622
  scope?: IntFilter;
7747
8623
  /** Filter by the object’s `tags` field. */
@@ -7779,8 +8655,6 @@ export interface PrimaryKeyConstraintFilter {
7779
8655
  smartTags?: JSONFilter;
7780
8656
  /** Filter by the object’s `category` field. */
7781
8657
  category?: ObjectCategoryFilter;
7782
- /** Filter by the object’s `module` field. */
7783
- module?: StringFilter;
7784
8658
  /** Filter by the object’s `scope` field. */
7785
8659
  scope?: IntFilter;
7786
8660
  /** Filter by the object’s `tags` field. */
@@ -7849,8 +8723,6 @@ export interface TriggerFilter {
7849
8723
  smartTags?: JSONFilter;
7850
8724
  /** Filter by the object’s `category` field. */
7851
8725
  category?: ObjectCategoryFilter;
7852
- /** Filter by the object’s `module` field. */
7853
- module?: StringFilter;
7854
8726
  /** Filter by the object’s `scope` field. */
7855
8727
  scope?: IntFilter;
7856
8728
  /** Filter by the object’s `tags` field. */
@@ -7890,8 +8762,6 @@ export interface UniqueConstraintFilter {
7890
8762
  fieldIds?: UUIDListFilter;
7891
8763
  /** Filter by the object’s `category` field. */
7892
8764
  category?: ObjectCategoryFilter;
7893
- /** Filter by the object’s `module` field. */
7894
- module?: StringFilter;
7895
8765
  /** Filter by the object’s `scope` field. */
7896
8766
  scope?: IntFilter;
7897
8767
  /** Filter by the object’s `tags` field. */
@@ -7915,6 +8785,8 @@ export interface UniqueConstraintFilter {
7915
8785
  export interface ViewTableFilter {
7916
8786
  /** Filter by the object’s `id` field. */
7917
8787
  id?: UUIDFilter;
8788
+ /** Filter by the object’s `databaseId` field. */
8789
+ databaseId?: UUIDFilter;
7918
8790
  /** Filter by the object’s `viewId` field. */
7919
8791
  viewId?: UUIDFilter;
7920
8792
  /** Filter by the object’s `tableId` field. */
@@ -7927,6 +8799,8 @@ export interface ViewTableFilter {
7927
8799
  or?: ViewTableFilter[];
7928
8800
  /** Negates the expression. */
7929
8801
  not?: ViewTableFilter;
8802
+ /** Filter by the object’s `database` relation. */
8803
+ database?: DatabaseFilter;
7930
8804
  /** Filter by the object’s `table` relation. */
7931
8805
  table?: TableFilter;
7932
8806
  /** Filter by the object’s `view` relation. */
@@ -8021,8 +8895,6 @@ export interface SpatialRelationFilter {
8021
8895
  paramName?: StringFilter;
8022
8896
  /** Filter by the object’s `category` field. */
8023
8897
  category?: ObjectCategoryFilter;
8024
- /** Filter by the object’s `module` field. */
8025
- module?: StringFilter;
8026
8898
  /** Filter by the object’s `scope` field. */
8027
8899
  scope?: IntFilter;
8028
8900
  /** Filter by the object’s `tags` field. */
@@ -8260,8 +9132,6 @@ export interface SchemaFilter {
8260
9132
  smartTags?: JSONFilter;
8261
9133
  /** Filter by the object’s `category` field. */
8262
9134
  category?: ObjectCategoryFilter;
8263
- /** Filter by the object’s `module` field. */
8264
- module?: StringFilter;
8265
9135
  /** Filter by the object’s `scope` field. */
8266
9136
  scope?: IntFilter;
8267
9137
  /** Filter by the object’s `tags` field. */
@@ -8304,6 +9174,10 @@ export interface SchemaFilter {
8304
9174
  functions?: SchemaToManyFunctionFilter;
8305
9175
  /** `functions` exist. */
8306
9176
  functionsExist?: boolean;
9177
+ /** Filter by the object’s `compositeTypes` relation. */
9178
+ compositeTypes?: SchemaToManyCompositeTypeFilter;
9179
+ /** `compositeTypes` exist. */
9180
+ compositeTypesExist?: boolean;
8307
9181
  /** Filter by the object’s `apiSchemas` relation. */
8308
9182
  apiSchemas?: SchemaToManyApiSchemaFilter;
8309
9183
  /** `apiSchemas` exist. */
@@ -8917,6 +9791,10 @@ export interface DatabaseFilter {
8917
9791
  views?: DatabaseToManyViewFilter;
8918
9792
  /** `views` exist. */
8919
9793
  viewsExist?: boolean;
9794
+ /** Filter by the object’s `viewTables` relation. */
9795
+ viewTables?: DatabaseToManyViewTableFilter;
9796
+ /** `viewTables` exist. */
9797
+ viewTablesExist?: boolean;
8920
9798
  /** Filter by the object’s `viewGrants` relation. */
8921
9799
  viewGrants?: DatabaseToManyViewGrantFilter;
8922
9800
  /** `viewGrants` exist. */
@@ -8949,6 +9827,10 @@ export interface DatabaseFilter {
8949
9827
  partitions?: DatabaseToManyPartitionFilter;
8950
9828
  /** `partitions` exist. */
8951
9829
  partitionsExist?: boolean;
9830
+ /** Filter by the object’s `compositeTypes` relation. */
9831
+ compositeTypes?: DatabaseToManyCompositeTypeFilter;
9832
+ /** `compositeTypes` exist. */
9833
+ compositeTypesExist?: boolean;
8952
9834
  /** Filter by the object’s `databaseTransfers` relation. */
8953
9835
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
8954
9836
  /** `databaseTransfers` exist. */
@@ -10415,6 +11297,51 @@ export type DeleteEnumPayloadSelect = {
10415
11297
  select: EnumEdgeSelect;
10416
11298
  };
10417
11299
  };
11300
+ export interface CreateCompositeTypePayload {
11301
+ clientMutationId?: string | null;
11302
+ /** The `CompositeType` that was created by this mutation. */
11303
+ compositeType?: CompositeType | null;
11304
+ compositeTypeEdge?: CompositeTypeEdge | null;
11305
+ }
11306
+ export type CreateCompositeTypePayloadSelect = {
11307
+ clientMutationId?: boolean;
11308
+ compositeType?: {
11309
+ select: CompositeTypeSelect;
11310
+ };
11311
+ compositeTypeEdge?: {
11312
+ select: CompositeTypeEdgeSelect;
11313
+ };
11314
+ };
11315
+ export interface UpdateCompositeTypePayload {
11316
+ clientMutationId?: string | null;
11317
+ /** The `CompositeType` that was updated by this mutation. */
11318
+ compositeType?: CompositeType | null;
11319
+ compositeTypeEdge?: CompositeTypeEdge | null;
11320
+ }
11321
+ export type UpdateCompositeTypePayloadSelect = {
11322
+ clientMutationId?: boolean;
11323
+ compositeType?: {
11324
+ select: CompositeTypeSelect;
11325
+ };
11326
+ compositeTypeEdge?: {
11327
+ select: CompositeTypeEdgeSelect;
11328
+ };
11329
+ };
11330
+ export interface DeleteCompositeTypePayload {
11331
+ clientMutationId?: string | null;
11332
+ /** The `CompositeType` that was deleted by this mutation. */
11333
+ compositeType?: CompositeType | null;
11334
+ compositeTypeEdge?: CompositeTypeEdge | null;
11335
+ }
11336
+ export type DeleteCompositeTypePayloadSelect = {
11337
+ clientMutationId?: boolean;
11338
+ compositeType?: {
11339
+ select: CompositeTypeSelect;
11340
+ };
11341
+ compositeTypeEdge?: {
11342
+ select: CompositeTypeEdgeSelect;
11343
+ };
11344
+ };
10418
11345
  export interface CreateApiSchemaPayload {
10419
11346
  clientMutationId?: string | null;
10420
11347
  /** The `ApiSchema` that was created by this mutation. */
@@ -11640,6 +12567,18 @@ export type EnumEdgeSelect = {
11640
12567
  select: EnumSelect;
11641
12568
  };
11642
12569
  };
12570
+ /** A `CompositeType` edge in the connection. */
12571
+ export interface CompositeTypeEdge {
12572
+ cursor?: string | null;
12573
+ /** The `CompositeType` at the end of the edge. */
12574
+ node?: CompositeType | null;
12575
+ }
12576
+ export type CompositeTypeEdgeSelect = {
12577
+ cursor?: boolean;
12578
+ node?: {
12579
+ select: CompositeTypeSelect;
12580
+ };
12581
+ };
11643
12582
  /** A `ApiSchema` edge in the connection. */
11644
12583
  export interface ApiSchemaEdge {
11645
12584
  cursor?: string | null;