@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
@@ -28,6 +28,18 @@ export interface FunctionApiBinding {
28
28
  id: string | null;
29
29
  updatedAt: string | null;
30
30
  }
31
+ export interface FunctionCapabilityBinding {
32
+ bucketId: string | null;
33
+ createdAt: string | null;
34
+ databaseId: string | null;
35
+ functionId: string | null;
36
+ graphId: string | null;
37
+ id: string | null;
38
+ key: string | null;
39
+ lifecycle: string | null;
40
+ metadata: unknown | null;
41
+ updatedAt: string | null;
42
+ }
31
43
  export interface FunctionDefinition {
32
44
  accessChannels: string[] | null;
33
45
  category: string | null;
@@ -349,6 +361,17 @@ export interface PlatformFunctionApiBinding {
349
361
  id: string | null;
350
362
  updatedAt: string | null;
351
363
  }
364
+ export interface PlatformFunctionCapabilityBinding {
365
+ bucketId: string | null;
366
+ createdAt: string | null;
367
+ functionId: string | null;
368
+ graphId: string | null;
369
+ id: string | null;
370
+ key: string | null;
371
+ lifecycle: string | null;
372
+ metadata: unknown | null;
373
+ updatedAt: string | null;
374
+ }
352
375
  export interface PlatformFunctionDefinition {
353
376
  accessChannels: string[] | null;
354
377
  billable: boolean | null;
@@ -551,6 +574,7 @@ export interface PlatformResource {
551
574
  memoryRequestBytes: string | null;
552
575
  name: string | null;
553
576
  namespaceId: string | null;
577
+ realm: string | null;
554
578
  replicas: number | null;
555
579
  requiredConfigs: ResourceRequirement[] | null;
556
580
  requiredSecrets: ResourceRequirement[] | null;
@@ -591,6 +615,7 @@ export interface PlatformResourceDefinition {
591
615
  labels: unknown | null;
592
616
  name: string | null;
593
617
  namespaceId: string | null;
618
+ paramsSchema: unknown | null;
594
619
  requiredConfigs: ResourceRequirement[] | null;
595
620
  requiredSecrets: ResourceRequirement[] | null;
596
621
  slug: string | null;
@@ -692,6 +717,7 @@ export interface PlatformResourcesHealth {
692
717
  memoryRequestBytes: string | null;
693
718
  name: string | null;
694
719
  namespaceId: string | null;
720
+ realm: string | null;
695
721
  replicas: number | null;
696
722
  requiredConfigs: ResourceRequirement[] | null;
697
723
  requiredSecrets: ResourceRequirement[] | null;
@@ -721,6 +747,7 @@ export interface PlatformResourcesResolvedRequirement {
721
747
  name: string | null;
722
748
  namespaceId: string | null;
723
749
  present: boolean | null;
750
+ realm: string | null;
724
751
  required: boolean | null;
725
752
  requirementKind: string | null;
726
753
  resourceId: string | null;
@@ -775,6 +802,7 @@ export interface Resource {
775
802
  memoryRequestBytes: string | null;
776
803
  name: string | null;
777
804
  namespaceId: string | null;
805
+ realm: string | null;
778
806
  replicas: number | null;
779
807
  requiredConfigs: ResourceRequirement[] | null;
780
808
  requiredSecrets: ResourceRequirement[] | null;
@@ -816,6 +844,7 @@ export interface ResourceDefinition {
816
844
  labels: unknown | null;
817
845
  name: string | null;
818
846
  namespaceId: string | null;
847
+ paramsSchema: unknown | null;
819
848
  requiredConfigs: ResourceRequirement[] | null;
820
849
  requiredSecrets: ResourceRequirement[] | null;
821
850
  slug: string | null;
@@ -923,6 +952,7 @@ export interface ResourcesHealth {
923
952
  memoryRequestBytes: string | null;
924
953
  name: string | null;
925
954
  namespaceId: string | null;
955
+ realm: string | null;
926
956
  replicas: number | null;
927
957
  requiredConfigs: ResourceRequirement[] | null;
928
958
  requiredSecrets: ResourceRequirement[] | null;
@@ -952,6 +982,7 @@ export interface ResourcesResolvedRequirement {
952
982
  name: string | null;
953
983
  namespaceId: string | null;
954
984
  present: boolean | null;
985
+ realm: string | null;
955
986
  required: boolean | null;
956
987
  requirementKind: string | null;
957
988
  resourceId: 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;
@@ -250,6 +250,8 @@ export interface Config {
250
250
  namespaceId?: string | null;
251
251
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
252
252
  provider?: string | null;
253
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
254
+ realm?: string | null;
253
255
  updatedAt?: string | null;
254
256
  /** Plaintext config value */
255
257
  value?: string | null;
@@ -273,6 +275,8 @@ export interface PlatformConfig {
273
275
  namespaceId?: string | null;
274
276
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
275
277
  provider?: string | null;
278
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
279
+ realm?: string | null;
276
280
  updatedAt?: string | null;
277
281
  /** Plaintext config value */
278
282
  value?: string | null;
@@ -285,6 +289,7 @@ export interface PlatformInternalSecret {
285
289
  labels?: Record<string, unknown> | null;
286
290
  name?: string | null;
287
291
  namespaceId?: string | null;
292
+ realm?: string | null;
288
293
  retiredAt?: string | null;
289
294
  rotatedAt?: string | null;
290
295
  updatedAt?: string | null;
@@ -298,6 +303,7 @@ export interface PlatformSecret {
298
303
  name?: string | null;
299
304
  namespaceId?: string | null;
300
305
  provider?: string | null;
306
+ realm?: string | null;
301
307
  retiredAt?: string | null;
302
308
  rotatedAt?: string | null;
303
309
  updatedAt?: string | null;
@@ -312,6 +318,7 @@ export interface Secret {
312
318
  name?: string | null;
313
319
  namespaceId?: string | null;
314
320
  provider?: string | null;
321
+ realm?: string | null;
315
322
  retiredAt?: string | null;
316
323
  rotatedAt?: string | null;
317
324
  updatedAt?: string | null;
@@ -353,6 +360,7 @@ export type ConfigSelect = {
353
360
  name?: boolean;
354
361
  namespaceId?: boolean;
355
362
  provider?: boolean;
363
+ realm?: boolean;
356
364
  updatedAt?: boolean;
357
365
  value?: boolean;
358
366
  };
@@ -366,6 +374,7 @@ export type PlatformConfigSelect = {
366
374
  name?: boolean;
367
375
  namespaceId?: boolean;
368
376
  provider?: boolean;
377
+ realm?: boolean;
369
378
  updatedAt?: boolean;
370
379
  value?: boolean;
371
380
  };
@@ -377,6 +386,7 @@ export type PlatformInternalSecretSelect = {
377
386
  labels?: boolean;
378
387
  name?: boolean;
379
388
  namespaceId?: boolean;
389
+ realm?: boolean;
380
390
  retiredAt?: boolean;
381
391
  rotatedAt?: boolean;
382
392
  updatedAt?: boolean;
@@ -390,6 +400,7 @@ export type PlatformSecretSelect = {
390
400
  name?: boolean;
391
401
  namespaceId?: boolean;
392
402
  provider?: boolean;
403
+ realm?: boolean;
393
404
  retiredAt?: boolean;
394
405
  rotatedAt?: boolean;
395
406
  updatedAt?: boolean;
@@ -404,6 +415,7 @@ export type SecretSelect = {
404
415
  name?: boolean;
405
416
  namespaceId?: boolean;
406
417
  provider?: boolean;
418
+ realm?: boolean;
407
419
  retiredAt?: boolean;
408
420
  rotatedAt?: boolean;
409
421
  updatedAt?: boolean;
@@ -435,6 +447,8 @@ export interface ConfigFilter {
435
447
  or?: ConfigFilter[];
436
448
  /** Filter by the object’s `provider` field. */
437
449
  provider?: StringFilter;
450
+ /** Filter by the object’s `realm` field. */
451
+ realm?: StringFilter;
438
452
  /** Filter by the object’s `updatedAt` field. */
439
453
  updatedAt?: DatetimeFilter;
440
454
  /** Filter by the object’s `value` field. */
@@ -465,6 +479,8 @@ export interface PlatformConfigFilter {
465
479
  or?: PlatformConfigFilter[];
466
480
  /** Filter by the object’s `provider` field. */
467
481
  provider?: StringFilter;
482
+ /** Filter by the object’s `realm` field. */
483
+ realm?: StringFilter;
468
484
  /** Filter by the object’s `updatedAt` field. */
469
485
  updatedAt?: DatetimeFilter;
470
486
  /** Filter by the object’s `value` field. */
@@ -491,6 +507,8 @@ export interface PlatformInternalSecretFilter {
491
507
  not?: PlatformInternalSecretFilter;
492
508
  /** Checks for any expressions in this list. */
493
509
  or?: PlatformInternalSecretFilter[];
510
+ /** Filter by the object’s `realm` field. */
511
+ realm?: StringFilter;
494
512
  /** Filter by the object’s `retiredAt` field. */
495
513
  retiredAt?: DatetimeFilter;
496
514
  /** Filter by the object’s `rotatedAt` field. */
@@ -521,6 +539,8 @@ export interface PlatformSecretFilter {
521
539
  or?: PlatformSecretFilter[];
522
540
  /** Filter by the object’s `provider` field. */
523
541
  provider?: StringFilter;
542
+ /** Filter by the object’s `realm` field. */
543
+ realm?: StringFilter;
524
544
  /** Filter by the object’s `retiredAt` field. */
525
545
  retiredAt?: DatetimeFilter;
526
546
  /** Filter by the object’s `rotatedAt` field. */
@@ -553,6 +573,8 @@ export interface SecretFilter {
553
573
  or?: SecretFilter[];
554
574
  /** Filter by the object’s `provider` field. */
555
575
  provider?: StringFilter;
576
+ /** Filter by the object’s `realm` field. */
577
+ realm?: StringFilter;
556
578
  /** Filter by the object’s `retiredAt` field. */
557
579
  retiredAt?: DatetimeFilter;
558
580
  /** Filter by the object’s `rotatedAt` field. */
@@ -560,11 +582,11 @@ export interface SecretFilter {
560
582
  /** Filter by the object’s `updatedAt` field. */
561
583
  updatedAt?: DatetimeFilter;
562
584
  }
563
- export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
564
- export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
565
- export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
566
- export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
567
- export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
585
+ export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
586
+ export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
587
+ export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
588
+ export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
589
+ export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
568
590
  export interface CreateConfigInput {
569
591
  clientMutationId?: string;
570
592
  config: {
@@ -576,6 +598,7 @@ export interface CreateConfigInput {
576
598
  name: string;
577
599
  namespaceId: string;
578
600
  provider?: string;
601
+ realm?: string;
579
602
  value?: string;
580
603
  };
581
604
  }
@@ -588,6 +611,7 @@ export interface ConfigPatch {
588
611
  name?: string | null;
589
612
  namespaceId?: string | null;
590
613
  provider?: string | null;
614
+ realm?: string | null;
591
615
  value?: string | null;
592
616
  }
593
617
  export interface UpdateConfigInput {
@@ -609,6 +633,7 @@ export interface CreatePlatformConfigInput {
609
633
  name: string;
610
634
  namespaceId: string;
611
635
  provider?: string;
636
+ realm?: string;
612
637
  value?: string;
613
638
  };
614
639
  }
@@ -620,6 +645,7 @@ export interface PlatformConfigPatch {
620
645
  name?: string | null;
621
646
  namespaceId?: string | null;
622
647
  provider?: string | null;
648
+ realm?: string | null;
623
649
  value?: string | null;
624
650
  }
625
651
  export interface UpdatePlatformConfigInput {
@@ -639,6 +665,7 @@ export interface CreatePlatformInternalSecretInput {
639
665
  labels?: Record<string, unknown>;
640
666
  name?: string;
641
667
  namespaceId: string;
668
+ realm?: string;
642
669
  retiredAt?: string;
643
670
  rotatedAt?: string;
644
671
  };
@@ -649,6 +676,7 @@ export interface PlatformInternalSecretPatch {
649
676
  labels?: Record<string, unknown> | null;
650
677
  name?: string | null;
651
678
  namespaceId?: string | null;
679
+ realm?: string | null;
652
680
  retiredAt?: string | null;
653
681
  rotatedAt?: string | null;
654
682
  }
@@ -670,6 +698,7 @@ export interface CreatePlatformSecretInput {
670
698
  name?: string;
671
699
  namespaceId: string;
672
700
  provider?: string;
701
+ realm?: string;
673
702
  retiredAt?: string;
674
703
  rotatedAt?: string;
675
704
  };
@@ -681,6 +710,7 @@ export interface PlatformSecretPatch {
681
710
  name?: string | null;
682
711
  namespaceId?: string | null;
683
712
  provider?: string | null;
713
+ realm?: string | null;
684
714
  retiredAt?: string | null;
685
715
  rotatedAt?: string | null;
686
716
  }
@@ -703,6 +733,7 @@ export interface CreateSecretInput {
703
733
  name?: string;
704
734
  namespaceId: string;
705
735
  provider?: string;
736
+ realm?: string;
706
737
  retiredAt?: string;
707
738
  rotatedAt?: string;
708
739
  };
@@ -715,6 +746,7 @@ export interface SecretPatch {
715
746
  name?: string | null;
716
747
  namespaceId?: string | null;
717
748
  provider?: string | null;
749
+ realm?: string | null;
718
750
  retiredAt?: string | null;
719
751
  rotatedAt?: string | null;
720
752
  }
@@ -732,12 +764,14 @@ export interface _SecretsDelInput {
732
764
  clientMutationId?: string;
733
765
  databaseId?: string;
734
766
  namespaceId?: string;
767
+ realm?: string;
735
768
  secretName?: string;
736
769
  }
737
770
  export interface _SecretsRemoveArrayInput {
738
771
  clientMutationId?: string;
739
772
  databaseId?: string;
740
773
  namespaceId?: string;
774
+ realm?: string;
741
775
  secretNames?: string[];
742
776
  }
743
777
  export interface _SecretsRotateInput {
@@ -745,6 +779,7 @@ export interface _SecretsRotateInput {
745
779
  clientMutationId?: string;
746
780
  databaseId?: string;
747
781
  namespaceId?: string;
782
+ realm?: string;
748
783
  secretName?: string;
749
784
  secretValue?: string;
750
785
  }
@@ -755,22 +790,26 @@ export interface _SecretsSetInput {
755
790
  scopeDatabaseId?: string;
756
791
  secretName?: string;
757
792
  secretNamespaceId?: string;
793
+ secretRealm?: string;
758
794
  secretValue?: string;
759
795
  }
760
796
  export interface PlatformInternalSecretsDelInput {
761
797
  clientMutationId?: string;
762
798
  namespaceId?: string;
799
+ realm?: string;
763
800
  secretName?: string;
764
801
  }
765
802
  export interface PlatformInternalSecretsRemoveArrayInput {
766
803
  clientMutationId?: string;
767
804
  namespaceId?: string;
805
+ realm?: string;
768
806
  secretNames?: string[];
769
807
  }
770
808
  export interface PlatformInternalSecretsRotateInput {
771
809
  algo?: string;
772
810
  clientMutationId?: string;
773
811
  namespaceId?: string;
812
+ realm?: string;
774
813
  secretName?: string;
775
814
  secretValue?: string;
776
815
  }
@@ -779,22 +818,26 @@ export interface PlatformInternalSecretsSetInput {
779
818
  clientMutationId?: string;
780
819
  secretName?: string;
781
820
  secretNamespaceId?: string;
821
+ secretRealm?: string;
782
822
  secretValue?: string;
783
823
  }
784
824
  export interface PlatformSecretsDelInput {
785
825
  clientMutationId?: string;
786
826
  namespaceId?: string;
827
+ realm?: string;
787
828
  secretName?: string;
788
829
  }
789
830
  export interface PlatformSecretsRemoveArrayInput {
790
831
  clientMutationId?: string;
791
832
  namespaceId?: string;
833
+ realm?: string;
792
834
  secretNames?: string[];
793
835
  }
794
836
  export interface PlatformSecretsRotateInput {
795
837
  algo?: string;
796
838
  clientMutationId?: string;
797
839
  namespaceId?: string;
840
+ realm?: string;
798
841
  secretName?: string;
799
842
  secretValue?: string;
800
843
  }
@@ -804,6 +847,7 @@ export interface PlatformSecretsSetInput {
804
847
  provider?: string;
805
848
  secretName?: string;
806
849
  secretNamespaceId?: string;
850
+ secretRealm?: string;
807
851
  secretValue?: string;
808
852
  }
809
853
  export interface ProvisionBucketInput {
@@ -836,6 +880,8 @@ export interface ConfigInput {
836
880
  namespaceId: string;
837
881
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
838
882
  provider?: string;
883
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
884
+ realm?: string;
839
885
  updatedAt?: string;
840
886
  /** Plaintext config value */
841
887
  value?: string;
@@ -859,6 +905,8 @@ export interface PlatformConfigInput {
859
905
  namespaceId: string;
860
906
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
861
907
  provider?: string;
908
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
909
+ realm?: string;
862
910
  updatedAt?: string;
863
911
  /** Plaintext config value */
864
912
  value?: string;
@@ -5,15 +5,15 @@
5
5
  */
6
6
  import type { Config, PlatformConfig, PlatformInternalSecret, PlatformSecret, Secret, DatetimeFilter, JSONFilter, StringFilter, UUIDFilter } from './types';
7
7
  /** Methods to use when ordering `Config`. */
8
- export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
8
+ export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
9
9
  /** Methods to use when ordering `PlatformConfig`. */
10
- export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
10
+ export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
11
11
  /** Methods to use when ordering `PlatformInternalSecret`. */
12
- export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
12
+ export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
13
13
  /** Methods to use when ordering `PlatformSecret`. */
14
- export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14
+ export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
15
15
  /** Methods to use when ordering `Secret`. */
16
- export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
16
+ export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REALM_ASC' | 'REALM_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
17
17
  /** A filter to be used against `Config` object types. All fields are combined with a logical ‘and.’ */
18
18
  export interface ConfigFilter {
19
19
  /** Checks for all expressions in this list. */
@@ -42,6 +42,8 @@ export interface ConfigFilter {
42
42
  or?: ConfigFilter[];
43
43
  /** Filter by the object’s `provider` field. */
44
44
  provider?: StringFilter;
45
+ /** Filter by the object’s `realm` field. */
46
+ realm?: StringFilter;
45
47
  /** Filter by the object’s `updatedAt` field. */
46
48
  updatedAt?: DatetimeFilter;
47
49
  /** Filter by the object’s `value` field. */
@@ -68,6 +70,8 @@ export interface ConfigInput {
68
70
  namespaceId: string;
69
71
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
70
72
  provider?: string;
73
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
74
+ realm?: string;
71
75
  updatedAt?: string;
72
76
  /** Plaintext config value */
73
77
  value?: string;
@@ -93,6 +97,8 @@ export interface ConfigPatch {
93
97
  namespaceId?: string;
94
98
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
95
99
  provider?: string;
100
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
101
+ realm?: string;
96
102
  updatedAt?: string;
97
103
  /** Plaintext config value */
98
104
  value?: string;
@@ -143,6 +149,8 @@ export interface PlatformConfigFilter {
143
149
  or?: PlatformConfigFilter[];
144
150
  /** Filter by the object’s `provider` field. */
145
151
  provider?: StringFilter;
152
+ /** Filter by the object’s `realm` field. */
153
+ realm?: StringFilter;
146
154
  /** Filter by the object’s `updatedAt` field. */
147
155
  updatedAt?: DatetimeFilter;
148
156
  /** Filter by the object’s `value` field. */
@@ -167,6 +175,8 @@ export interface PlatformConfigInput {
167
175
  namespaceId: string;
168
176
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
169
177
  provider?: string;
178
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
179
+ realm?: string;
170
180
  updatedAt?: string;
171
181
  /** Plaintext config value */
172
182
  value?: string;
@@ -190,6 +200,8 @@ export interface PlatformConfigPatch {
190
200
  namespaceId?: string;
191
201
  /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
192
202
  provider?: string;
203
+ /** Optional discriminator scoping this value under its name. NULL = the default/unqualified value; getters fall back from an exact realm match to the NULL-realm row. */
204
+ realm?: string;
193
205
  updatedAt?: string;
194
206
  /** Plaintext config value */
195
207
  value?: string;
@@ -216,6 +228,8 @@ export interface PlatformInternalSecretFilter {
216
228
  not?: PlatformInternalSecretFilter;
217
229
  /** Checks for any expressions in this list. */
218
230
  or?: PlatformInternalSecretFilter[];
231
+ /** Filter by the object’s `realm` field. */
232
+ realm?: StringFilter;
219
233
  /** Filter by the object’s `retiredAt` field. */
220
234
  retiredAt?: DatetimeFilter;
221
235
  /** Filter by the object’s `rotatedAt` field. */
@@ -226,17 +240,20 @@ export interface PlatformInternalSecretFilter {
226
240
  export interface PlatformInternalSecretsDelInput {
227
241
  clientMutationId?: string;
228
242
  namespaceId?: string;
243
+ realm?: string;
229
244
  secretName?: string;
230
245
  }
231
246
  export interface PlatformInternalSecretsRemoveArrayInput {
232
247
  clientMutationId?: string;
233
248
  namespaceId?: string;
249
+ realm?: string;
234
250
  secretNames?: string[];
235
251
  }
236
252
  export interface PlatformInternalSecretsRotateInput {
237
253
  algo?: string;
238
254
  clientMutationId?: string;
239
255
  namespaceId?: string;
256
+ realm?: string;
240
257
  secretName?: string;
241
258
  secretValue?: string;
242
259
  }
@@ -245,6 +262,7 @@ export interface PlatformInternalSecretsSetInput {
245
262
  clientMutationId?: string;
246
263
  secretName?: string;
247
264
  secretNamespaceId?: string;
265
+ secretRealm?: string;
248
266
  secretValue?: string;
249
267
  }
250
268
  /** A filter to be used against `PlatformSecret` object types. All fields are combined with a logical ‘and.’ */
@@ -271,6 +289,8 @@ export interface PlatformSecretFilter {
271
289
  or?: PlatformSecretFilter[];
272
290
  /** Filter by the object’s `provider` field. */
273
291
  provider?: StringFilter;
292
+ /** Filter by the object’s `realm` field. */
293
+ realm?: StringFilter;
274
294
  /** Filter by the object’s `retiredAt` field. */
275
295
  retiredAt?: DatetimeFilter;
276
296
  /** Filter by the object’s `rotatedAt` field. */
@@ -281,17 +301,20 @@ export interface PlatformSecretFilter {
281
301
  export interface PlatformSecretsDelInput {
282
302
  clientMutationId?: string;
283
303
  namespaceId?: string;
304
+ realm?: string;
284
305
  secretName?: string;
285
306
  }
286
307
  export interface PlatformSecretsRemoveArrayInput {
287
308
  clientMutationId?: string;
288
309
  namespaceId?: string;
310
+ realm?: string;
289
311
  secretNames?: string[];
290
312
  }
291
313
  export interface PlatformSecretsRotateInput {
292
314
  algo?: string;
293
315
  clientMutationId?: string;
294
316
  namespaceId?: string;
317
+ realm?: string;
295
318
  secretName?: string;
296
319
  secretValue?: string;
297
320
  }
@@ -301,6 +324,7 @@ export interface PlatformSecretsSetInput {
301
324
  provider?: string;
302
325
  secretName?: string;
303
326
  secretNamespaceId?: string;
327
+ secretRealm?: string;
304
328
  secretValue?: string;
305
329
  }
306
330
  export interface ProvisionBucketInput {
@@ -338,6 +362,8 @@ export interface SecretFilter {
338
362
  or?: SecretFilter[];
339
363
  /** Filter by the object’s `provider` field. */
340
364
  provider?: StringFilter;
365
+ /** Filter by the object’s `realm` field. */
366
+ realm?: StringFilter;
341
367
  /** Filter by the object’s `retiredAt` field. */
342
368
  retiredAt?: DatetimeFilter;
343
369
  /** Filter by the object’s `rotatedAt` field. */
@@ -363,12 +389,14 @@ export interface _SecretsDelInput {
363
389
  clientMutationId?: string;
364
390
  databaseId?: string;
365
391
  namespaceId?: string;
392
+ realm?: string;
366
393
  secretName?: string;
367
394
  }
368
395
  export interface _SecretsRemoveArrayInput {
369
396
  clientMutationId?: string;
370
397
  databaseId?: string;
371
398
  namespaceId?: string;
399
+ realm?: string;
372
400
  secretNames?: string[];
373
401
  }
374
402
  export interface _SecretsRotateInput {
@@ -376,6 +404,7 @@ export interface _SecretsRotateInput {
376
404
  clientMutationId?: string;
377
405
  databaseId?: string;
378
406
  namespaceId?: string;
407
+ realm?: string;
379
408
  secretName?: string;
380
409
  secretValue?: string;
381
410
  }
@@ -386,6 +415,7 @@ export interface _SecretsSetInput {
386
415
  scopeDatabaseId?: string;
387
416
  secretName?: string;
388
417
  secretNamespaceId?: string;
418
+ secretRealm?: string;
389
419
  secretValue?: string;
390
420
  }
391
421
  /** Root meta schema type */
@@ -528,6 +558,7 @@ export interface MetaTable {
528
558
  i18n?: MetaI18n | null;
529
559
  indexes: MetaIndex[];
530
560
  inflection: MetaInflection;
561
+ /** Final GraphQL output type name */
531
562
  name: string;
532
563
  primaryKeyConstraints: MetaPrimaryKeyConstraint[];
533
564
  query: MetaQuery;
@@ -541,6 +572,8 @@ export interface MetaTable {
541
572
  search?: MetaSearch | null;
542
573
  /** Storage metadata (null if not a storage table) */
543
574
  storage?: MetaStorage | null;
575
+ /** PostgreSQL table name */
576
+ tableName: string;
544
577
  uniqueConstraints: MetaUniqueConstraint[];
545
578
  }
546
579
  /** A `Config` edge in the connection. */
@@ -592,6 +625,8 @@ export interface MetaConstraints {
592
625
  }
593
626
  /** Information about a table field/column */
594
627
  export interface MetaField {
628
+ /** PostgreSQL column name */
629
+ columnName: string;
595
630
  description?: string | null;
596
631
  /** Enum metadata if this field has an enum type */
597
632
  enumValues?: MetaEnum | null;
@@ -599,6 +634,7 @@ export interface MetaField {
599
634
  isForeignKey: boolean;
600
635
  isNotNull: boolean;
601
636
  isPrimaryKey: boolean;
637
+ /** Final GraphQL field name */
602
638
  name: string;
603
639
  type: MetaType;
604
640
  }
@@ -648,7 +684,7 @@ export interface MetaPrimaryKeyConstraint {
648
684
  }
649
685
  /** Table query/mutation names */
650
686
  export interface MetaQuery {
651
- all: string;
687
+ all?: string | null;
652
688
  create?: string | null;
653
689
  delete?: string | null;
654
690
  one?: string | null;