@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
@@ -3,71 +3,71 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export interface PlatformConfig {
6
+ export interface Config {
7
+ annotations: unknown | null;
8
+ createdAt: string | null;
9
+ databaseId: string | null;
10
+ description: string | null;
11
+ expiresAt: string | null;
7
12
  id: string | null;
8
- namespaceId: string | null;
13
+ labels: unknown | null;
9
14
  name: string | null;
15
+ namespaceId: string | null;
10
16
  provider: string | null;
17
+ updatedAt: string | null;
11
18
  value: string | null;
12
- labels: unknown | null;
19
+ }
20
+ export interface PlatformConfig {
13
21
  annotations: unknown | null;
14
- description: string | null;
15
22
  createdAt: string | null;
16
- updatedAt: string | null;
23
+ description: string | null;
17
24
  expiresAt: string | null;
18
- }
19
- export interface Config {
20
25
  id: string | null;
21
- namespaceId: string | null;
22
- databaseId: string | null;
26
+ labels: unknown | null;
23
27
  name: string | null;
28
+ namespaceId: string | null;
24
29
  provider: string | null;
25
- value: string | null;
26
- labels: unknown | null;
27
- annotations: unknown | null;
28
- description: string | null;
29
- createdAt: string | null;
30
30
  updatedAt: string | null;
31
- expiresAt: string | null;
31
+ value: string | null;
32
32
  }
33
33
  export interface PlatformInternalSecret {
34
+ annotations: unknown | null;
35
+ createdAt: string | null;
36
+ description: string | null;
34
37
  id: string | null;
38
+ labels: unknown | null;
35
39
  name: string | null;
36
40
  namespaceId: string | null;
37
- description: string | null;
38
- labels: unknown | null;
39
- annotations: unknown | null;
40
- createdAt: string | null;
41
- updatedAt: string | null;
42
- rotatedAt: string | null;
43
41
  retiredAt: string | null;
42
+ rotatedAt: string | null;
43
+ updatedAt: string | null;
44
44
  }
45
45
  export interface PlatformSecret {
46
+ annotations: unknown | null;
47
+ createdAt: string | null;
48
+ description: string | null;
46
49
  id: string | null;
50
+ labels: unknown | null;
47
51
  name: string | null;
48
- provider: string | null;
49
52
  namespaceId: string | null;
50
- description: string | null;
51
- labels: unknown | null;
52
- annotations: unknown | null;
53
- createdAt: string | null;
54
- updatedAt: string | null;
55
- rotatedAt: string | null;
53
+ provider: string | null;
56
54
  retiredAt: string | null;
55
+ rotatedAt: string | null;
56
+ updatedAt: string | null;
57
57
  }
58
58
  export interface Secret {
59
+ annotations: unknown | null;
60
+ createdAt: string | null;
59
61
  databaseId: string | null;
62
+ description: string | null;
60
63
  id: string | null;
64
+ labels: unknown | null;
61
65
  name: string | null;
62
- provider: string | null;
63
66
  namespaceId: string | null;
64
- description: string | null;
65
- labels: unknown | null;
66
- annotations: unknown | null;
67
- createdAt: string | null;
68
- updatedAt: string | null;
69
- rotatedAt: string | null;
67
+ provider: string | null;
70
68
  retiredAt: string | null;
69
+ rotatedAt: string | null;
70
+ updatedAt: string | null;
71
71
  }
72
72
  export interface StringFilter {
73
73
  isNull?: boolean;
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: InfraGetAllRecord, InfraRef, InfraStore, InfraObject, InfraCommit, DbPreset, PlatformNamespace, Namespace, PlatformNamespaceEvent, NamespaceEvent
5
+ * Tables: DbPreset, InfraCommit, InfraGetAllRecord, InfraObject, InfraRef, InfraStore, Namespace, NamespaceEvent, PlatformNamespace, PlatformNamespaceEvent
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: InfraGetAllRecord, InfraRef, InfraStore, InfraObject, InfraCommit, DbPreset, PlatformNamespace, Namespace, PlatformNamespaceEvent, NamespaceEvent
5
+ * Tables: DbPreset, InfraCommit, InfraGetAllRecord, InfraObject, InfraRef, InfraStore, Namespace, NamespaceEvent, PlatformNamespace, PlatformNamespaceEvent
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -24,11 +24,26 @@ import type { QueryClient } from '@tanstack/react-query';
24
24
  * ```
25
25
  */
26
26
  export declare const invalidate: {
27
+ /** Invalidate dbPreset queries */ readonly dbPreset: {
28
+ /** Invalidate all dbPreset queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
+ /** Invalidate dbPreset list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
+ /** Invalidate a specific dbPreset */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
31
+ };
32
+ /** Invalidate infraCommit queries */ readonly infraCommit: {
33
+ /** Invalidate all infraCommit queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
+ /** Invalidate infraCommit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
35
+ /** Invalidate a specific infraCommit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
36
+ };
27
37
  /** Invalidate infraGetAllRecord queries */ readonly infraGetAllRecord: {
28
38
  /** Invalidate all infraGetAllRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
39
  /** Invalidate infraGetAllRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
40
  /** Invalidate a specific infraGetAllRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
31
41
  };
42
+ /** Invalidate infraObject queries */ readonly infraObject: {
43
+ /** Invalidate all infraObject queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
44
+ /** Invalidate infraObject list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
45
+ /** Invalidate a specific infraObject */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
46
+ };
32
47
  /** Invalidate infraRef queries */ readonly infraRef: {
33
48
  /** Invalidate all infraRef queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
49
  /** Invalidate infraRef list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -39,41 +54,26 @@ export declare const invalidate: {
39
54
  /** Invalidate infraStore list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
40
55
  /** Invalidate a specific infraStore */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
41
56
  };
42
- /** Invalidate infraObject queries */ readonly infraObject: {
43
- /** Invalidate all infraObject queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
44
- /** Invalidate infraObject list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
45
- /** Invalidate a specific infraObject */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
46
- };
47
- /** Invalidate infraCommit queries */ readonly infraCommit: {
48
- /** Invalidate all infraCommit queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
49
- /** Invalidate infraCommit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
50
- /** Invalidate a specific infraCommit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
57
+ /** Invalidate namespace queries */ readonly namespace: {
58
+ /** Invalidate all namespace queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
59
+ /** Invalidate namespace list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
60
+ /** Invalidate a specific namespace */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
51
61
  };
52
- /** Invalidate dbPreset queries */ readonly dbPreset: {
53
- /** Invalidate all dbPreset queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
54
- /** Invalidate dbPreset list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
55
- /** Invalidate a specific dbPreset */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
62
+ /** Invalidate namespaceEvent queries */ readonly namespaceEvent: {
63
+ /** Invalidate all namespaceEvent queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
64
+ /** Invalidate namespaceEvent list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
65
+ /** Invalidate a specific namespaceEvent */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
56
66
  };
57
67
  /** Invalidate platformNamespace queries */ readonly platformNamespace: {
58
68
  /** Invalidate all platformNamespace queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
59
69
  /** Invalidate platformNamespace list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
60
70
  /** Invalidate a specific platformNamespace */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
61
71
  };
62
- /** Invalidate namespace queries */ readonly namespace: {
63
- /** Invalidate all namespace queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
64
- /** Invalidate namespace list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
65
- /** Invalidate a specific namespace */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
66
- };
67
72
  /** Invalidate platformNamespaceEvent queries */ readonly platformNamespaceEvent: {
68
73
  /** Invalidate all platformNamespaceEvent queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
69
74
  /** Invalidate platformNamespaceEvent list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
70
75
  /** Invalidate a specific platformNamespaceEvent */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
71
76
  };
72
- /** Invalidate namespaceEvent queries */ readonly namespaceEvent: {
73
- /** Invalidate all namespaceEvent queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
74
- /** Invalidate namespaceEvent list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
75
- /** Invalidate a specific namespaceEvent */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
76
- };
77
77
  };
78
78
  /**
79
79
 
@@ -87,14 +87,14 @@ export declare const invalidate: {
87
87
  * instead of just invalidating (which would trigger a refetch).
88
88
  */
89
89
  export declare const remove: {
90
+ /** Remove dbPreset from cache */ readonly dbPreset: (queryClient: QueryClient, id: string | number) => void;
91
+ /** Remove infraCommit from cache */ readonly infraCommit: (queryClient: QueryClient, id: string | number) => void;
90
92
  /** Remove infraGetAllRecord from cache */ readonly infraGetAllRecord: (queryClient: QueryClient, id: string | number) => void;
93
+ /** Remove infraObject from cache */ readonly infraObject: (queryClient: QueryClient, id: string | number) => void;
91
94
  /** Remove infraRef from cache */ readonly infraRef: (queryClient: QueryClient, id: string | number) => void;
92
95
  /** Remove infraStore from cache */ readonly infraStore: (queryClient: QueryClient, id: string | number) => void;
93
- /** Remove infraObject from cache */ readonly infraObject: (queryClient: QueryClient, id: string | number) => void;
94
- /** Remove infraCommit from cache */ readonly infraCommit: (queryClient: QueryClient, id: string | number) => void;
95
- /** Remove dbPreset from cache */ readonly dbPreset: (queryClient: QueryClient, id: string | number) => void;
96
- /** Remove platformNamespace from cache */ readonly platformNamespace: (queryClient: QueryClient, id: string | number) => void;
97
96
  /** Remove namespace from cache */ readonly namespace: (queryClient: QueryClient, id: string | number) => void;
98
- /** Remove platformNamespaceEvent from cache */ readonly platformNamespaceEvent: (queryClient: QueryClient, id: string | number) => void;
99
97
  /** Remove namespaceEvent from cache */ readonly namespaceEvent: (queryClient: QueryClient, id: string | number) => void;
98
+ /** Remove platformNamespace from cache */ readonly platformNamespace: (queryClient: QueryClient, id: string | number) => void;
99
+ /** Remove platformNamespaceEvent from cache */ readonly platformNamespaceEvent: (queryClient: QueryClient, id: string | number) => void;
100
100
  };
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import { infraGetAllRecordKeys, infraRefKeys, infraStoreKeys, infraObjectKeys, infraCommitKeys, dbPresetKeys, platformNamespaceKeys, namespaceKeys, platformNamespaceEventKeys, namespaceEventKeys, } from './query-keys';
6
+ import { dbPresetKeys, infraCommitKeys, infraGetAllRecordKeys, infraObjectKeys, infraRefKeys, infraStoreKeys, namespaceKeys, namespaceEventKeys, platformNamespaceKeys, platformNamespaceEventKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -24,6 +24,28 @@ import { infraGetAllRecordKeys, infraRefKeys, infraStoreKeys, infraObjectKeys, i
24
24
  * ```
25
25
  */
26
26
  export const invalidate = {
27
+ /** Invalidate dbPreset queries */ dbPreset: {
28
+ /** Invalidate all dbPreset queries */ all: (queryClient) => queryClient.invalidateQueries({
29
+ queryKey: dbPresetKeys.all,
30
+ }),
31
+ /** Invalidate dbPreset list queries */ lists: (queryClient) => queryClient.invalidateQueries({
32
+ queryKey: dbPresetKeys.lists(),
33
+ }),
34
+ /** Invalidate a specific dbPreset */ detail: (queryClient, id) => queryClient.invalidateQueries({
35
+ queryKey: dbPresetKeys.detail(id),
36
+ }),
37
+ },
38
+ /** Invalidate infraCommit queries */ infraCommit: {
39
+ /** Invalidate all infraCommit queries */ all: (queryClient) => queryClient.invalidateQueries({
40
+ queryKey: infraCommitKeys.all,
41
+ }),
42
+ /** Invalidate infraCommit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
43
+ queryKey: infraCommitKeys.lists(),
44
+ }),
45
+ /** Invalidate a specific infraCommit */ detail: (queryClient, id) => queryClient.invalidateQueries({
46
+ queryKey: infraCommitKeys.detail(id),
47
+ }),
48
+ },
27
49
  /** Invalidate infraGetAllRecord queries */ infraGetAllRecord: {
28
50
  /** Invalidate all infraGetAllRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
29
51
  queryKey: infraGetAllRecordKeys.all,
@@ -35,6 +57,17 @@ export const invalidate = {
35
57
  queryKey: infraGetAllRecordKeys.detail(id),
36
58
  }),
37
59
  },
60
+ /** Invalidate infraObject queries */ infraObject: {
61
+ /** Invalidate all infraObject queries */ all: (queryClient) => queryClient.invalidateQueries({
62
+ queryKey: infraObjectKeys.all,
63
+ }),
64
+ /** Invalidate infraObject list queries */ lists: (queryClient) => queryClient.invalidateQueries({
65
+ queryKey: infraObjectKeys.lists(),
66
+ }),
67
+ /** Invalidate a specific infraObject */ detail: (queryClient, id) => queryClient.invalidateQueries({
68
+ queryKey: infraObjectKeys.detail(id),
69
+ }),
70
+ },
38
71
  /** Invalidate infraRef queries */ infraRef: {
39
72
  /** Invalidate all infraRef queries */ all: (queryClient) => queryClient.invalidateQueries({
40
73
  queryKey: infraRefKeys.all,
@@ -57,37 +90,26 @@ export const invalidate = {
57
90
  queryKey: infraStoreKeys.detail(id),
58
91
  }),
59
92
  },
60
- /** Invalidate infraObject queries */ infraObject: {
61
- /** Invalidate all infraObject queries */ all: (queryClient) => queryClient.invalidateQueries({
62
- queryKey: infraObjectKeys.all,
63
- }),
64
- /** Invalidate infraObject list queries */ lists: (queryClient) => queryClient.invalidateQueries({
65
- queryKey: infraObjectKeys.lists(),
66
- }),
67
- /** Invalidate a specific infraObject */ detail: (queryClient, id) => queryClient.invalidateQueries({
68
- queryKey: infraObjectKeys.detail(id),
69
- }),
70
- },
71
- /** Invalidate infraCommit queries */ infraCommit: {
72
- /** Invalidate all infraCommit queries */ all: (queryClient) => queryClient.invalidateQueries({
73
- queryKey: infraCommitKeys.all,
93
+ /** Invalidate namespace queries */ namespace: {
94
+ /** Invalidate all namespace queries */ all: (queryClient) => queryClient.invalidateQueries({
95
+ queryKey: namespaceKeys.all,
74
96
  }),
75
- /** Invalidate infraCommit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
76
- queryKey: infraCommitKeys.lists(),
97
+ /** Invalidate namespace list queries */ lists: (queryClient) => queryClient.invalidateQueries({
98
+ queryKey: namespaceKeys.lists(),
77
99
  }),
78
- /** Invalidate a specific infraCommit */ detail: (queryClient, id) => queryClient.invalidateQueries({
79
- queryKey: infraCommitKeys.detail(id),
100
+ /** Invalidate a specific namespace */ detail: (queryClient, id) => queryClient.invalidateQueries({
101
+ queryKey: namespaceKeys.detail(id),
80
102
  }),
81
103
  },
82
- /** Invalidate dbPreset queries */ dbPreset: {
83
- /** Invalidate all dbPreset queries */ all: (queryClient) => queryClient.invalidateQueries({
84
- queryKey: dbPresetKeys.all,
104
+ /** Invalidate namespaceEvent queries */ namespaceEvent: {
105
+ /** Invalidate all namespaceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
106
+ queryKey: namespaceEventKeys.all,
85
107
  }),
86
- /** Invalidate dbPreset list queries */ lists: (queryClient) => queryClient.invalidateQueries({
87
- queryKey: dbPresetKeys.lists(),
108
+ /** Invalidate namespaceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
109
+ queryKey: namespaceEventKeys.lists(),
88
110
  }),
89
- /** Invalidate a specific dbPreset */ detail: (queryClient, id) => queryClient.invalidateQueries({
90
- queryKey: dbPresetKeys.detail(id),
111
+ /** Invalidate a specific namespaceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
112
+ queryKey: namespaceEventKeys.detail(id),
91
113
  }),
92
114
  },
93
115
  /** Invalidate platformNamespace queries */ platformNamespace: {
@@ -101,17 +123,6 @@ export const invalidate = {
101
123
  queryKey: platformNamespaceKeys.detail(id),
102
124
  }),
103
125
  },
104
- /** Invalidate namespace queries */ namespace: {
105
- /** Invalidate all namespace queries */ all: (queryClient) => queryClient.invalidateQueries({
106
- queryKey: namespaceKeys.all,
107
- }),
108
- /** Invalidate namespace list queries */ lists: (queryClient) => queryClient.invalidateQueries({
109
- queryKey: namespaceKeys.lists(),
110
- }),
111
- /** Invalidate a specific namespace */ detail: (queryClient, id) => queryClient.invalidateQueries({
112
- queryKey: namespaceKeys.detail(id),
113
- }),
114
- },
115
126
  /** Invalidate platformNamespaceEvent queries */ platformNamespaceEvent: {
116
127
  /** Invalidate all platformNamespaceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
117
128
  queryKey: platformNamespaceEventKeys.all,
@@ -123,17 +134,6 @@ export const invalidate = {
123
134
  queryKey: platformNamespaceEventKeys.detail(id),
124
135
  }),
125
136
  },
126
- /** Invalidate namespaceEvent queries */ namespaceEvent: {
127
- /** Invalidate all namespaceEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
128
- queryKey: namespaceEventKeys.all,
129
- }),
130
- /** Invalidate namespaceEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
131
- queryKey: namespaceEventKeys.lists(),
132
- }),
133
- /** Invalidate a specific namespaceEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
134
- queryKey: namespaceEventKeys.detail(id),
135
- }),
136
- },
137
137
  };
138
138
  /**
139
139
 
@@ -147,19 +147,19 @@ export const invalidate = {
147
147
  * instead of just invalidating (which would trigger a refetch).
148
148
  */
149
149
  export const remove = {
150
- /** Remove infraGetAllRecord from cache */ infraGetAllRecord: (queryClient, id) => {
150
+ /** Remove dbPreset from cache */ dbPreset: (queryClient, id) => {
151
151
  queryClient.removeQueries({
152
- queryKey: infraGetAllRecordKeys.detail(id),
152
+ queryKey: dbPresetKeys.detail(id),
153
153
  });
154
154
  },
155
- /** Remove infraRef from cache */ infraRef: (queryClient, id) => {
155
+ /** Remove infraCommit from cache */ infraCommit: (queryClient, id) => {
156
156
  queryClient.removeQueries({
157
- queryKey: infraRefKeys.detail(id),
157
+ queryKey: infraCommitKeys.detail(id),
158
158
  });
159
159
  },
160
- /** Remove infraStore from cache */ infraStore: (queryClient, id) => {
160
+ /** Remove infraGetAllRecord from cache */ infraGetAllRecord: (queryClient, id) => {
161
161
  queryClient.removeQueries({
162
- queryKey: infraStoreKeys.detail(id),
162
+ queryKey: infraGetAllRecordKeys.detail(id),
163
163
  });
164
164
  },
165
165
  /** Remove infraObject from cache */ infraObject: (queryClient, id) => {
@@ -167,34 +167,34 @@ export const remove = {
167
167
  queryKey: infraObjectKeys.detail(id),
168
168
  });
169
169
  },
170
- /** Remove infraCommit from cache */ infraCommit: (queryClient, id) => {
170
+ /** Remove infraRef from cache */ infraRef: (queryClient, id) => {
171
171
  queryClient.removeQueries({
172
- queryKey: infraCommitKeys.detail(id),
172
+ queryKey: infraRefKeys.detail(id),
173
173
  });
174
174
  },
175
- /** Remove dbPreset from cache */ dbPreset: (queryClient, id) => {
175
+ /** Remove infraStore from cache */ infraStore: (queryClient, id) => {
176
176
  queryClient.removeQueries({
177
- queryKey: dbPresetKeys.detail(id),
177
+ queryKey: infraStoreKeys.detail(id),
178
178
  });
179
179
  },
180
- /** Remove platformNamespace from cache */ platformNamespace: (queryClient, id) => {
180
+ /** Remove namespace from cache */ namespace: (queryClient, id) => {
181
181
  queryClient.removeQueries({
182
- queryKey: platformNamespaceKeys.detail(id),
182
+ queryKey: namespaceKeys.detail(id),
183
183
  });
184
184
  },
185
- /** Remove namespace from cache */ namespace: (queryClient, id) => {
185
+ /** Remove namespaceEvent from cache */ namespaceEvent: (queryClient, id) => {
186
186
  queryClient.removeQueries({
187
- queryKey: namespaceKeys.detail(id),
187
+ queryKey: namespaceEventKeys.detail(id),
188
188
  });
189
189
  },
190
- /** Remove platformNamespaceEvent from cache */ platformNamespaceEvent: (queryClient, id) => {
190
+ /** Remove platformNamespace from cache */ platformNamespace: (queryClient, id) => {
191
191
  queryClient.removeQueries({
192
- queryKey: platformNamespaceEventKeys.detail(id),
192
+ queryKey: platformNamespaceKeys.detail(id),
193
193
  });
194
194
  },
195
- /** Remove namespaceEvent from cache */ namespaceEvent: (queryClient, id) => {
195
+ /** Remove platformNamespaceEvent from cache */ platformNamespaceEvent: (queryClient, id) => {
196
196
  queryClient.removeQueries({
197
- queryKey: namespaceEventKeys.detail(id),
197
+ queryKey: platformNamespaceEventKeys.detail(id),
198
198
  });
199
199
  },
200
200
  };