@constructive-io/react 1.11.1 → 1.11.3

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 (715) hide show
  1. package/admin/orm/client.js +11 -1
  2. package/admin/schema-types.d.ts +7 -1
  3. package/agent/orm/client.js +11 -1
  4. package/agent/orm/input-types.d.ts +0 -3
  5. package/agent/schema-types.d.ts +7 -3
  6. package/api/hooks/index.d.ts +1 -1
  7. package/api/hooks/index.js +1 -1
  8. package/api/hooks/invalidation.d.ts +108 -12
  9. package/api/hooks/invalidation.js +287 -31
  10. package/api/hooks/mutation-keys.d.ts +224 -24
  11. package/api/hooks/mutation-keys.js +152 -16
  12. package/api/hooks/mutations/index.d.ts +58 -6
  13. package/api/hooks/mutations/index.js +58 -6
  14. package/api/hooks/mutations/useCreateApisMutation.d.ts +34 -0
  15. package/api/hooks/mutations/{useCreateApiMutation.js → useCreateApisMutation.js} +5 -5
  16. package/api/hooks/mutations/useCreateDeriveMutation.d.ts +34 -0
  17. package/api/hooks/mutations/useCreateDeriveMutation.js +34 -0
  18. package/api/hooks/mutations/useCreateFieldBehaviorMutation.d.ts +34 -0
  19. package/api/hooks/mutations/useCreateFieldBehaviorMutation.js +34 -0
  20. package/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.d.ts +34 -0
  21. package/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.js +34 -0
  22. package/api/hooks/mutations/useCreatePageMutation.d.ts +34 -0
  23. package/api/hooks/mutations/useCreatePageMutation.js +34 -0
  24. package/api/hooks/mutations/useCreatePlatformApisMutation.d.ts +34 -0
  25. package/api/hooks/mutations/{useCreatePlatformApiMutation.js → useCreatePlatformApisMutation.js} +5 -5
  26. package/api/hooks/mutations/useCreatePlatformPageMutation.d.ts +34 -0
  27. package/api/hooks/mutations/useCreatePlatformPageMutation.js +34 -0
  28. package/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.d.ts +34 -0
  29. package/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.js +34 -0
  30. package/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.d.ts +34 -0
  31. package/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.js +34 -0
  32. package/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.d.ts +34 -0
  33. package/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.js +34 -0
  34. package/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.d.ts +34 -0
  35. package/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.js +34 -0
  36. package/api/hooks/mutations/useCreateSiteAppLinkMutation.d.ts +34 -0
  37. package/api/hooks/mutations/useCreateSiteAppLinkMutation.js +34 -0
  38. package/api/hooks/mutations/useCreateSiteDeepLinkMutation.d.ts +34 -0
  39. package/api/hooks/mutations/useCreateSiteDeepLinkMutation.js +34 -0
  40. package/api/hooks/mutations/useCreateSiteErrorPageMutation.d.ts +34 -0
  41. package/api/hooks/mutations/useCreateSiteErrorPageMutation.js +34 -0
  42. package/api/hooks/mutations/useCreateSiteWebConfigMutation.d.ts +34 -0
  43. package/api/hooks/mutations/useCreateSiteWebConfigMutation.js +34 -0
  44. package/api/hooks/mutations/useCreateTableBehaviorMutation.d.ts +34 -0
  45. package/api/hooks/mutations/useCreateTableBehaviorMutation.js +34 -0
  46. package/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.d.ts +34 -0
  47. package/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.js +34 -0
  48. package/api/hooks/mutations/useCreateViewBehaviorMutation.d.ts +34 -0
  49. package/api/hooks/mutations/useCreateViewBehaviorMutation.js +34 -0
  50. package/{esm/api/hooks/mutations/useDeleteApiMutation.d.ts → api/hooks/mutations/useDeleteApisMutation.d.ts} +10 -10
  51. package/api/hooks/mutations/{useDeleteApiMutation.js → useDeleteApisMutation.js} +6 -6
  52. package/api/hooks/mutations/useDeleteDeriveMutation.d.ts +38 -0
  53. package/api/hooks/mutations/useDeleteDeriveMutation.js +39 -0
  54. package/api/hooks/mutations/useDeleteFieldBehaviorMutation.d.ts +38 -0
  55. package/api/hooks/mutations/useDeleteFieldBehaviorMutation.js +39 -0
  56. package/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.d.ts +38 -0
  57. package/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.js +39 -0
  58. package/api/hooks/mutations/useDeletePageMutation.d.ts +38 -0
  59. package/api/hooks/mutations/useDeletePageMutation.js +39 -0
  60. package/{esm/api/hooks/mutations/useDeletePlatformApiMutation.d.ts → api/hooks/mutations/useDeletePlatformApisMutation.d.ts} +10 -10
  61. package/api/hooks/mutations/{useDeletePlatformApiMutation.js → useDeletePlatformApisMutation.js} +6 -6
  62. package/api/hooks/mutations/useDeletePlatformPageMutation.d.ts +38 -0
  63. package/api/hooks/mutations/useDeletePlatformPageMutation.js +39 -0
  64. package/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.d.ts +38 -0
  65. package/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.js +39 -0
  66. package/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.d.ts +38 -0
  67. package/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.js +39 -0
  68. package/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.d.ts +38 -0
  69. package/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.js +39 -0
  70. package/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.d.ts +38 -0
  71. package/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.js +39 -0
  72. package/api/hooks/mutations/useDeleteSiteAppLinkMutation.d.ts +38 -0
  73. package/api/hooks/mutations/useDeleteSiteAppLinkMutation.js +39 -0
  74. package/api/hooks/mutations/useDeleteSiteDeepLinkMutation.d.ts +38 -0
  75. package/api/hooks/mutations/useDeleteSiteDeepLinkMutation.js +39 -0
  76. package/api/hooks/mutations/useDeleteSiteErrorPageMutation.d.ts +38 -0
  77. package/api/hooks/mutations/useDeleteSiteErrorPageMutation.js +39 -0
  78. package/api/hooks/mutations/useDeleteSiteWebConfigMutation.d.ts +38 -0
  79. package/api/hooks/mutations/useDeleteSiteWebConfigMutation.js +39 -0
  80. package/api/hooks/mutations/useDeleteTableBehaviorMutation.d.ts +38 -0
  81. package/api/hooks/mutations/useDeleteTableBehaviorMutation.js +39 -0
  82. package/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.d.ts +38 -0
  83. package/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.js +39 -0
  84. package/api/hooks/mutations/useDeleteViewBehaviorMutation.d.ts +38 -0
  85. package/api/hooks/mutations/useDeleteViewBehaviorMutation.js +39 -0
  86. package/api/hooks/mutations/useDomainsAssignSubdomainMutation.d.ts +20 -0
  87. package/api/hooks/mutations/useDomainsAssignSubdomainMutation.js +26 -0
  88. package/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.d.ts +20 -0
  89. package/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.js +26 -0
  90. package/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.d.ts +20 -0
  91. package/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.js +26 -0
  92. package/api/hooks/mutations/useSitesProvisionStaticSiteMutation.d.ts +20 -0
  93. package/api/hooks/mutations/useSitesProvisionStaticSiteMutation.js +26 -0
  94. package/{esm/api/hooks/mutations/useUpdateApiMutation.d.ts → api/hooks/mutations/useUpdateApisMutation.d.ts} +13 -13
  95. package/api/hooks/mutations/{useUpdateApiMutation.js → useUpdateApisMutation.js} +8 -8
  96. package/api/hooks/mutations/useUpdateDeriveMutation.d.ts +40 -0
  97. package/api/hooks/mutations/useUpdateDeriveMutation.js +40 -0
  98. package/api/hooks/mutations/useUpdateFieldBehaviorMutation.d.ts +40 -0
  99. package/api/hooks/mutations/useUpdateFieldBehaviorMutation.js +40 -0
  100. package/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.d.ts +40 -0
  101. package/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.js +40 -0
  102. package/api/hooks/mutations/useUpdatePageMutation.d.ts +40 -0
  103. package/api/hooks/mutations/useUpdatePageMutation.js +40 -0
  104. package/api/hooks/mutations/useUpdatePlatformApisMutation.d.ts +40 -0
  105. package/api/hooks/mutations/{useUpdatePlatformApiMutation.js → useUpdatePlatformApisMutation.js} +8 -8
  106. package/api/hooks/mutations/useUpdatePlatformPageMutation.d.ts +40 -0
  107. package/api/hooks/mutations/useUpdatePlatformPageMutation.js +40 -0
  108. package/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.d.ts +40 -0
  109. package/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.js +40 -0
  110. package/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.d.ts +40 -0
  111. package/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.js +40 -0
  112. package/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.d.ts +40 -0
  113. package/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.js +40 -0
  114. package/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.d.ts +40 -0
  115. package/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.js +40 -0
  116. package/api/hooks/mutations/useUpdateSiteAppLinkMutation.d.ts +40 -0
  117. package/api/hooks/mutations/useUpdateSiteAppLinkMutation.js +40 -0
  118. package/api/hooks/mutations/useUpdateSiteDeepLinkMutation.d.ts +40 -0
  119. package/api/hooks/mutations/useUpdateSiteDeepLinkMutation.js +40 -0
  120. package/api/hooks/mutations/useUpdateSiteErrorPageMutation.d.ts +40 -0
  121. package/api/hooks/mutations/useUpdateSiteErrorPageMutation.js +40 -0
  122. package/api/hooks/mutations/useUpdateSiteWebConfigMutation.d.ts +40 -0
  123. package/api/hooks/mutations/useUpdateSiteWebConfigMutation.js +40 -0
  124. package/api/hooks/mutations/useUpdateTableBehaviorMutation.d.ts +40 -0
  125. package/api/hooks/mutations/useUpdateTableBehaviorMutation.js +40 -0
  126. package/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.d.ts +40 -0
  127. package/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.js +40 -0
  128. package/api/hooks/mutations/useUpdateViewBehaviorMutation.d.ts +40 -0
  129. package/api/hooks/mutations/useUpdateViewBehaviorMutation.js +40 -0
  130. package/api/hooks/queries/index.d.ts +38 -4
  131. package/api/hooks/queries/index.js +38 -4
  132. package/api/hooks/queries/useApisQuery.d.ts +21 -25
  133. package/api/hooks/queries/useApisQuery.js +24 -9
  134. package/api/hooks/queries/useApisesQuery.d.ts +69 -0
  135. package/api/hooks/queries/useApisesQuery.js +38 -0
  136. package/api/hooks/queries/useDeriveQuery.d.ts +65 -0
  137. package/api/hooks/queries/{useApiQuery.js → useDeriveQuery.js} +14 -14
  138. package/api/hooks/queries/useDerivesQuery.d.ts +69 -0
  139. package/api/hooks/queries/useDerivesQuery.js +38 -0
  140. package/api/hooks/queries/useFieldBehaviorQuery.d.ts +65 -0
  141. package/api/hooks/queries/useFieldBehaviorQuery.js +53 -0
  142. package/api/hooks/queries/useFieldBehaviorsQuery.d.ts +69 -0
  143. package/api/hooks/queries/useFieldBehaviorsQuery.js +38 -0
  144. package/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.d.ts +65 -0
  145. package/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.js +53 -0
  146. package/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.d.ts +69 -0
  147. package/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.js +38 -0
  148. package/api/hooks/queries/usePageQuery.d.ts +65 -0
  149. package/api/hooks/queries/usePageQuery.js +53 -0
  150. package/api/hooks/queries/usePagesQuery.d.ts +69 -0
  151. package/api/hooks/queries/usePagesQuery.js +38 -0
  152. package/api/hooks/queries/usePlatformApisQuery.d.ts +21 -25
  153. package/api/hooks/queries/usePlatformApisQuery.js +24 -9
  154. package/api/hooks/queries/usePlatformApisesQuery.d.ts +69 -0
  155. package/api/hooks/queries/usePlatformApisesQuery.js +38 -0
  156. package/api/hooks/queries/usePlatformPageQuery.d.ts +65 -0
  157. package/api/hooks/queries/usePlatformPageQuery.js +53 -0
  158. package/api/hooks/queries/usePlatformPagesQuery.d.ts +69 -0
  159. package/api/hooks/queries/usePlatformPagesQuery.js +38 -0
  160. package/api/hooks/queries/usePlatformSiteAppLinkQuery.d.ts +65 -0
  161. package/api/hooks/queries/usePlatformSiteAppLinkQuery.js +53 -0
  162. package/api/hooks/queries/usePlatformSiteAppLinksQuery.d.ts +69 -0
  163. package/api/hooks/queries/usePlatformSiteAppLinksQuery.js +38 -0
  164. package/api/hooks/queries/usePlatformSiteDeepLinkQuery.d.ts +65 -0
  165. package/api/hooks/queries/usePlatformSiteDeepLinkQuery.js +53 -0
  166. package/api/hooks/queries/usePlatformSiteDeepLinksQuery.d.ts +69 -0
  167. package/api/hooks/queries/usePlatformSiteDeepLinksQuery.js +38 -0
  168. package/api/hooks/queries/usePlatformSiteErrorPageQuery.d.ts +65 -0
  169. package/api/hooks/queries/usePlatformSiteErrorPageQuery.js +53 -0
  170. package/api/hooks/queries/usePlatformSiteErrorPagesQuery.d.ts +69 -0
  171. package/api/hooks/queries/usePlatformSiteErrorPagesQuery.js +38 -0
  172. package/api/hooks/queries/usePlatformSiteWebConfigQuery.d.ts +65 -0
  173. package/api/hooks/queries/usePlatformSiteWebConfigQuery.js +53 -0
  174. package/api/hooks/queries/usePlatformSiteWebConfigsQuery.d.ts +69 -0
  175. package/api/hooks/queries/usePlatformSiteWebConfigsQuery.js +38 -0
  176. package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +53 -0
  177. package/api/hooks/queries/useResolveDeepLinkQuery.js +53 -0
  178. package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +53 -0
  179. package/api/hooks/queries/useResolveSiteAppLinksQuery.js +53 -0
  180. package/api/hooks/queries/useSiteAppLinkQuery.d.ts +65 -0
  181. package/api/hooks/queries/useSiteAppLinkQuery.js +53 -0
  182. package/api/hooks/queries/useSiteAppLinksQuery.d.ts +69 -0
  183. package/api/hooks/queries/useSiteAppLinksQuery.js +38 -0
  184. package/api/hooks/queries/useSiteDeepLinkQuery.d.ts +65 -0
  185. package/api/hooks/queries/useSiteDeepLinkQuery.js +53 -0
  186. package/api/hooks/queries/useSiteDeepLinksQuery.d.ts +69 -0
  187. package/api/hooks/queries/useSiteDeepLinksQuery.js +38 -0
  188. package/api/hooks/queries/useSiteErrorPageQuery.d.ts +65 -0
  189. package/api/hooks/queries/useSiteErrorPageQuery.js +53 -0
  190. package/api/hooks/queries/useSiteErrorPagesQuery.d.ts +69 -0
  191. package/api/hooks/queries/useSiteErrorPagesQuery.js +38 -0
  192. package/api/hooks/queries/useSiteWebConfigQuery.d.ts +65 -0
  193. package/api/hooks/queries/useSiteWebConfigQuery.js +53 -0
  194. package/api/hooks/queries/useSiteWebConfigsQuery.d.ts +69 -0
  195. package/api/hooks/queries/useSiteWebConfigsQuery.js +38 -0
  196. package/api/hooks/queries/useTableBehaviorQuery.d.ts +65 -0
  197. package/api/hooks/queries/useTableBehaviorQuery.js +53 -0
  198. package/api/hooks/queries/useTableBehaviorsQuery.d.ts +69 -0
  199. package/api/hooks/queries/useTableBehaviorsQuery.js +38 -0
  200. package/api/hooks/queries/useUniqueConstraintBehaviorQuery.d.ts +65 -0
  201. package/api/hooks/queries/useUniqueConstraintBehaviorQuery.js +53 -0
  202. package/api/hooks/queries/useUniqueConstraintBehaviorsQuery.d.ts +69 -0
  203. package/api/hooks/queries/useUniqueConstraintBehaviorsQuery.js +38 -0
  204. package/api/hooks/queries/useViewBehaviorQuery.d.ts +65 -0
  205. package/api/hooks/queries/useViewBehaviorQuery.js +53 -0
  206. package/api/hooks/queries/useViewBehaviorsQuery.d.ts +69 -0
  207. package/api/hooks/queries/useViewBehaviorsQuery.js +38 -0
  208. package/api/hooks/query-keys.d.ts +256 -28
  209. package/api/hooks/query-keys.js +148 -18
  210. package/api/orm/client.js +11 -1
  211. package/api/orm/index.d.ts +66 -4
  212. package/api/orm/index.js +36 -4
  213. package/api/orm/input-types.d.ts +4946 -630
  214. package/api/orm/input-types.js +34 -6
  215. package/api/orm/models/apis.d.ts +54 -0
  216. package/api/orm/models/{api.js → apis.js} +27 -27
  217. package/api/orm/models/derive.d.ts +54 -0
  218. package/api/orm/models/derive.js +104 -0
  219. package/api/orm/models/fieldBehavior.d.ts +54 -0
  220. package/api/orm/models/fieldBehavior.js +104 -0
  221. package/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
  222. package/api/orm/models/foreignKeyConstraintBehavior.js +104 -0
  223. package/api/orm/models/index.d.ts +18 -2
  224. package/api/orm/models/index.js +38 -6
  225. package/api/orm/models/page.d.ts +54 -0
  226. package/api/orm/models/page.js +104 -0
  227. package/api/orm/models/platformApis.d.ts +54 -0
  228. package/api/orm/models/platformApis.js +104 -0
  229. package/api/orm/models/platformPage.d.ts +54 -0
  230. package/api/orm/models/platformPage.js +104 -0
  231. package/api/orm/models/platformSiteAppLink.d.ts +54 -0
  232. package/api/orm/models/platformSiteAppLink.js +104 -0
  233. package/api/orm/models/platformSiteDeepLink.d.ts +54 -0
  234. package/api/orm/models/platformSiteDeepLink.js +104 -0
  235. package/api/orm/models/platformSiteErrorPage.d.ts +54 -0
  236. package/api/orm/models/platformSiteErrorPage.js +104 -0
  237. package/api/orm/models/platformSiteWebConfig.d.ts +54 -0
  238. package/api/orm/models/platformSiteWebConfig.js +104 -0
  239. package/api/orm/models/siteAppLink.d.ts +54 -0
  240. package/api/orm/models/{platformApi.js → siteAppLink.js} +27 -27
  241. package/api/orm/models/siteDeepLink.d.ts +54 -0
  242. package/api/orm/models/siteDeepLink.js +104 -0
  243. package/api/orm/models/siteErrorPage.d.ts +54 -0
  244. package/api/orm/models/siteErrorPage.js +104 -0
  245. package/api/orm/models/siteWebConfig.d.ts +54 -0
  246. package/api/orm/models/siteWebConfig.js +104 -0
  247. package/api/orm/models/tableBehavior.d.ts +54 -0
  248. package/api/orm/models/tableBehavior.js +104 -0
  249. package/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
  250. package/api/orm/models/uniqueConstraintBehavior.js +104 -0
  251. package/api/orm/models/viewBehavior.d.ts +54 -0
  252. package/api/orm/models/viewBehavior.js +104 -0
  253. package/api/orm/mutation/index.d.ts +33 -1
  254. package/api/orm/mutation/index.js +48 -0
  255. package/api/orm/query/index.d.ts +17 -0
  256. package/api/orm/query/index.js +28 -0
  257. package/api/schema-types.d.ts +2732 -338
  258. package/api/types.d.ts +238 -26
  259. package/auth/orm/client.js +11 -1
  260. package/auth/orm/input-types.d.ts +166 -220
  261. package/auth/orm/input-types.js +6 -11
  262. package/auth/schema-types.d.ts +31 -46
  263. package/compute/hooks/index.d.ts +1 -1
  264. package/compute/hooks/index.js +1 -1
  265. package/compute/hooks/invalidation.d.ts +12 -0
  266. package/compute/hooks/invalidation.js +32 -0
  267. package/compute/hooks/mutation-keys.d.ts +24 -0
  268. package/compute/hooks/mutation-keys.js +22 -2
  269. package/compute/hooks/mutations/index.d.ts +6 -0
  270. package/compute/hooks/mutations/index.js +6 -0
  271. package/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.d.ts +34 -0
  272. package/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.js +34 -0
  273. package/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.d.ts +34 -0
  274. package/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.js +34 -0
  275. package/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.d.ts +38 -0
  276. package/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.js +39 -0
  277. package/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.d.ts +38 -0
  278. package/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.js +39 -0
  279. package/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.d.ts +40 -0
  280. package/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.js +40 -0
  281. package/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.d.ts +40 -0
  282. package/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.js +40 -0
  283. package/compute/hooks/queries/index.d.ts +4 -0
  284. package/compute/hooks/queries/index.js +4 -0
  285. package/compute/hooks/queries/useFunctionCapabilityBindingQuery.d.ts +65 -0
  286. package/compute/hooks/queries/useFunctionCapabilityBindingQuery.js +53 -0
  287. package/compute/hooks/queries/useFunctionCapabilityBindingsQuery.d.ts +69 -0
  288. package/compute/hooks/queries/useFunctionCapabilityBindingsQuery.js +38 -0
  289. package/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.d.ts +65 -0
  290. package/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.js +53 -0
  291. package/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.d.ts +69 -0
  292. package/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.js +38 -0
  293. package/compute/hooks/query-keys.d.ts +28 -0
  294. package/compute/hooks/query-keys.js +20 -2
  295. package/compute/orm/client.js +11 -1
  296. package/compute/orm/index.d.ts +4 -0
  297. package/compute/orm/index.js +4 -0
  298. package/compute/orm/input-types.d.ts +539 -8
  299. package/compute/orm/input-types.js +2 -0
  300. package/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
  301. package/compute/orm/models/functionCapabilityBinding.js +104 -0
  302. package/compute/orm/models/index.d.ts +2 -0
  303. package/compute/orm/models/index.js +6 -2
  304. package/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
  305. package/compute/orm/models/platformFunctionCapabilityBinding.js +104 -0
  306. package/compute/schema-types.d.ts +312 -10
  307. package/compute/types.d.ts +31 -0
  308. package/config/orm/client.js +11 -1
  309. package/config/orm/input-types.d.ts +53 -5
  310. package/config/schema-types.d.ts +42 -6
  311. package/config/types.d.ts +5 -0
  312. package/esm/admin/orm/client.js +11 -1
  313. package/esm/admin/schema-types.d.ts +7 -1
  314. package/esm/agent/orm/client.js +11 -1
  315. package/esm/agent/orm/input-types.d.ts +0 -3
  316. package/esm/agent/schema-types.d.ts +7 -3
  317. package/esm/api/hooks/index.d.ts +1 -1
  318. package/esm/api/hooks/index.js +1 -1
  319. package/esm/api/hooks/invalidation.d.ts +108 -12
  320. package/esm/api/hooks/invalidation.js +288 -32
  321. package/esm/api/hooks/mutation-keys.d.ts +224 -24
  322. package/esm/api/hooks/mutation-keys.js +150 -14
  323. package/esm/api/hooks/mutations/index.d.ts +58 -6
  324. package/esm/api/hooks/mutations/index.js +58 -6
  325. package/esm/api/hooks/mutations/useCreateApisMutation.d.ts +34 -0
  326. package/esm/api/hooks/mutations/{useCreateApiMutation.js → useCreateApisMutation.js} +6 -6
  327. package/esm/api/hooks/mutations/useCreateDeriveMutation.d.ts +34 -0
  328. package/esm/api/hooks/mutations/useCreateDeriveMutation.js +31 -0
  329. package/esm/api/hooks/mutations/useCreateFieldBehaviorMutation.d.ts +34 -0
  330. package/esm/api/hooks/mutations/useCreateFieldBehaviorMutation.js +31 -0
  331. package/esm/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.d.ts +34 -0
  332. package/esm/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.js +31 -0
  333. package/esm/api/hooks/mutations/useCreatePageMutation.d.ts +34 -0
  334. package/esm/api/hooks/mutations/useCreatePageMutation.js +31 -0
  335. package/esm/api/hooks/mutations/useCreatePlatformApisMutation.d.ts +34 -0
  336. package/esm/api/hooks/mutations/{useCreatePlatformApiMutation.js → useCreatePlatformApisMutation.js} +6 -6
  337. package/esm/api/hooks/mutations/useCreatePlatformPageMutation.d.ts +34 -0
  338. package/esm/api/hooks/mutations/useCreatePlatformPageMutation.js +31 -0
  339. package/esm/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.d.ts +34 -0
  340. package/esm/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.js +31 -0
  341. package/esm/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.d.ts +34 -0
  342. package/esm/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.js +31 -0
  343. package/esm/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.d.ts +34 -0
  344. package/esm/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.js +31 -0
  345. package/esm/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.d.ts +34 -0
  346. package/esm/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.js +31 -0
  347. package/esm/api/hooks/mutations/useCreateSiteAppLinkMutation.d.ts +34 -0
  348. package/esm/api/hooks/mutations/useCreateSiteAppLinkMutation.js +31 -0
  349. package/esm/api/hooks/mutations/useCreateSiteDeepLinkMutation.d.ts +34 -0
  350. package/esm/api/hooks/mutations/useCreateSiteDeepLinkMutation.js +31 -0
  351. package/esm/api/hooks/mutations/useCreateSiteErrorPageMutation.d.ts +34 -0
  352. package/esm/api/hooks/mutations/useCreateSiteErrorPageMutation.js +31 -0
  353. package/esm/api/hooks/mutations/useCreateSiteWebConfigMutation.d.ts +34 -0
  354. package/esm/api/hooks/mutations/useCreateSiteWebConfigMutation.js +31 -0
  355. package/esm/api/hooks/mutations/useCreateTableBehaviorMutation.d.ts +34 -0
  356. package/esm/api/hooks/mutations/useCreateTableBehaviorMutation.js +31 -0
  357. package/esm/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.d.ts +34 -0
  358. package/esm/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.js +31 -0
  359. package/esm/api/hooks/mutations/useCreateViewBehaviorMutation.d.ts +34 -0
  360. package/esm/api/hooks/mutations/useCreateViewBehaviorMutation.js +31 -0
  361. package/{api/hooks/mutations/useDeleteApiMutation.d.ts → esm/api/hooks/mutations/useDeleteApisMutation.d.ts} +10 -10
  362. package/esm/api/hooks/mutations/{useDeleteApiMutation.js → useDeleteApisMutation.js} +7 -7
  363. package/esm/api/hooks/mutations/useDeleteDeriveMutation.d.ts +38 -0
  364. package/esm/api/hooks/mutations/useDeleteDeriveMutation.js +36 -0
  365. package/esm/api/hooks/mutations/useDeleteFieldBehaviorMutation.d.ts +38 -0
  366. package/esm/api/hooks/mutations/useDeleteFieldBehaviorMutation.js +36 -0
  367. package/esm/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.d.ts +38 -0
  368. package/esm/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.js +36 -0
  369. package/esm/api/hooks/mutations/useDeletePageMutation.d.ts +38 -0
  370. package/esm/api/hooks/mutations/useDeletePageMutation.js +36 -0
  371. package/{api/hooks/mutations/useDeletePlatformApiMutation.d.ts → esm/api/hooks/mutations/useDeletePlatformApisMutation.d.ts} +10 -10
  372. package/esm/api/hooks/mutations/{useDeletePlatformApiMutation.js → useDeletePlatformApisMutation.js} +7 -7
  373. package/esm/api/hooks/mutations/useDeletePlatformPageMutation.d.ts +38 -0
  374. package/esm/api/hooks/mutations/useDeletePlatformPageMutation.js +36 -0
  375. package/esm/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.d.ts +38 -0
  376. package/esm/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.js +36 -0
  377. package/esm/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.d.ts +38 -0
  378. package/esm/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.js +36 -0
  379. package/esm/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.d.ts +38 -0
  380. package/esm/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.js +36 -0
  381. package/esm/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.d.ts +38 -0
  382. package/esm/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.js +36 -0
  383. package/esm/api/hooks/mutations/useDeleteSiteAppLinkMutation.d.ts +38 -0
  384. package/esm/api/hooks/mutations/useDeleteSiteAppLinkMutation.js +36 -0
  385. package/esm/api/hooks/mutations/useDeleteSiteDeepLinkMutation.d.ts +38 -0
  386. package/esm/api/hooks/mutations/useDeleteSiteDeepLinkMutation.js +36 -0
  387. package/esm/api/hooks/mutations/useDeleteSiteErrorPageMutation.d.ts +38 -0
  388. package/esm/api/hooks/mutations/useDeleteSiteErrorPageMutation.js +36 -0
  389. package/esm/api/hooks/mutations/useDeleteSiteWebConfigMutation.d.ts +38 -0
  390. package/esm/api/hooks/mutations/useDeleteSiteWebConfigMutation.js +36 -0
  391. package/esm/api/hooks/mutations/useDeleteTableBehaviorMutation.d.ts +38 -0
  392. package/esm/api/hooks/mutations/useDeleteTableBehaviorMutation.js +36 -0
  393. package/esm/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.d.ts +38 -0
  394. package/esm/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.js +36 -0
  395. package/esm/api/hooks/mutations/useDeleteViewBehaviorMutation.d.ts +38 -0
  396. package/esm/api/hooks/mutations/useDeleteViewBehaviorMutation.js +36 -0
  397. package/esm/api/hooks/mutations/useDomainsAssignSubdomainMutation.d.ts +20 -0
  398. package/esm/api/hooks/mutations/useDomainsAssignSubdomainMutation.js +23 -0
  399. package/esm/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.d.ts +20 -0
  400. package/esm/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.js +23 -0
  401. package/esm/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.d.ts +20 -0
  402. package/esm/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.js +23 -0
  403. package/esm/api/hooks/mutations/useSitesProvisionStaticSiteMutation.d.ts +20 -0
  404. package/esm/api/hooks/mutations/useSitesProvisionStaticSiteMutation.js +23 -0
  405. package/{api/hooks/mutations/useUpdateApiMutation.d.ts → esm/api/hooks/mutations/useUpdateApisMutation.d.ts} +13 -13
  406. package/esm/api/hooks/mutations/{useUpdateApiMutation.js → useUpdateApisMutation.js} +9 -9
  407. package/esm/api/hooks/mutations/useUpdateDeriveMutation.d.ts +40 -0
  408. package/esm/api/hooks/mutations/useUpdateDeriveMutation.js +37 -0
  409. package/esm/api/hooks/mutations/useUpdateFieldBehaviorMutation.d.ts +40 -0
  410. package/esm/api/hooks/mutations/useUpdateFieldBehaviorMutation.js +37 -0
  411. package/esm/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.d.ts +40 -0
  412. package/esm/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.js +37 -0
  413. package/esm/api/hooks/mutations/useUpdatePageMutation.d.ts +40 -0
  414. package/esm/api/hooks/mutations/useUpdatePageMutation.js +37 -0
  415. package/esm/api/hooks/mutations/useUpdatePlatformApisMutation.d.ts +40 -0
  416. package/esm/api/hooks/mutations/{useUpdatePlatformApiMutation.js → useUpdatePlatformApisMutation.js} +9 -9
  417. package/esm/api/hooks/mutations/useUpdatePlatformPageMutation.d.ts +40 -0
  418. package/esm/api/hooks/mutations/useUpdatePlatformPageMutation.js +37 -0
  419. package/esm/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.d.ts +40 -0
  420. package/esm/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.js +37 -0
  421. package/esm/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.d.ts +40 -0
  422. package/esm/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.js +37 -0
  423. package/esm/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.d.ts +40 -0
  424. package/esm/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.js +37 -0
  425. package/esm/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.d.ts +40 -0
  426. package/esm/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.js +37 -0
  427. package/esm/api/hooks/mutations/useUpdateSiteAppLinkMutation.d.ts +40 -0
  428. package/esm/api/hooks/mutations/useUpdateSiteAppLinkMutation.js +37 -0
  429. package/esm/api/hooks/mutations/useUpdateSiteDeepLinkMutation.d.ts +40 -0
  430. package/esm/api/hooks/mutations/useUpdateSiteDeepLinkMutation.js +37 -0
  431. package/esm/api/hooks/mutations/useUpdateSiteErrorPageMutation.d.ts +40 -0
  432. package/esm/api/hooks/mutations/useUpdateSiteErrorPageMutation.js +37 -0
  433. package/esm/api/hooks/mutations/useUpdateSiteWebConfigMutation.d.ts +40 -0
  434. package/esm/api/hooks/mutations/useUpdateSiteWebConfigMutation.js +37 -0
  435. package/esm/api/hooks/mutations/useUpdateTableBehaviorMutation.d.ts +40 -0
  436. package/esm/api/hooks/mutations/useUpdateTableBehaviorMutation.js +37 -0
  437. package/esm/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.d.ts +40 -0
  438. package/esm/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.js +37 -0
  439. package/esm/api/hooks/mutations/useUpdateViewBehaviorMutation.d.ts +40 -0
  440. package/esm/api/hooks/mutations/useUpdateViewBehaviorMutation.js +37 -0
  441. package/esm/api/hooks/queries/index.d.ts +38 -4
  442. package/esm/api/hooks/queries/index.js +38 -4
  443. package/esm/api/hooks/queries/useApisQuery.d.ts +21 -25
  444. package/esm/api/hooks/queries/useApisQuery.js +26 -11
  445. package/esm/api/hooks/queries/useApisesQuery.d.ts +69 -0
  446. package/esm/api/hooks/queries/useApisesQuery.js +32 -0
  447. package/esm/api/hooks/queries/useDeriveQuery.d.ts +65 -0
  448. package/esm/api/hooks/queries/{useApiQuery.js → useDeriveQuery.js} +11 -11
  449. package/esm/api/hooks/queries/useDerivesQuery.d.ts +69 -0
  450. package/esm/api/hooks/queries/useDerivesQuery.js +32 -0
  451. package/esm/api/hooks/queries/useFieldBehaviorQuery.d.ts +65 -0
  452. package/esm/api/hooks/queries/useFieldBehaviorQuery.js +47 -0
  453. package/esm/api/hooks/queries/useFieldBehaviorsQuery.d.ts +69 -0
  454. package/esm/api/hooks/queries/useFieldBehaviorsQuery.js +32 -0
  455. package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.d.ts +65 -0
  456. package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.js +47 -0
  457. package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.d.ts +69 -0
  458. package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.js +32 -0
  459. package/esm/api/hooks/queries/usePageQuery.d.ts +65 -0
  460. package/esm/api/hooks/queries/usePageQuery.js +47 -0
  461. package/esm/api/hooks/queries/usePagesQuery.d.ts +69 -0
  462. package/esm/api/hooks/queries/usePagesQuery.js +32 -0
  463. package/esm/api/hooks/queries/usePlatformApisQuery.d.ts +21 -25
  464. package/esm/api/hooks/queries/usePlatformApisQuery.js +26 -11
  465. package/esm/api/hooks/queries/usePlatformApisesQuery.d.ts +69 -0
  466. package/esm/api/hooks/queries/usePlatformApisesQuery.js +32 -0
  467. package/esm/api/hooks/queries/usePlatformPageQuery.d.ts +65 -0
  468. package/esm/api/hooks/queries/usePlatformPageQuery.js +47 -0
  469. package/esm/api/hooks/queries/usePlatformPagesQuery.d.ts +69 -0
  470. package/esm/api/hooks/queries/usePlatformPagesQuery.js +32 -0
  471. package/esm/api/hooks/queries/usePlatformSiteAppLinkQuery.d.ts +65 -0
  472. package/esm/api/hooks/queries/usePlatformSiteAppLinkQuery.js +47 -0
  473. package/esm/api/hooks/queries/usePlatformSiteAppLinksQuery.d.ts +69 -0
  474. package/esm/api/hooks/queries/usePlatformSiteAppLinksQuery.js +32 -0
  475. package/esm/api/hooks/queries/usePlatformSiteDeepLinkQuery.d.ts +65 -0
  476. package/esm/api/hooks/queries/usePlatformSiteDeepLinkQuery.js +47 -0
  477. package/esm/api/hooks/queries/usePlatformSiteDeepLinksQuery.d.ts +69 -0
  478. package/esm/api/hooks/queries/usePlatformSiteDeepLinksQuery.js +32 -0
  479. package/esm/api/hooks/queries/usePlatformSiteErrorPageQuery.d.ts +65 -0
  480. package/esm/api/hooks/queries/usePlatformSiteErrorPageQuery.js +47 -0
  481. package/esm/api/hooks/queries/usePlatformSiteErrorPagesQuery.d.ts +69 -0
  482. package/esm/api/hooks/queries/usePlatformSiteErrorPagesQuery.js +32 -0
  483. package/esm/api/hooks/queries/usePlatformSiteWebConfigQuery.d.ts +65 -0
  484. package/esm/api/hooks/queries/usePlatformSiteWebConfigQuery.js +47 -0
  485. package/esm/api/hooks/queries/usePlatformSiteWebConfigsQuery.d.ts +69 -0
  486. package/esm/api/hooks/queries/usePlatformSiteWebConfigsQuery.js +32 -0
  487. package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +53 -0
  488. package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +47 -0
  489. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +53 -0
  490. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +47 -0
  491. package/esm/api/hooks/queries/useSiteAppLinkQuery.d.ts +65 -0
  492. package/esm/api/hooks/queries/useSiteAppLinkQuery.js +47 -0
  493. package/esm/api/hooks/queries/useSiteAppLinksQuery.d.ts +69 -0
  494. package/esm/api/hooks/queries/useSiteAppLinksQuery.js +32 -0
  495. package/esm/api/hooks/queries/useSiteDeepLinkQuery.d.ts +65 -0
  496. package/esm/api/hooks/queries/useSiteDeepLinkQuery.js +47 -0
  497. package/esm/api/hooks/queries/useSiteDeepLinksQuery.d.ts +69 -0
  498. package/esm/api/hooks/queries/useSiteDeepLinksQuery.js +32 -0
  499. package/esm/api/hooks/queries/useSiteErrorPageQuery.d.ts +65 -0
  500. package/esm/api/hooks/queries/useSiteErrorPageQuery.js +47 -0
  501. package/esm/api/hooks/queries/useSiteErrorPagesQuery.d.ts +69 -0
  502. package/esm/api/hooks/queries/useSiteErrorPagesQuery.js +32 -0
  503. package/esm/api/hooks/queries/useSiteWebConfigQuery.d.ts +65 -0
  504. package/esm/api/hooks/queries/useSiteWebConfigQuery.js +47 -0
  505. package/esm/api/hooks/queries/useSiteWebConfigsQuery.d.ts +69 -0
  506. package/esm/api/hooks/queries/useSiteWebConfigsQuery.js +32 -0
  507. package/esm/api/hooks/queries/useTableBehaviorQuery.d.ts +65 -0
  508. package/esm/api/hooks/queries/useTableBehaviorQuery.js +47 -0
  509. package/esm/api/hooks/queries/useTableBehaviorsQuery.d.ts +69 -0
  510. package/esm/api/hooks/queries/useTableBehaviorsQuery.js +32 -0
  511. package/esm/api/hooks/queries/useUniqueConstraintBehaviorQuery.d.ts +65 -0
  512. package/esm/api/hooks/queries/useUniqueConstraintBehaviorQuery.js +47 -0
  513. package/esm/api/hooks/queries/useUniqueConstraintBehaviorsQuery.d.ts +69 -0
  514. package/esm/api/hooks/queries/useUniqueConstraintBehaviorsQuery.js +32 -0
  515. package/esm/api/hooks/queries/useViewBehaviorQuery.d.ts +65 -0
  516. package/esm/api/hooks/queries/useViewBehaviorQuery.js +47 -0
  517. package/esm/api/hooks/queries/useViewBehaviorsQuery.d.ts +69 -0
  518. package/esm/api/hooks/queries/useViewBehaviorsQuery.js +32 -0
  519. package/esm/api/hooks/query-keys.d.ts +256 -28
  520. package/esm/api/hooks/query-keys.js +146 -16
  521. package/esm/api/orm/client.js +11 -1
  522. package/esm/api/orm/index.d.ts +66 -4
  523. package/esm/api/orm/index.js +36 -4
  524. package/esm/api/orm/input-types.d.ts +4946 -630
  525. package/esm/api/orm/input-types.js +34 -6
  526. package/esm/api/orm/models/apis.d.ts +54 -0
  527. package/esm/api/orm/models/{api.js → apis.js} +25 -25
  528. package/esm/api/orm/models/derive.d.ts +54 -0
  529. package/esm/api/orm/models/derive.js +100 -0
  530. package/esm/api/orm/models/fieldBehavior.d.ts +54 -0
  531. package/esm/api/orm/models/fieldBehavior.js +100 -0
  532. package/esm/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
  533. package/esm/api/orm/models/foreignKeyConstraintBehavior.js +100 -0
  534. package/esm/api/orm/models/index.d.ts +18 -2
  535. package/esm/api/orm/models/index.js +18 -2
  536. package/esm/api/orm/models/page.d.ts +54 -0
  537. package/esm/api/orm/models/page.js +100 -0
  538. package/esm/api/orm/models/platformApis.d.ts +54 -0
  539. package/esm/api/orm/models/{platformApi.js → platformApis.js} +25 -25
  540. package/esm/api/orm/models/platformPage.d.ts +54 -0
  541. package/esm/api/orm/models/platformPage.js +100 -0
  542. package/esm/api/orm/models/platformSiteAppLink.d.ts +54 -0
  543. package/esm/api/orm/models/platformSiteAppLink.js +100 -0
  544. package/esm/api/orm/models/platformSiteDeepLink.d.ts +54 -0
  545. package/esm/api/orm/models/platformSiteDeepLink.js +100 -0
  546. package/esm/api/orm/models/platformSiteErrorPage.d.ts +54 -0
  547. package/esm/api/orm/models/platformSiteErrorPage.js +100 -0
  548. package/esm/api/orm/models/platformSiteWebConfig.d.ts +54 -0
  549. package/esm/api/orm/models/platformSiteWebConfig.js +100 -0
  550. package/esm/api/orm/models/siteAppLink.d.ts +54 -0
  551. package/esm/api/orm/models/siteAppLink.js +100 -0
  552. package/esm/api/orm/models/siteDeepLink.d.ts +54 -0
  553. package/esm/api/orm/models/siteDeepLink.js +100 -0
  554. package/esm/api/orm/models/siteErrorPage.d.ts +54 -0
  555. package/esm/api/orm/models/siteErrorPage.js +100 -0
  556. package/esm/api/orm/models/siteWebConfig.d.ts +54 -0
  557. package/esm/api/orm/models/siteWebConfig.js +100 -0
  558. package/esm/api/orm/models/tableBehavior.d.ts +54 -0
  559. package/esm/api/orm/models/tableBehavior.js +100 -0
  560. package/esm/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
  561. package/esm/api/orm/models/uniqueConstraintBehavior.js +100 -0
  562. package/esm/api/orm/models/viewBehavior.d.ts +54 -0
  563. package/esm/api/orm/models/viewBehavior.js +100 -0
  564. package/esm/api/orm/mutation/index.d.ts +33 -1
  565. package/esm/api/orm/mutation/index.js +48 -0
  566. package/esm/api/orm/query/index.d.ts +17 -0
  567. package/esm/api/orm/query/index.js +28 -0
  568. package/esm/api/schema-types.d.ts +2732 -338
  569. package/esm/api/types.d.ts +238 -26
  570. package/esm/auth/orm/client.js +11 -1
  571. package/esm/auth/orm/input-types.d.ts +166 -220
  572. package/esm/auth/orm/input-types.js +6 -11
  573. package/esm/auth/schema-types.d.ts +31 -46
  574. package/esm/compute/hooks/index.d.ts +1 -1
  575. package/esm/compute/hooks/index.js +1 -1
  576. package/esm/compute/hooks/invalidation.d.ts +12 -0
  577. package/esm/compute/hooks/invalidation.js +33 -1
  578. package/esm/compute/hooks/mutation-keys.d.ts +24 -0
  579. package/esm/compute/hooks/mutation-keys.js +20 -0
  580. package/esm/compute/hooks/mutations/index.d.ts +6 -0
  581. package/esm/compute/hooks/mutations/index.js +6 -0
  582. package/esm/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.d.ts +34 -0
  583. package/esm/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.js +31 -0
  584. package/esm/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.d.ts +34 -0
  585. package/esm/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.js +31 -0
  586. package/esm/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.d.ts +38 -0
  587. package/esm/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.js +36 -0
  588. package/esm/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.d.ts +38 -0
  589. package/esm/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.js +36 -0
  590. package/esm/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.d.ts +40 -0
  591. package/esm/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.js +37 -0
  592. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.d.ts +40 -0
  593. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.js +37 -0
  594. package/esm/compute/hooks/queries/index.d.ts +4 -0
  595. package/esm/compute/hooks/queries/index.js +4 -0
  596. package/esm/compute/hooks/queries/useFunctionCapabilityBindingQuery.d.ts +65 -0
  597. package/esm/compute/hooks/queries/useFunctionCapabilityBindingQuery.js +47 -0
  598. package/esm/compute/hooks/queries/useFunctionCapabilityBindingsQuery.d.ts +69 -0
  599. package/esm/compute/hooks/queries/useFunctionCapabilityBindingsQuery.js +32 -0
  600. package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.d.ts +65 -0
  601. package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.js +47 -0
  602. package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.d.ts +69 -0
  603. package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.js +32 -0
  604. package/esm/compute/hooks/query-keys.d.ts +28 -0
  605. package/esm/compute/hooks/query-keys.js +18 -0
  606. package/esm/compute/orm/client.js +11 -1
  607. package/esm/compute/orm/index.d.ts +4 -0
  608. package/esm/compute/orm/index.js +4 -0
  609. package/esm/compute/orm/input-types.d.ts +539 -8
  610. package/esm/compute/orm/input-types.js +2 -0
  611. package/esm/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
  612. package/esm/compute/orm/models/functionCapabilityBinding.js +100 -0
  613. package/esm/compute/orm/models/index.d.ts +2 -0
  614. package/esm/compute/orm/models/index.js +2 -0
  615. package/esm/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
  616. package/esm/compute/orm/models/platformFunctionCapabilityBinding.js +100 -0
  617. package/esm/compute/schema-types.d.ts +312 -10
  618. package/esm/compute/types.d.ts +31 -0
  619. package/esm/config/orm/client.js +11 -1
  620. package/esm/config/orm/input-types.d.ts +53 -5
  621. package/esm/config/schema-types.d.ts +42 -6
  622. package/esm/config/types.d.ts +5 -0
  623. package/esm/infra/orm/client.js +11 -1
  624. package/esm/infra/schema-types.d.ts +7 -1
  625. package/esm/modules/hooks/index.d.ts +1 -1
  626. package/esm/modules/hooks/index.js +1 -1
  627. package/esm/modules/hooks/invalidation.d.ts +6 -0
  628. package/esm/modules/hooks/invalidation.js +17 -1
  629. package/esm/modules/hooks/mutation-keys.d.ts +12 -0
  630. package/esm/modules/hooks/mutation-keys.js +7 -0
  631. package/esm/modules/hooks/mutations/index.d.ts +3 -0
  632. package/esm/modules/hooks/mutations/index.js +3 -0
  633. package/esm/modules/hooks/mutations/useCreatePagesModuleMutation.d.ts +34 -0
  634. package/esm/modules/hooks/mutations/useCreatePagesModuleMutation.js +31 -0
  635. package/esm/modules/hooks/mutations/useDeletePagesModuleMutation.d.ts +38 -0
  636. package/esm/modules/hooks/mutations/useDeletePagesModuleMutation.js +36 -0
  637. package/esm/modules/hooks/mutations/useUpdatePagesModuleMutation.d.ts +40 -0
  638. package/esm/modules/hooks/mutations/useUpdatePagesModuleMutation.js +37 -0
  639. package/esm/modules/hooks/queries/index.d.ts +2 -0
  640. package/esm/modules/hooks/queries/index.js +2 -0
  641. package/esm/modules/hooks/queries/usePagesModuleQuery.d.ts +65 -0
  642. package/esm/{api/hooks/queries/usePlatformApiQuery.js → modules/hooks/queries/usePagesModuleQuery.js} +11 -11
  643. package/esm/modules/hooks/queries/usePagesModulesQuery.d.ts +69 -0
  644. package/esm/modules/hooks/queries/usePagesModulesQuery.js +32 -0
  645. package/esm/modules/hooks/query-keys.d.ts +14 -0
  646. package/esm/modules/hooks/query-keys.js +8 -0
  647. package/esm/modules/orm/client.js +11 -1
  648. package/esm/modules/orm/index.d.ts +2 -0
  649. package/esm/modules/orm/index.js +2 -0
  650. package/esm/modules/orm/input-types.d.ts +2116 -122
  651. package/esm/modules/orm/input-types.js +40 -0
  652. package/esm/modules/orm/models/index.d.ts +1 -0
  653. package/esm/modules/orm/models/index.js +1 -0
  654. package/esm/modules/orm/models/pagesModule.d.ts +54 -0
  655. package/esm/modules/orm/models/pagesModule.js +100 -0
  656. package/esm/modules/schema-types.d.ts +505 -6
  657. package/esm/modules/types.d.ts +43 -0
  658. package/esm/objects/orm/client.js +11 -1
  659. package/esm/objects/schema-types.d.ts +7 -1
  660. package/esm/usage/orm/client.js +11 -1
  661. package/esm/usage/schema-types.d.ts +7 -1
  662. package/infra/orm/client.js +11 -1
  663. package/infra/schema-types.d.ts +7 -1
  664. package/modules/hooks/index.d.ts +1 -1
  665. package/modules/hooks/index.js +1 -1
  666. package/modules/hooks/invalidation.d.ts +6 -0
  667. package/modules/hooks/invalidation.js +16 -0
  668. package/modules/hooks/mutation-keys.d.ts +12 -0
  669. package/modules/hooks/mutation-keys.js +9 -2
  670. package/modules/hooks/mutations/index.d.ts +3 -0
  671. package/modules/hooks/mutations/index.js +3 -0
  672. package/modules/hooks/mutations/useCreatePagesModuleMutation.d.ts +34 -0
  673. package/modules/hooks/mutations/useCreatePagesModuleMutation.js +34 -0
  674. package/modules/hooks/mutations/useDeletePagesModuleMutation.d.ts +38 -0
  675. package/modules/hooks/mutations/useDeletePagesModuleMutation.js +39 -0
  676. package/modules/hooks/mutations/useUpdatePagesModuleMutation.d.ts +40 -0
  677. package/modules/hooks/mutations/useUpdatePagesModuleMutation.js +40 -0
  678. package/modules/hooks/queries/index.d.ts +2 -0
  679. package/modules/hooks/queries/index.js +2 -0
  680. package/modules/hooks/queries/usePagesModuleQuery.d.ts +65 -0
  681. package/{api/hooks/queries/usePlatformApiQuery.js → modules/hooks/queries/usePagesModuleQuery.js} +14 -14
  682. package/modules/hooks/queries/usePagesModulesQuery.d.ts +69 -0
  683. package/modules/hooks/queries/usePagesModulesQuery.js +38 -0
  684. package/modules/hooks/query-keys.d.ts +14 -0
  685. package/modules/hooks/query-keys.js +10 -2
  686. package/modules/orm/client.js +11 -1
  687. package/modules/orm/index.d.ts +2 -0
  688. package/modules/orm/index.js +2 -0
  689. package/modules/orm/input-types.d.ts +2116 -122
  690. package/modules/orm/input-types.js +40 -0
  691. package/modules/orm/models/index.d.ts +1 -0
  692. package/modules/orm/models/index.js +4 -2
  693. package/modules/orm/models/pagesModule.d.ts +54 -0
  694. package/modules/orm/models/pagesModule.js +104 -0
  695. package/modules/schema-types.d.ts +505 -6
  696. package/modules/types.d.ts +43 -0
  697. package/objects/orm/client.js +11 -1
  698. package/objects/schema-types.d.ts +7 -1
  699. package/package.json +5 -5
  700. package/usage/orm/client.js +11 -1
  701. package/usage/schema-types.d.ts +7 -1
  702. package/api/hooks/mutations/useCreateApiMutation.d.ts +0 -34
  703. package/api/hooks/mutations/useCreatePlatformApiMutation.d.ts +0 -34
  704. package/api/hooks/mutations/useUpdatePlatformApiMutation.d.ts +0 -40
  705. package/api/hooks/queries/useApiQuery.d.ts +0 -65
  706. package/api/hooks/queries/usePlatformApiQuery.d.ts +0 -65
  707. package/api/orm/models/api.d.ts +0 -54
  708. package/api/orm/models/platformApi.d.ts +0 -54
  709. package/esm/api/hooks/mutations/useCreateApiMutation.d.ts +0 -34
  710. package/esm/api/hooks/mutations/useCreatePlatformApiMutation.d.ts +0 -34
  711. package/esm/api/hooks/mutations/useUpdatePlatformApiMutation.d.ts +0 -40
  712. package/esm/api/hooks/queries/useApiQuery.d.ts +0 -65
  713. package/esm/api/hooks/queries/usePlatformApiQuery.d.ts +0 -65
  714. package/esm/api/orm/models/api.d.ts +0 -54
  715. package/esm/api/orm/models/platformApi.d.ts +0 -54
@@ -196,6 +196,8 @@ export interface CatalogModule {
196
196
  apisTableName: string | null;
197
197
  appsTableId: string | null;
198
198
  appsTableName: string | null;
199
+ bucketsTableId: string | null;
200
+ bucketsTableName: string | null;
199
201
  databaseId: string | null;
200
202
  defaultPermissions: string[] | null;
201
203
  domainsTableId: string | null;
@@ -218,8 +220,16 @@ export interface CatalogModule {
218
220
  resourcesTableName: string | null;
219
221
  schemaId: string | null;
220
222
  scope: string | null;
223
+ sitesAppLinksTableId: string | null;
224
+ sitesAppLinksTableName: string | null;
225
+ sitesDeepLinksTableId: string | null;
226
+ sitesDeepLinksTableName: string | null;
227
+ sitesErrorPagesTableId: string | null;
228
+ sitesErrorPagesTableName: string | null;
221
229
  sitesTableId: string | null;
222
230
  sitesTableName: string | null;
231
+ sitesWebConfigTableId: string | null;
232
+ sitesWebConfigTableName: string | null;
223
233
  }
224
234
  export interface ComputeLogModule {
225
235
  actorFkTableId: string | null;
@@ -612,6 +622,7 @@ export interface FunctionModule {
612
622
  apiName: string | null;
613
623
  bindingsTableId: string | null;
614
624
  bindingsTableName: string | null;
625
+ capabilityBindingsTableId: string | null;
615
626
  databaseId: string | null;
616
627
  defaultPermissions: string[] | null;
617
628
  definitionsTableId: string | null;
@@ -1019,6 +1030,27 @@ export interface NotificationsModule {
1019
1030
  suppressionsTableId: string | null;
1020
1031
  userSettingsTableId: string | null;
1021
1032
  }
1033
+ export interface PagesModule {
1034
+ apiName: string | null;
1035
+ createdAt: string | null;
1036
+ databaseId: string | null;
1037
+ entityTableId: string | null;
1038
+ id: string | null;
1039
+ merkleStoreModuleId: string | null;
1040
+ pagesTableId: string | null;
1041
+ policies: unknown | null;
1042
+ prefix: string | null;
1043
+ privateApiName: string | null;
1044
+ privateSchemaId: string | null;
1045
+ privateSchemaName: string | null;
1046
+ provisions: unknown | null;
1047
+ publicSchemaId: string | null;
1048
+ publicSchemaName: string | null;
1049
+ scope: string | null;
1050
+ siteSurfaceModuleId: string | null;
1051
+ sitesTableId: string | null;
1052
+ storeNamePrefix: string | null;
1053
+ }
1022
1054
  export interface PermissionsModule {
1023
1055
  actorTableId: string | null;
1024
1056
  apiName: string | null;
@@ -1320,16 +1352,26 @@ export interface SiteSurfaceModule {
1320
1352
  policies: unknown | null;
1321
1353
  prefix: string | null;
1322
1354
  privateApiName: string | null;
1355
+ privateSchemaId: string | null;
1356
+ privateSchemaName: string | null;
1323
1357
  provisions: unknown | null;
1324
1358
  publicSchemaName: string | null;
1325
1359
  schemaId: string | null;
1326
1360
  scope: string | null;
1361
+ siteAppLinksTableId: string | null;
1362
+ siteAppLinksTableName: string | null;
1363
+ siteDeepLinksTableId: string | null;
1364
+ siteDeepLinksTableName: string | null;
1365
+ siteErrorPagesTableId: string | null;
1366
+ siteErrorPagesTableName: string | null;
1327
1367
  siteMetadataTableId: string | null;
1328
1368
  siteMetadataTableName: string | null;
1329
1369
  siteModulesTableId: string | null;
1330
1370
  siteModulesTableName: string | null;
1331
1371
  siteThemesTableId: string | null;
1332
1372
  siteThemesTableName: string | null;
1373
+ siteWebConfigTableId: string | null;
1374
+ siteWebConfigTableName: string | null;
1333
1375
  sitesTableId: string | null;
1334
1376
  sitesTableName: string | null;
1335
1377
  }
@@ -1361,6 +1403,7 @@ export interface StorageModule {
1361
1403
  bucketsTableId: string | null;
1362
1404
  bucketsTableName: string | null;
1363
1405
  cacheTtlSeconds: number | null;
1406
+ catalogModuleId: string | null;
1364
1407
  confirmUploadDelay: string | null;
1365
1408
  databaseId: string | null;
1366
1409
  defaultMaxFileSize: string | null;
@@ -64,6 +64,16 @@ class FetchAdapter {
64
64
  }
65
65
  }
66
66
  exports.FetchAdapter = FetchAdapter;
67
+ /**
68
+ * Describe a single GraphQL error, falling back to its `extensions.code` when
69
+ * the server omits `message` so the error never renders as an empty string.
70
+ */
71
+ function describeGraphQLError(error) {
72
+ if (error.message)
73
+ return error.message;
74
+ const code = error.extensions?.code;
75
+ return typeof code === 'string' ? code : 'Unknown error';
76
+ }
67
77
  /**
68
78
  * Error thrown when GraphQL request fails
69
79
  */
@@ -71,7 +81,7 @@ class GraphQLRequestError extends Error {
71
81
  errors;
72
82
  data;
73
83
  constructor(errors, data = null) {
74
- const messages = errors.map((e) => e.message).join('; ');
84
+ const messages = errors.map(describeGraphQLError).join('; ');
75
85
  super(`GraphQL Error: ${messages}`);
76
86
  this.errors = errors;
77
87
  this.data = data;
@@ -477,6 +477,7 @@ export interface MetaTable {
477
477
  i18n?: MetaI18n | null;
478
478
  indexes: MetaIndex[];
479
479
  inflection: MetaInflection;
480
+ /** Final GraphQL output type name */
480
481
  name: string;
481
482
  primaryKeyConstraints: MetaPrimaryKeyConstraint[];
482
483
  query: MetaQuery;
@@ -490,6 +491,8 @@ export interface MetaTable {
490
491
  search?: MetaSearch | null;
491
492
  /** Storage metadata (null if not a storage table) */
492
493
  storage?: MetaStorage | null;
494
+ /** PostgreSQL table name */
495
+ tableName: string;
493
496
  uniqueConstraints: MetaUniqueConstraint[];
494
497
  }
495
498
  /** A `Commit` edge in the connection. */
@@ -541,6 +544,8 @@ export interface MetaConstraints {
541
544
  }
542
545
  /** Information about a table field/column */
543
546
  export interface MetaField {
547
+ /** PostgreSQL column name */
548
+ columnName: string;
544
549
  description?: string | null;
545
550
  /** Enum metadata if this field has an enum type */
546
551
  enumValues?: MetaEnum | null;
@@ -548,6 +553,7 @@ export interface MetaField {
548
553
  isForeignKey: boolean;
549
554
  isNotNull: boolean;
550
555
  isPrimaryKey: boolean;
556
+ /** Final GraphQL field name */
551
557
  name: string;
552
558
  type: MetaType;
553
559
  }
@@ -597,7 +603,7 @@ export interface MetaPrimaryKeyConstraint {
597
603
  }
598
604
  /** Table query/mutation names */
599
605
  export interface MetaQuery {
600
- all: string;
606
+ all?: string | null;
601
607
  create?: string | null;
602
608
  delete?: string | null;
603
609
  one?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/react",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive React - Auto-generated React Query hooks and ORM client",
6
6
  "main": "index.js",
@@ -41,8 +41,8 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@0no-co/graphql.web": "^1.1.2",
44
- "@constructive-io/graphql-query": "^4.12.1",
45
- "@constructive-io/graphql-types": "^3.28.1",
44
+ "@constructive-io/graphql-query": "^4.12.3",
45
+ "@constructive-io/graphql-types": "^3.28.2",
46
46
  "@tanstack/react-query": "^5.90.21",
47
47
  "gql-ast": "^3.23.0",
48
48
  "graphql": "16.13.0"
@@ -51,7 +51,7 @@
51
51
  "react": "^18.0.0 || ^19.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@constructive-io/graphql-codegen": "^5.14.1",
54
+ "@constructive-io/graphql-codegen": "^5.15.0",
55
55
  "@types/node": "^22.19.11",
56
56
  "@types/react": "^19.2.15",
57
57
  "makage": "^0.3.0",
@@ -59,5 +59,5 @@
59
59
  "tsx": "^4.19.0",
60
60
  "typescript": "^5.9.3"
61
61
  },
62
- "gitHead": "6da0705f8aa49d62dc2defb8b135b71674611483"
62
+ "gitHead": "43121004a8bedd2c5fcf7bf33208079d55bad01f"
63
63
  }
@@ -64,6 +64,16 @@ class FetchAdapter {
64
64
  }
65
65
  }
66
66
  exports.FetchAdapter = FetchAdapter;
67
+ /**
68
+ * Describe a single GraphQL error, falling back to its `extensions.code` when
69
+ * the server omits `message` so the error never renders as an empty string.
70
+ */
71
+ function describeGraphQLError(error) {
72
+ if (error.message)
73
+ return error.message;
74
+ const code = error.extensions?.code;
75
+ return typeof code === 'string' ? code : 'Unknown error';
76
+ }
67
77
  /**
68
78
  * Error thrown when GraphQL request fails
69
79
  */
@@ -71,7 +81,7 @@ class GraphQLRequestError extends Error {
71
81
  errors;
72
82
  data;
73
83
  constructor(errors, data = null) {
74
- const messages = errors.map((e) => e.message).join('; ');
84
+ const messages = errors.map(describeGraphQLError).join('; ');
75
85
  super(`GraphQL Error: ${messages}`);
76
86
  this.errors = errors;
77
87
  this.data = data;
@@ -1967,6 +1967,7 @@ export interface MetaTable {
1967
1967
  i18n?: MetaI18n | null;
1968
1968
  indexes: MetaIndex[];
1969
1969
  inflection: MetaInflection;
1970
+ /** Final GraphQL output type name */
1970
1971
  name: string;
1971
1972
  primaryKeyConstraints: MetaPrimaryKeyConstraint[];
1972
1973
  query: MetaQuery;
@@ -1980,6 +1981,8 @@ export interface MetaTable {
1980
1981
  search?: MetaSearch | null;
1981
1982
  /** Storage metadata (null if not a storage table) */
1982
1983
  storage?: MetaStorage | null;
1984
+ /** PostgreSQL table name */
1985
+ tableName: string;
1983
1986
  uniqueConstraints: MetaUniqueConstraint[];
1984
1987
  }
1985
1988
  /** A `AppLimitCap` edge in the connection. */
@@ -2109,6 +2112,8 @@ export interface MetaConstraints {
2109
2112
  }
2110
2113
  /** Information about a table field/column */
2111
2114
  export interface MetaField {
2115
+ /** PostgreSQL column name */
2116
+ columnName: string;
2112
2117
  description?: string | null;
2113
2118
  /** Enum metadata if this field has an enum type */
2114
2119
  enumValues?: MetaEnum | null;
@@ -2116,6 +2121,7 @@ export interface MetaField {
2116
2121
  isForeignKey: boolean;
2117
2122
  isNotNull: boolean;
2118
2123
  isPrimaryKey: boolean;
2124
+ /** Final GraphQL field name */
2119
2125
  name: string;
2120
2126
  type: MetaType;
2121
2127
  }
@@ -2165,7 +2171,7 @@ export interface MetaPrimaryKeyConstraint {
2165
2171
  }
2166
2172
  /** Table query/mutation names */
2167
2173
  export interface MetaQuery {
2168
- all: string;
2174
+ all?: string | null;
2169
2175
  create?: string | null;
2170
2176
  delete?: string | null;
2171
2177
  one?: string | null;
@@ -1,34 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { ApiSelect, ApiWithRelations, CreateApiInput } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { ApiSelect, ApiWithRelations, CreateApiInput } from '../../orm/input-types';
10
- /**
11
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
12
- *
13
- * @example
14
- * ```tsx
15
- * const { mutate, isPending } = useCreateApiMutation({
16
- * selection: { fields: { id: true, name: true } },
17
- * });
18
- *
19
- * mutate({ name: 'New item' });
20
- * ```
21
- */
22
- export declare function useCreateApiMutation<S extends ApiSelect>(params: {
23
- selection: {
24
- fields: S & ApiSelect;
25
- } & HookStrictSelect<NoInfer<S>, ApiSelect>;
26
- } & Omit<UseMutationOptions<{
27
- createApi: {
28
- api: InferSelectResult<ApiWithRelations, S>;
29
- };
30
- }, Error, CreateApiInput['api']>, 'mutationFn'>): UseMutationResult<{
31
- createApi: {
32
- api: InferSelectResult<ApiWithRelations, S>;
33
- };
34
- }, Error, CreateApiInput['api']>;
@@ -1,34 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { PlatformApiSelect, PlatformApiWithRelations, CreatePlatformApiInput } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { PlatformApiSelect, PlatformApiWithRelations, CreatePlatformApiInput, } from '../../orm/input-types';
10
- /**
11
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
12
- *
13
- * @example
14
- * ```tsx
15
- * const { mutate, isPending } = useCreatePlatformApiMutation({
16
- * selection: { fields: { id: true, name: true } },
17
- * });
18
- *
19
- * mutate({ name: 'New item' });
20
- * ```
21
- */
22
- export declare function useCreatePlatformApiMutation<S extends PlatformApiSelect>(params: {
23
- selection: {
24
- fields: S & PlatformApiSelect;
25
- } & HookStrictSelect<NoInfer<S>, PlatformApiSelect>;
26
- } & Omit<UseMutationOptions<{
27
- createPlatformApi: {
28
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
29
- };
30
- }, Error, CreatePlatformApiInput['platformApi']>, 'mutationFn'>): UseMutationResult<{
31
- createPlatformApi: {
32
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
33
- };
34
- }, Error, CreatePlatformApiInput['platformApi']>;
@@ -1,40 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { PlatformApiSelect, PlatformApiWithRelations, PlatformApiPatch } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { PlatformApiSelect, PlatformApiWithRelations, PlatformApiPatch, } from '../../orm/input-types';
10
- /**
11
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
12
- *
13
- * @example
14
- * ```tsx
15
- * const { mutate, isPending } = useUpdatePlatformApiMutation({
16
- * selection: { fields: { id: true, name: true } },
17
- * });
18
- *
19
- * mutate({ id: 'value-here', platformApiPatch: { name: 'Updated' } });
20
- * ```
21
- */
22
- export declare function useUpdatePlatformApiMutation<S extends PlatformApiSelect>(params: {
23
- selection: {
24
- fields: S & PlatformApiSelect;
25
- } & HookStrictSelect<NoInfer<S>, PlatformApiSelect>;
26
- } & Omit<UseMutationOptions<{
27
- updatePlatformApi: {
28
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
29
- };
30
- }, Error, {
31
- id: string;
32
- platformApiPatch: PlatformApiPatch;
33
- }>, 'mutationFn'>): UseMutationResult<{
34
- updatePlatformApi: {
35
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
36
- };
37
- }, Error, {
38
- id: string;
39
- platformApiPatch: PlatformApiPatch;
40
- }>;
@@ -1,65 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
7
- import type { ApiSelect, ApiWithRelations } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { ApiSelect, ApiWithRelations } from '../../orm/input-types';
10
- /** Query key factory - re-exported from query-keys.ts */
11
- export declare const apiQueryKey: (id: string | number) => readonly ["api", "detail", string | number];
12
- /**
13
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
14
- *
15
- * @example
16
- * ```tsx
17
- * const { data, isLoading } = useApiQuery({
18
- * id: 'some-id',
19
- * selection: { fields: { id: true, name: true } },
20
- * });
21
- * ```
22
- */
23
- export declare function useApiQuery<S extends ApiSelect, TData = {
24
- api: InferSelectResult<ApiWithRelations, S> | null;
25
- }>(params: {
26
- id: string;
27
- selection: {
28
- fields: S;
29
- } & HookStrictSelect<NoInfer<S>, ApiSelect>;
30
- } & Omit<UseQueryOptions<{
31
- api: InferSelectResult<ApiWithRelations, S> | null;
32
- }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
33
- /**
34
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
35
- *
36
- * @example
37
- * ```ts
38
- * const data = await fetchApiQuery({
39
- * id: 'some-id',
40
- * selection: { fields: { id: true } },
41
- * });
42
- * ```
43
- */
44
- export declare function fetchApiQuery<S extends ApiSelect>(params: {
45
- id: string;
46
- selection: {
47
- fields: S;
48
- } & HookStrictSelect<NoInfer<S>, ApiSelect>;
49
- }): Promise<{
50
- api: InferSelectResult<ApiWithRelations, S> | null;
51
- }>;
52
- /**
53
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
54
- *
55
- * @example
56
- * ```ts
57
- * await prefetchApiQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
58
- * ```
59
- */
60
- export declare function prefetchApiQuery<S extends ApiSelect>(queryClient: QueryClient, params: {
61
- id: string;
62
- selection: {
63
- fields: S;
64
- } & HookStrictSelect<NoInfer<S>, ApiSelect>;
65
- }): Promise<void>;
@@ -1,65 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
7
- import type { PlatformApiSelect, PlatformApiWithRelations } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { PlatformApiSelect, PlatformApiWithRelations } from '../../orm/input-types';
10
- /** Query key factory - re-exported from query-keys.ts */
11
- export declare const platformApiQueryKey: (id: string | number) => readonly ["platformapi", "detail", string | number];
12
- /**
13
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
14
- *
15
- * @example
16
- * ```tsx
17
- * const { data, isLoading } = usePlatformApiQuery({
18
- * id: 'some-id',
19
- * selection: { fields: { id: true, name: true } },
20
- * });
21
- * ```
22
- */
23
- export declare function usePlatformApiQuery<S extends PlatformApiSelect, TData = {
24
- platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
25
- }>(params: {
26
- id: string;
27
- selection: {
28
- fields: S;
29
- } & HookStrictSelect<NoInfer<S>, PlatformApiSelect>;
30
- } & Omit<UseQueryOptions<{
31
- platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
32
- }, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
33
- /**
34
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
35
- *
36
- * @example
37
- * ```ts
38
- * const data = await fetchPlatformApiQuery({
39
- * id: 'some-id',
40
- * selection: { fields: { id: true } },
41
- * });
42
- * ```
43
- */
44
- export declare function fetchPlatformApiQuery<S extends PlatformApiSelect>(params: {
45
- id: string;
46
- selection: {
47
- fields: S;
48
- } & HookStrictSelect<NoInfer<S>, PlatformApiSelect>;
49
- }): Promise<{
50
- platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
51
- }>;
52
- /**
53
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
54
- *
55
- * @example
56
- * ```ts
57
- * await prefetchPlatformApiQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
58
- * ```
59
- */
60
- export declare function prefetchPlatformApiQuery<S extends PlatformApiSelect>(queryClient: QueryClient, params: {
61
- id: string;
62
- selection: {
63
- fields: S;
64
- } & HookStrictSelect<NoInfer<S>, PlatformApiSelect>;
65
- }): Promise<void>;
@@ -1,54 +0,0 @@
1
- /**
2
- * Api model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { ApiWithRelations, ApiSelect, ApiFilter, ApiOrderBy, CreateApiInput, ApiPatch } from '../input-types';
10
- export declare class ApiModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, ApiOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
16
- apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
17
- }>;
18
- findFirst<S extends ApiSelect>(args: FindFirstArgs<S, ApiFilter, ApiOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
21
- api: InferSelectResult<ApiWithRelations, S> | null;
22
- }>;
23
- findOne<S extends ApiSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
27
- api: InferSelectResult<ApiWithRelations, S> | null;
28
- }>;
29
- create<S extends ApiSelect>(args: CreateArgs<S, CreateApiInput['api']> & {
30
- select: S;
31
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
32
- createApi: {
33
- api: InferSelectResult<ApiWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends ApiSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, ApiPatch> & {
39
- select: S;
40
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
41
- updateApi: {
42
- api: InferSelectResult<ApiWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends ApiSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, ApiSelect>): QueryBuilder<{
50
- deleteApi: {
51
- api: InferSelectResult<ApiWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * PlatformApi model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { PlatformApiWithRelations, PlatformApiSelect, PlatformApiFilter, PlatformApiOrderBy, CreatePlatformApiInput, PlatformApiPatch } from '../input-types';
10
- export declare class PlatformApiModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends PlatformApiSelect>(args: FindManyArgs<S, PlatformApiFilter, PlatformApiOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
16
- platformApis: ConnectionResult<InferSelectResult<PlatformApiWithRelations, S>>;
17
- }>;
18
- findFirst<S extends PlatformApiSelect>(args: FindFirstArgs<S, PlatformApiFilter, PlatformApiOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
21
- platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
22
- }>;
23
- findOne<S extends PlatformApiSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
27
- platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
28
- }>;
29
- create<S extends PlatformApiSelect>(args: CreateArgs<S, CreatePlatformApiInput['platformApi']> & {
30
- select: S;
31
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
32
- createPlatformApi: {
33
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends PlatformApiSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, PlatformApiPatch> & {
39
- select: S;
40
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
41
- updatePlatformApi: {
42
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends PlatformApiSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
50
- deletePlatformApi: {
51
- platformApi: InferSelectResult<PlatformApiWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { ApiSelect, ApiWithRelations, CreateApiInput } from '../../orm/input-types';
8
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
- export type { ApiSelect, ApiWithRelations, CreateApiInput } from '../../orm/input-types';
10
- /**
11
- * API surfaces exposed by this scope; publication makes a surface bindable from other scopes
12
- *
13
- * @example
14
- * ```tsx
15
- * const { mutate, isPending } = useCreateApiMutation({
16
- * selection: { fields: { id: true, name: true } },
17
- * });
18
- *
19
- * mutate({ name: 'New item' });
20
- * ```
21
- */
22
- export declare function useCreateApiMutation<S extends ApiSelect>(params: {
23
- selection: {
24
- fields: S & ApiSelect;
25
- } & HookStrictSelect<NoInfer<S>, ApiSelect>;
26
- } & Omit<UseMutationOptions<{
27
- createApi: {
28
- api: InferSelectResult<ApiWithRelations, S>;
29
- };
30
- }, Error, CreateApiInput['api']>, 'mutationFn'>): UseMutationResult<{
31
- createApi: {
32
- api: InferSelectResult<ApiWithRelations, S>;
33
- };
34
- }, Error, CreateApiInput['api']>;