@constructive-io/react 0.28.2 → 0.29.0

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 (511) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +120 -120
  4. package/admin/hooks/invalidation.js +232 -232
  5. package/admin/hooks/mutation-keys.d.ts +244 -244
  6. package/admin/hooks/mutation-keys.js +157 -157
  7. package/admin/hooks/mutations/index.d.ts +63 -63
  8. package/admin/hooks/mutations/index.js +63 -63
  9. package/admin/hooks/queries/index.d.ts +47 -47
  10. package/admin/hooks/queries/index.js +47 -47
  11. package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
  12. package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
  13. package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
  14. package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
  15. package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
  16. package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
  17. package/admin/hooks/query-keys.d.ts +296 -296
  18. package/admin/hooks/query-keys.js +173 -173
  19. package/admin/orm/index.d.ts +67 -67
  20. package/admin/orm/index.js +44 -44
  21. package/admin/orm/input-types.d.ts +3168 -3168
  22. package/admin/orm/input-types.js +1 -1
  23. package/admin/orm/models/index.d.ts +22 -22
  24. package/admin/orm/models/index.js +45 -45
  25. package/admin/orm/mutation/index.d.ts +12 -12
  26. package/admin/orm/mutation/index.js +12 -12
  27. package/admin/orm/query/index.d.ts +47 -47
  28. package/admin/orm/query/index.js +68 -68
  29. package/admin/schema-types.d.ts +2497 -2497
  30. package/admin/types.d.ts +193 -193
  31. package/agent/hooks/index.d.ts +1 -1
  32. package/agent/hooks/index.js +1 -1
  33. package/agent/hooks/invalidation.d.ts +23 -23
  34. package/agent/hooks/invalidation.js +55 -55
  35. package/agent/hooks/mutation-keys.d.ts +46 -46
  36. package/agent/hooks/mutation-keys.js +28 -28
  37. package/agent/hooks/mutations/index.d.ts +12 -12
  38. package/agent/hooks/mutations/index.js +12 -12
  39. package/agent/hooks/queries/index.d.ts +8 -8
  40. package/agent/hooks/queries/index.js +8 -8
  41. package/agent/hooks/query-keys.d.ts +54 -54
  42. package/agent/hooks/query-keys.js +32 -32
  43. package/agent/orm/index.d.ts +8 -8
  44. package/agent/orm/index.js +8 -8
  45. package/agent/orm/input-types.d.ts +1788 -1788
  46. package/agent/orm/input-types.js +9 -9
  47. package/agent/orm/models/index.d.ts +4 -4
  48. package/agent/orm/models/index.js +9 -9
  49. package/agent/schema-types.d.ts +1226 -1226
  50. package/agent/types.d.ts +95 -95
  51. package/api/hooks/index.d.ts +1 -1
  52. package/api/hooks/index.js +1 -1
  53. package/api/hooks/invalidation.d.ts +184 -184
  54. package/api/hooks/invalidation.js +392 -392
  55. package/api/hooks/mutation-keys.d.ts +411 -411
  56. package/api/hooks/mutation-keys.js +227 -227
  57. package/api/hooks/mutations/index.d.ts +93 -93
  58. package/api/hooks/mutations/index.js +93 -93
  59. package/api/hooks/queries/index.d.ts +64 -64
  60. package/api/hooks/queries/index.js +64 -64
  61. package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
  62. package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
  63. package/api/hooks/query-keys.d.ts +466 -466
  64. package/api/hooks/query-keys.js +251 -251
  65. package/api/orm/index.d.ts +77 -77
  66. package/api/orm/index.js +64 -64
  67. package/api/orm/input-types.d.ts +8781 -8781
  68. package/api/orm/input-types.js +48 -48
  69. package/api/orm/models/index.d.ts +32 -32
  70. package/api/orm/models/index.js +65 -65
  71. package/api/orm/mutation/index.d.ts +29 -29
  72. package/api/orm/mutation/index.js +30 -30
  73. package/api/orm/query/index.d.ts +1 -1
  74. package/api/orm/query/index.js +4 -4
  75. package/api/schema-types.d.ts +5628 -5628
  76. package/api/types.d.ts +435 -435
  77. package/auth/hooks/index.d.ts +1 -1
  78. package/auth/hooks/index.js +1 -1
  79. package/auth/hooks/invalidation.d.ts +42 -42
  80. package/auth/hooks/invalidation.js +90 -90
  81. package/auth/hooks/mutation-keys.d.ts +124 -124
  82. package/auth/hooks/mutation-keys.js +106 -106
  83. package/auth/hooks/mutations/index.d.ts +36 -36
  84. package/auth/hooks/mutations/index.js +36 -36
  85. package/auth/hooks/queries/index.d.ts +15 -15
  86. package/auth/hooks/queries/index.js +15 -15
  87. package/auth/hooks/query-keys.d.ts +102 -102
  88. package/auth/hooks/query-keys.js +59 -59
  89. package/auth/orm/index.d.ts +103 -103
  90. package/auth/orm/index.js +14 -14
  91. package/auth/orm/input-types.d.ts +2102 -2109
  92. package/auth/orm/input-types.js +5 -5
  93. package/auth/orm/models/index.d.ts +7 -7
  94. package/auth/orm/models/index.js +15 -15
  95. package/auth/orm/mutation/index.d.ts +138 -138
  96. package/auth/orm/mutation/index.js +168 -168
  97. package/auth/orm/query/index.d.ts +10 -10
  98. package/auth/orm/query/index.js +14 -14
  99. package/auth/schema-types.d.ts +1602 -1605
  100. package/auth/types.d.ts +86 -87
  101. package/compute/hooks/index.d.ts +1 -1
  102. package/compute/hooks/index.js +1 -1
  103. package/compute/hooks/invalidation.d.ts +183 -183
  104. package/compute/hooks/invalidation.js +391 -391
  105. package/compute/hooks/mutation-keys.d.ts +388 -388
  106. package/compute/hooks/mutation-keys.js +300 -300
  107. package/compute/hooks/mutations/index.d.ts +97 -97
  108. package/compute/hooks/mutations/index.js +97 -97
  109. package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
  110. package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
  111. package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
  112. package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
  113. package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
  114. package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
  115. package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
  116. package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
  117. package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
  118. package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
  119. package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
  120. package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
  121. package/compute/hooks/queries/index.d.ts +59 -59
  122. package/compute/hooks/queries/index.js +59 -59
  123. package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
  124. package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
  125. package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
  126. package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
  127. package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
  128. package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
  129. package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
  130. package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
  131. package/compute/hooks/query-keys.d.ts +438 -438
  132. package/compute/hooks/query-keys.js +256 -256
  133. package/compute/orm/index.d.ts +110 -110
  134. package/compute/orm/index.js +64 -64
  135. package/compute/orm/input-types.d.ts +7256 -7037
  136. package/compute/orm/input-types.js +15 -13
  137. package/compute/orm/models/index.d.ts +32 -32
  138. package/compute/orm/models/index.js +65 -65
  139. package/compute/orm/mutation/index.d.ts +77 -77
  140. package/compute/orm/mutation/index.js +96 -96
  141. package/compute/schema-types.d.ts +4950 -4896
  142. package/compute/types.d.ts +470 -468
  143. package/config/hooks/index.d.ts +1 -1
  144. package/config/hooks/index.js +1 -1
  145. package/config/hooks/invalidation.d.ts +6 -6
  146. package/config/hooks/invalidation.js +15 -15
  147. package/config/hooks/mutation-keys.d.ts +24 -24
  148. package/config/hooks/mutation-keys.js +26 -26
  149. package/config/hooks/mutations/index.d.ts +9 -9
  150. package/config/hooks/mutations/index.js +9 -9
  151. package/config/hooks/queries/index.d.ts +2 -2
  152. package/config/hooks/queries/index.js +2 -2
  153. package/config/hooks/query-keys.d.ts +14 -14
  154. package/config/hooks/query-keys.js +9 -9
  155. package/config/orm/index.d.ts +30 -30
  156. package/config/orm/index.js +2 -2
  157. package/config/orm/input-types.d.ts +416 -416
  158. package/config/orm/models/index.d.ts +1 -1
  159. package/config/orm/models/index.js +3 -3
  160. package/config/orm/mutation/index.d.ts +47 -47
  161. package/config/orm/mutation/index.js +60 -60
  162. package/config/schema-types.d.ts +519 -519
  163. package/config/types.d.ts +35 -35
  164. package/esm/admin/hooks/index.d.ts +1 -1
  165. package/esm/admin/hooks/index.js +1 -1
  166. package/esm/admin/hooks/invalidation.d.ts +120 -120
  167. package/esm/admin/hooks/invalidation.js +233 -233
  168. package/esm/admin/hooks/mutation-keys.d.ts +244 -244
  169. package/esm/admin/hooks/mutation-keys.js +156 -156
  170. package/esm/admin/hooks/mutations/index.d.ts +63 -63
  171. package/esm/admin/hooks/mutations/index.js +63 -63
  172. package/esm/admin/hooks/queries/index.d.ts +47 -47
  173. package/esm/admin/hooks/queries/index.js +47 -47
  174. package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
  175. package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
  176. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
  177. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
  178. package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
  179. package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
  180. package/esm/admin/hooks/query-keys.d.ts +296 -296
  181. package/esm/admin/hooks/query-keys.js +172 -172
  182. package/esm/admin/orm/index.d.ts +67 -67
  183. package/esm/admin/orm/index.js +44 -44
  184. package/esm/admin/orm/input-types.d.ts +3168 -3168
  185. package/esm/admin/orm/input-types.js +1 -1
  186. package/esm/admin/orm/models/index.d.ts +22 -22
  187. package/esm/admin/orm/models/index.js +22 -22
  188. package/esm/admin/orm/mutation/index.d.ts +12 -12
  189. package/esm/admin/orm/mutation/index.js +12 -12
  190. package/esm/admin/orm/query/index.d.ts +47 -47
  191. package/esm/admin/orm/query/index.js +68 -68
  192. package/esm/admin/schema-types.d.ts +2497 -2497
  193. package/esm/admin/types.d.ts +193 -193
  194. package/esm/agent/hooks/index.d.ts +1 -1
  195. package/esm/agent/hooks/index.js +1 -1
  196. package/esm/agent/hooks/invalidation.d.ts +23 -23
  197. package/esm/agent/hooks/invalidation.js +56 -56
  198. package/esm/agent/hooks/mutation-keys.d.ts +46 -46
  199. package/esm/agent/hooks/mutation-keys.js +27 -27
  200. package/esm/agent/hooks/mutations/index.d.ts +12 -12
  201. package/esm/agent/hooks/mutations/index.js +12 -12
  202. package/esm/agent/hooks/queries/index.d.ts +8 -8
  203. package/esm/agent/hooks/queries/index.js +8 -8
  204. package/esm/agent/hooks/query-keys.d.ts +54 -54
  205. package/esm/agent/hooks/query-keys.js +31 -31
  206. package/esm/agent/orm/index.d.ts +8 -8
  207. package/esm/agent/orm/index.js +8 -8
  208. package/esm/agent/orm/input-types.d.ts +1788 -1788
  209. package/esm/agent/orm/input-types.js +9 -9
  210. package/esm/agent/orm/models/index.d.ts +4 -4
  211. package/esm/agent/orm/models/index.js +4 -4
  212. package/esm/agent/schema-types.d.ts +1226 -1226
  213. package/esm/agent/types.d.ts +95 -95
  214. package/esm/api/hooks/index.d.ts +1 -1
  215. package/esm/api/hooks/index.js +1 -1
  216. package/esm/api/hooks/invalidation.d.ts +184 -184
  217. package/esm/api/hooks/invalidation.js +393 -393
  218. package/esm/api/hooks/mutation-keys.d.ts +411 -411
  219. package/esm/api/hooks/mutation-keys.js +226 -226
  220. package/esm/api/hooks/mutations/index.d.ts +93 -93
  221. package/esm/api/hooks/mutations/index.js +93 -93
  222. package/esm/api/hooks/queries/index.d.ts +64 -64
  223. package/esm/api/hooks/queries/index.js +64 -64
  224. package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
  225. package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
  226. package/esm/api/hooks/query-keys.d.ts +466 -466
  227. package/esm/api/hooks/query-keys.js +250 -250
  228. package/esm/api/orm/index.d.ts +77 -77
  229. package/esm/api/orm/index.js +64 -64
  230. package/esm/api/orm/input-types.d.ts +8781 -8781
  231. package/esm/api/orm/input-types.js +48 -48
  232. package/esm/api/orm/models/index.d.ts +32 -32
  233. package/esm/api/orm/models/index.js +32 -32
  234. package/esm/api/orm/mutation/index.d.ts +29 -29
  235. package/esm/api/orm/mutation/index.js +30 -30
  236. package/esm/api/orm/query/index.d.ts +1 -1
  237. package/esm/api/orm/query/index.js +4 -4
  238. package/esm/api/schema-types.d.ts +5628 -5628
  239. package/esm/api/types.d.ts +435 -435
  240. package/esm/auth/hooks/index.d.ts +1 -1
  241. package/esm/auth/hooks/index.js +1 -1
  242. package/esm/auth/hooks/invalidation.d.ts +42 -42
  243. package/esm/auth/hooks/invalidation.js +91 -91
  244. package/esm/auth/hooks/mutation-keys.d.ts +124 -124
  245. package/esm/auth/hooks/mutation-keys.js +105 -105
  246. package/esm/auth/hooks/mutations/index.d.ts +36 -36
  247. package/esm/auth/hooks/mutations/index.js +36 -36
  248. package/esm/auth/hooks/queries/index.d.ts +15 -15
  249. package/esm/auth/hooks/queries/index.js +15 -15
  250. package/esm/auth/hooks/query-keys.d.ts +102 -102
  251. package/esm/auth/hooks/query-keys.js +58 -58
  252. package/esm/auth/orm/index.d.ts +103 -103
  253. package/esm/auth/orm/index.js +14 -14
  254. package/esm/auth/orm/input-types.d.ts +2102 -2109
  255. package/esm/auth/orm/input-types.js +5 -5
  256. package/esm/auth/orm/models/index.d.ts +7 -7
  257. package/esm/auth/orm/models/index.js +7 -7
  258. package/esm/auth/orm/mutation/index.d.ts +138 -138
  259. package/esm/auth/orm/mutation/index.js +168 -168
  260. package/esm/auth/orm/query/index.d.ts +10 -10
  261. package/esm/auth/orm/query/index.js +14 -14
  262. package/esm/auth/schema-types.d.ts +1602 -1605
  263. package/esm/auth/types.d.ts +86 -87
  264. package/esm/compute/hooks/index.d.ts +1 -1
  265. package/esm/compute/hooks/index.js +1 -1
  266. package/esm/compute/hooks/invalidation.d.ts +183 -183
  267. package/esm/compute/hooks/invalidation.js +392 -392
  268. package/esm/compute/hooks/mutation-keys.d.ts +388 -388
  269. package/esm/compute/hooks/mutation-keys.js +299 -299
  270. package/esm/compute/hooks/mutations/index.d.ts +97 -97
  271. package/esm/compute/hooks/mutations/index.js +97 -97
  272. package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
  273. package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
  274. package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
  275. package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
  276. package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
  277. package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
  278. package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
  279. package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
  280. package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
  281. package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
  282. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
  283. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
  284. package/esm/compute/hooks/queries/index.d.ts +59 -59
  285. package/esm/compute/hooks/queries/index.js +59 -59
  286. package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
  287. package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
  288. package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
  289. package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
  290. package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
  291. package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
  292. package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
  293. package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
  294. package/esm/compute/hooks/query-keys.d.ts +438 -438
  295. package/esm/compute/hooks/query-keys.js +255 -255
  296. package/esm/compute/orm/index.d.ts +110 -110
  297. package/esm/compute/orm/index.js +64 -64
  298. package/esm/compute/orm/input-types.d.ts +7256 -7037
  299. package/esm/compute/orm/input-types.js +15 -13
  300. package/esm/compute/orm/models/index.d.ts +32 -32
  301. package/esm/compute/orm/models/index.js +32 -32
  302. package/esm/compute/orm/mutation/index.d.ts +77 -77
  303. package/esm/compute/orm/mutation/index.js +96 -96
  304. package/esm/compute/schema-types.d.ts +4950 -4896
  305. package/esm/compute/types.d.ts +470 -468
  306. package/esm/config/hooks/index.d.ts +1 -1
  307. package/esm/config/hooks/index.js +1 -1
  308. package/esm/config/hooks/invalidation.d.ts +6 -6
  309. package/esm/config/hooks/invalidation.js +16 -16
  310. package/esm/config/hooks/mutation-keys.d.ts +24 -24
  311. package/esm/config/hooks/mutation-keys.js +25 -25
  312. package/esm/config/hooks/mutations/index.d.ts +9 -9
  313. package/esm/config/hooks/mutations/index.js +9 -9
  314. package/esm/config/hooks/queries/index.d.ts +2 -2
  315. package/esm/config/hooks/queries/index.js +2 -2
  316. package/esm/config/hooks/query-keys.d.ts +14 -14
  317. package/esm/config/hooks/query-keys.js +8 -8
  318. package/esm/config/orm/index.d.ts +30 -30
  319. package/esm/config/orm/index.js +2 -2
  320. package/esm/config/orm/input-types.d.ts +416 -416
  321. package/esm/config/orm/models/index.d.ts +1 -1
  322. package/esm/config/orm/models/index.js +1 -1
  323. package/esm/config/orm/mutation/index.d.ts +47 -47
  324. package/esm/config/orm/mutation/index.js +60 -60
  325. package/esm/config/schema-types.d.ts +519 -519
  326. package/esm/config/types.d.ts +35 -35
  327. package/esm/infra/hooks/index.d.ts +1 -1
  328. package/esm/infra/hooks/index.js +1 -1
  329. package/esm/infra/hooks/invalidation.d.ts +28 -28
  330. package/esm/infra/hooks/invalidation.js +66 -66
  331. package/esm/infra/hooks/mutation-keys.d.ts +58 -58
  332. package/esm/infra/hooks/mutation-keys.js +36 -36
  333. package/esm/infra/hooks/mutations/index.d.ts +16 -16
  334. package/esm/infra/hooks/mutations/index.js +16 -16
  335. package/esm/infra/hooks/queries/index.d.ts +10 -10
  336. package/esm/infra/hooks/queries/index.js +10 -10
  337. package/esm/infra/hooks/query-keys.d.ts +66 -66
  338. package/esm/infra/hooks/query-keys.js +38 -38
  339. package/esm/infra/orm/index.d.ts +15 -15
  340. package/esm/infra/orm/index.js +10 -10
  341. package/esm/infra/orm/input-types.d.ts +971 -971
  342. package/esm/infra/orm/models/index.d.ts +5 -5
  343. package/esm/infra/orm/models/index.js +5 -5
  344. package/esm/infra/orm/mutation/index.d.ts +9 -9
  345. package/esm/infra/orm/mutation/index.js +12 -12
  346. package/esm/infra/schema-types.d.ts +979 -979
  347. package/esm/infra/types.d.ts +72 -72
  348. package/esm/modules/hooks/index.d.ts +1 -1
  349. package/esm/modules/hooks/index.js +1 -1
  350. package/esm/modules/hooks/invalidation.d.ts +291 -291
  351. package/esm/modules/hooks/invalidation.js +563 -563
  352. package/esm/modules/hooks/mutation-keys.d.ts +602 -602
  353. package/esm/modules/hooks/mutation-keys.js +384 -384
  354. package/esm/modules/hooks/mutations/index.d.ts +164 -164
  355. package/esm/modules/hooks/mutations/index.js +164 -164
  356. package/esm/modules/hooks/queries/index.d.ts +106 -106
  357. package/esm/modules/hooks/queries/index.js +106 -106
  358. package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
  359. package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
  360. package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
  361. package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
  362. package/esm/modules/hooks/query-keys.d.ts +696 -696
  363. package/esm/modules/hooks/query-keys.js +399 -399
  364. package/esm/modules/orm/index.d.ts +126 -126
  365. package/esm/modules/orm/index.js +106 -106
  366. package/esm/modules/orm/input-types.d.ts +11482 -11468
  367. package/esm/modules/orm/input-types.js +1 -1
  368. package/esm/modules/orm/models/index.d.ts +53 -53
  369. package/esm/modules/orm/models/index.js +53 -53
  370. package/esm/modules/orm/mutation/index.d.ts +51 -51
  371. package/esm/modules/orm/mutation/index.js +42 -42
  372. package/esm/modules/orm/query/index.d.ts +3 -3
  373. package/esm/modules/orm/query/index.js +8 -8
  374. package/esm/modules/schema-types.d.ts +8363 -8355
  375. package/esm/modules/types.d.ts +1013 -1011
  376. package/esm/objects/hooks/index.d.ts +1 -1
  377. package/esm/objects/hooks/index.js +1 -1
  378. package/esm/objects/hooks/invalidation.d.ts +12 -12
  379. package/esm/objects/hooks/invalidation.js +33 -33
  380. package/esm/objects/hooks/mutation-keys.d.ts +26 -26
  381. package/esm/objects/hooks/mutation-keys.js +17 -17
  382. package/esm/objects/hooks/mutations/index.d.ts +7 -7
  383. package/esm/objects/hooks/mutations/index.js +7 -7
  384. package/esm/objects/hooks/queries/index.d.ts +4 -4
  385. package/esm/objects/hooks/queries/index.js +4 -4
  386. package/esm/objects/hooks/query-keys.d.ts +28 -28
  387. package/esm/objects/hooks/query-keys.js +16 -16
  388. package/esm/objects/orm/index.d.ts +9 -9
  389. package/esm/objects/orm/index.js +4 -4
  390. package/esm/objects/orm/input-types.d.ts +384 -384
  391. package/esm/objects/orm/models/index.d.ts +2 -2
  392. package/esm/objects/orm/models/index.js +2 -2
  393. package/esm/objects/orm/mutation/index.d.ts +9 -9
  394. package/esm/objects/orm/mutation/index.js +12 -12
  395. package/esm/objects/schema-types.d.ts +438 -438
  396. package/esm/objects/types.d.ts +23 -23
  397. package/esm/usage/hooks/index.d.ts +1 -1
  398. package/esm/usage/hooks/index.js +1 -1
  399. package/esm/usage/hooks/invalidation.d.ts +67 -67
  400. package/esm/usage/hooks/invalidation.js +140 -140
  401. package/esm/usage/hooks/mutation-keys.d.ts +136 -136
  402. package/esm/usage/hooks/mutation-keys.js +82 -82
  403. package/esm/usage/hooks/mutations/index.d.ts +37 -37
  404. package/esm/usage/hooks/mutations/index.js +37 -37
  405. package/esm/usage/hooks/queries/index.d.ts +24 -24
  406. package/esm/usage/hooks/queries/index.js +24 -24
  407. package/esm/usage/hooks/query-keys.d.ts +158 -158
  408. package/esm/usage/hooks/query-keys.js +91 -91
  409. package/esm/usage/orm/index.d.ts +29 -29
  410. package/esm/usage/orm/index.js +24 -24
  411. package/esm/usage/orm/input-types.d.ts +2049 -2049
  412. package/esm/usage/orm/input-types.js +5 -5
  413. package/esm/usage/orm/models/index.d.ts +12 -12
  414. package/esm/usage/orm/models/index.js +12 -12
  415. package/esm/usage/orm/mutation/index.d.ts +16 -16
  416. package/esm/usage/orm/mutation/index.js +12 -12
  417. package/esm/usage/schema-types.d.ts +1591 -1591
  418. package/esm/usage/types.d.ts +99 -99
  419. package/infra/hooks/index.d.ts +1 -1
  420. package/infra/hooks/index.js +1 -1
  421. package/infra/hooks/invalidation.d.ts +28 -28
  422. package/infra/hooks/invalidation.js +65 -65
  423. package/infra/hooks/mutation-keys.d.ts +58 -58
  424. package/infra/hooks/mutation-keys.js +37 -37
  425. package/infra/hooks/mutations/index.d.ts +16 -16
  426. package/infra/hooks/mutations/index.js +16 -16
  427. package/infra/hooks/queries/index.d.ts +10 -10
  428. package/infra/hooks/queries/index.js +10 -10
  429. package/infra/hooks/query-keys.d.ts +66 -66
  430. package/infra/hooks/query-keys.js +39 -39
  431. package/infra/orm/index.d.ts +15 -15
  432. package/infra/orm/index.js +10 -10
  433. package/infra/orm/input-types.d.ts +971 -971
  434. package/infra/orm/models/index.d.ts +5 -5
  435. package/infra/orm/models/index.js +11 -11
  436. package/infra/orm/mutation/index.d.ts +9 -9
  437. package/infra/orm/mutation/index.js +12 -12
  438. package/infra/schema-types.d.ts +979 -979
  439. package/infra/types.d.ts +72 -72
  440. package/modules/hooks/index.d.ts +1 -1
  441. package/modules/hooks/index.js +1 -1
  442. package/modules/hooks/invalidation.d.ts +291 -291
  443. package/modules/hooks/invalidation.js +562 -562
  444. package/modules/hooks/mutation-keys.d.ts +602 -602
  445. package/modules/hooks/mutation-keys.js +386 -386
  446. package/modules/hooks/mutations/index.d.ts +164 -164
  447. package/modules/hooks/mutations/index.js +164 -164
  448. package/modules/hooks/queries/index.d.ts +106 -106
  449. package/modules/hooks/queries/index.js +106 -106
  450. package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
  451. package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
  452. package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
  453. package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
  454. package/modules/hooks/query-keys.d.ts +696 -696
  455. package/modules/hooks/query-keys.js +401 -401
  456. package/modules/orm/index.d.ts +126 -126
  457. package/modules/orm/index.js +106 -106
  458. package/modules/orm/input-types.d.ts +11482 -11468
  459. package/modules/orm/input-types.js +1 -1
  460. package/modules/orm/models/index.d.ts +53 -53
  461. package/modules/orm/models/index.js +108 -108
  462. package/modules/orm/mutation/index.d.ts +51 -51
  463. package/modules/orm/mutation/index.js +42 -42
  464. package/modules/orm/query/index.d.ts +3 -3
  465. package/modules/orm/query/index.js +8 -8
  466. package/modules/schema-types.d.ts +8363 -8355
  467. package/modules/types.d.ts +1013 -1011
  468. package/objects/hooks/index.d.ts +1 -1
  469. package/objects/hooks/index.js +1 -1
  470. package/objects/hooks/invalidation.d.ts +12 -12
  471. package/objects/hooks/invalidation.js +32 -32
  472. package/objects/hooks/mutation-keys.d.ts +26 -26
  473. package/objects/hooks/mutation-keys.js +18 -18
  474. package/objects/hooks/mutations/index.d.ts +7 -7
  475. package/objects/hooks/mutations/index.js +7 -7
  476. package/objects/hooks/queries/index.d.ts +4 -4
  477. package/objects/hooks/queries/index.js +4 -4
  478. package/objects/hooks/query-keys.d.ts +28 -28
  479. package/objects/hooks/query-keys.js +17 -17
  480. package/objects/orm/index.d.ts +9 -9
  481. package/objects/orm/index.js +4 -4
  482. package/objects/orm/input-types.d.ts +384 -384
  483. package/objects/orm/models/index.d.ts +2 -2
  484. package/objects/orm/models/index.js +5 -5
  485. package/objects/orm/mutation/index.d.ts +9 -9
  486. package/objects/orm/mutation/index.js +12 -12
  487. package/objects/schema-types.d.ts +438 -438
  488. package/objects/types.d.ts +23 -23
  489. package/package.json +4 -4
  490. package/usage/hooks/index.d.ts +1 -1
  491. package/usage/hooks/index.js +1 -1
  492. package/usage/hooks/invalidation.d.ts +67 -67
  493. package/usage/hooks/invalidation.js +139 -139
  494. package/usage/hooks/mutation-keys.d.ts +136 -136
  495. package/usage/hooks/mutation-keys.js +83 -83
  496. package/usage/hooks/mutations/index.d.ts +37 -37
  497. package/usage/hooks/mutations/index.js +37 -37
  498. package/usage/hooks/queries/index.d.ts +24 -24
  499. package/usage/hooks/queries/index.js +24 -24
  500. package/usage/hooks/query-keys.d.ts +158 -158
  501. package/usage/hooks/query-keys.js +92 -92
  502. package/usage/orm/index.d.ts +29 -29
  503. package/usage/orm/index.js +24 -24
  504. package/usage/orm/input-types.d.ts +2049 -2049
  505. package/usage/orm/input-types.js +5 -5
  506. package/usage/orm/models/index.d.ts +12 -12
  507. package/usage/orm/models/index.js +25 -25
  508. package/usage/orm/mutation/index.d.ts +16 -16
  509. package/usage/orm/mutation/index.js +12 -12
  510. package/usage/schema-types.d.ts +1591 -1591
  511. package/usage/types.d.ts +99 -99
@@ -4,313 +4,360 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  import type { DbPreset, InfraCommit, InfraGetAllRecord, InfraObject, InfraRef, InfraStore, Namespace, NamespaceEvent, PlatformNamespace, PlatformNamespaceEvent, BigIntFilter, BooleanFilter, DatetimeFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
+ /** Methods to use when ordering `DbPreset`. */
8
+ export type DbPresetOrderBy = 'ACTIVE_ASC' | 'ACTIVE_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'MODULES_HASH_ASC' | 'MODULES_HASH_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9
+ /** Methods to use when ordering `InfraCommit`. */
10
+ export type InfraCommitOrderBy = 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'NATURAL' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC';
11
+ /** Methods to use when ordering `InfraObject`. */
12
+ export type InfraObjectOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
7
13
  /** Methods to use when ordering `InfraRef`. */
8
- export type InfraRefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
14
+ export type InfraRefOrderBy = 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
9
15
  /** Methods to use when ordering `InfraStore`. */
10
- export type InfraStoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
11
- /** Methods to use when ordering `InfraObject`. */
12
- export type InfraObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
13
- /** Methods to use when ordering `InfraCommit`. */
14
- export type InfraCommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
15
- /** Methods to use when ordering `DbPreset`. */
16
- export type DbPresetOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'MODULES_HASH_ASC' | 'MODULES_HASH_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ACTIVE_ASC' | 'ACTIVE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
17
- /** Methods to use when ordering `PlatformNamespace`. */
18
- export type PlatformNamespaceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC';
16
+ export type InfraStoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
17
+ /** Methods to use when ordering `NamespaceEvent`. */
18
+ export type NamespaceEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'METRICS_ASC' | 'METRICS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC';
19
19
  /** Methods to use when ordering `Namespace`. */
20
- export type NamespaceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC';
20
+ export type NamespaceOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
21
21
  /** Methods to use when ordering `PlatformNamespaceEvent`. */
22
- export type PlatformNamespaceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'METRICS_ASC' | 'METRICS_DESC';
23
- /** Methods to use when ordering `NamespaceEvent`. */
24
- export type NamespaceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'METRICS_ASC' | 'METRICS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
25
- /** A filter to be used against `InfraRef` object types. All fields are combined with a logical ‘and.’ */
26
- export interface InfraRefFilter {
27
- /** Filter by the object’s `id` field. */
28
- id?: UUIDFilter;
29
- /** Filter by the object’s `name` field. */
30
- name?: StringFilter;
31
- /** Filter by the object’s `scopeId` field. */
32
- scopeId?: UUIDFilter;
33
- /** Filter by the object’s `storeId` field. */
34
- storeId?: UUIDFilter;
35
- /** Filter by the object’s `commitId` field. */
36
- commitId?: UUIDFilter;
37
- /** Checks for all expressions in this list. */
38
- and?: InfraRefFilter[];
39
- /** Checks for any expressions in this list. */
40
- or?: InfraRefFilter[];
41
- /** Negates the expression. */
42
- not?: InfraRefFilter;
22
+ export type PlatformNamespaceEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'METRICS_ASC' | 'METRICS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC';
23
+ /** Methods to use when ordering `PlatformNamespace`. */
24
+ export type PlatformNamespaceOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
+ export interface CreateDbPresetInput {
26
+ clientMutationId?: string;
27
+ /** The `DbPreset` to be created by this mutation. */
28
+ dbPreset: DbPresetInput;
43
29
  }
44
- /** A filter to be used against `InfraStore` object types. All fields are combined with a logical ‘and.’ */
45
- export interface InfraStoreFilter {
46
- /** Filter by the object’s `id` field. */
47
- id?: UUIDFilter;
48
- /** Filter by the object’s `name` field. */
49
- name?: StringFilter;
50
- /** Filter by the object’s `scopeId` field. */
51
- scopeId?: UUIDFilter;
52
- /** Filter by the object’s `hash` field. */
53
- hash?: UUIDFilter;
54
- /** Filter by the object’s `createdAt` field. */
55
- createdAt?: DatetimeFilter;
56
- /** Checks for all expressions in this list. */
57
- and?: InfraStoreFilter[];
58
- /** Checks for any expressions in this list. */
59
- or?: InfraStoreFilter[];
60
- /** Negates the expression. */
61
- not?: InfraStoreFilter;
30
+ export interface CreateInfraCommitInput {
31
+ clientMutationId?: string;
32
+ /** The `InfraCommit` to be created by this mutation. */
33
+ infraCommit: InfraCommitInput;
62
34
  }
63
- /** A filter to be used against `InfraObject` object types. All fields are combined with a logical ‘and.’ */
64
- export interface InfraObjectFilter {
65
- /** Filter by the object’s `id` field. */
66
- id?: UUIDFilter;
67
- /** Filter by the object’s `scopeId` field. */
68
- scopeId?: UUIDFilter;
69
- /** Filter by the object’s `kids` field. */
70
- kids?: UUIDListFilter;
71
- /** Filter by the object’s `ktree` field. */
72
- ktree?: StringListFilter;
73
- /** Filter by the object’s `data` field. */
74
- data?: JSONFilter;
75
- /** Filter by the object’s `createdAt` field. */
76
- createdAt?: DatetimeFilter;
77
- /** Checks for all expressions in this list. */
78
- and?: InfraObjectFilter[];
79
- /** Checks for any expressions in this list. */
80
- or?: InfraObjectFilter[];
81
- /** Negates the expression. */
82
- not?: InfraObjectFilter;
35
+ export interface CreateInfraObjectInput {
36
+ clientMutationId?: string;
37
+ /** The `InfraObject` to be created by this mutation. */
38
+ infraObject: InfraObjectInput;
83
39
  }
84
- /** A filter to be used against `InfraCommit` object types. All fields are combined with a logical ‘and.’ */
85
- export interface InfraCommitFilter {
86
- /** Filter by the object’s `id` field. */
87
- id?: UUIDFilter;
88
- /** Filter by the object’s `message` field. */
89
- message?: StringFilter;
90
- /** Filter by the object’s `scopeId` field. */
91
- scopeId?: UUIDFilter;
92
- /** Filter by the object’s `storeId` field. */
93
- storeId?: UUIDFilter;
94
- /** Filter by the object’s `parentIds` field. */
95
- parentIds?: UUIDListFilter;
96
- /** Filter by the object’s `authorId` field. */
97
- authorId?: UUIDFilter;
98
- /** Filter by the object’s `committerId` field. */
99
- committerId?: UUIDFilter;
100
- /** Filter by the object’s `treeId` field. */
101
- treeId?: UUIDFilter;
102
- /** Filter by the object’s `date` field. */
103
- date?: DatetimeFilter;
104
- /** Checks for all expressions in this list. */
105
- and?: InfraCommitFilter[];
106
- /** Checks for any expressions in this list. */
107
- or?: InfraCommitFilter[];
108
- /** Negates the expression. */
109
- not?: InfraCommitFilter;
40
+ export interface CreateInfraRefInput {
41
+ clientMutationId?: string;
42
+ /** The `InfraRef` to be created by this mutation. */
43
+ infraRef: InfraRefInput;
44
+ }
45
+ export interface CreateInfraStoreInput {
46
+ clientMutationId?: string;
47
+ /** The `InfraStore` to be created by this mutation. */
48
+ infraStore: InfraStoreInput;
49
+ }
50
+ export interface CreateNamespaceEventInput {
51
+ clientMutationId?: string;
52
+ /** The `NamespaceEvent` to be created by this mutation. */
53
+ namespaceEvent: NamespaceEventInput;
54
+ }
55
+ export interface CreateNamespaceInput {
56
+ clientMutationId?: string;
57
+ /** The `Namespace` to be created by this mutation. */
58
+ namespace: NamespaceInput;
59
+ }
60
+ export interface CreatePlatformNamespaceEventInput {
61
+ clientMutationId?: string;
62
+ /** The `PlatformNamespaceEvent` to be created by this mutation. */
63
+ platformNamespaceEvent: PlatformNamespaceEventInput;
64
+ }
65
+ export interface CreatePlatformNamespaceInput {
66
+ clientMutationId?: string;
67
+ /** The `PlatformNamespace` to be created by this mutation. */
68
+ platformNamespace: PlatformNamespaceInput;
110
69
  }
111
70
  /** A filter to be used against `DbPreset` object types. All fields are combined with a logical ‘and.’ */
112
71
  export interface DbPresetFilter {
113
- /** Filter by the object’s `id` field. */
114
- id?: UUIDFilter;
115
- /** Filter by the object’s `storeId` field. */
116
- storeId?: UUIDFilter;
117
- /** Filter by the object’s `slug` field. */
118
- slug?: StringFilter;
119
- /** Filter by the object’s `definition` field. */
120
- definition?: JSONFilter;
121
- /** Filter by the object’s `commitId` field. */
122
- commitId?: UUIDFilter;
123
- /** Filter by the object’s `modulesHash` field. */
124
- modulesHash?: UUIDFilter;
125
- /** Filter by the object’s `label` field. */
126
- label?: StringFilter;
127
- /** Filter by the object’s `description` field. */
128
- description?: StringFilter;
129
72
  /** Filter by the object’s `active` field. */
130
73
  active?: BooleanFilter;
131
- /** Filter by the object’s `createdAt` field. */
132
- createdAt?: DatetimeFilter;
133
- /** Filter by the object’s `updatedAt` field. */
134
- updatedAt?: DatetimeFilter;
135
74
  /** Checks for all expressions in this list. */
136
75
  and?: DbPresetFilter[];
137
- /** Checks for any expressions in this list. */
138
- or?: DbPresetFilter[];
139
- /** Negates the expression. */
140
- not?: DbPresetFilter;
141
- }
142
- /** A filter to be used against `PlatformNamespace` object types. All fields are combined with a logical ‘and.’ */
143
- export interface PlatformNamespaceFilter {
144
- /** Filter by the object’s `id` field. */
145
- id?: UUIDFilter;
76
+ /** Filter by the object’s `commitId` field. */
77
+ commitId?: UUIDFilter;
146
78
  /** Filter by the object’s `createdAt` field. */
147
79
  createdAt?: DatetimeFilter;
148
- /** Filter by the object’s `updatedAt` field. */
149
- updatedAt?: DatetimeFilter;
150
- /** Filter by the object’s `name` field. */
151
- name?: StringFilter;
152
- /** Filter by the object’s `namespaceName` field. */
153
- namespaceName?: StringFilter;
80
+ /** Filter by the object’s `definition` field. */
81
+ definition?: JSONFilter;
154
82
  /** Filter by the object’s `description` field. */
155
83
  description?: StringFilter;
156
- /** Filter by the object’s `isActive` field. */
157
- isActive?: BooleanFilter;
158
- /** Filter by the object’s `status` field. */
159
- status?: StringFilter;
160
- /** Filter by the object’s `lastError` field. */
161
- lastError?: StringFilter;
162
- /** Filter by the object’s `labels` field. */
163
- labels?: JSONFilter;
164
- /** Filter by the object’s `annotations` field. */
165
- annotations?: JSONFilter;
166
- /** Filter by the object’s `isManaged` field. */
167
- isManaged?: BooleanFilter;
168
- /** Checks for all expressions in this list. */
169
- and?: PlatformNamespaceFilter[];
170
- /** Checks for any expressions in this list. */
171
- or?: PlatformNamespaceFilter[];
172
- /** Negates the expression. */
173
- not?: PlatformNamespaceFilter;
174
- }
175
- /** A filter to be used against `Namespace` object types. All fields are combined with a logical ‘and.’ */
176
- export interface NamespaceFilter {
177
84
  /** Filter by the object’s `id` field. */
178
85
  id?: UUIDFilter;
179
- /** Filter by the object’s `createdAt` field. */
180
- createdAt?: DatetimeFilter;
86
+ /** Filter by the object’s `label` field. */
87
+ label?: StringFilter;
88
+ /** Filter by the object’s `modulesHash` field. */
89
+ modulesHash?: UUIDFilter;
90
+ /** Negates the expression. */
91
+ not?: DbPresetFilter;
92
+ /** Checks for any expressions in this list. */
93
+ or?: DbPresetFilter[];
94
+ /** Filter by the object’s `slug` field. */
95
+ slug?: StringFilter;
96
+ /** Filter by the object’s `storeId` field. */
97
+ storeId?: UUIDFilter;
181
98
  /** Filter by the object’s `updatedAt` field. */
182
99
  updatedAt?: DatetimeFilter;
183
- /** Filter by the object’s `name` field. */
184
- name?: StringFilter;
185
- /** Filter by the object’s `namespaceName` field. */
186
- namespaceName?: StringFilter;
187
- /** Filter by the object’s `description` field. */
188
- description?: StringFilter;
189
- /** Filter by the object’s `isActive` field. */
190
- isActive?: BooleanFilter;
191
- /** Filter by the object’s `status` field. */
192
- status?: StringFilter;
193
- /** Filter by the object’s `lastError` field. */
194
- lastError?: StringFilter;
195
- /** Filter by the object’s `labels` field. */
196
- labels?: JSONFilter;
197
- /** Filter by the object’s `annotations` field. */
198
- annotations?: JSONFilter;
199
- /** Filter by the object’s `databaseId` field. */
200
- databaseId?: UUIDFilter;
201
- /** Filter by the object’s `isManaged` field. */
202
- isManaged?: BooleanFilter;
203
- /** Checks for all expressions in this list. */
204
- and?: NamespaceFilter[];
205
- /** Checks for any expressions in this list. */
206
- or?: NamespaceFilter[];
207
- /** Negates the expression. */
208
- not?: NamespaceFilter;
209
100
  }
210
- /** A filter to be used against `PlatformNamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
211
- export interface PlatformNamespaceEventFilter {
212
- /** Filter by the object’s `createdAt` field. */
213
- createdAt?: DatetimeFilter;
214
- /** Filter by the object’s `id` field. */
215
- id?: UUIDFilter;
216
- /** Filter by the object’s `namespaceId` field. */
217
- namespaceId?: UUIDFilter;
218
- /** Filter by the object’s `eventType` field. */
219
- eventType?: StringFilter;
220
- /** Filter by the object’s `actorId` field. */
221
- actorId?: UUIDFilter;
222
- /** Filter by the object’s `message` field. */
223
- message?: StringFilter;
224
- /** Filter by the object’s `metadata` field. */
225
- metadata?: JSONFilter;
226
- /** Filter by the object’s `cpuMillicores` field. */
227
- cpuMillicores?: IntFilter;
228
- /** Filter by the object’s `memoryBytes` field. */
229
- memoryBytes?: BigIntFilter;
230
- /** Filter by the object’s `storageBytes` field. */
231
- storageBytes?: BigIntFilter;
232
- /** Filter by the object’s `networkIngressBytes` field. */
233
- networkIngressBytes?: BigIntFilter;
234
- /** Filter by the object’s `networkEgressBytes` field. */
235
- networkEgressBytes?: BigIntFilter;
236
- /** Filter by the object’s `podCount` field. */
237
- podCount?: IntFilter;
238
- /** Filter by the object’s `metrics` field. */
239
- metrics?: JSONFilter;
240
- /** Checks for all expressions in this list. */
241
- and?: PlatformNamespaceEventFilter[];
242
- /** Checks for any expressions in this list. */
243
- or?: PlatformNamespaceEventFilter[];
244
- /** Negates the expression. */
245
- not?: PlatformNamespaceEventFilter;
101
+ /** An input for mutations affecting `DbPreset` */
102
+ export interface DbPresetInput {
103
+ /** Whether this preset is selectable for new databases */
104
+ active?: boolean;
105
+ /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
106
+ commitId?: string;
107
+ /** Timestamp of preset creation */
108
+ createdAt?: string;
109
+ /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
110
+ definition: unknown;
111
+ /** Human-readable description of the preset */
112
+ description?: string;
113
+ /** Unique preset identifier */
114
+ id?: string;
115
+ /** Human-readable preset name */
116
+ label?: string;
117
+ /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
118
+ modulesHash?: string;
119
+ /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
120
+ slug: string;
121
+ /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
122
+ storeId?: string;
123
+ /** Timestamp of last modification */
124
+ updatedAt?: string;
246
125
  }
247
- /** A filter to be used against `NamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
248
- export interface NamespaceEventFilter {
249
- /** Filter by the object’s `createdAt` field. */
250
- createdAt?: DatetimeFilter;
251
- /** Filter by the object’s `id` field. */
252
- id?: UUIDFilter;
253
- /** Filter by the object’s `namespaceId` field. */
254
- namespaceId?: UUIDFilter;
255
- /** Filter by the object’s `eventType` field. */
256
- eventType?: StringFilter;
257
- /** Filter by the object’s `actorId` field. */
258
- actorId?: UUIDFilter;
259
- /** Filter by the object’s `message` field. */
260
- message?: StringFilter;
261
- /** Filter by the object’s `metadata` field. */
262
- metadata?: JSONFilter;
263
- /** Filter by the object’s `cpuMillicores` field. */
264
- cpuMillicores?: IntFilter;
265
- /** Filter by the object’s `memoryBytes` field. */
266
- memoryBytes?: BigIntFilter;
267
- /** Filter by the object’s `storageBytes` field. */
268
- storageBytes?: BigIntFilter;
269
- /** Filter by the object’s `networkIngressBytes` field. */
270
- networkIngressBytes?: BigIntFilter;
271
- /** Filter by the object’s `networkEgressBytes` field. */
272
- networkEgressBytes?: BigIntFilter;
273
- /** Filter by the object’s `podCount` field. */
274
- podCount?: IntFilter;
275
- /** Filter by the object’s `metrics` field. */
276
- metrics?: JSONFilter;
277
- /** Filter by the object’s `databaseId` field. */
278
- databaseId?: UUIDFilter;
126
+ /** Represents an update to a `DbPreset`. Fields that are set will be updated. */
127
+ export interface DbPresetPatch {
128
+ /** Whether this preset is selectable for new databases */
129
+ active?: boolean;
130
+ /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
131
+ commitId?: string;
132
+ /** Timestamp of preset creation */
133
+ createdAt?: string;
134
+ /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
135
+ definition?: unknown;
136
+ /** Human-readable description of the preset */
137
+ description?: string;
138
+ /** Unique preset identifier */
139
+ id?: string;
140
+ /** Human-readable preset name */
141
+ label?: string;
142
+ /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
143
+ modulesHash?: string;
144
+ /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
145
+ slug?: string;
146
+ /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
147
+ storeId?: string;
148
+ /** Timestamp of last modification */
149
+ updatedAt?: string;
150
+ }
151
+ export interface DeleteDbPresetInput {
152
+ clientMutationId?: string;
153
+ /** Unique preset identifier */
154
+ id: string;
155
+ }
156
+ export interface DeleteInfraCommitInput {
157
+ clientMutationId?: string;
158
+ /** Unique commit identifier */
159
+ id: string;
160
+ /** Opaque store partition key for the global tier */
161
+ scopeId: string;
162
+ }
163
+ export interface DeleteInfraObjectInput {
164
+ clientMutationId?: string;
165
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
166
+ id: string;
167
+ /** Opaque store partition key for the global tier */
168
+ scopeId: string;
169
+ }
170
+ export interface DeleteInfraRefInput {
171
+ clientMutationId?: string;
172
+ /** Unique ref identifier */
173
+ id: string;
174
+ /** Opaque store partition key for the global tier */
175
+ scopeId: string;
176
+ }
177
+ export interface DeleteInfraStoreInput {
178
+ clientMutationId?: string;
179
+ /** Unique store identifier */
180
+ id: string;
181
+ }
182
+ export interface DeleteNamespaceEventInput {
183
+ clientMutationId?: string;
184
+ /** Event timestamp (partition key) */
185
+ createdAt: string;
186
+ /** Unique event identifier */
187
+ id: string;
188
+ }
189
+ export interface DeleteNamespaceInput {
190
+ clientMutationId?: string;
191
+ id: string;
192
+ }
193
+ export interface DeletePlatformNamespaceEventInput {
194
+ clientMutationId?: string;
195
+ /** Event timestamp (partition key) */
196
+ createdAt: string;
197
+ /** Unique event identifier */
198
+ id: string;
199
+ }
200
+ export interface DeletePlatformNamespaceInput {
201
+ clientMutationId?: string;
202
+ id: string;
203
+ }
204
+ /** A filter to be used against `InfraCommit` object types. All fields are combined with a logical ‘and.’ */
205
+ export interface InfraCommitFilter {
279
206
  /** Checks for all expressions in this list. */
280
- and?: NamespaceEventFilter[];
281
- /** Checks for any expressions in this list. */
282
- or?: NamespaceEventFilter[];
207
+ and?: InfraCommitFilter[];
208
+ /** Filter by the object’s `authorId` field. */
209
+ authorId?: UUIDFilter;
210
+ /** Filter by the object’s `committerId` field. */
211
+ committerId?: UUIDFilter;
212
+ /** Filter by the object’s `date` field. */
213
+ date?: DatetimeFilter;
214
+ /** Filter by the object’s `id` field. */
215
+ id?: UUIDFilter;
216
+ /** Filter by the object’s `message` field. */
217
+ message?: StringFilter;
283
218
  /** Negates the expression. */
284
- not?: NamespaceEventFilter;
219
+ not?: InfraCommitFilter;
220
+ /** Checks for any expressions in this list. */
221
+ or?: InfraCommitFilter[];
222
+ /** Filter by the object’s `parentIds` field. */
223
+ parentIds?: UUIDListFilter;
224
+ /** Filter by the object’s `scopeId` field. */
225
+ scopeId?: UUIDFilter;
226
+ /** Filter by the object’s `storeId` field. */
227
+ storeId?: UUIDFilter;
228
+ /** Filter by the object’s `treeId` field. */
229
+ treeId?: UUIDFilter;
230
+ }
231
+ /** An input for mutations affecting `InfraCommit` */
232
+ export interface InfraCommitInput {
233
+ /** User who authored the changes */
234
+ authorId?: string;
235
+ /** User who committed (may differ from author) */
236
+ committerId?: string;
237
+ /** Commit timestamp */
238
+ date?: string;
239
+ /** Unique commit identifier */
240
+ id?: string;
241
+ /** Optional commit message */
242
+ message?: string;
243
+ /** Parent commit IDs (supports merge commits) */
244
+ parentIds?: string[];
245
+ /** Opaque store partition key for the global tier */
246
+ scopeId: string;
247
+ /** Store this commit belongs to */
248
+ storeId: string;
249
+ /** Root object ID of the tree snapshot at this commit */
250
+ treeId?: string;
251
+ }
252
+ /** Represents an update to a `InfraCommit`. Fields that are set will be updated. */
253
+ export interface InfraCommitPatch {
254
+ /** User who authored the changes */
255
+ authorId?: string;
256
+ /** User who committed (may differ from author) */
257
+ committerId?: string;
258
+ /** Commit timestamp */
259
+ date?: string;
260
+ /** Unique commit identifier */
261
+ id?: string;
262
+ /** Optional commit message */
263
+ message?: string;
264
+ /** Parent commit IDs (supports merge commits) */
265
+ parentIds?: string[];
266
+ /** Opaque store partition key for the global tier */
267
+ scopeId?: string;
268
+ /** Store this commit belongs to */
269
+ storeId?: string;
270
+ /** Root object ID of the tree snapshot at this commit */
271
+ treeId?: string;
285
272
  }
286
273
  export interface InfraInitEmptyRepoInput {
287
274
  clientMutationId?: string;
288
275
  sId?: string;
289
276
  storeId?: string;
290
277
  }
291
- export interface InfraSetDataAtPathInput {
278
+ export interface InfraInsertNodeAtPathInput {
292
279
  clientMutationId?: string;
293
- sId?: string;
294
- root?: string;
280
+ data?: unknown;
281
+ kids?: string[];
282
+ ktree?: string[];
295
283
  path?: string[];
284
+ root?: string;
285
+ sId?: string;
286
+ }
287
+ /** A filter to be used against `InfraObject` object types. All fields are combined with a logical ‘and.’ */
288
+ export interface InfraObjectFilter {
289
+ /** Checks for all expressions in this list. */
290
+ and?: InfraObjectFilter[];
291
+ /** Filter by the object’s `createdAt` field. */
292
+ createdAt?: DatetimeFilter;
293
+ /** Filter by the object’s `data` field. */
294
+ data?: JSONFilter;
295
+ /** Filter by the object’s `id` field. */
296
+ id?: UUIDFilter;
297
+ /** Filter by the object’s `kids` field. */
298
+ kids?: UUIDListFilter;
299
+ /** Filter by the object’s `ktree` field. */
300
+ ktree?: StringListFilter;
301
+ /** Negates the expression. */
302
+ not?: InfraObjectFilter;
303
+ /** Checks for any expressions in this list. */
304
+ or?: InfraObjectFilter[];
305
+ /** Filter by the object’s `scopeId` field. */
306
+ scopeId?: UUIDFilter;
307
+ }
308
+ /** An input for mutations affecting `InfraObject` */
309
+ export interface InfraObjectInput {
310
+ /** Timestamp of object creation */
311
+ createdAt?: string;
312
+ /** Payload data for this object node */
296
313
  data?: unknown;
314
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
315
+ id: string;
316
+ /** Ordered array of child object IDs */
317
+ kids?: string[];
318
+ /** Ordered array of child path names (parallel to kids) */
319
+ ktree?: string[];
320
+ /** Opaque store partition key for the global tier */
321
+ scopeId: string;
297
322
  }
298
- export interface InfraInsertNodeAtPathInput {
299
- clientMutationId?: string;
300
- sId?: string;
301
- root?: string;
302
- path?: string[];
323
+ /** Represents an update to a `InfraObject`. Fields that are set will be updated. */
324
+ export interface InfraObjectPatch {
325
+ /** Timestamp of object creation */
326
+ createdAt?: string;
327
+ /** Payload data for this object node */
303
328
  data?: unknown;
329
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
330
+ id?: string;
331
+ /** Ordered array of child object IDs */
304
332
  kids?: string[];
333
+ /** Ordered array of child path names (parallel to kids) */
305
334
  ktree?: string[];
335
+ /** Opaque store partition key for the global tier */
336
+ scopeId?: string;
306
337
  }
307
- export interface CreateInfraRefInput {
308
- clientMutationId?: string;
309
- /** The `InfraRef` to be created by this mutation. */
310
- infraRef: InfraRefInput;
338
+ /** A filter to be used against `InfraRef` object types. All fields are combined with a logical ‘and.’ */
339
+ export interface InfraRefFilter {
340
+ /** Checks for all expressions in this list. */
341
+ and?: InfraRefFilter[];
342
+ /** Filter by the object’s `commitId` field. */
343
+ commitId?: UUIDFilter;
344
+ /** Filter by the object’s `id` field. */
345
+ id?: UUIDFilter;
346
+ /** Filter by the object’s `name` field. */
347
+ name?: StringFilter;
348
+ /** Negates the expression. */
349
+ not?: InfraRefFilter;
350
+ /** Checks for any expressions in this list. */
351
+ or?: InfraRefFilter[];
352
+ /** Filter by the object’s `scopeId` field. */
353
+ scopeId?: UUIDFilter;
354
+ /** Filter by the object’s `storeId` field. */
355
+ storeId?: UUIDFilter;
311
356
  }
312
357
  /** An input for mutations affecting `InfraRef` */
313
358
  export interface InfraRefInput {
359
+ /** Commit this ref points to */
360
+ commitId?: string;
314
361
  /** Unique ref identifier */
315
362
  id?: string;
316
363
  /** Ref name (e.g. HEAD, main) */
@@ -319,655 +366,615 @@ export interface InfraRefInput {
319
366
  scopeId: string;
320
367
  /** Store this ref belongs to */
321
368
  storeId: string;
369
+ }
370
+ /** Represents an update to a `InfraRef`. Fields that are set will be updated. */
371
+ export interface InfraRefPatch {
322
372
  /** Commit this ref points to */
323
373
  commitId?: string;
374
+ /** Unique ref identifier */
375
+ id?: string;
376
+ /** Ref name (e.g. HEAD, main) */
377
+ name?: string;
378
+ /** Opaque store partition key for the global tier */
379
+ scopeId?: string;
380
+ /** Store this ref belongs to */
381
+ storeId?: string;
324
382
  }
325
- export interface CreateInfraStoreInput {
383
+ export interface InfraSetDataAtPathInput {
326
384
  clientMutationId?: string;
327
- /** The `InfraStore` to be created by this mutation. */
328
- infraStore: InfraStoreInput;
385
+ data?: unknown;
386
+ path?: string[];
387
+ root?: string;
388
+ sId?: string;
389
+ }
390
+ /** A filter to be used against `InfraStore` object types. All fields are combined with a logical ‘and.’ */
391
+ export interface InfraStoreFilter {
392
+ /** Checks for all expressions in this list. */
393
+ and?: InfraStoreFilter[];
394
+ /** Filter by the object’s `createdAt` field. */
395
+ createdAt?: DatetimeFilter;
396
+ /** Filter by the object’s `hash` field. */
397
+ hash?: UUIDFilter;
398
+ /** Filter by the object’s `id` field. */
399
+ id?: UUIDFilter;
400
+ /** Filter by the object’s `name` field. */
401
+ name?: StringFilter;
402
+ /** Negates the expression. */
403
+ not?: InfraStoreFilter;
404
+ /** Checks for any expressions in this list. */
405
+ or?: InfraStoreFilter[];
406
+ /** Filter by the object’s `scopeId` field. */
407
+ scopeId?: UUIDFilter;
329
408
  }
330
409
  /** An input for mutations affecting `InfraStore` */
331
410
  export interface InfraStoreInput {
411
+ /** Timestamp of store creation */
412
+ createdAt?: string;
413
+ /** Current root object hash of this store */
414
+ hash?: string;
332
415
  /** Unique store identifier */
333
416
  id?: string;
334
417
  /** Human-readable store name */
335
418
  name: string;
336
419
  /** Opaque store partition key for the global tier */
337
420
  scopeId: string;
338
- /** Current root object hash of this store */
339
- hash?: string;
421
+ }
422
+ /** Represents an update to a `InfraStore`. Fields that are set will be updated. */
423
+ export interface InfraStorePatch {
340
424
  /** Timestamp of store creation */
341
425
  createdAt?: string;
342
- }
343
- export interface CreateInfraObjectInput {
344
- clientMutationId?: string;
345
- /** The `InfraObject` to be created by this mutation. */
346
- infraObject: InfraObjectInput;
347
- }
348
- /** An input for mutations affecting `InfraObject` */
349
- export interface InfraObjectInput {
350
- /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
351
- id: string;
426
+ /** Current root object hash of this store */
427
+ hash?: string;
428
+ /** Unique store identifier */
429
+ id?: string;
430
+ /** Human-readable store name */
431
+ name?: string;
352
432
  /** Opaque store partition key for the global tier */
353
- scopeId: string;
354
- /** Ordered array of child object IDs */
355
- kids?: string[];
356
- /** Ordered array of child path names (parallel to kids) */
357
- ktree?: string[];
358
- /** Payload data for this object node */
359
- data?: unknown;
360
- /** Timestamp of object creation */
361
- createdAt?: string;
433
+ scopeId?: string;
362
434
  }
363
- export interface CreateInfraCommitInput {
364
- clientMutationId?: string;
365
- /** The `InfraCommit` to be created by this mutation. */
366
- infraCommit: InfraCommitInput;
435
+ /** A filter to be used against `NamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
436
+ export interface NamespaceEventFilter {
437
+ /** Filter by the object’s `actorId` field. */
438
+ actorId?: UUIDFilter;
439
+ /** Checks for all expressions in this list. */
440
+ and?: NamespaceEventFilter[];
441
+ /** Filter by the object’s `cpuMillicores` field. */
442
+ cpuMillicores?: IntFilter;
443
+ /** Filter by the object’s `createdAt` field. */
444
+ createdAt?: DatetimeFilter;
445
+ /** Filter by the object’s `databaseId` field. */
446
+ databaseId?: UUIDFilter;
447
+ /** Filter by the object’s `eventType` field. */
448
+ eventType?: StringFilter;
449
+ /** Filter by the object’s `id` field. */
450
+ id?: UUIDFilter;
451
+ /** Filter by the object’s `memoryBytes` field. */
452
+ memoryBytes?: BigIntFilter;
453
+ /** Filter by the object’s `message` field. */
454
+ message?: StringFilter;
455
+ /** Filter by the object’s `metadata` field. */
456
+ metadata?: JSONFilter;
457
+ /** Filter by the object’s `metrics` field. */
458
+ metrics?: JSONFilter;
459
+ /** Filter by the object’s `namespaceId` field. */
460
+ namespaceId?: UUIDFilter;
461
+ /** Filter by the object’s `networkEgressBytes` field. */
462
+ networkEgressBytes?: BigIntFilter;
463
+ /** Filter by the object’s `networkIngressBytes` field. */
464
+ networkIngressBytes?: BigIntFilter;
465
+ /** Negates the expression. */
466
+ not?: NamespaceEventFilter;
467
+ /** Checks for any expressions in this list. */
468
+ or?: NamespaceEventFilter[];
469
+ /** Filter by the object’s `podCount` field. */
470
+ podCount?: IntFilter;
471
+ /** Filter by the object’s `storageBytes` field. */
472
+ storageBytes?: BigIntFilter;
367
473
  }
368
- /** An input for mutations affecting `InfraCommit` */
369
- export interface InfraCommitInput {
370
- /** Unique commit identifier */
474
+ /** An input for mutations affecting `NamespaceEvent` */
475
+ export interface NamespaceEventInput {
476
+ /** User who triggered this event (NULL for system/automated) */
477
+ actorId?: string;
478
+ /** CPU usage in millicores at time of event */
479
+ cpuMillicores?: number;
480
+ /** Event timestamp (partition key) */
481
+ createdAt?: string;
482
+ /** Database that owns this resource (database-scoped isolation) */
483
+ databaseId: string;
484
+ /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
485
+ eventType: string;
486
+ /** Unique event identifier */
371
487
  id?: string;
372
- /** Optional commit message */
488
+ /** Memory usage in bytes at time of event */
489
+ memoryBytes?: string;
490
+ /** Human-readable description of the event */
373
491
  message?: string;
374
- /** Opaque store partition key for the global tier */
375
- scopeId: string;
376
- /** Store this commit belongs to */
377
- storeId: string;
378
- /** Parent commit IDs (supports merge commits) */
379
- parentIds?: string[];
380
- /** User who authored the changes */
381
- authorId?: string;
382
- /** User who committed (may differ from author) */
383
- committerId?: string;
384
- /** Root object ID of the tree snapshot at this commit */
385
- treeId?: string;
386
- /** Commit timestamp */
387
- date?: string;
388
- }
389
- export interface CreateDbPresetInput {
390
- clientMutationId?: string;
391
- /** The `DbPreset` to be created by this mutation. */
392
- dbPreset: DbPresetInput;
492
+ /** Structured context (old/new values, labels diff, etc.) */
493
+ metadata?: unknown;
494
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
495
+ metrics?: unknown;
496
+ /** Namespace this event belongs to */
497
+ namespaceId: string;
498
+ /** Network egress in bytes during event window */
499
+ networkEgressBytes?: string;
500
+ /** Network ingress in bytes during event window */
501
+ networkIngressBytes?: string;
502
+ /** Number of active pods in the namespace at time of event */
503
+ podCount?: number;
504
+ /** Storage usage in bytes at time of event */
505
+ storageBytes?: string;
393
506
  }
394
- /** An input for mutations affecting `DbPreset` */
395
- export interface DbPresetInput {
396
- /** Unique preset identifier */
397
- id?: string;
398
- /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
399
- storeId?: string;
400
- /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
401
- slug: string;
402
- /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
403
- definition: unknown;
404
- /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
405
- commitId?: string;
406
- /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
407
- modulesHash?: string;
408
- /** Human-readable preset name */
409
- label?: string;
410
- /** Human-readable description of the preset */
411
- description?: string;
412
- /** Whether this preset is selectable for new databases */
413
- active?: boolean;
414
- /** Timestamp of preset creation */
507
+ /** Represents an update to a `NamespaceEvent`. Fields that are set will be updated. */
508
+ export interface NamespaceEventPatch {
509
+ /** User who triggered this event (NULL for system/automated) */
510
+ actorId?: string;
511
+ /** CPU usage in millicores at time of event */
512
+ cpuMillicores?: number;
513
+ /** Event timestamp (partition key) */
415
514
  createdAt?: string;
416
- /** Timestamp of last modification */
417
- updatedAt?: string;
515
+ /** Database that owns this resource (database-scoped isolation) */
516
+ databaseId?: string;
517
+ /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
518
+ eventType?: string;
519
+ /** Unique event identifier */
520
+ id?: string;
521
+ /** Memory usage in bytes at time of event */
522
+ memoryBytes?: string;
523
+ /** Human-readable description of the event */
524
+ message?: string;
525
+ /** Structured context (old/new values, labels diff, etc.) */
526
+ metadata?: unknown;
527
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
528
+ metrics?: unknown;
529
+ /** Namespace this event belongs to */
530
+ namespaceId?: string;
531
+ /** Network egress in bytes during event window */
532
+ networkEgressBytes?: string;
533
+ /** Network ingress in bytes during event window */
534
+ networkIngressBytes?: string;
535
+ /** Number of active pods in the namespace at time of event */
536
+ podCount?: number;
537
+ /** Storage usage in bytes at time of event */
538
+ storageBytes?: string;
418
539
  }
419
- export interface CreatePlatformNamespaceInput {
420
- clientMutationId?: string;
421
- /** The `PlatformNamespace` to be created by this mutation. */
422
- platformNamespace: PlatformNamespaceInput;
540
+ /** A filter to be used against `Namespace` object types. All fields are combined with a logical ‘and.’ */
541
+ export interface NamespaceFilter {
542
+ /** Checks for all expressions in this list. */
543
+ and?: NamespaceFilter[];
544
+ /** Filter by the object’s `annotations` field. */
545
+ annotations?: JSONFilter;
546
+ /** Filter by the object’s `createdAt` field. */
547
+ createdAt?: DatetimeFilter;
548
+ /** Filter by the object’s `databaseId` field. */
549
+ databaseId?: UUIDFilter;
550
+ /** Filter by the object’s `description` field. */
551
+ description?: StringFilter;
552
+ /** Filter by the object’s `id` field. */
553
+ id?: UUIDFilter;
554
+ /** Filter by the object’s `isActive` field. */
555
+ isActive?: BooleanFilter;
556
+ /** Filter by the object’s `isManaged` field. */
557
+ isManaged?: BooleanFilter;
558
+ /** Filter by the object’s `labels` field. */
559
+ labels?: JSONFilter;
560
+ /** Filter by the object’s `lastError` field. */
561
+ lastError?: StringFilter;
562
+ /** Filter by the object’s `name` field. */
563
+ name?: StringFilter;
564
+ /** Filter by the object’s `namespaceName` field. */
565
+ namespaceName?: StringFilter;
566
+ /** Negates the expression. */
567
+ not?: NamespaceFilter;
568
+ /** Checks for any expressions in this list. */
569
+ or?: NamespaceFilter[];
570
+ /** Filter by the object’s `status` field. */
571
+ status?: StringFilter;
572
+ /** Filter by the object’s `updatedAt` field. */
573
+ updatedAt?: DatetimeFilter;
423
574
  }
424
- /** An input for mutations affecting `PlatformNamespace` */
425
- export interface PlatformNamespaceInput {
426
- id?: string;
575
+ /** An input for mutations affecting `Namespace` */
576
+ export interface NamespaceInput {
577
+ /** Freeform metadata for tooling and operational notes */
578
+ annotations?: unknown;
427
579
  createdAt?: string;
428
- updatedAt?: string;
429
- /** Human-readable namespace name (e.g. default, production, oauth) */
430
- name: string;
431
- /** Globally unique computed namespace identifier via inflection.underscore */
432
- namespaceName: string;
580
+ /** Database that owns this resource (database-scoped isolation) */
581
+ databaseId: string;
433
582
  /** Optional human-readable description of this namespace */
434
583
  description?: string;
584
+ id?: string;
435
585
  /** Whether this namespace is active (soft-disable for filtering) */
436
586
  isActive?: boolean;
437
- /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
438
- status?: string;
439
- /** Most recent provisioning or reconcile error message */
440
- lastError?: string;
441
- /** Key/value pairs for selecting and filtering namespaces */
442
- labels?: unknown;
443
- /** Freeform metadata for tooling and operational notes */
444
- annotations?: unknown;
445
587
  /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
446
588
  isManaged?: boolean;
447
- }
448
- export interface CreateNamespaceInput {
449
- clientMutationId?: string;
450
- /** The `Namespace` to be created by this mutation. */
451
- namespace: NamespaceInput;
452
- }
453
- /** An input for mutations affecting `Namespace` */
454
- export interface NamespaceInput {
455
- id?: string;
456
- createdAt?: string;
457
- updatedAt?: string;
589
+ /** Key/value pairs for selecting and filtering namespaces */
590
+ labels?: unknown;
591
+ /** Most recent provisioning or reconcile error message */
592
+ lastError?: string;
458
593
  /** Human-readable namespace name (e.g. default, production, oauth) */
459
594
  name: string;
460
595
  /** Globally unique computed namespace identifier via inflection.underscore */
461
596
  namespaceName: string;
462
- /** Optional human-readable description of this namespace */
463
- description?: string;
464
- /** Whether this namespace is active (soft-disable for filtering) */
465
- isActive?: boolean;
466
597
  /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
467
598
  status?: string;
468
- /** Most recent provisioning or reconcile error message */
469
- lastError?: string;
470
- /** Key/value pairs for selecting and filtering namespaces */
471
- labels?: unknown;
599
+ updatedAt?: string;
600
+ }
601
+ /** Represents an update to a `Namespace`. Fields that are set will be updated. */
602
+ export interface NamespacePatch {
472
603
  /** Freeform metadata for tooling and operational notes */
473
604
  annotations?: unknown;
605
+ createdAt?: string;
474
606
  /** Database that owns this resource (database-scoped isolation) */
475
- databaseId: string;
607
+ databaseId?: string;
608
+ /** Optional human-readable description of this namespace */
609
+ description?: string;
610
+ id?: string;
611
+ /** Whether this namespace is active (soft-disable for filtering) */
612
+ isActive?: boolean;
476
613
  /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
477
614
  isManaged?: boolean;
615
+ /** Key/value pairs for selecting and filtering namespaces */
616
+ labels?: unknown;
617
+ /** Most recent provisioning or reconcile error message */
618
+ lastError?: string;
619
+ /** Human-readable namespace name (e.g. default, production, oauth) */
620
+ name?: string;
621
+ /** Globally unique computed namespace identifier via inflection.underscore */
622
+ namespaceName?: string;
623
+ /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
624
+ status?: string;
625
+ updatedAt?: string;
478
626
  }
479
- export interface CreatePlatformNamespaceEventInput {
480
- clientMutationId?: string;
481
- /** The `PlatformNamespaceEvent` to be created by this mutation. */
482
- platformNamespaceEvent: PlatformNamespaceEventInput;
627
+ /** A filter to be used against `PlatformNamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
628
+ export interface PlatformNamespaceEventFilter {
629
+ /** Filter by the object’s `actorId` field. */
630
+ actorId?: UUIDFilter;
631
+ /** Checks for all expressions in this list. */
632
+ and?: PlatformNamespaceEventFilter[];
633
+ /** Filter by the object’s `cpuMillicores` field. */
634
+ cpuMillicores?: IntFilter;
635
+ /** Filter by the object’s `createdAt` field. */
636
+ createdAt?: DatetimeFilter;
637
+ /** Filter by the object’s `eventType` field. */
638
+ eventType?: StringFilter;
639
+ /** Filter by the object’s `id` field. */
640
+ id?: UUIDFilter;
641
+ /** Filter by the object’s `memoryBytes` field. */
642
+ memoryBytes?: BigIntFilter;
643
+ /** Filter by the object’s `message` field. */
644
+ message?: StringFilter;
645
+ /** Filter by the object’s `metadata` field. */
646
+ metadata?: JSONFilter;
647
+ /** Filter by the object’s `metrics` field. */
648
+ metrics?: JSONFilter;
649
+ /** Filter by the object’s `namespaceId` field. */
650
+ namespaceId?: UUIDFilter;
651
+ /** Filter by the object’s `networkEgressBytes` field. */
652
+ networkEgressBytes?: BigIntFilter;
653
+ /** Filter by the object’s `networkIngressBytes` field. */
654
+ networkIngressBytes?: BigIntFilter;
655
+ /** Negates the expression. */
656
+ not?: PlatformNamespaceEventFilter;
657
+ /** Checks for any expressions in this list. */
658
+ or?: PlatformNamespaceEventFilter[];
659
+ /** Filter by the object’s `podCount` field. */
660
+ podCount?: IntFilter;
661
+ /** Filter by the object’s `storageBytes` field. */
662
+ storageBytes?: BigIntFilter;
483
663
  }
484
664
  /** An input for mutations affecting `PlatformNamespaceEvent` */
485
665
  export interface PlatformNamespaceEventInput {
666
+ /** User who triggered this event (NULL for system/automated) */
667
+ actorId?: string;
668
+ /** CPU usage in millicores at time of event */
669
+ cpuMillicores?: number;
486
670
  /** Event timestamp (partition key) */
487
671
  createdAt?: string;
488
- /** Unique event identifier */
489
- id?: string;
490
- /** Namespace this event belongs to */
491
- namespaceId: string;
492
672
  /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
493
673
  eventType: string;
494
- /** User who triggered this event (NULL for system/automated) */
495
- actorId?: string;
674
+ /** Unique event identifier */
675
+ id?: string;
676
+ /** Memory usage in bytes at time of event */
677
+ memoryBytes?: string;
496
678
  /** Human-readable description of the event */
497
679
  message?: string;
498
680
  /** Structured context (old/new values, labels diff, etc.) */
499
681
  metadata?: unknown;
500
- /** CPU usage in millicores at time of event */
501
- cpuMillicores?: number;
502
- /** Memory usage in bytes at time of event */
503
- memoryBytes?: string;
504
- /** Storage usage in bytes at time of event */
505
- storageBytes?: string;
506
- /** Network ingress in bytes during event window */
507
- networkIngressBytes?: string;
682
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
683
+ metrics?: unknown;
684
+ /** Namespace this event belongs to */
685
+ namespaceId: string;
508
686
  /** Network egress in bytes during event window */
509
687
  networkEgressBytes?: string;
688
+ /** Network ingress in bytes during event window */
689
+ networkIngressBytes?: string;
510
690
  /** Number of active pods in the namespace at time of event */
511
691
  podCount?: number;
512
- /** Additional resource metrics (gpu, replicas, quotas, etc.) */
513
- metrics?: unknown;
514
- }
515
- export interface CreateNamespaceEventInput {
516
- clientMutationId?: string;
517
- /** The `NamespaceEvent` to be created by this mutation. */
518
- namespaceEvent: NamespaceEventInput;
692
+ /** Storage usage in bytes at time of event */
693
+ storageBytes?: string;
519
694
  }
520
- /** An input for mutations affecting `NamespaceEvent` */
521
- export interface NamespaceEventInput {
695
+ /** Represents an update to a `PlatformNamespaceEvent`. Fields that are set will be updated. */
696
+ export interface PlatformNamespaceEventPatch {
697
+ /** User who triggered this event (NULL for system/automated) */
698
+ actorId?: string;
699
+ /** CPU usage in millicores at time of event */
700
+ cpuMillicores?: number;
522
701
  /** Event timestamp (partition key) */
523
702
  createdAt?: string;
703
+ /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
704
+ eventType?: string;
524
705
  /** Unique event identifier */
525
706
  id?: string;
526
- /** Namespace this event belongs to */
527
- namespaceId: string;
528
- /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
529
- eventType: string;
530
- /** User who triggered this event (NULL for system/automated) */
531
- actorId?: string;
707
+ /** Memory usage in bytes at time of event */
708
+ memoryBytes?: string;
532
709
  /** Human-readable description of the event */
533
710
  message?: string;
534
711
  /** Structured context (old/new values, labels diff, etc.) */
535
712
  metadata?: unknown;
536
- /** CPU usage in millicores at time of event */
537
- cpuMillicores?: number;
538
- /** Memory usage in bytes at time of event */
539
- memoryBytes?: string;
540
- /** Storage usage in bytes at time of event */
541
- storageBytes?: string;
542
- /** Network ingress in bytes during event window */
543
- networkIngressBytes?: string;
713
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
714
+ metrics?: unknown;
715
+ /** Namespace this event belongs to */
716
+ namespaceId?: string;
544
717
  /** Network egress in bytes during event window */
545
718
  networkEgressBytes?: string;
719
+ /** Network ingress in bytes during event window */
720
+ networkIngressBytes?: string;
546
721
  /** Number of active pods in the namespace at time of event */
547
722
  podCount?: number;
548
- /** Additional resource metrics (gpu, replicas, quotas, etc.) */
549
- metrics?: unknown;
550
- /** Database that owns this resource (database-scoped isolation) */
551
- databaseId: string;
552
- }
553
- export interface UpdateInfraRefInput {
554
- clientMutationId?: string;
555
- /** Unique ref identifier */
556
- id: string;
557
- /** Opaque store partition key for the global tier */
558
- scopeId: string;
559
- /** An object where the defined keys will be set on the `InfraRef` being updated. */
560
- infraRefPatch: InfraRefPatch;
561
- }
562
- /** Represents an update to a `InfraRef`. Fields that are set will be updated. */
563
- export interface InfraRefPatch {
564
- /** Unique ref identifier */
565
- id?: string;
566
- /** Ref name (e.g. HEAD, main) */
567
- name?: string;
568
- /** Opaque store partition key for the global tier */
569
- scopeId?: string;
570
- /** Store this ref belongs to */
571
- storeId?: string;
572
- /** Commit this ref points to */
573
- commitId?: string;
574
- }
575
- export interface UpdateInfraStoreInput {
576
- clientMutationId?: string;
577
- /** Unique store identifier */
578
- id: string;
579
- /** An object where the defined keys will be set on the `InfraStore` being updated. */
580
- infraStorePatch: InfraStorePatch;
581
- }
582
- /** Represents an update to a `InfraStore`. Fields that are set will be updated. */
583
- export interface InfraStorePatch {
584
- /** Unique store identifier */
585
- id?: string;
586
- /** Human-readable store name */
587
- name?: string;
588
- /** Opaque store partition key for the global tier */
589
- scopeId?: string;
590
- /** Current root object hash of this store */
591
- hash?: string;
592
- /** Timestamp of store creation */
593
- createdAt?: string;
723
+ /** Storage usage in bytes at time of event */
724
+ storageBytes?: string;
594
725
  }
595
- export interface UpdateInfraObjectInput {
596
- clientMutationId?: string;
597
- /** Content-addressed UUID v5 deterministic hash of (data, kids, ktree) */
598
- id: string;
599
- /** Opaque store partition key for the global tier */
600
- scopeId: string;
601
- /** An object where the defined keys will be set on the `InfraObject` being updated. */
602
- infraObjectPatch: InfraObjectPatch;
726
+ /** A filter to be used against `PlatformNamespace` object types. All fields are combined with a logical ‘and.’ */
727
+ export interface PlatformNamespaceFilter {
728
+ /** Checks for all expressions in this list. */
729
+ and?: PlatformNamespaceFilter[];
730
+ /** Filter by the object’s `annotations` field. */
731
+ annotations?: JSONFilter;
732
+ /** Filter by the object’s `createdAt` field. */
733
+ createdAt?: DatetimeFilter;
734
+ /** Filter by the object’s `description` field. */
735
+ description?: StringFilter;
736
+ /** Filter by the object’s `id` field. */
737
+ id?: UUIDFilter;
738
+ /** Filter by the object’s `isActive` field. */
739
+ isActive?: BooleanFilter;
740
+ /** Filter by the object’s `isManaged` field. */
741
+ isManaged?: BooleanFilter;
742
+ /** Filter by the object’s `labels` field. */
743
+ labels?: JSONFilter;
744
+ /** Filter by the object’s `lastError` field. */
745
+ lastError?: StringFilter;
746
+ /** Filter by the object’s `name` field. */
747
+ name?: StringFilter;
748
+ /** Filter by the object’s `namespaceName` field. */
749
+ namespaceName?: StringFilter;
750
+ /** Negates the expression. */
751
+ not?: PlatformNamespaceFilter;
752
+ /** Checks for any expressions in this list. */
753
+ or?: PlatformNamespaceFilter[];
754
+ /** Filter by the object’s `status` field. */
755
+ status?: StringFilter;
756
+ /** Filter by the object’s `updatedAt` field. */
757
+ updatedAt?: DatetimeFilter;
603
758
  }
604
- /** Represents an update to a `InfraObject`. Fields that are set will be updated. */
605
- export interface InfraObjectPatch {
606
- /** Content-addressed UUID v5 deterministic hash of (data, kids, ktree) */
607
- id?: string;
608
- /** Opaque store partition key for the global tier */
609
- scopeId?: string;
610
- /** Ordered array of child object IDs */
611
- kids?: string[];
612
- /** Ordered array of child path names (parallel to kids) */
613
- ktree?: string[];
614
- /** Payload data for this object node */
615
- data?: unknown;
616
- /** Timestamp of object creation */
759
+ /** An input for mutations affecting `PlatformNamespace` */
760
+ export interface PlatformNamespaceInput {
761
+ /** Freeform metadata for tooling and operational notes */
762
+ annotations?: unknown;
617
763
  createdAt?: string;
618
- }
619
- export interface UpdateInfraCommitInput {
620
- clientMutationId?: string;
621
- /** Unique commit identifier */
622
- id: string;
623
- /** Opaque store partition key for the global tier */
624
- scopeId: string;
625
- /** An object where the defined keys will be set on the `InfraCommit` being updated. */
626
- infraCommitPatch: InfraCommitPatch;
627
- }
628
- /** Represents an update to a `InfraCommit`. Fields that are set will be updated. */
629
- export interface InfraCommitPatch {
630
- /** Unique commit identifier */
631
- id?: string;
632
- /** Optional commit message */
633
- message?: string;
634
- /** Opaque store partition key for the global tier */
635
- scopeId?: string;
636
- /** Store this commit belongs to */
637
- storeId?: string;
638
- /** Parent commit IDs (supports merge commits) */
639
- parentIds?: string[];
640
- /** User who authored the changes */
641
- authorId?: string;
642
- /** User who committed (may differ from author) */
643
- committerId?: string;
644
- /** Root object ID of the tree snapshot at this commit */
645
- treeId?: string;
646
- /** Commit timestamp */
647
- date?: string;
648
- }
649
- export interface UpdateDbPresetInput {
650
- clientMutationId?: string;
651
- /** Unique preset identifier */
652
- id: string;
653
- /** An object where the defined keys will be set on the `DbPreset` being updated. */
654
- dbPresetPatch: DbPresetPatch;
655
- }
656
- /** Represents an update to a `DbPreset`. Fields that are set will be updated. */
657
- export interface DbPresetPatch {
658
- /** Unique preset identifier */
659
- id?: string;
660
- /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
661
- storeId?: string;
662
- /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
663
- slug?: string;
664
- /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
665
- definition?: unknown;
666
- /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
667
- commitId?: string;
668
- /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
669
- modulesHash?: string;
670
- /** Human-readable preset name */
671
- label?: string;
672
- /** Human-readable description of the preset */
764
+ /** Optional human-readable description of this namespace */
673
765
  description?: string;
674
- /** Whether this preset is selectable for new databases */
675
- active?: boolean;
676
- /** Timestamp of preset creation */
677
- createdAt?: string;
678
- /** Timestamp of last modification */
766
+ id?: string;
767
+ /** Whether this namespace is active (soft-disable for filtering) */
768
+ isActive?: boolean;
769
+ /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
770
+ isManaged?: boolean;
771
+ /** Key/value pairs for selecting and filtering namespaces */
772
+ labels?: unknown;
773
+ /** Most recent provisioning or reconcile error message */
774
+ lastError?: string;
775
+ /** Human-readable namespace name (e.g. default, production, oauth) */
776
+ name: string;
777
+ /** Globally unique computed namespace identifier via inflection.underscore */
778
+ namespaceName: string;
779
+ /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
780
+ status?: string;
679
781
  updatedAt?: string;
680
782
  }
681
- export interface UpdatePlatformNamespaceInput {
682
- clientMutationId?: string;
683
- id: string;
684
- /** An object where the defined keys will be set on the `PlatformNamespace` being updated. */
685
- platformNamespacePatch: PlatformNamespacePatch;
686
- }
687
783
  /** Represents an update to a `PlatformNamespace`. Fields that are set will be updated. */
688
784
  export interface PlatformNamespacePatch {
689
- id?: string;
785
+ /** Freeform metadata for tooling and operational notes */
786
+ annotations?: unknown;
690
787
  createdAt?: string;
691
- updatedAt?: string;
692
- /** Human-readable namespace name (e.g. default, production, oauth) */
693
- name?: string;
694
- /** Globally unique computed namespace identifier via inflection.underscore */
695
- namespaceName?: string;
696
788
  /** Optional human-readable description of this namespace */
697
789
  description?: string;
790
+ id?: string;
698
791
  /** Whether this namespace is active (soft-disable for filtering) */
699
792
  isActive?: boolean;
700
- /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
701
- status?: string;
702
- /** Most recent provisioning or reconcile error message */
703
- lastError?: string;
704
- /** Key/value pairs for selecting and filtering namespaces */
705
- labels?: unknown;
706
- /** Freeform metadata for tooling and operational notes */
707
- annotations?: unknown;
708
793
  /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
709
794
  isManaged?: boolean;
710
- }
711
- export interface UpdateNamespaceInput {
712
- clientMutationId?: string;
713
- id: string;
714
- /** An object where the defined keys will be set on the `Namespace` being updated. */
715
- namespacePatch: NamespacePatch;
716
- }
717
- /** Represents an update to a `Namespace`. Fields that are set will be updated. */
718
- export interface NamespacePatch {
719
- id?: string;
720
- createdAt?: string;
721
- updatedAt?: string;
795
+ /** Key/value pairs for selecting and filtering namespaces */
796
+ labels?: unknown;
797
+ /** Most recent provisioning or reconcile error message */
798
+ lastError?: string;
722
799
  /** Human-readable namespace name (e.g. default, production, oauth) */
723
800
  name?: string;
724
801
  /** Globally unique computed namespace identifier via inflection.underscore */
725
802
  namespaceName?: string;
726
- /** Optional human-readable description of this namespace */
727
- description?: string;
728
- /** Whether this namespace is active (soft-disable for filtering) */
729
- isActive?: boolean;
730
803
  /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
731
804
  status?: string;
732
- /** Most recent provisioning or reconcile error message */
733
- lastError?: string;
734
- /** Key/value pairs for selecting and filtering namespaces */
735
- labels?: unknown;
736
- /** Freeform metadata for tooling and operational notes */
737
- annotations?: unknown;
738
- /** Database that owns this resource (database-scoped isolation) */
739
- databaseId?: string;
740
- /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
741
- isManaged?: boolean;
742
- }
743
- export interface UpdatePlatformNamespaceEventInput {
744
- clientMutationId?: string;
745
- /** Event timestamp (partition key) */
746
- createdAt: string;
747
- /** Unique event identifier */
748
- id: string;
749
- /** An object where the defined keys will be set on the `PlatformNamespaceEvent` being updated. */
750
- platformNamespaceEventPatch: PlatformNamespaceEventPatch;
805
+ updatedAt?: string;
751
806
  }
752
- /** Represents an update to a `PlatformNamespaceEvent`. Fields that are set will be updated. */
753
- export interface PlatformNamespaceEventPatch {
754
- /** Event timestamp (partition key) */
755
- createdAt?: string;
756
- /** Unique event identifier */
757
- id?: string;
758
- /** Namespace this event belongs to */
759
- namespaceId?: string;
760
- /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
761
- eventType?: string;
762
- /** User who triggered this event (NULL for system/automated) */
763
- actorId?: string;
764
- /** Human-readable description of the event */
765
- message?: string;
766
- /** Structured context (old/new values, labels diff, etc.) */
767
- metadata?: unknown;
768
- /** CPU usage in millicores at time of event */
769
- cpuMillicores?: number;
770
- /** Memory usage in bytes at time of event */
771
- memoryBytes?: string;
772
- /** Storage usage in bytes at time of event */
773
- storageBytes?: string;
774
- /** Network ingress in bytes during event window */
775
- networkIngressBytes?: string;
776
- /** Network egress in bytes during event window */
777
- networkEgressBytes?: string;
778
- /** Number of active pods in the namespace at time of event */
779
- podCount?: number;
780
- /** Additional resource metrics (gpu, replicas, quotas, etc.) */
781
- metrics?: unknown;
807
+ export interface ProvisionBucketInput {
808
+ /** The logical bucket key (e.g., "public", "private") */
809
+ bucketKey: string;
810
+ /**
811
+ * Owner entity ID for entity-scoped bucket provisioning.
812
+ * Omit for app-level (database-wide) storage.
813
+ */
814
+ ownerId?: string;
782
815
  }
783
- export interface UpdateNamespaceEventInput {
816
+ export interface UpdateDbPresetInput {
784
817
  clientMutationId?: string;
785
- /** Event timestamp (partition key) */
786
- createdAt: string;
787
- /** Unique event identifier */
818
+ /** An object where the defined keys will be set on the `DbPreset` being updated. */
819
+ dbPresetPatch: DbPresetPatch;
820
+ /** Unique preset identifier */
788
821
  id: string;
789
- /** An object where the defined keys will be set on the `NamespaceEvent` being updated. */
790
- namespaceEventPatch: NamespaceEventPatch;
791
- }
792
- /** Represents an update to a `NamespaceEvent`. Fields that are set will be updated. */
793
- export interface NamespaceEventPatch {
794
- /** Event timestamp (partition key) */
795
- createdAt?: string;
796
- /** Unique event identifier */
797
- id?: string;
798
- /** Namespace this event belongs to */
799
- namespaceId?: string;
800
- /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
801
- eventType?: string;
802
- /** User who triggered this event (NULL for system/automated) */
803
- actorId?: string;
804
- /** Human-readable description of the event */
805
- message?: string;
806
- /** Structured context (old/new values, labels diff, etc.) */
807
- metadata?: unknown;
808
- /** CPU usage in millicores at time of event */
809
- cpuMillicores?: number;
810
- /** Memory usage in bytes at time of event */
811
- memoryBytes?: string;
812
- /** Storage usage in bytes at time of event */
813
- storageBytes?: string;
814
- /** Network ingress in bytes during event window */
815
- networkIngressBytes?: string;
816
- /** Network egress in bytes during event window */
817
- networkEgressBytes?: string;
818
- /** Number of active pods in the namespace at time of event */
819
- podCount?: number;
820
- /** Additional resource metrics (gpu, replicas, quotas, etc.) */
821
- metrics?: unknown;
822
- /** Database that owns this resource (database-scoped isolation) */
823
- databaseId?: string;
824
822
  }
825
- export interface DeleteInfraRefInput {
823
+ export interface UpdateInfraCommitInput {
826
824
  clientMutationId?: string;
827
- /** Unique ref identifier */
825
+ /** Unique commit identifier */
828
826
  id: string;
827
+ /** An object where the defined keys will be set on the `InfraCommit` being updated. */
828
+ infraCommitPatch: InfraCommitPatch;
829
829
  /** Opaque store partition key for the global tier */
830
830
  scopeId: string;
831
831
  }
832
- export interface DeleteInfraStoreInput {
833
- clientMutationId?: string;
834
- /** Unique store identifier */
835
- id: string;
836
- }
837
- export interface DeleteInfraObjectInput {
832
+ export interface UpdateInfraObjectInput {
838
833
  clientMutationId?: string;
839
834
  /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
840
835
  id: string;
836
+ /** An object where the defined keys will be set on the `InfraObject` being updated. */
837
+ infraObjectPatch: InfraObjectPatch;
841
838
  /** Opaque store partition key for the global tier */
842
839
  scopeId: string;
843
840
  }
844
- export interface DeleteInfraCommitInput {
841
+ export interface UpdateInfraRefInput {
845
842
  clientMutationId?: string;
846
- /** Unique commit identifier */
843
+ /** Unique ref identifier */
847
844
  id: string;
845
+ /** An object where the defined keys will be set on the `InfraRef` being updated. */
846
+ infraRefPatch: InfraRefPatch;
848
847
  /** Opaque store partition key for the global tier */
849
848
  scopeId: string;
850
849
  }
851
- export interface DeleteDbPresetInput {
850
+ export interface UpdateInfraStoreInput {
852
851
  clientMutationId?: string;
853
- /** Unique preset identifier */
852
+ /** Unique store identifier */
854
853
  id: string;
854
+ /** An object where the defined keys will be set on the `InfraStore` being updated. */
855
+ infraStorePatch: InfraStorePatch;
855
856
  }
856
- export interface DeletePlatformNamespaceInput {
857
+ export interface UpdateNamespaceEventInput {
857
858
  clientMutationId?: string;
859
+ /** Event timestamp (partition key) */
860
+ createdAt: string;
861
+ /** Unique event identifier */
858
862
  id: string;
863
+ /** An object where the defined keys will be set on the `NamespaceEvent` being updated. */
864
+ namespaceEventPatch: NamespaceEventPatch;
859
865
  }
860
- export interface DeleteNamespaceInput {
866
+ export interface UpdateNamespaceInput {
861
867
  clientMutationId?: string;
862
868
  id: string;
869
+ /** An object where the defined keys will be set on the `Namespace` being updated. */
870
+ namespacePatch: NamespacePatch;
863
871
  }
864
- export interface DeletePlatformNamespaceEventInput {
872
+ export interface UpdatePlatformNamespaceEventInput {
865
873
  clientMutationId?: string;
866
874
  /** Event timestamp (partition key) */
867
875
  createdAt: string;
868
876
  /** Unique event identifier */
869
877
  id: string;
878
+ /** An object where the defined keys will be set on the `PlatformNamespaceEvent` being updated. */
879
+ platformNamespaceEventPatch: PlatformNamespaceEventPatch;
870
880
  }
871
- export interface DeleteNamespaceEventInput {
881
+ export interface UpdatePlatformNamespaceInput {
872
882
  clientMutationId?: string;
873
- /** Event timestamp (partition key) */
874
- createdAt: string;
875
- /** Unique event identifier */
876
883
  id: string;
884
+ /** An object where the defined keys will be set on the `PlatformNamespace` being updated. */
885
+ platformNamespacePatch: PlatformNamespacePatch;
877
886
  }
878
- export interface ProvisionBucketInput {
879
- /** The logical bucket key (e.g., "public", "private") */
880
- bucketKey: string;
881
- /**
882
- * Owner entity ID for entity-scoped bucket provisioning.
883
- * Omit for app-level (database-wide) storage.
884
- */
885
- ownerId?: string;
887
+ /** Root meta schema type */
888
+ export interface MetaSchema {
889
+ tables: MetaTable[];
886
890
  }
887
- /** A connection to a list of `InfraGetAllRecord` values. */
888
- export interface InfraGetAllConnection {
889
- nodes: InfraGetAllRecord[];
890
- edges: InfraGetAllEdge[];
891
+ /** A connection to a list of `DbPreset` values. */
892
+ export interface DbPresetConnection {
893
+ edges: DbPresetEdge[];
894
+ nodes: DbPreset[];
891
895
  pageInfo: PageInfo;
892
896
  totalCount: number;
893
897
  }
894
- /** A connection to a list of `InfraRef` values. */
895
- export interface InfraRefConnection {
896
- nodes: InfraRef[];
897
- edges: InfraRefEdge[];
898
+ /** A connection to a list of `InfraCommit` values. */
899
+ export interface InfraCommitConnection {
900
+ edges: InfraCommitEdge[];
901
+ nodes: InfraCommit[];
898
902
  pageInfo: PageInfo;
899
903
  totalCount: number;
900
904
  }
901
- /** A connection to a list of `InfraStore` values. */
902
- export interface InfraStoreConnection {
903
- nodes: InfraStore[];
904
- edges: InfraStoreEdge[];
905
+ /** A connection to a list of `InfraGetAllRecord` values. */
906
+ export interface InfraGetAllConnection {
907
+ edges: InfraGetAllEdge[];
908
+ nodes: InfraGetAllRecord[];
905
909
  pageInfo: PageInfo;
906
910
  totalCount: number;
907
911
  }
908
912
  /** A connection to a list of `InfraObject` values. */
909
913
  export interface InfraObjectConnection {
910
- nodes: InfraObject[];
911
914
  edges: InfraObjectEdge[];
915
+ nodes: InfraObject[];
912
916
  pageInfo: PageInfo;
913
917
  totalCount: number;
914
918
  }
915
- /** A connection to a list of `InfraCommit` values. */
916
- export interface InfraCommitConnection {
917
- nodes: InfraCommit[];
918
- edges: InfraCommitEdge[];
919
+ /** A connection to a list of `InfraRef` values. */
920
+ export interface InfraRefConnection {
921
+ edges: InfraRefEdge[];
922
+ nodes: InfraRef[];
919
923
  pageInfo: PageInfo;
920
924
  totalCount: number;
921
925
  }
922
- /** A connection to a list of `DbPreset` values. */
923
- export interface DbPresetConnection {
924
- nodes: DbPreset[];
925
- edges: DbPresetEdge[];
926
+ /** A connection to a list of `InfraStore` values. */
927
+ export interface InfraStoreConnection {
928
+ edges: InfraStoreEdge[];
929
+ nodes: InfraStore[];
926
930
  pageInfo: PageInfo;
927
931
  totalCount: number;
928
932
  }
929
- /** A connection to a list of `PlatformNamespace` values. */
930
- export interface PlatformNamespaceConnection {
931
- nodes: PlatformNamespace[];
932
- edges: PlatformNamespaceEdge[];
933
+ /** A connection to a list of `NamespaceEvent` values. */
934
+ export interface NamespaceEventConnection {
935
+ edges: NamespaceEventEdge[];
936
+ nodes: NamespaceEvent[];
933
937
  pageInfo: PageInfo;
934
938
  totalCount: number;
935
939
  }
936
940
  /** A connection to a list of `Namespace` values. */
937
941
  export interface NamespaceConnection {
938
- nodes: Namespace[];
939
942
  edges: NamespaceEdge[];
943
+ nodes: Namespace[];
940
944
  pageInfo: PageInfo;
941
945
  totalCount: number;
942
946
  }
943
947
  /** A connection to a list of `PlatformNamespaceEvent` values. */
944
948
  export interface PlatformNamespaceEventConnection {
945
- nodes: PlatformNamespaceEvent[];
946
949
  edges: PlatformNamespaceEventEdge[];
950
+ nodes: PlatformNamespaceEvent[];
947
951
  pageInfo: PageInfo;
948
952
  totalCount: number;
949
953
  }
950
- /** A connection to a list of `NamespaceEvent` values. */
951
- export interface NamespaceEventConnection {
952
- nodes: NamespaceEvent[];
953
- edges: NamespaceEventEdge[];
954
+ /** A connection to a list of `PlatformNamespace` values. */
955
+ export interface PlatformNamespaceConnection {
956
+ edges: PlatformNamespaceEdge[];
957
+ nodes: PlatformNamespace[];
954
958
  pageInfo: PageInfo;
955
959
  totalCount: number;
956
960
  }
957
- /** Root meta schema type */
958
- export interface MetaSchema {
959
- tables: MetaTable[];
960
- }
961
- export interface InfraInitEmptyRepoPayload {
961
+ export interface CreateDbPresetPayload {
962
962
  clientMutationId?: string | null;
963
+ /** The `DbPreset` that was created by this mutation. */
964
+ dbPreset?: DbPreset | null;
965
+ dbPresetEdge?: DbPresetEdge | null;
963
966
  }
964
- export interface InfraSetDataAtPathPayload {
967
+ export interface CreateInfraCommitPayload {
965
968
  clientMutationId?: string | null;
966
- result?: string | null;
969
+ /** The `InfraCommit` that was created by this mutation. */
970
+ infraCommit?: InfraCommit | null;
971
+ infraCommitEdge?: InfraCommitEdge | null;
967
972
  }
968
- export interface InfraInsertNodeAtPathPayload {
973
+ export interface CreateInfraObjectPayload {
969
974
  clientMutationId?: string | null;
970
- result?: string | null;
975
+ /** The `InfraObject` that was created by this mutation. */
976
+ infraObject?: InfraObject | null;
977
+ infraObjectEdge?: InfraObjectEdge | null;
971
978
  }
972
979
  export interface CreateInfraRefPayload {
973
980
  clientMutationId?: string | null;
@@ -981,23 +988,17 @@ export interface CreateInfraStorePayload {
981
988
  infraStore?: InfraStore | null;
982
989
  infraStoreEdge?: InfraStoreEdge | null;
983
990
  }
984
- export interface CreateInfraObjectPayload {
985
- clientMutationId?: string | null;
986
- /** The `InfraObject` that was created by this mutation. */
987
- infraObject?: InfraObject | null;
988
- infraObjectEdge?: InfraObjectEdge | null;
989
- }
990
- export interface CreateInfraCommitPayload {
991
+ export interface CreateNamespacePayload {
991
992
  clientMutationId?: string | null;
992
- /** The `InfraCommit` that was created by this mutation. */
993
- infraCommit?: InfraCommit | null;
994
- infraCommitEdge?: InfraCommitEdge | null;
993
+ /** The `Namespace` that was created by this mutation. */
994
+ namespace?: Namespace | null;
995
+ namespaceEdge?: NamespaceEdge | null;
995
996
  }
996
- export interface CreateDbPresetPayload {
997
+ export interface CreateNamespaceEventPayload {
997
998
  clientMutationId?: string | null;
998
- /** The `DbPreset` that was created by this mutation. */
999
- dbPreset?: DbPreset | null;
1000
- dbPresetEdge?: DbPresetEdge | null;
999
+ /** The `NamespaceEvent` that was created by this mutation. */
1000
+ namespaceEvent?: NamespaceEvent | null;
1001
+ namespaceEventEdge?: NamespaceEventEdge | null;
1001
1002
  }
1002
1003
  export interface CreatePlatformNamespacePayload {
1003
1004
  clientMutationId?: string | null;
@@ -1005,174 +1006,195 @@ export interface CreatePlatformNamespacePayload {
1005
1006
  platformNamespace?: PlatformNamespace | null;
1006
1007
  platformNamespaceEdge?: PlatformNamespaceEdge | null;
1007
1008
  }
1008
- export interface CreateNamespacePayload {
1009
- clientMutationId?: string | null;
1010
- /** The `Namespace` that was created by this mutation. */
1011
- namespace?: Namespace | null;
1012
- namespaceEdge?: NamespaceEdge | null;
1013
- }
1014
1009
  export interface CreatePlatformNamespaceEventPayload {
1015
1010
  clientMutationId?: string | null;
1016
1011
  /** The `PlatformNamespaceEvent` that was created by this mutation. */
1017
1012
  platformNamespaceEvent?: PlatformNamespaceEvent | null;
1018
1013
  platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
1019
1014
  }
1020
- export interface CreateNamespaceEventPayload {
1015
+ export interface DeleteDbPresetPayload {
1021
1016
  clientMutationId?: string | null;
1022
- /** The `NamespaceEvent` that was created by this mutation. */
1023
- namespaceEvent?: NamespaceEvent | null;
1024
- namespaceEventEdge?: NamespaceEventEdge | null;
1017
+ /** The `DbPreset` that was deleted by this mutation. */
1018
+ dbPreset?: DbPreset | null;
1019
+ dbPresetEdge?: DbPresetEdge | null;
1025
1020
  }
1026
- export interface UpdateInfraRefPayload {
1021
+ export interface DeleteInfraCommitPayload {
1027
1022
  clientMutationId?: string | null;
1028
- /** The `InfraRef` that was updated by this mutation. */
1023
+ /** The `InfraCommit` that was deleted by this mutation. */
1024
+ infraCommit?: InfraCommit | null;
1025
+ infraCommitEdge?: InfraCommitEdge | null;
1026
+ }
1027
+ export interface DeleteInfraObjectPayload {
1028
+ clientMutationId?: string | null;
1029
+ /** The `InfraObject` that was deleted by this mutation. */
1030
+ infraObject?: InfraObject | null;
1031
+ infraObjectEdge?: InfraObjectEdge | null;
1032
+ }
1033
+ export interface DeleteInfraRefPayload {
1034
+ clientMutationId?: string | null;
1035
+ /** The `InfraRef` that was deleted by this mutation. */
1029
1036
  infraRef?: InfraRef | null;
1030
1037
  infraRefEdge?: InfraRefEdge | null;
1031
1038
  }
1032
- export interface UpdateInfraStorePayload {
1039
+ export interface DeleteInfraStorePayload {
1033
1040
  clientMutationId?: string | null;
1034
- /** The `InfraStore` that was updated by this mutation. */
1041
+ /** The `InfraStore` that was deleted by this mutation. */
1035
1042
  infraStore?: InfraStore | null;
1036
1043
  infraStoreEdge?: InfraStoreEdge | null;
1037
1044
  }
1038
- export interface UpdateInfraObjectPayload {
1039
- clientMutationId?: string | null;
1040
- /** The `InfraObject` that was updated by this mutation. */
1041
- infraObject?: InfraObject | null;
1042
- infraObjectEdge?: InfraObjectEdge | null;
1043
- }
1044
- export interface UpdateInfraCommitPayload {
1045
+ export interface DeleteNamespacePayload {
1045
1046
  clientMutationId?: string | null;
1046
- /** The `InfraCommit` that was updated by this mutation. */
1047
- infraCommit?: InfraCommit | null;
1048
- infraCommitEdge?: InfraCommitEdge | null;
1047
+ /** The `Namespace` that was deleted by this mutation. */
1048
+ namespace?: Namespace | null;
1049
+ namespaceEdge?: NamespaceEdge | null;
1049
1050
  }
1050
- export interface UpdateDbPresetPayload {
1051
+ export interface DeleteNamespaceEventPayload {
1051
1052
  clientMutationId?: string | null;
1052
- /** The `DbPreset` that was updated by this mutation. */
1053
- dbPreset?: DbPreset | null;
1054
- dbPresetEdge?: DbPresetEdge | null;
1053
+ /** The `NamespaceEvent` that was deleted by this mutation. */
1054
+ namespaceEvent?: NamespaceEvent | null;
1055
+ namespaceEventEdge?: NamespaceEventEdge | null;
1055
1056
  }
1056
- export interface UpdatePlatformNamespacePayload {
1057
+ export interface DeletePlatformNamespacePayload {
1057
1058
  clientMutationId?: string | null;
1058
- /** The `PlatformNamespace` that was updated by this mutation. */
1059
+ /** The `PlatformNamespace` that was deleted by this mutation. */
1059
1060
  platformNamespace?: PlatformNamespace | null;
1060
1061
  platformNamespaceEdge?: PlatformNamespaceEdge | null;
1061
1062
  }
1062
- export interface UpdateNamespacePayload {
1063
- clientMutationId?: string | null;
1064
- /** The `Namespace` that was updated by this mutation. */
1065
- namespace?: Namespace | null;
1066
- namespaceEdge?: NamespaceEdge | null;
1067
- }
1068
- export interface UpdatePlatformNamespaceEventPayload {
1063
+ export interface DeletePlatformNamespaceEventPayload {
1069
1064
  clientMutationId?: string | null;
1070
- /** The `PlatformNamespaceEvent` that was updated by this mutation. */
1065
+ /** The `PlatformNamespaceEvent` that was deleted by this mutation. */
1071
1066
  platformNamespaceEvent?: PlatformNamespaceEvent | null;
1072
1067
  platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
1073
1068
  }
1074
- export interface UpdateNamespaceEventPayload {
1069
+ export interface InfraInitEmptyRepoPayload {
1075
1070
  clientMutationId?: string | null;
1076
- /** The `NamespaceEvent` that was updated by this mutation. */
1077
- namespaceEvent?: NamespaceEvent | null;
1078
- namespaceEventEdge?: NamespaceEventEdge | null;
1079
1071
  }
1080
- export interface DeleteInfraRefPayload {
1072
+ export interface InfraInsertNodeAtPathPayload {
1081
1073
  clientMutationId?: string | null;
1082
- /** The `InfraRef` that was deleted by this mutation. */
1083
- infraRef?: InfraRef | null;
1084
- infraRefEdge?: InfraRefEdge | null;
1074
+ result?: string | null;
1085
1075
  }
1086
- export interface DeleteInfraStorePayload {
1076
+ export interface InfraSetDataAtPathPayload {
1087
1077
  clientMutationId?: string | null;
1088
- /** The `InfraStore` that was deleted by this mutation. */
1089
- infraStore?: InfraStore | null;
1090
- infraStoreEdge?: InfraStoreEdge | null;
1078
+ result?: string | null;
1091
1079
  }
1092
- export interface DeleteInfraObjectPayload {
1080
+ export interface ProvisionBucketPayload {
1081
+ /** The access type applied */
1082
+ accessType: string;
1083
+ /** The S3 bucket name that was provisioned */
1084
+ bucketName: string;
1085
+ /** The S3 endpoint (null for AWS S3 default) */
1086
+ endpoint?: string | null;
1087
+ /** Error message if provisioning failed */
1088
+ error?: string | null;
1089
+ /** The storage provider used */
1090
+ provider: string;
1091
+ /** Whether provisioning succeeded */
1092
+ success: boolean;
1093
+ }
1094
+ export interface UpdateDbPresetPayload {
1093
1095
  clientMutationId?: string | null;
1094
- /** The `InfraObject` that was deleted by this mutation. */
1095
- infraObject?: InfraObject | null;
1096
- infraObjectEdge?: InfraObjectEdge | null;
1096
+ /** The `DbPreset` that was updated by this mutation. */
1097
+ dbPreset?: DbPreset | null;
1098
+ dbPresetEdge?: DbPresetEdge | null;
1097
1099
  }
1098
- export interface DeleteInfraCommitPayload {
1100
+ export interface UpdateInfraCommitPayload {
1099
1101
  clientMutationId?: string | null;
1100
- /** The `InfraCommit` that was deleted by this mutation. */
1102
+ /** The `InfraCommit` that was updated by this mutation. */
1101
1103
  infraCommit?: InfraCommit | null;
1102
1104
  infraCommitEdge?: InfraCommitEdge | null;
1103
1105
  }
1104
- export interface DeleteDbPresetPayload {
1106
+ export interface UpdateInfraObjectPayload {
1105
1107
  clientMutationId?: string | null;
1106
- /** The `DbPreset` that was deleted by this mutation. */
1107
- dbPreset?: DbPreset | null;
1108
- dbPresetEdge?: DbPresetEdge | null;
1108
+ /** The `InfraObject` that was updated by this mutation. */
1109
+ infraObject?: InfraObject | null;
1110
+ infraObjectEdge?: InfraObjectEdge | null;
1109
1111
  }
1110
- export interface DeletePlatformNamespacePayload {
1112
+ export interface UpdateInfraRefPayload {
1111
1113
  clientMutationId?: string | null;
1112
- /** The `PlatformNamespace` that was deleted by this mutation. */
1113
- platformNamespace?: PlatformNamespace | null;
1114
- platformNamespaceEdge?: PlatformNamespaceEdge | null;
1114
+ /** The `InfraRef` that was updated by this mutation. */
1115
+ infraRef?: InfraRef | null;
1116
+ infraRefEdge?: InfraRefEdge | null;
1115
1117
  }
1116
- export interface DeleteNamespacePayload {
1118
+ export interface UpdateInfraStorePayload {
1117
1119
  clientMutationId?: string | null;
1118
- /** The `Namespace` that was deleted by this mutation. */
1119
- namespace?: Namespace | null;
1120
- namespaceEdge?: NamespaceEdge | null;
1120
+ /** The `InfraStore` that was updated by this mutation. */
1121
+ infraStore?: InfraStore | null;
1122
+ infraStoreEdge?: InfraStoreEdge | null;
1121
1123
  }
1122
- export interface DeletePlatformNamespaceEventPayload {
1124
+ export interface UpdateNamespacePayload {
1123
1125
  clientMutationId?: string | null;
1124
- /** The `PlatformNamespaceEvent` that was deleted by this mutation. */
1125
- platformNamespaceEvent?: PlatformNamespaceEvent | null;
1126
- platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
1126
+ /** The `Namespace` that was updated by this mutation. */
1127
+ namespace?: Namespace | null;
1128
+ namespaceEdge?: NamespaceEdge | null;
1127
1129
  }
1128
- export interface DeleteNamespaceEventPayload {
1130
+ export interface UpdateNamespaceEventPayload {
1129
1131
  clientMutationId?: string | null;
1130
- /** The `NamespaceEvent` that was deleted by this mutation. */
1132
+ /** The `NamespaceEvent` that was updated by this mutation. */
1131
1133
  namespaceEvent?: NamespaceEvent | null;
1132
1134
  namespaceEventEdge?: NamespaceEventEdge | null;
1133
1135
  }
1134
- export interface ProvisionBucketPayload {
1135
- /** Whether provisioning succeeded */
1136
- success: boolean;
1137
- /** The S3 bucket name that was provisioned */
1138
- bucketName: string;
1139
- /** The access type applied */
1140
- accessType: string;
1141
- /** The storage provider used */
1142
- provider: string;
1143
- /** The S3 endpoint (null for AWS S3 default) */
1144
- endpoint?: string | null;
1145
- /** Error message if provisioning failed */
1146
- error?: string | null;
1136
+ export interface UpdatePlatformNamespacePayload {
1137
+ clientMutationId?: string | null;
1138
+ /** The `PlatformNamespace` that was updated by this mutation. */
1139
+ platformNamespace?: PlatformNamespace | null;
1140
+ platformNamespaceEdge?: PlatformNamespaceEdge | null;
1147
1141
  }
1148
- /** A `InfraGetAllRecord` edge in the connection. */
1149
- export interface InfraGetAllEdge {
1142
+ export interface UpdatePlatformNamespaceEventPayload {
1143
+ clientMutationId?: string | null;
1144
+ /** The `PlatformNamespaceEvent` that was updated by this mutation. */
1145
+ platformNamespaceEvent?: PlatformNamespaceEvent | null;
1146
+ platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
1147
+ }
1148
+ /** Information about a database table */
1149
+ export interface MetaTable {
1150
+ constraints: MetaConstraints;
1151
+ fields: MetaField[];
1152
+ foreignKeyConstraints: MetaForeignKeyConstraint[];
1153
+ /** i18n metadata (null if no @i18n tag) */
1154
+ i18n?: MetaI18n | null;
1155
+ indexes: MetaIndex[];
1156
+ inflection: MetaInflection;
1157
+ name: string;
1158
+ primaryKeyConstraints: MetaPrimaryKeyConstraint[];
1159
+ query: MetaQuery;
1160
+ /** Realtime metadata (null if no @realtime tag) */
1161
+ realtime?: MetaRealtime | null;
1162
+ relations: MetaRelations;
1163
+ schemaName: string;
1164
+ /** Search metadata (null if no search configured) */
1165
+ search?: MetaSearch | null;
1166
+ /** Storage metadata (null if not a storage table) */
1167
+ storage?: MetaStorage | null;
1168
+ uniqueConstraints: MetaUniqueConstraint[];
1169
+ }
1170
+ /** A `DbPreset` edge in the connection. */
1171
+ export interface DbPresetEdge {
1150
1172
  cursor?: string | null;
1151
- /** The `InfraGetAllRecord` at the end of the edge. */
1152
- node?: InfraGetAllRecord | null;
1173
+ /** The `DbPreset` at the end of the edge. */
1174
+ node?: DbPreset | null;
1153
1175
  }
1154
1176
  /** Information about pagination in a connection. */
1155
1177
  export interface PageInfo {
1178
+ /** When paginating forwards, the cursor to continue. */
1179
+ endCursor?: string | null;
1156
1180
  /** When paginating forwards, are there more items? */
1157
1181
  hasNextPage: boolean;
1158
1182
  /** When paginating backwards, are there more items? */
1159
1183
  hasPreviousPage: boolean;
1160
1184
  /** When paginating backwards, the cursor to continue. */
1161
1185
  startCursor?: string | null;
1162
- /** When paginating forwards, the cursor to continue. */
1163
- endCursor?: string | null;
1164
1186
  }
1165
- /** A `InfraRef` edge in the connection. */
1166
- export interface InfraRefEdge {
1187
+ /** A `InfraCommit` edge in the connection. */
1188
+ export interface InfraCommitEdge {
1167
1189
  cursor?: string | null;
1168
- /** The `InfraRef` at the end of the edge. */
1169
- node?: InfraRef | null;
1190
+ /** The `InfraCommit` at the end of the edge. */
1191
+ node?: InfraCommit | null;
1170
1192
  }
1171
- /** A `InfraStore` edge in the connection. */
1172
- export interface InfraStoreEdge {
1193
+ /** A `InfraGetAllRecord` edge in the connection. */
1194
+ export interface InfraGetAllEdge {
1173
1195
  cursor?: string | null;
1174
- /** The `InfraStore` at the end of the edge. */
1175
- node?: InfraStore | null;
1196
+ /** The `InfraGetAllRecord` at the end of the edge. */
1197
+ node?: InfraGetAllRecord | null;
1176
1198
  }
1177
1199
  /** A `InfraObject` edge in the connection. */
1178
1200
  export interface InfraObjectEdge {
@@ -1180,23 +1202,23 @@ export interface InfraObjectEdge {
1180
1202
  /** The `InfraObject` at the end of the edge. */
1181
1203
  node?: InfraObject | null;
1182
1204
  }
1183
- /** A `InfraCommit` edge in the connection. */
1184
- export interface InfraCommitEdge {
1205
+ /** A `InfraRef` edge in the connection. */
1206
+ export interface InfraRefEdge {
1185
1207
  cursor?: string | null;
1186
- /** The `InfraCommit` at the end of the edge. */
1187
- node?: InfraCommit | null;
1208
+ /** The `InfraRef` at the end of the edge. */
1209
+ node?: InfraRef | null;
1188
1210
  }
1189
- /** A `DbPreset` edge in the connection. */
1190
- export interface DbPresetEdge {
1211
+ /** A `InfraStore` edge in the connection. */
1212
+ export interface InfraStoreEdge {
1191
1213
  cursor?: string | null;
1192
- /** The `DbPreset` at the end of the edge. */
1193
- node?: DbPreset | null;
1214
+ /** The `InfraStore` at the end of the edge. */
1215
+ node?: InfraStore | null;
1194
1216
  }
1195
- /** A `PlatformNamespace` edge in the connection. */
1196
- export interface PlatformNamespaceEdge {
1217
+ /** A `NamespaceEvent` edge in the connection. */
1218
+ export interface NamespaceEventEdge {
1197
1219
  cursor?: string | null;
1198
- /** The `PlatformNamespace` at the end of the edge. */
1199
- node?: PlatformNamespace | null;
1220
+ /** The `NamespaceEvent` at the end of the edge. */
1221
+ node?: NamespaceEvent | null;
1200
1222
  }
1201
1223
  /** A `Namespace` edge in the connection. */
1202
1224
  export interface NamespaceEdge {
@@ -1210,116 +1232,94 @@ export interface PlatformNamespaceEventEdge {
1210
1232
  /** The `PlatformNamespaceEvent` at the end of the edge. */
1211
1233
  node?: PlatformNamespaceEvent | null;
1212
1234
  }
1213
- /** A `NamespaceEvent` edge in the connection. */
1214
- export interface NamespaceEventEdge {
1235
+ /** A `PlatformNamespace` edge in the connection. */
1236
+ export interface PlatformNamespaceEdge {
1215
1237
  cursor?: string | null;
1216
- /** The `NamespaceEvent` at the end of the edge. */
1217
- node?: NamespaceEvent | null;
1238
+ /** The `PlatformNamespace` at the end of the edge. */
1239
+ node?: PlatformNamespace | null;
1218
1240
  }
1219
- /** Information about a database table */
1220
- export interface MetaTable {
1221
- name: string;
1222
- schemaName: string;
1223
- fields: MetaField[];
1224
- indexes: MetaIndex[];
1225
- constraints: MetaConstraints;
1226
- foreignKeyConstraints: MetaForeignKeyConstraint[];
1227
- primaryKeyConstraints: MetaPrimaryKeyConstraint[];
1228
- uniqueConstraints: MetaUniqueConstraint[];
1229
- relations: MetaRelations;
1230
- inflection: MetaInflection;
1231
- query: MetaQuery;
1232
- /** Storage metadata (null if not a storage table) */
1233
- storage?: MetaStorage | null;
1234
- /** Search metadata (null if no search configured) */
1235
- search?: MetaSearch | null;
1236
- /** i18n metadata (null if no @i18n tag) */
1237
- i18n?: MetaI18n | null;
1238
- /** Realtime metadata (null if no @realtime tag) */
1239
- realtime?: MetaRealtime | null;
1241
+ /** Table constraints */
1242
+ export interface MetaConstraints {
1243
+ foreignKey: MetaForeignKeyConstraint[];
1244
+ primaryKey?: MetaPrimaryKeyConstraint | null;
1245
+ unique: MetaUniqueConstraint[];
1240
1246
  }
1241
1247
  /** Information about a table field/column */
1242
1248
  export interface MetaField {
1243
- name: string;
1244
- type: MetaType;
1245
- isNotNull: boolean;
1246
- hasDefault: boolean;
1247
- isPrimaryKey: boolean;
1248
- isForeignKey: boolean;
1249
1249
  description?: string | null;
1250
1250
  /** Enum metadata if this field has an enum type */
1251
1251
  enumValues?: MetaEnum | null;
1252
- }
1253
- /** Information about a database index */
1254
- export interface MetaIndex {
1252
+ hasDefault: boolean;
1253
+ isForeignKey: boolean;
1254
+ isNotNull: boolean;
1255
+ isPrimaryKey: boolean;
1255
1256
  name: string;
1256
- isUnique: boolean;
1257
- isPrimary: boolean;
1258
- columns: string[];
1259
- fields?: MetaField[] | null;
1260
- }
1261
- /** Table constraints */
1262
- export interface MetaConstraints {
1263
- primaryKey?: MetaPrimaryKeyConstraint | null;
1264
- unique: MetaUniqueConstraint[];
1265
- foreignKey: MetaForeignKeyConstraint[];
1257
+ type: MetaType;
1266
1258
  }
1267
1259
  /** Information about a foreign key constraint */
1268
1260
  export interface MetaForeignKeyConstraint {
1269
- name: string;
1270
1261
  fields: MetaField[];
1271
- referencedTable: string;
1272
- referencedFields: string[];
1262
+ name: string;
1273
1263
  refFields?: MetaField[] | null;
1274
1264
  refTable?: MetaRefTable | null;
1265
+ referencedFields: string[];
1266
+ referencedTable: string;
1275
1267
  }
1276
- /** Information about a primary key constraint */
1277
- export interface MetaPrimaryKeyConstraint {
1278
- name: string;
1279
- fields: MetaField[];
1268
+ /** i18n metadata for a table with @i18n tag */
1269
+ export interface MetaI18n {
1270
+ /** Fields that are translatable */
1271
+ translatableFields: MetaI18nField[];
1272
+ /** Name of the translation table */
1273
+ translationTable: string;
1280
1274
  }
1281
- /** Information about a unique constraint */
1282
- export interface MetaUniqueConstraint {
1275
+ /** Information about a database index */
1276
+ export interface MetaIndex {
1277
+ columns: string[];
1278
+ fields?: MetaField[] | null;
1279
+ isPrimary: boolean;
1280
+ isUnique: boolean;
1283
1281
  name: string;
1284
- fields: MetaField[];
1285
- }
1286
- /** Table relations */
1287
- export interface MetaRelations {
1288
- belongsTo: MetaBelongsToRelation[];
1289
- has: MetaHasRelation[];
1290
- hasOne: MetaHasRelation[];
1291
- hasMany: MetaHasRelation[];
1292
- manyToMany: MetaManyToManyRelation[];
1293
1282
  }
1294
1283
  /** Table inflection names */
1295
1284
  export interface MetaInflection {
1296
- tableType: string;
1297
1285
  allRows: string;
1286
+ conditionType: string;
1298
1287
  connection: string;
1288
+ createInputType: string;
1289
+ createPayloadType: string;
1290
+ deletePayloadType: string;
1299
1291
  edge: string;
1300
1292
  filterType?: string | null;
1301
1293
  orderByType: string;
1302
- conditionType: string;
1303
1294
  patchType?: string | null;
1304
- createInputType: string;
1305
- createPayloadType: string;
1295
+ tableType: string;
1306
1296
  updatePayloadType?: string | null;
1307
- deletePayloadType: string;
1297
+ }
1298
+ /** Information about a primary key constraint */
1299
+ export interface MetaPrimaryKeyConstraint {
1300
+ fields: MetaField[];
1301
+ name: string;
1308
1302
  }
1309
1303
  /** Table query/mutation names */
1310
1304
  export interface MetaQuery {
1311
1305
  all: string;
1312
- one?: string | null;
1313
1306
  create?: string | null;
1314
- update?: string | null;
1315
1307
  delete?: string | null;
1308
+ one?: string | null;
1309
+ update?: string | null;
1316
1310
  }
1317
- /** Storage metadata for a table */
1318
- export interface MetaStorage {
1319
- /** Whether this table is a storage files table */
1320
- isFilesTable: boolean;
1321
- /** Whether this table is a storage buckets table */
1322
- isBucketsTable: boolean;
1311
+ /** Realtime metadata for a table with @realtime tag */
1312
+ export interface MetaRealtime {
1313
+ /** The generated subscription field name (e.g. onPostChanged) */
1314
+ subscriptionFieldName: string;
1315
+ }
1316
+ /** Table relations */
1317
+ export interface MetaRelations {
1318
+ belongsTo: MetaBelongsToRelation[];
1319
+ has: MetaHasRelation[];
1320
+ hasMany: MetaHasRelation[];
1321
+ hasOne: MetaHasRelation[];
1322
+ manyToMany: MetaManyToManyRelation[];
1323
1323
  }
1324
1324
  /** Search metadata for a table */
1325
1325
  export interface MetaSearch {
@@ -1327,31 +1327,22 @@ export interface MetaSearch {
1327
1327
  algorithms: string[];
1328
1328
  /** Searchable columns with their algorithm */
1329
1329
  columns: MetaSearchColumn[];
1330
- /** Whether unifiedSearch composite filter is available */
1331
- hasUnifiedSearch: boolean;
1332
1330
  /** Per-table search configuration */
1333
1331
  config?: MetaSearchConfig | null;
1332
+ /** Whether unifiedSearch composite filter is available */
1333
+ hasUnifiedSearch: boolean;
1334
1334
  }
1335
- /** i18n metadata for a table with @i18n tag */
1336
- export interface MetaI18n {
1337
- /** Name of the translation table */
1338
- translationTable: string;
1339
- /** Fields that are translatable */
1340
- translatableFields: MetaI18nField[];
1341
- }
1342
- /** Realtime metadata for a table with @realtime tag */
1343
- export interface MetaRealtime {
1344
- /** The generated subscription field name (e.g. onPostChanged) */
1345
- subscriptionFieldName: string;
1335
+ /** Storage metadata for a table */
1336
+ export interface MetaStorage {
1337
+ /** Whether this table is a storage buckets table */
1338
+ isBucketsTable: boolean;
1339
+ /** Whether this table is a storage files table */
1340
+ isFilesTable: boolean;
1346
1341
  }
1347
- /** Information about a PostgreSQL type */
1348
- export interface MetaType {
1349
- pgType: string;
1350
- gqlType: string;
1351
- isArray: boolean;
1352
- isNotNull?: boolean | null;
1353
- hasDefault?: boolean | null;
1354
- subtype?: string | null;
1342
+ /** Information about a unique constraint */
1343
+ export interface MetaUniqueConstraint {
1344
+ fields: MetaField[];
1345
+ name: string;
1355
1346
  }
1356
1347
  /** Information about a PostgreSQL enum type */
1357
1348
  export interface MetaEnum {
@@ -1360,61 +1351,70 @@ export interface MetaEnum {
1360
1351
  /** Allowed values for this enum */
1361
1352
  values: string[];
1362
1353
  }
1354
+ /** Information about a PostgreSQL type */
1355
+ export interface MetaType {
1356
+ gqlType: string;
1357
+ hasDefault?: boolean | null;
1358
+ isArray: boolean;
1359
+ isNotNull?: boolean | null;
1360
+ pgType: string;
1361
+ subtype?: string | null;
1362
+ }
1363
1363
  /** Reference to a related table */
1364
1364
  export interface MetaRefTable {
1365
1365
  name: string;
1366
1366
  }
1367
+ /** A translatable field */
1368
+ export interface MetaI18nField {
1369
+ /** GraphQL field name */
1370
+ name: string;
1371
+ /** PostgreSQL column type (text, citext) */
1372
+ type: string;
1373
+ }
1367
1374
  /** A belongs-to (forward FK) relation */
1368
1375
  export interface MetaBelongsToRelation {
1369
1376
  fieldName?: string | null;
1370
1377
  isUnique: boolean;
1371
- type?: string | null;
1372
1378
  keys: MetaField[];
1373
1379
  references: MetaRefTable;
1380
+ type?: string | null;
1374
1381
  }
1375
1382
  /** A has-one or has-many (reverse FK) relation */
1376
1383
  export interface MetaHasRelation {
1377
1384
  fieldName?: string | null;
1378
1385
  isUnique: boolean;
1379
- type?: string | null;
1380
1386
  keys: MetaField[];
1381
1387
  referencedBy: MetaRefTable;
1388
+ type?: string | null;
1382
1389
  }
1383
1390
  /** A many-to-many relation via junction table */
1384
1391
  export interface MetaManyToManyRelation {
1385
1392
  fieldName?: string | null;
1386
- type?: string | null;
1387
- junctionTable: MetaRefTable;
1388
1393
  junctionLeftConstraint: MetaForeignKeyConstraint;
1389
1394
  junctionLeftKeyAttributes: MetaField[];
1390
1395
  junctionRightConstraint: MetaForeignKeyConstraint;
1391
1396
  junctionRightKeyAttributes: MetaField[];
1397
+ junctionTable: MetaRefTable;
1392
1398
  leftKeyAttributes: MetaField[];
1393
1399
  rightKeyAttributes: MetaField[];
1394
1400
  rightTable: MetaRefTable;
1401
+ type?: string | null;
1395
1402
  }
1396
1403
  /** A searchable column with its algorithm */
1397
1404
  export interface MetaSearchColumn {
1398
- /** Column name (camelCase) */
1399
- name: string;
1400
1405
  /** Search algorithm: tsvector, bm25, trgm, or vector */
1401
1406
  algorithm: string;
1407
+ /** Column name (camelCase) */
1408
+ name: string;
1402
1409
  }
1403
1410
  /** Per-table search configuration from @searchConfig smart tag */
1404
1411
  export interface MetaSearchConfig {
1405
- /** JSON-encoded per-adapter score weights */
1406
- weights?: string | null;
1407
- /** Whether recency boosting is enabled */
1408
- boostRecent: boolean;
1409
- /** Field used for recency decay */
1410
- boostRecencyField?: string | null;
1411
1412
  /** Exponential decay factor per day */
1412
1413
  boostRecencyDecay?: number | null;
1413
- }
1414
- /** A translatable field */
1415
- export interface MetaI18nField {
1416
- /** GraphQL field name */
1417
- name: string;
1418
- /** PostgreSQL column type (text, citext) */
1419
- type: string;
1414
+ /** Field used for recency decay */
1415
+ boostRecencyField?: string | null;
1416
+ /** Whether recency boosting is enabled */
1417
+ boostRecent: boolean;
1418
+ /** JSON-encoded per-adapter score weights */
1419
+ weights?: string | null;
1420
1420
  }