@constructive-io/react 0.28.3 → 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,383 +4,384 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  import type { Commit, GetAllRecord, Object, Ref, Store, DatetimeFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
+ /** Methods to use when ordering `Commit`. */
8
+ export type CommitOrderBy = 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_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' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC';
9
+ /** Methods to use when ordering `Object`. */
10
+ export type ObjectOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
7
11
  /** Methods to use when ordering `Ref`. */
8
- export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
12
+ export type RefOrderBy = 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
9
13
  /** Methods to use when ordering `Store`. */
10
- export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
11
- /** Methods to use when ordering `Object`. */
12
- export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_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 `Commit`. */
14
- export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_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
- /** A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ */
16
- export interface RefFilter {
17
- /** Filter by the object’s `id` field. */
18
- id?: UUIDFilter;
19
- /** Filter by the object’s `name` field. */
20
- name?: StringFilter;
21
- /** Filter by the object’s `databaseId` field. */
22
- databaseId?: UUIDFilter;
23
- /** Filter by the object’s `storeId` field. */
24
- storeId?: UUIDFilter;
25
- /** Filter by the object’s `commitId` field. */
26
- commitId?: UUIDFilter;
27
- /** Checks for all expressions in this list. */
28
- and?: RefFilter[];
29
- /** Checks for any expressions in this list. */
30
- or?: RefFilter[];
31
- /** Negates the expression. */
32
- not?: RefFilter;
33
- }
34
- /** A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ */
35
- export interface StoreFilter {
36
- /** Filter by the object’s `id` field. */
37
- id?: UUIDFilter;
38
- /** Filter by the object’s `name` field. */
39
- name?: StringFilter;
40
- /** Filter by the object’s `databaseId` field. */
41
- databaseId?: UUIDFilter;
42
- /** Filter by the object’s `hash` field. */
43
- hash?: UUIDFilter;
44
- /** Filter by the object’s `createdAt` field. */
45
- createdAt?: DatetimeFilter;
14
+ export type StoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
15
+ /** A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ */
16
+ export interface CommitFilter {
46
17
  /** Checks for all expressions in this list. */
47
- and?: StoreFilter[];
48
- /** Checks for any expressions in this list. */
49
- or?: StoreFilter[];
50
- /** Negates the expression. */
51
- not?: StoreFilter;
52
- }
53
- /** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */
54
- export interface ObjectFilter {
55
- /** Filter by the object’s `id` field. */
56
- id?: UUIDFilter;
18
+ and?: CommitFilter[];
19
+ /** Filter by the object’s `authorId` field. */
20
+ authorId?: UUIDFilter;
21
+ /** Filter by the object’s `committerId` field. */
22
+ committerId?: UUIDFilter;
57
23
  /** Filter by the object’s `databaseId` field. */
58
24
  databaseId?: UUIDFilter;
59
- /** Filter by the object’s `kids` field. */
60
- kids?: UUIDListFilter;
61
- /** Filter by the object’s `ktree` field. */
62
- ktree?: StringListFilter;
63
- /** Filter by the object’s `data` field. */
64
- data?: JSONFilter;
65
- /** Filter by the object’s `createdAt` field. */
66
- createdAt?: DatetimeFilter;
67
- /** Checks for all expressions in this list. */
68
- and?: ObjectFilter[];
69
- /** Checks for any expressions in this list. */
70
- or?: ObjectFilter[];
71
- /** Negates the expression. */
72
- not?: ObjectFilter;
73
- }
74
- /** A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ */
75
- export interface CommitFilter {
25
+ /** Filter by the object’s `date` field. */
26
+ date?: DatetimeFilter;
76
27
  /** Filter by the object’s `id` field. */
77
28
  id?: UUIDFilter;
78
29
  /** Filter by the object’s `message` field. */
79
30
  message?: StringFilter;
80
- /** Filter by the object’s `databaseId` field. */
81
- databaseId?: UUIDFilter;
82
- /** Filter by the object’s `storeId` field. */
83
- storeId?: UUIDFilter;
31
+ /** Negates the expression. */
32
+ not?: CommitFilter;
33
+ /** Checks for any expressions in this list. */
34
+ or?: CommitFilter[];
84
35
  /** Filter by the object’s `parentIds` field. */
85
36
  parentIds?: UUIDListFilter;
86
- /** Filter by the object’s `authorId` field. */
87
- authorId?: UUIDFilter;
88
- /** Filter by the object’s `committerId` field. */
89
- committerId?: UUIDFilter;
37
+ /** Filter by the object’s `storeId` field. */
38
+ storeId?: UUIDFilter;
90
39
  /** Filter by the object’s `treeId` field. */
91
40
  treeId?: UUIDFilter;
92
- /** Filter by the object’s `date` field. */
93
- date?: DatetimeFilter;
94
- /** Checks for all expressions in this list. */
95
- and?: CommitFilter[];
96
- /** Checks for any expressions in this list. */
97
- or?: CommitFilter[];
98
- /** Negates the expression. */
99
- not?: CommitFilter;
100
41
  }
101
- export interface InitEmptyRepoInput {
102
- clientMutationId?: string;
103
- sId?: string;
42
+ /** An input for mutations affecting `Commit` */
43
+ export interface CommitInput {
44
+ /** User who authored the changes */
45
+ authorId?: string;
46
+ /** User who committed (may differ from author) */
47
+ committerId?: string;
48
+ /** Database scope for multi-tenant isolation */
49
+ databaseId: string;
50
+ /** Commit timestamp */
51
+ date?: string;
52
+ /** Unique commit identifier */
53
+ id?: string;
54
+ /** Optional commit message */
55
+ message?: string;
56
+ /** Parent commit IDs (supports merge commits) */
57
+ parentIds?: string[];
58
+ /** Store this commit belongs to */
59
+ storeId: string;
60
+ /** Root object ID of the tree snapshot at this commit */
61
+ treeId?: string;
62
+ }
63
+ /** Represents an update to a `Commit`. Fields that are set will be updated. */
64
+ export interface CommitPatch {
65
+ /** User who authored the changes */
66
+ authorId?: string;
67
+ /** User who committed (may differ from author) */
68
+ committerId?: string;
69
+ /** Database scope for multi-tenant isolation */
70
+ databaseId?: string;
71
+ /** Commit timestamp */
72
+ date?: string;
73
+ /** Unique commit identifier */
74
+ id?: string;
75
+ /** Optional commit message */
76
+ message?: string;
77
+ /** Parent commit IDs (supports merge commits) */
78
+ parentIds?: string[];
79
+ /** Store this commit belongs to */
104
80
  storeId?: string;
81
+ /** Root object ID of the tree snapshot at this commit */
82
+ treeId?: string;
105
83
  }
106
- export interface SetDataAtPathInput {
84
+ export interface CreateCommitInput {
107
85
  clientMutationId?: string;
108
- sId?: string;
109
- root?: string;
110
- path?: string[];
111
- data?: unknown;
86
+ /** The `Commit` to be created by this mutation. */
87
+ commit: CommitInput;
112
88
  }
113
- export interface InsertNodeAtPathInput {
89
+ export interface CreateObjectInput {
114
90
  clientMutationId?: string;
115
- sId?: string;
116
- root?: string;
117
- path?: string[];
118
- data?: unknown;
119
- kids?: string[];
120
- ktree?: string[];
91
+ /** The `Object` to be created by this mutation. */
92
+ object: ObjectInput;
121
93
  }
122
94
  export interface CreateRefInput {
123
95
  clientMutationId?: string;
124
96
  /** The `Ref` to be created by this mutation. */
125
97
  ref: RefInput;
126
98
  }
127
- /** An input for mutations affecting `Ref` */
128
- export interface RefInput {
129
- /** Unique ref identifier */
130
- id?: string;
131
- /** Ref name (e.g. HEAD, main) */
132
- name: string;
133
- /** Database scope for multi-tenant isolation */
134
- databaseId: string;
135
- /** Store this ref belongs to */
136
- storeId: string;
137
- /** Commit this ref points to */
138
- commitId?: string;
139
- }
140
99
  export interface CreateStoreInput {
141
100
  clientMutationId?: string;
142
101
  /** The `Store` to be created by this mutation. */
143
102
  store: StoreInput;
144
103
  }
145
- /** An input for mutations affecting `Store` */
146
- export interface StoreInput {
147
- /** Unique store identifier */
148
- id?: string;
149
- /** Human-readable store name */
150
- name: string;
104
+ export interface DeleteCommitInput {
105
+ clientMutationId?: string;
151
106
  /** Database scope for multi-tenant isolation */
152
107
  databaseId: string;
153
- /** Current root object hash of this store */
154
- hash?: string;
155
- /** Timestamp of store creation */
156
- createdAt?: string;
108
+ /** Unique commit identifier */
109
+ id: string;
157
110
  }
158
- export interface CreateObjectInput {
111
+ export interface DeleteObjectInput {
159
112
  clientMutationId?: string;
160
- /** The `Object` to be created by this mutation. */
161
- object: ObjectInput;
113
+ /** Database scope for multi-tenant isolation */
114
+ databaseId: string;
115
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
116
+ id: string;
117
+ }
118
+ export interface DeleteRefInput {
119
+ clientMutationId?: string;
120
+ /** Database scope for multi-tenant isolation */
121
+ databaseId: string;
122
+ /** Unique ref identifier */
123
+ id: string;
124
+ }
125
+ export interface DeleteStoreInput {
126
+ clientMutationId?: string;
127
+ /** Unique store identifier */
128
+ id: string;
129
+ }
130
+ export interface InitEmptyRepoInput {
131
+ clientMutationId?: string;
132
+ sId?: string;
133
+ storeId?: string;
134
+ }
135
+ export interface InsertNodeAtPathInput {
136
+ clientMutationId?: string;
137
+ data?: unknown;
138
+ kids?: string[];
139
+ ktree?: string[];
140
+ path?: string[];
141
+ root?: string;
142
+ sId?: string;
143
+ }
144
+ /** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */
145
+ export interface ObjectFilter {
146
+ /** Checks for all expressions in this list. */
147
+ and?: ObjectFilter[];
148
+ /** Filter by the object’s `createdAt` field. */
149
+ createdAt?: DatetimeFilter;
150
+ /** Filter by the object’s `data` field. */
151
+ data?: JSONFilter;
152
+ /** Filter by the object’s `databaseId` field. */
153
+ databaseId?: UUIDFilter;
154
+ /** Filter by the object’s `id` field. */
155
+ id?: UUIDFilter;
156
+ /** Filter by the object’s `kids` field. */
157
+ kids?: UUIDListFilter;
158
+ /** Filter by the object’s `ktree` field. */
159
+ ktree?: StringListFilter;
160
+ /** Negates the expression. */
161
+ not?: ObjectFilter;
162
+ /** Checks for any expressions in this list. */
163
+ or?: ObjectFilter[];
162
164
  }
163
165
  /** An input for mutations affecting `Object` */
164
166
  export interface ObjectInput {
165
- /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
166
- id: string;
167
+ /** Timestamp of object creation */
168
+ createdAt?: string;
169
+ /** Payload data for this object node */
170
+ data?: unknown;
167
171
  /** Database scope for multi-tenant isolation */
168
172
  databaseId: string;
173
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
174
+ id: string;
169
175
  /** Ordered array of child object IDs */
170
176
  kids?: string[];
171
177
  /** Ordered array of child path names (parallel to kids) */
172
178
  ktree?: string[];
173
- /** Payload data for this object node */
174
- data?: unknown;
179
+ }
180
+ /** Represents an update to a `Object`. Fields that are set will be updated. */
181
+ export interface ObjectPatch {
175
182
  /** Timestamp of object creation */
176
183
  createdAt?: string;
184
+ /** Payload data for this object node */
185
+ data?: unknown;
186
+ /** Database scope for multi-tenant isolation */
187
+ databaseId?: string;
188
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
189
+ id?: string;
190
+ /** Ordered array of child object IDs */
191
+ kids?: string[];
192
+ /** Ordered array of child path names (parallel to kids) */
193
+ ktree?: string[];
177
194
  }
178
- export interface CreateCommitInput {
179
- clientMutationId?: string;
180
- /** The `Commit` to be created by this mutation. */
181
- commit: CommitInput;
195
+ export interface ProvisionBucketInput {
196
+ /** The logical bucket key (e.g., "public", "private") */
197
+ bucketKey: string;
198
+ /**
199
+ * Owner entity ID for entity-scoped bucket provisioning.
200
+ * Omit for app-level (database-wide) storage.
201
+ */
202
+ ownerId?: string;
182
203
  }
183
- /** An input for mutations affecting `Commit` */
184
- export interface CommitInput {
185
- /** Unique commit identifier */
186
- id?: string;
187
- /** Optional commit message */
188
- message?: string;
189
- /** Database scope for multi-tenant isolation */
190
- databaseId: string;
191
- /** Store this commit belongs to */
192
- storeId: string;
193
- /** Parent commit IDs (supports merge commits) */
194
- parentIds?: string[];
195
- /** User who authored the changes */
196
- authorId?: string;
197
- /** User who committed (may differ from author) */
198
- committerId?: string;
199
- /** Root object ID of the tree snapshot at this commit */
200
- treeId?: string;
201
- /** Commit timestamp */
202
- date?: string;
204
+ /** A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ */
205
+ export interface RefFilter {
206
+ /** Checks for all expressions in this list. */
207
+ and?: RefFilter[];
208
+ /** Filter by the object’s `commitId` field. */
209
+ commitId?: UUIDFilter;
210
+ /** Filter by the object’s `databaseId` field. */
211
+ databaseId?: UUIDFilter;
212
+ /** Filter by the object’s `id` field. */
213
+ id?: UUIDFilter;
214
+ /** Filter by the object’s `name` field. */
215
+ name?: StringFilter;
216
+ /** Negates the expression. */
217
+ not?: RefFilter;
218
+ /** Checks for any expressions in this list. */
219
+ or?: RefFilter[];
220
+ /** Filter by the object’s `storeId` field. */
221
+ storeId?: UUIDFilter;
203
222
  }
204
- export interface UpdateRefInput {
205
- clientMutationId?: string;
206
- /** Unique ref identifier */
207
- id: string;
223
+ /** An input for mutations affecting `Ref` */
224
+ export interface RefInput {
225
+ /** Commit this ref points to */
226
+ commitId?: string;
208
227
  /** Database scope for multi-tenant isolation */
209
228
  databaseId: string;
210
- /** An object where the defined keys will be set on the `Ref` being updated. */
211
- refPatch: RefPatch;
229
+ /** Unique ref identifier */
230
+ id?: string;
231
+ /** Ref name (e.g. HEAD, main) */
232
+ name: string;
233
+ /** Store this ref belongs to */
234
+ storeId: string;
212
235
  }
213
236
  /** Represents an update to a `Ref`. Fields that are set will be updated. */
214
237
  export interface RefPatch {
238
+ /** Commit this ref points to */
239
+ commitId?: string;
240
+ /** Database scope for multi-tenant isolation */
241
+ databaseId?: string;
215
242
  /** Unique ref identifier */
216
243
  id?: string;
217
244
  /** Ref name (e.g. HEAD, main) */
218
245
  name?: string;
219
- /** Database scope for multi-tenant isolation */
220
- databaseId?: string;
221
246
  /** Store this ref belongs to */
222
247
  storeId?: string;
223
- /** Commit this ref points to */
224
- commitId?: string;
225
248
  }
226
- export interface UpdateStoreInput {
227
- clientMutationId?: string;
249
+ export interface SetDataAtPathInput {
250
+ clientMutationId?: string;
251
+ data?: unknown;
252
+ path?: string[];
253
+ root?: string;
254
+ sId?: string;
255
+ }
256
+ /** A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ */
257
+ export interface StoreFilter {
258
+ /** Checks for all expressions in this list. */
259
+ and?: StoreFilter[];
260
+ /** Filter by the object’s `createdAt` field. */
261
+ createdAt?: DatetimeFilter;
262
+ /** Filter by the object’s `databaseId` field. */
263
+ databaseId?: UUIDFilter;
264
+ /** Filter by the object’s `hash` field. */
265
+ hash?: UUIDFilter;
266
+ /** Filter by the object’s `id` field. */
267
+ id?: UUIDFilter;
268
+ /** Filter by the object’s `name` field. */
269
+ name?: StringFilter;
270
+ /** Negates the expression. */
271
+ not?: StoreFilter;
272
+ /** Checks for any expressions in this list. */
273
+ or?: StoreFilter[];
274
+ }
275
+ /** An input for mutations affecting `Store` */
276
+ export interface StoreInput {
277
+ /** Timestamp of store creation */
278
+ createdAt?: string;
279
+ /** Database scope for multi-tenant isolation */
280
+ databaseId: string;
281
+ /** Current root object hash of this store */
282
+ hash?: string;
228
283
  /** Unique store identifier */
229
- id: string;
230
- /** An object where the defined keys will be set on the `Store` being updated. */
231
- storePatch: StorePatch;
284
+ id?: string;
285
+ /** Human-readable store name */
286
+ name: string;
232
287
  }
233
288
  /** Represents an update to a `Store`. Fields that are set will be updated. */
234
289
  export interface StorePatch {
235
- /** Unique store identifier */
236
- id?: string;
237
- /** Human-readable store name */
238
- name?: string;
290
+ /** Timestamp of store creation */
291
+ createdAt?: string;
239
292
  /** Database scope for multi-tenant isolation */
240
293
  databaseId?: string;
241
294
  /** Current root object hash of this store */
242
295
  hash?: string;
243
- /** Timestamp of store creation */
244
- createdAt?: string;
245
- }
246
- export interface UpdateObjectInput {
247
- clientMutationId?: string;
248
- /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
249
- id: string;
250
- /** Database scope for multi-tenant isolation */
251
- databaseId: string;
252
- /** An object where the defined keys will be set on the `Object` being updated. */
253
- objectPatch: ObjectPatch;
254
- }
255
- /** Represents an update to a `Object`. Fields that are set will be updated. */
256
- export interface ObjectPatch {
257
- /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
296
+ /** Unique store identifier */
258
297
  id?: string;
259
- /** Database scope for multi-tenant isolation */
260
- databaseId?: string;
261
- /** Ordered array of child object IDs */
262
- kids?: string[];
263
- /** Ordered array of child path names (parallel to kids) */
264
- ktree?: string[];
265
- /** Payload data for this object node */
266
- data?: unknown;
267
- /** Timestamp of object creation */
268
- createdAt?: string;
298
+ /** Human-readable store name */
299
+ name?: string;
269
300
  }
270
301
  export interface UpdateCommitInput {
271
302
  clientMutationId?: string;
272
- /** Unique commit identifier */
273
- id: string;
274
- /** Database scope for multi-tenant isolation */
275
- databaseId: string;
276
303
  /** An object where the defined keys will be set on the `Commit` being updated. */
277
304
  commitPatch: CommitPatch;
278
- }
279
- /** Represents an update to a `Commit`. Fields that are set will be updated. */
280
- export interface CommitPatch {
281
- /** Unique commit identifier */
282
- id?: string;
283
- /** Optional commit message */
284
- message?: string;
285
305
  /** Database scope for multi-tenant isolation */
286
- databaseId?: string;
287
- /** Store this commit belongs to */
288
- storeId?: string;
289
- /** Parent commit IDs (supports merge commits) */
290
- parentIds?: string[];
291
- /** User who authored the changes */
292
- authorId?: string;
293
- /** User who committed (may differ from author) */
294
- committerId?: string;
295
- /** Root object ID of the tree snapshot at this commit */
296
- treeId?: string;
297
- /** Commit timestamp */
298
- date?: string;
306
+ databaseId: string;
307
+ /** Unique commit identifier */
308
+ id: string;
299
309
  }
300
- export interface DeleteRefInput {
310
+ export interface UpdateObjectInput {
301
311
  clientMutationId?: string;
302
- /** Unique ref identifier */
303
- id: string;
304
312
  /** Database scope for multi-tenant isolation */
305
313
  databaseId: string;
306
- }
307
- export interface DeleteStoreInput {
308
- clientMutationId?: string;
309
- /** Unique store identifier */
314
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
310
315
  id: string;
316
+ /** An object where the defined keys will be set on the `Object` being updated. */
317
+ objectPatch: ObjectPatch;
311
318
  }
312
- export interface DeleteObjectInput {
319
+ export interface UpdateRefInput {
313
320
  clientMutationId?: string;
314
- /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
315
- id: string;
316
321
  /** Database scope for multi-tenant isolation */
317
322
  databaseId: string;
323
+ /** Unique ref identifier */
324
+ id: string;
325
+ /** An object where the defined keys will be set on the `Ref` being updated. */
326
+ refPatch: RefPatch;
318
327
  }
319
- export interface DeleteCommitInput {
328
+ export interface UpdateStoreInput {
320
329
  clientMutationId?: string;
321
- /** Unique commit identifier */
330
+ /** Unique store identifier */
322
331
  id: string;
323
- /** Database scope for multi-tenant isolation */
324
- databaseId: string;
332
+ /** An object where the defined keys will be set on the `Store` being updated. */
333
+ storePatch: StorePatch;
325
334
  }
326
- export interface ProvisionBucketInput {
327
- /** The logical bucket key (e.g., "public", "private") */
328
- bucketKey: string;
329
- /**
330
- * Owner entity ID for entity-scoped bucket provisioning.
331
- * Omit for app-level (database-wide) storage.
332
- */
333
- ownerId?: string;
335
+ /** Root meta schema type */
336
+ export interface MetaSchema {
337
+ tables: MetaTable[];
338
+ }
339
+ /** A connection to a list of `Commit` values. */
340
+ export interface CommitConnection {
341
+ edges: CommitEdge[];
342
+ nodes: Commit[];
343
+ pageInfo: PageInfo;
344
+ totalCount: number;
334
345
  }
335
346
  /** A connection to a list of `GetAllRecord` values. */
336
347
  export interface GetAllConnection {
337
- nodes: GetAllRecord[];
338
348
  edges: GetAllEdge[];
349
+ nodes: GetAllRecord[];
350
+ pageInfo: PageInfo;
351
+ totalCount: number;
352
+ }
353
+ /** A connection to a list of `Object` values. */
354
+ export interface ObjectConnection {
355
+ edges: ObjectEdge[];
356
+ nodes: Object[];
339
357
  pageInfo: PageInfo;
340
358
  totalCount: number;
341
359
  }
342
360
  /** A connection to a list of `Ref` values. */
343
361
  export interface RefConnection {
344
- nodes: Ref[];
345
362
  edges: RefEdge[];
363
+ nodes: Ref[];
346
364
  pageInfo: PageInfo;
347
365
  totalCount: number;
348
366
  }
349
367
  /** A connection to a list of `Store` values. */
350
368
  export interface StoreConnection {
351
- nodes: Store[];
352
369
  edges: StoreEdge[];
370
+ nodes: Store[];
353
371
  pageInfo: PageInfo;
354
372
  totalCount: number;
355
373
  }
356
- /** A connection to a list of `Object` values. */
357
- export interface ObjectConnection {
358
- nodes: Object[];
359
- edges: ObjectEdge[];
360
- pageInfo: PageInfo;
361
- totalCount: number;
362
- }
363
- /** A connection to a list of `Commit` values. */
364
- export interface CommitConnection {
365
- nodes: Commit[];
366
- edges: CommitEdge[];
367
- pageInfo: PageInfo;
368
- totalCount: number;
369
- }
370
- /** Root meta schema type */
371
- export interface MetaSchema {
372
- tables: MetaTable[];
373
- }
374
- export interface InitEmptyRepoPayload {
375
- clientMutationId?: string | null;
376
- }
377
- export interface SetDataAtPathPayload {
374
+ export interface CreateCommitPayload {
378
375
  clientMutationId?: string | null;
379
- result?: string | null;
376
+ /** The `Commit` that was created by this mutation. */
377
+ commit?: Commit | null;
378
+ commitEdge?: CommitEdge | null;
380
379
  }
381
- export interface InsertNodeAtPathPayload {
380
+ export interface CreateObjectPayload {
382
381
  clientMutationId?: string | null;
383
- result?: string | null;
382
+ /** The `Object` that was created by this mutation. */
383
+ object?: Object | null;
384
+ objectEdge?: ObjectEdge | null;
384
385
  }
385
386
  export interface CreateRefPayload {
386
387
  clientMutationId?: string | null;
@@ -394,42 +395,18 @@ export interface CreateStorePayload {
394
395
  store?: Store | null;
395
396
  storeEdge?: StoreEdge | null;
396
397
  }
397
- export interface CreateObjectPayload {
398
- clientMutationId?: string | null;
399
- /** The `Object` that was created by this mutation. */
400
- object?: Object | null;
401
- objectEdge?: ObjectEdge | null;
402
- }
403
- export interface CreateCommitPayload {
398
+ export interface DeleteCommitPayload {
404
399
  clientMutationId?: string | null;
405
- /** The `Commit` that was created by this mutation. */
400
+ /** The `Commit` that was deleted by this mutation. */
406
401
  commit?: Commit | null;
407
402
  commitEdge?: CommitEdge | null;
408
403
  }
409
- export interface UpdateRefPayload {
410
- clientMutationId?: string | null;
411
- /** The `Ref` that was updated by this mutation. */
412
- ref?: Ref | null;
413
- refEdge?: RefEdge | null;
414
- }
415
- export interface UpdateStorePayload {
416
- clientMutationId?: string | null;
417
- /** The `Store` that was updated by this mutation. */
418
- store?: Store | null;
419
- storeEdge?: StoreEdge | null;
420
- }
421
- export interface UpdateObjectPayload {
404
+ export interface DeleteObjectPayload {
422
405
  clientMutationId?: string | null;
423
- /** The `Object` that was updated by this mutation. */
406
+ /** The `Object` that was deleted by this mutation. */
424
407
  object?: Object | null;
425
408
  objectEdge?: ObjectEdge | null;
426
409
  }
427
- export interface UpdateCommitPayload {
428
- clientMutationId?: string | null;
429
- /** The `Commit` that was updated by this mutation. */
430
- commit?: Commit | null;
431
- commitEdge?: CommitEdge | null;
432
- }
433
410
  export interface DeleteRefPayload {
434
411
  clientMutationId?: string | null;
435
412
  /** The `Ref` that was deleted by this mutation. */
@@ -442,48 +419,105 @@ export interface DeleteStorePayload {
442
419
  store?: Store | null;
443
420
  storeEdge?: StoreEdge | null;
444
421
  }
445
- export interface DeleteObjectPayload {
422
+ export interface InitEmptyRepoPayload {
446
423
  clientMutationId?: string | null;
447
- /** The `Object` that was deleted by this mutation. */
448
- object?: Object | null;
449
- objectEdge?: ObjectEdge | null;
450
424
  }
451
- export interface DeleteCommitPayload {
425
+ export interface InsertNodeAtPathPayload {
452
426
  clientMutationId?: string | null;
453
- /** The `Commit` that was deleted by this mutation. */
454
- commit?: Commit | null;
455
- commitEdge?: CommitEdge | null;
427
+ result?: string | null;
456
428
  }
457
429
  export interface ProvisionBucketPayload {
458
- /** Whether provisioning succeeded */
459
- success: boolean;
460
- /** The S3 bucket name that was provisioned */
461
- bucketName: string;
462
430
  /** The access type applied */
463
431
  accessType: string;
464
- /** The storage provider used */
465
- provider: string;
432
+ /** The S3 bucket name that was provisioned */
433
+ bucketName: string;
466
434
  /** The S3 endpoint (null for AWS S3 default) */
467
435
  endpoint?: string | null;
468
436
  /** Error message if provisioning failed */
469
437
  error?: string | null;
438
+ /** The storage provider used */
439
+ provider: string;
440
+ /** Whether provisioning succeeded */
441
+ success: boolean;
442
+ }
443
+ export interface SetDataAtPathPayload {
444
+ clientMutationId?: string | null;
445
+ result?: string | null;
446
+ }
447
+ export interface UpdateCommitPayload {
448
+ clientMutationId?: string | null;
449
+ /** The `Commit` that was updated by this mutation. */
450
+ commit?: Commit | null;
451
+ commitEdge?: CommitEdge | null;
452
+ }
453
+ export interface UpdateObjectPayload {
454
+ clientMutationId?: string | null;
455
+ /** The `Object` that was updated by this mutation. */
456
+ object?: Object | null;
457
+ objectEdge?: ObjectEdge | null;
458
+ }
459
+ export interface UpdateRefPayload {
460
+ clientMutationId?: string | null;
461
+ /** The `Ref` that was updated by this mutation. */
462
+ ref?: Ref | null;
463
+ refEdge?: RefEdge | null;
464
+ }
465
+ export interface UpdateStorePayload {
466
+ clientMutationId?: string | null;
467
+ /** The `Store` that was updated by this mutation. */
468
+ store?: Store | null;
469
+ storeEdge?: StoreEdge | null;
470
+ }
471
+ /** Information about a database table */
472
+ export interface MetaTable {
473
+ constraints: MetaConstraints;
474
+ fields: MetaField[];
475
+ foreignKeyConstraints: MetaForeignKeyConstraint[];
476
+ /** i18n metadata (null if no @i18n tag) */
477
+ i18n?: MetaI18n | null;
478
+ indexes: MetaIndex[];
479
+ inflection: MetaInflection;
480
+ name: string;
481
+ primaryKeyConstraints: MetaPrimaryKeyConstraint[];
482
+ query: MetaQuery;
483
+ /** Realtime metadata (null if no @realtime tag) */
484
+ realtime?: MetaRealtime | null;
485
+ relations: MetaRelations;
486
+ schemaName: string;
487
+ /** Search metadata (null if no search configured) */
488
+ search?: MetaSearch | null;
489
+ /** Storage metadata (null if not a storage table) */
490
+ storage?: MetaStorage | null;
491
+ uniqueConstraints: MetaUniqueConstraint[];
470
492
  }
471
- /** A `GetAllRecord` edge in the connection. */
472
- export interface GetAllEdge {
493
+ /** A `Commit` edge in the connection. */
494
+ export interface CommitEdge {
473
495
  cursor?: string | null;
474
- /** The `GetAllRecord` at the end of the edge. */
475
- node?: GetAllRecord | null;
496
+ /** The `Commit` at the end of the edge. */
497
+ node?: Commit | null;
476
498
  }
477
499
  /** Information about pagination in a connection. */
478
500
  export interface PageInfo {
501
+ /** When paginating forwards, the cursor to continue. */
502
+ endCursor?: string | null;
479
503
  /** When paginating forwards, are there more items? */
480
504
  hasNextPage: boolean;
481
505
  /** When paginating backwards, are there more items? */
482
506
  hasPreviousPage: boolean;
483
507
  /** When paginating backwards, the cursor to continue. */
484
508
  startCursor?: string | null;
485
- /** When paginating forwards, the cursor to continue. */
486
- endCursor?: string | null;
509
+ }
510
+ /** A `GetAllRecord` edge in the connection. */
511
+ export interface GetAllEdge {
512
+ cursor?: string | null;
513
+ /** The `GetAllRecord` at the end of the edge. */
514
+ node?: GetAllRecord | null;
515
+ }
516
+ /** A `Object` edge in the connection. */
517
+ export interface ObjectEdge {
518
+ cursor?: string | null;
519
+ /** The `Object` at the end of the edge. */
520
+ node?: Object | null;
487
521
  }
488
522
  /** A `Ref` edge in the connection. */
489
523
  export interface RefEdge {
@@ -497,122 +531,88 @@ export interface StoreEdge {
497
531
  /** The `Store` at the end of the edge. */
498
532
  node?: Store | null;
499
533
  }
500
- /** A `Object` edge in the connection. */
501
- export interface ObjectEdge {
502
- cursor?: string | null;
503
- /** The `Object` at the end of the edge. */
504
- node?: Object | null;
505
- }
506
- /** A `Commit` edge in the connection. */
507
- export interface CommitEdge {
508
- cursor?: string | null;
509
- /** The `Commit` at the end of the edge. */
510
- node?: Commit | null;
511
- }
512
- /** Information about a database table */
513
- export interface MetaTable {
514
- name: string;
515
- schemaName: string;
516
- fields: MetaField[];
517
- indexes: MetaIndex[];
518
- constraints: MetaConstraints;
519
- foreignKeyConstraints: MetaForeignKeyConstraint[];
520
- primaryKeyConstraints: MetaPrimaryKeyConstraint[];
521
- uniqueConstraints: MetaUniqueConstraint[];
522
- relations: MetaRelations;
523
- inflection: MetaInflection;
524
- query: MetaQuery;
525
- /** Storage metadata (null if not a storage table) */
526
- storage?: MetaStorage | null;
527
- /** Search metadata (null if no search configured) */
528
- search?: MetaSearch | null;
529
- /** i18n metadata (null if no @i18n tag) */
530
- i18n?: MetaI18n | null;
531
- /** Realtime metadata (null if no @realtime tag) */
532
- realtime?: MetaRealtime | null;
534
+ /** Table constraints */
535
+ export interface MetaConstraints {
536
+ foreignKey: MetaForeignKeyConstraint[];
537
+ primaryKey?: MetaPrimaryKeyConstraint | null;
538
+ unique: MetaUniqueConstraint[];
533
539
  }
534
540
  /** Information about a table field/column */
535
541
  export interface MetaField {
536
- name: string;
537
- type: MetaType;
538
- isNotNull: boolean;
539
- hasDefault: boolean;
540
- isPrimaryKey: boolean;
541
- isForeignKey: boolean;
542
542
  description?: string | null;
543
543
  /** Enum metadata if this field has an enum type */
544
544
  enumValues?: MetaEnum | null;
545
- }
546
- /** Information about a database index */
547
- export interface MetaIndex {
545
+ hasDefault: boolean;
546
+ isForeignKey: boolean;
547
+ isNotNull: boolean;
548
+ isPrimaryKey: boolean;
548
549
  name: string;
549
- isUnique: boolean;
550
- isPrimary: boolean;
551
- columns: string[];
552
- fields?: MetaField[] | null;
553
- }
554
- /** Table constraints */
555
- export interface MetaConstraints {
556
- primaryKey?: MetaPrimaryKeyConstraint | null;
557
- unique: MetaUniqueConstraint[];
558
- foreignKey: MetaForeignKeyConstraint[];
550
+ type: MetaType;
559
551
  }
560
552
  /** Information about a foreign key constraint */
561
553
  export interface MetaForeignKeyConstraint {
562
- name: string;
563
554
  fields: MetaField[];
564
- referencedTable: string;
565
- referencedFields: string[];
555
+ name: string;
566
556
  refFields?: MetaField[] | null;
567
557
  refTable?: MetaRefTable | null;
558
+ referencedFields: string[];
559
+ referencedTable: string;
568
560
  }
569
- /** Information about a primary key constraint */
570
- export interface MetaPrimaryKeyConstraint {
571
- name: string;
572
- fields: MetaField[];
561
+ /** i18n metadata for a table with @i18n tag */
562
+ export interface MetaI18n {
563
+ /** Fields that are translatable */
564
+ translatableFields: MetaI18nField[];
565
+ /** Name of the translation table */
566
+ translationTable: string;
573
567
  }
574
- /** Information about a unique constraint */
575
- export interface MetaUniqueConstraint {
568
+ /** Information about a database index */
569
+ export interface MetaIndex {
570
+ columns: string[];
571
+ fields?: MetaField[] | null;
572
+ isPrimary: boolean;
573
+ isUnique: boolean;
576
574
  name: string;
577
- fields: MetaField[];
578
- }
579
- /** Table relations */
580
- export interface MetaRelations {
581
- belongsTo: MetaBelongsToRelation[];
582
- has: MetaHasRelation[];
583
- hasOne: MetaHasRelation[];
584
- hasMany: MetaHasRelation[];
585
- manyToMany: MetaManyToManyRelation[];
586
575
  }
587
576
  /** Table inflection names */
588
577
  export interface MetaInflection {
589
- tableType: string;
590
578
  allRows: string;
579
+ conditionType: string;
591
580
  connection: string;
581
+ createInputType: string;
582
+ createPayloadType: string;
583
+ deletePayloadType: string;
592
584
  edge: string;
593
585
  filterType?: string | null;
594
586
  orderByType: string;
595
- conditionType: string;
596
587
  patchType?: string | null;
597
- createInputType: string;
598
- createPayloadType: string;
588
+ tableType: string;
599
589
  updatePayloadType?: string | null;
600
- deletePayloadType: string;
590
+ }
591
+ /** Information about a primary key constraint */
592
+ export interface MetaPrimaryKeyConstraint {
593
+ fields: MetaField[];
594
+ name: string;
601
595
  }
602
596
  /** Table query/mutation names */
603
597
  export interface MetaQuery {
604
598
  all: string;
605
- one?: string | null;
606
599
  create?: string | null;
607
- update?: string | null;
608
600
  delete?: string | null;
601
+ one?: string | null;
602
+ update?: string | null;
609
603
  }
610
- /** Storage metadata for a table */
611
- export interface MetaStorage {
612
- /** Whether this table is a storage files table */
613
- isFilesTable: boolean;
614
- /** Whether this table is a storage buckets table */
615
- isBucketsTable: boolean;
604
+ /** Realtime metadata for a table with @realtime tag */
605
+ export interface MetaRealtime {
606
+ /** The generated subscription field name (e.g. onPostChanged) */
607
+ subscriptionFieldName: string;
608
+ }
609
+ /** Table relations */
610
+ export interface MetaRelations {
611
+ belongsTo: MetaBelongsToRelation[];
612
+ has: MetaHasRelation[];
613
+ hasMany: MetaHasRelation[];
614
+ hasOne: MetaHasRelation[];
615
+ manyToMany: MetaManyToManyRelation[];
616
616
  }
617
617
  /** Search metadata for a table */
618
618
  export interface MetaSearch {
@@ -620,31 +620,22 @@ export interface MetaSearch {
620
620
  algorithms: string[];
621
621
  /** Searchable columns with their algorithm */
622
622
  columns: MetaSearchColumn[];
623
- /** Whether unifiedSearch composite filter is available */
624
- hasUnifiedSearch: boolean;
625
623
  /** Per-table search configuration */
626
624
  config?: MetaSearchConfig | null;
625
+ /** Whether unifiedSearch composite filter is available */
626
+ hasUnifiedSearch: boolean;
627
627
  }
628
- /** i18n metadata for a table with @i18n tag */
629
- export interface MetaI18n {
630
- /** Name of the translation table */
631
- translationTable: string;
632
- /** Fields that are translatable */
633
- translatableFields: MetaI18nField[];
634
- }
635
- /** Realtime metadata for a table with @realtime tag */
636
- export interface MetaRealtime {
637
- /** The generated subscription field name (e.g. onPostChanged) */
638
- subscriptionFieldName: string;
628
+ /** Storage metadata for a table */
629
+ export interface MetaStorage {
630
+ /** Whether this table is a storage buckets table */
631
+ isBucketsTable: boolean;
632
+ /** Whether this table is a storage files table */
633
+ isFilesTable: boolean;
639
634
  }
640
- /** Information about a PostgreSQL type */
641
- export interface MetaType {
642
- pgType: string;
643
- gqlType: string;
644
- isArray: boolean;
645
- isNotNull?: boolean | null;
646
- hasDefault?: boolean | null;
647
- subtype?: string | null;
635
+ /** Information about a unique constraint */
636
+ export interface MetaUniqueConstraint {
637
+ fields: MetaField[];
638
+ name: string;
648
639
  }
649
640
  /** Information about a PostgreSQL enum type */
650
641
  export interface MetaEnum {
@@ -653,61 +644,70 @@ export interface MetaEnum {
653
644
  /** Allowed values for this enum */
654
645
  values: string[];
655
646
  }
647
+ /** Information about a PostgreSQL type */
648
+ export interface MetaType {
649
+ gqlType: string;
650
+ hasDefault?: boolean | null;
651
+ isArray: boolean;
652
+ isNotNull?: boolean | null;
653
+ pgType: string;
654
+ subtype?: string | null;
655
+ }
656
656
  /** Reference to a related table */
657
657
  export interface MetaRefTable {
658
658
  name: string;
659
659
  }
660
+ /** A translatable field */
661
+ export interface MetaI18nField {
662
+ /** GraphQL field name */
663
+ name: string;
664
+ /** PostgreSQL column type (text, citext) */
665
+ type: string;
666
+ }
660
667
  /** A belongs-to (forward FK) relation */
661
668
  export interface MetaBelongsToRelation {
662
669
  fieldName?: string | null;
663
670
  isUnique: boolean;
664
- type?: string | null;
665
671
  keys: MetaField[];
666
672
  references: MetaRefTable;
673
+ type?: string | null;
667
674
  }
668
675
  /** A has-one or has-many (reverse FK) relation */
669
676
  export interface MetaHasRelation {
670
677
  fieldName?: string | null;
671
678
  isUnique: boolean;
672
- type?: string | null;
673
679
  keys: MetaField[];
674
680
  referencedBy: MetaRefTable;
681
+ type?: string | null;
675
682
  }
676
683
  /** A many-to-many relation via junction table */
677
684
  export interface MetaManyToManyRelation {
678
685
  fieldName?: string | null;
679
- type?: string | null;
680
- junctionTable: MetaRefTable;
681
686
  junctionLeftConstraint: MetaForeignKeyConstraint;
682
687
  junctionLeftKeyAttributes: MetaField[];
683
688
  junctionRightConstraint: MetaForeignKeyConstraint;
684
689
  junctionRightKeyAttributes: MetaField[];
690
+ junctionTable: MetaRefTable;
685
691
  leftKeyAttributes: MetaField[];
686
692
  rightKeyAttributes: MetaField[];
687
693
  rightTable: MetaRefTable;
694
+ type?: string | null;
688
695
  }
689
696
  /** A searchable column with its algorithm */
690
697
  export interface MetaSearchColumn {
691
- /** Column name (camelCase) */
692
- name: string;
693
698
  /** Search algorithm: tsvector, bm25, trgm, or vector */
694
699
  algorithm: string;
700
+ /** Column name (camelCase) */
701
+ name: string;
695
702
  }
696
703
  /** Per-table search configuration from @searchConfig smart tag */
697
704
  export interface MetaSearchConfig {
698
- /** JSON-encoded per-adapter score weights */
699
- weights?: string | null;
700
- /** Whether recency boosting is enabled */
701
- boostRecent: boolean;
702
- /** Field used for recency decay */
703
- boostRecencyField?: string | null;
704
705
  /** Exponential decay factor per day */
705
706
  boostRecencyDecay?: number | null;
706
- }
707
- /** A translatable field */
708
- export interface MetaI18nField {
709
- /** GraphQL field name */
710
- name: string;
711
- /** PostgreSQL column type (text, citext) */
712
- type: string;
707
+ /** Field used for recency decay */
708
+ boostRecencyField?: string | null;
709
+ /** Whether recency boosting is enabled */
710
+ boostRecent: boolean;
711
+ /** JSON-encoded per-adapter score weights */
712
+ weights?: string | null;
713
713
  }