@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
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: Principal, PrincipalEntity, PrincipalScopeOverride, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AuditLogAuth, IdentityProvider, RoleType, UserConnectedAccount, OrgApiKeyList, User
5
+ * Tables: AuditLogAuth, CryptoAddress, Email, IdentityProvider, OrgApiKeyList, PhoneNumber, Principal, PrincipalEntity, PrincipalScopeOverride, RoleType, UserConnectedAccount, User, WebauthnCredential
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: Principal, PrincipalEntity, PrincipalScopeOverride, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AuditLogAuth, IdentityProvider, RoleType, UserConnectedAccount, OrgApiKeyList, User
5
+ * Tables: AuditLogAuth, CryptoAddress, Email, IdentityProvider, OrgApiKeyList, PhoneNumber, Principal, PrincipalEntity, PrincipalScopeOverride, RoleType, UserConnectedAccount, User, WebauthnCredential
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -24,50 +24,50 @@ import type { QueryClient } from '@tanstack/react-query';
24
24
  * ```
25
25
  */
26
26
  export declare const invalidate: {
27
- /** Invalidate principal queries */ readonly principal: {
28
- /** Invalidate all principal queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
- /** Invalidate principal list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
- /** Invalidate a specific principal */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
31
- };
32
- /** Invalidate principalEntity queries */ readonly principalEntity: {
33
- /** Invalidate all principalEntity queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
- /** Invalidate principalEntity list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
35
- /** Invalidate a specific principalEntity */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
27
+ /** Invalidate auditLogAuth queries */ readonly auditLogAuth: {
28
+ /** Invalidate all auditLogAuth queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
+ /** Invalidate auditLogAuth list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
+ /** Invalidate a specific auditLogAuth */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
36
31
  };
37
- /** Invalidate principalScopeOverride queries */ readonly principalScopeOverride: {
38
- /** Invalidate all principalScopeOverride queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
39
- /** Invalidate principalScopeOverride list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
40
- /** Invalidate a specific principalScopeOverride */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
32
+ /** Invalidate cryptoAddress queries */ readonly cryptoAddress: {
33
+ /** Invalidate all cryptoAddress queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
+ /** Invalidate cryptoAddress list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
35
+ /** Invalidate a specific cryptoAddress */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
41
36
  };
42
37
  /** Invalidate email queries */ readonly email: {
43
38
  /** Invalidate all email queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
44
39
  /** Invalidate email list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
45
40
  /** Invalidate a specific email */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
46
41
  };
42
+ /** Invalidate identityProvider queries */ readonly identityProvider: {
43
+ /** Invalidate all identityProvider queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
44
+ /** Invalidate identityProvider list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
45
+ /** Invalidate a specific identityProvider */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
46
+ };
47
+ /** Invalidate orgApiKeyList queries */ readonly orgApiKeyList: {
48
+ /** Invalidate all orgApiKeyList queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
49
+ /** Invalidate orgApiKeyList list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
50
+ /** Invalidate a specific orgApiKeyList */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
51
+ };
47
52
  /** Invalidate phoneNumber queries */ readonly phoneNumber: {
48
53
  /** Invalidate all phoneNumber queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
49
54
  /** Invalidate phoneNumber list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
50
55
  /** Invalidate a specific phoneNumber */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
51
56
  };
52
- /** Invalidate cryptoAddress queries */ readonly cryptoAddress: {
53
- /** Invalidate all cryptoAddress queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
54
- /** Invalidate cryptoAddress list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
55
- /** Invalidate a specific cryptoAddress */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
56
- };
57
- /** Invalidate webauthnCredential queries */ readonly webauthnCredential: {
58
- /** Invalidate all webauthnCredential queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
59
- /** Invalidate webauthnCredential list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
60
- /** Invalidate a specific webauthnCredential */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
57
+ /** Invalidate principal queries */ readonly principal: {
58
+ /** Invalidate all principal queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
59
+ /** Invalidate principal list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
60
+ /** Invalidate a specific principal */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
61
61
  };
62
- /** Invalidate auditLogAuth queries */ readonly auditLogAuth: {
63
- /** Invalidate all auditLogAuth queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
64
- /** Invalidate auditLogAuth list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
65
- /** Invalidate a specific auditLogAuth */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
62
+ /** Invalidate principalEntity queries */ readonly principalEntity: {
63
+ /** Invalidate all principalEntity queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
64
+ /** Invalidate principalEntity list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
65
+ /** Invalidate a specific principalEntity */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
66
66
  };
67
- /** Invalidate identityProvider queries */ readonly identityProvider: {
68
- /** Invalidate all identityProvider queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
69
- /** Invalidate identityProvider list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
70
- /** Invalidate a specific identityProvider */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
67
+ /** Invalidate principalScopeOverride queries */ readonly principalScopeOverride: {
68
+ /** Invalidate all principalScopeOverride queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
69
+ /** Invalidate principalScopeOverride list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
70
+ /** Invalidate a specific principalScopeOverride */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
71
71
  };
72
72
  /** Invalidate roleType queries */ readonly roleType: {
73
73
  /** Invalidate all roleType queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
@@ -79,16 +79,16 @@ export declare const invalidate: {
79
79
  /** Invalidate userConnectedAccount list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
80
80
  /** Invalidate a specific userConnectedAccount */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
81
81
  };
82
- /** Invalidate orgApiKeyList queries */ readonly orgApiKeyList: {
83
- /** Invalidate all orgApiKeyList queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
84
- /** Invalidate orgApiKeyList list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
85
- /** Invalidate a specific orgApiKeyList */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
86
- };
87
82
  /** Invalidate user queries */ readonly user: {
88
83
  /** Invalidate all user queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
89
84
  /** Invalidate user list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
90
85
  /** Invalidate a specific user */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
91
86
  };
87
+ /** Invalidate webauthnCredential queries */ readonly webauthnCredential: {
88
+ /** Invalidate all webauthnCredential queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
89
+ /** Invalidate webauthnCredential list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
90
+ /** Invalidate a specific webauthnCredential */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
91
+ };
92
92
  };
93
93
  /**
94
94
 
@@ -102,17 +102,17 @@ export declare const invalidate: {
102
102
  * instead of just invalidating (which would trigger a refetch).
103
103
  */
104
104
  export declare const remove: {
105
+ /** Remove auditLogAuth from cache */ readonly auditLogAuth: (queryClient: QueryClient, id: string | number) => void;
106
+ /** Remove cryptoAddress from cache */ readonly cryptoAddress: (queryClient: QueryClient, id: string | number) => void;
107
+ /** Remove email from cache */ readonly email: (queryClient: QueryClient, id: string | number) => void;
108
+ /** Remove identityProvider from cache */ readonly identityProvider: (queryClient: QueryClient, id: string | number) => void;
109
+ /** Remove orgApiKeyList from cache */ readonly orgApiKeyList: (queryClient: QueryClient, id: string | number) => void;
110
+ /** Remove phoneNumber from cache */ readonly phoneNumber: (queryClient: QueryClient, id: string | number) => void;
105
111
  /** Remove principal from cache */ readonly principal: (queryClient: QueryClient, id: string | number) => void;
106
112
  /** Remove principalEntity from cache */ readonly principalEntity: (queryClient: QueryClient, id: string | number) => void;
107
113
  /** Remove principalScopeOverride from cache */ readonly principalScopeOverride: (queryClient: QueryClient, id: string | number) => void;
108
- /** Remove email from cache */ readonly email: (queryClient: QueryClient, id: string | number) => void;
109
- /** Remove phoneNumber from cache */ readonly phoneNumber: (queryClient: QueryClient, id: string | number) => void;
110
- /** Remove cryptoAddress from cache */ readonly cryptoAddress: (queryClient: QueryClient, id: string | number) => void;
111
- /** Remove webauthnCredential from cache */ readonly webauthnCredential: (queryClient: QueryClient, id: string | number) => void;
112
- /** Remove auditLogAuth from cache */ readonly auditLogAuth: (queryClient: QueryClient, id: string | number) => void;
113
- /** Remove identityProvider from cache */ readonly identityProvider: (queryClient: QueryClient, id: string | number) => void;
114
114
  /** Remove roleType from cache */ readonly roleType: (queryClient: QueryClient, id: string | number) => void;
115
115
  /** Remove userConnectedAccount from cache */ readonly userConnectedAccount: (queryClient: QueryClient, id: string | number) => void;
116
- /** Remove orgApiKeyList from cache */ readonly orgApiKeyList: (queryClient: QueryClient, id: string | number) => void;
117
116
  /** Remove user from cache */ readonly user: (queryClient: QueryClient, id: string | number) => void;
117
+ /** Remove webauthnCredential from cache */ readonly webauthnCredential: (queryClient: QueryClient, id: string | number) => void;
118
118
  };
@@ -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 { principalKeys, principalEntityKeys, principalScopeOverrideKeys, emailKeys, phoneNumberKeys, cryptoAddressKeys, webauthnCredentialKeys, auditLogAuthKeys, identityProviderKeys, roleTypeKeys, userConnectedAccountKeys, orgApiKeyListKeys, userKeys, } from './query-keys';
6
+ import { auditLogAuthKeys, cryptoAddressKeys, emailKeys, identityProviderKeys, orgApiKeyListKeys, phoneNumberKeys, principalKeys, principalEntityKeys, principalScopeOverrideKeys, roleTypeKeys, userConnectedAccountKeys, userKeys, webauthnCredentialKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -24,37 +24,26 @@ import { principalKeys, principalEntityKeys, principalScopeOverrideKeys, emailKe
24
24
  * ```
25
25
  */
26
26
  export const invalidate = {
27
- /** Invalidate principal queries */ principal: {
28
- /** Invalidate all principal queries */ all: (queryClient) => queryClient.invalidateQueries({
29
- queryKey: principalKeys.all,
30
- }),
31
- /** Invalidate principal list queries */ lists: (queryClient) => queryClient.invalidateQueries({
32
- queryKey: principalKeys.lists(),
33
- }),
34
- /** Invalidate a specific principal */ detail: (queryClient, id) => queryClient.invalidateQueries({
35
- queryKey: principalKeys.detail(id),
36
- }),
37
- },
38
- /** Invalidate principalEntity queries */ principalEntity: {
39
- /** Invalidate all principalEntity queries */ all: (queryClient) => queryClient.invalidateQueries({
40
- queryKey: principalEntityKeys.all,
27
+ /** Invalidate auditLogAuth queries */ auditLogAuth: {
28
+ /** Invalidate all auditLogAuth queries */ all: (queryClient) => queryClient.invalidateQueries({
29
+ queryKey: auditLogAuthKeys.all,
41
30
  }),
42
- /** Invalidate principalEntity list queries */ lists: (queryClient) => queryClient.invalidateQueries({
43
- queryKey: principalEntityKeys.lists(),
31
+ /** Invalidate auditLogAuth list queries */ lists: (queryClient) => queryClient.invalidateQueries({
32
+ queryKey: auditLogAuthKeys.lists(),
44
33
  }),
45
- /** Invalidate a specific principalEntity */ detail: (queryClient, id) => queryClient.invalidateQueries({
46
- queryKey: principalEntityKeys.detail(id),
34
+ /** Invalidate a specific auditLogAuth */ detail: (queryClient, id) => queryClient.invalidateQueries({
35
+ queryKey: auditLogAuthKeys.detail(id),
47
36
  }),
48
37
  },
49
- /** Invalidate principalScopeOverride queries */ principalScopeOverride: {
50
- /** Invalidate all principalScopeOverride queries */ all: (queryClient) => queryClient.invalidateQueries({
51
- queryKey: principalScopeOverrideKeys.all,
38
+ /** Invalidate cryptoAddress queries */ cryptoAddress: {
39
+ /** Invalidate all cryptoAddress queries */ all: (queryClient) => queryClient.invalidateQueries({
40
+ queryKey: cryptoAddressKeys.all,
52
41
  }),
53
- /** Invalidate principalScopeOverride list queries */ lists: (queryClient) => queryClient.invalidateQueries({
54
- queryKey: principalScopeOverrideKeys.lists(),
42
+ /** Invalidate cryptoAddress list queries */ lists: (queryClient) => queryClient.invalidateQueries({
43
+ queryKey: cryptoAddressKeys.lists(),
55
44
  }),
56
- /** Invalidate a specific principalScopeOverride */ detail: (queryClient, id) => queryClient.invalidateQueries({
57
- queryKey: principalScopeOverrideKeys.detail(id),
45
+ /** Invalidate a specific cryptoAddress */ detail: (queryClient, id) => queryClient.invalidateQueries({
46
+ queryKey: cryptoAddressKeys.detail(id),
58
47
  }),
59
48
  },
60
49
  /** Invalidate email queries */ email: {
@@ -68,6 +57,28 @@ export const invalidate = {
68
57
  queryKey: emailKeys.detail(id),
69
58
  }),
70
59
  },
60
+ /** Invalidate identityProvider queries */ identityProvider: {
61
+ /** Invalidate all identityProvider queries */ all: (queryClient) => queryClient.invalidateQueries({
62
+ queryKey: identityProviderKeys.all,
63
+ }),
64
+ /** Invalidate identityProvider list queries */ lists: (queryClient) => queryClient.invalidateQueries({
65
+ queryKey: identityProviderKeys.lists(),
66
+ }),
67
+ /** Invalidate a specific identityProvider */ detail: (queryClient, id) => queryClient.invalidateQueries({
68
+ queryKey: identityProviderKeys.detail(id),
69
+ }),
70
+ },
71
+ /** Invalidate orgApiKeyList queries */ orgApiKeyList: {
72
+ /** Invalidate all orgApiKeyList queries */ all: (queryClient) => queryClient.invalidateQueries({
73
+ queryKey: orgApiKeyListKeys.all,
74
+ }),
75
+ /** Invalidate orgApiKeyList list queries */ lists: (queryClient) => queryClient.invalidateQueries({
76
+ queryKey: orgApiKeyListKeys.lists(),
77
+ }),
78
+ /** Invalidate a specific orgApiKeyList */ detail: (queryClient, id) => queryClient.invalidateQueries({
79
+ queryKey: orgApiKeyListKeys.detail(id),
80
+ }),
81
+ },
71
82
  /** Invalidate phoneNumber queries */ phoneNumber: {
72
83
  /** Invalidate all phoneNumber queries */ all: (queryClient) => queryClient.invalidateQueries({
73
84
  queryKey: phoneNumberKeys.all,
@@ -79,48 +90,37 @@ export const invalidate = {
79
90
  queryKey: phoneNumberKeys.detail(id),
80
91
  }),
81
92
  },
82
- /** Invalidate cryptoAddress queries */ cryptoAddress: {
83
- /** Invalidate all cryptoAddress queries */ all: (queryClient) => queryClient.invalidateQueries({
84
- queryKey: cryptoAddressKeys.all,
85
- }),
86
- /** Invalidate cryptoAddress list queries */ lists: (queryClient) => queryClient.invalidateQueries({
87
- queryKey: cryptoAddressKeys.lists(),
88
- }),
89
- /** Invalidate a specific cryptoAddress */ detail: (queryClient, id) => queryClient.invalidateQueries({
90
- queryKey: cryptoAddressKeys.detail(id),
91
- }),
92
- },
93
- /** Invalidate webauthnCredential queries */ webauthnCredential: {
94
- /** Invalidate all webauthnCredential queries */ all: (queryClient) => queryClient.invalidateQueries({
95
- queryKey: webauthnCredentialKeys.all,
93
+ /** Invalidate principal queries */ principal: {
94
+ /** Invalidate all principal queries */ all: (queryClient) => queryClient.invalidateQueries({
95
+ queryKey: principalKeys.all,
96
96
  }),
97
- /** Invalidate webauthnCredential list queries */ lists: (queryClient) => queryClient.invalidateQueries({
98
- queryKey: webauthnCredentialKeys.lists(),
97
+ /** Invalidate principal list queries */ lists: (queryClient) => queryClient.invalidateQueries({
98
+ queryKey: principalKeys.lists(),
99
99
  }),
100
- /** Invalidate a specific webauthnCredential */ detail: (queryClient, id) => queryClient.invalidateQueries({
101
- queryKey: webauthnCredentialKeys.detail(id),
100
+ /** Invalidate a specific principal */ detail: (queryClient, id) => queryClient.invalidateQueries({
101
+ queryKey: principalKeys.detail(id),
102
102
  }),
103
103
  },
104
- /** Invalidate auditLogAuth queries */ auditLogAuth: {
105
- /** Invalidate all auditLogAuth queries */ all: (queryClient) => queryClient.invalidateQueries({
106
- queryKey: auditLogAuthKeys.all,
104
+ /** Invalidate principalEntity queries */ principalEntity: {
105
+ /** Invalidate all principalEntity queries */ all: (queryClient) => queryClient.invalidateQueries({
106
+ queryKey: principalEntityKeys.all,
107
107
  }),
108
- /** Invalidate auditLogAuth list queries */ lists: (queryClient) => queryClient.invalidateQueries({
109
- queryKey: auditLogAuthKeys.lists(),
108
+ /** Invalidate principalEntity list queries */ lists: (queryClient) => queryClient.invalidateQueries({
109
+ queryKey: principalEntityKeys.lists(),
110
110
  }),
111
- /** Invalidate a specific auditLogAuth */ detail: (queryClient, id) => queryClient.invalidateQueries({
112
- queryKey: auditLogAuthKeys.detail(id),
111
+ /** Invalidate a specific principalEntity */ detail: (queryClient, id) => queryClient.invalidateQueries({
112
+ queryKey: principalEntityKeys.detail(id),
113
113
  }),
114
114
  },
115
- /** Invalidate identityProvider queries */ identityProvider: {
116
- /** Invalidate all identityProvider queries */ all: (queryClient) => queryClient.invalidateQueries({
117
- queryKey: identityProviderKeys.all,
115
+ /** Invalidate principalScopeOverride queries */ principalScopeOverride: {
116
+ /** Invalidate all principalScopeOverride queries */ all: (queryClient) => queryClient.invalidateQueries({
117
+ queryKey: principalScopeOverrideKeys.all,
118
118
  }),
119
- /** Invalidate identityProvider list queries */ lists: (queryClient) => queryClient.invalidateQueries({
120
- queryKey: identityProviderKeys.lists(),
119
+ /** Invalidate principalScopeOverride list queries */ lists: (queryClient) => queryClient.invalidateQueries({
120
+ queryKey: principalScopeOverrideKeys.lists(),
121
121
  }),
122
- /** Invalidate a specific identityProvider */ detail: (queryClient, id) => queryClient.invalidateQueries({
123
- queryKey: identityProviderKeys.detail(id),
122
+ /** Invalidate a specific principalScopeOverride */ detail: (queryClient, id) => queryClient.invalidateQueries({
123
+ queryKey: principalScopeOverrideKeys.detail(id),
124
124
  }),
125
125
  },
126
126
  /** Invalidate roleType queries */ roleType: {
@@ -145,17 +145,6 @@ export const invalidate = {
145
145
  queryKey: userConnectedAccountKeys.detail(id),
146
146
  }),
147
147
  },
148
- /** Invalidate orgApiKeyList queries */ orgApiKeyList: {
149
- /** Invalidate all orgApiKeyList queries */ all: (queryClient) => queryClient.invalidateQueries({
150
- queryKey: orgApiKeyListKeys.all,
151
- }),
152
- /** Invalidate orgApiKeyList list queries */ lists: (queryClient) => queryClient.invalidateQueries({
153
- queryKey: orgApiKeyListKeys.lists(),
154
- }),
155
- /** Invalidate a specific orgApiKeyList */ detail: (queryClient, id) => queryClient.invalidateQueries({
156
- queryKey: orgApiKeyListKeys.detail(id),
157
- }),
158
- },
159
148
  /** Invalidate user queries */ user: {
160
149
  /** Invalidate all user queries */ all: (queryClient) => queryClient.invalidateQueries({
161
150
  queryKey: userKeys.all,
@@ -167,6 +156,17 @@ export const invalidate = {
167
156
  queryKey: userKeys.detail(id),
168
157
  }),
169
158
  },
159
+ /** Invalidate webauthnCredential queries */ webauthnCredential: {
160
+ /** Invalidate all webauthnCredential queries */ all: (queryClient) => queryClient.invalidateQueries({
161
+ queryKey: webauthnCredentialKeys.all,
162
+ }),
163
+ /** Invalidate webauthnCredential list queries */ lists: (queryClient) => queryClient.invalidateQueries({
164
+ queryKey: webauthnCredentialKeys.lists(),
165
+ }),
166
+ /** Invalidate a specific webauthnCredential */ detail: (queryClient, id) => queryClient.invalidateQueries({
167
+ queryKey: webauthnCredentialKeys.detail(id),
168
+ }),
169
+ },
170
170
  };
171
171
  /**
172
172
 
@@ -180,49 +180,49 @@ export const invalidate = {
180
180
  * instead of just invalidating (which would trigger a refetch).
181
181
  */
182
182
  export const remove = {
183
- /** Remove principal from cache */ principal: (queryClient, id) => {
183
+ /** Remove auditLogAuth from cache */ auditLogAuth: (queryClient, id) => {
184
184
  queryClient.removeQueries({
185
- queryKey: principalKeys.detail(id),
185
+ queryKey: auditLogAuthKeys.detail(id),
186
186
  });
187
187
  },
188
- /** Remove principalEntity from cache */ principalEntity: (queryClient, id) => {
188
+ /** Remove cryptoAddress from cache */ cryptoAddress: (queryClient, id) => {
189
189
  queryClient.removeQueries({
190
- queryKey: principalEntityKeys.detail(id),
190
+ queryKey: cryptoAddressKeys.detail(id),
191
191
  });
192
192
  },
193
- /** Remove principalScopeOverride from cache */ principalScopeOverride: (queryClient, id) => {
193
+ /** Remove email from cache */ email: (queryClient, id) => {
194
194
  queryClient.removeQueries({
195
- queryKey: principalScopeOverrideKeys.detail(id),
195
+ queryKey: emailKeys.detail(id),
196
196
  });
197
197
  },
198
- /** Remove email from cache */ email: (queryClient, id) => {
198
+ /** Remove identityProvider from cache */ identityProvider: (queryClient, id) => {
199
199
  queryClient.removeQueries({
200
- queryKey: emailKeys.detail(id),
200
+ queryKey: identityProviderKeys.detail(id),
201
201
  });
202
202
  },
203
- /** Remove phoneNumber from cache */ phoneNumber: (queryClient, id) => {
203
+ /** Remove orgApiKeyList from cache */ orgApiKeyList: (queryClient, id) => {
204
204
  queryClient.removeQueries({
205
- queryKey: phoneNumberKeys.detail(id),
205
+ queryKey: orgApiKeyListKeys.detail(id),
206
206
  });
207
207
  },
208
- /** Remove cryptoAddress from cache */ cryptoAddress: (queryClient, id) => {
208
+ /** Remove phoneNumber from cache */ phoneNumber: (queryClient, id) => {
209
209
  queryClient.removeQueries({
210
- queryKey: cryptoAddressKeys.detail(id),
210
+ queryKey: phoneNumberKeys.detail(id),
211
211
  });
212
212
  },
213
- /** Remove webauthnCredential from cache */ webauthnCredential: (queryClient, id) => {
213
+ /** Remove principal from cache */ principal: (queryClient, id) => {
214
214
  queryClient.removeQueries({
215
- queryKey: webauthnCredentialKeys.detail(id),
215
+ queryKey: principalKeys.detail(id),
216
216
  });
217
217
  },
218
- /** Remove auditLogAuth from cache */ auditLogAuth: (queryClient, id) => {
218
+ /** Remove principalEntity from cache */ principalEntity: (queryClient, id) => {
219
219
  queryClient.removeQueries({
220
- queryKey: auditLogAuthKeys.detail(id),
220
+ queryKey: principalEntityKeys.detail(id),
221
221
  });
222
222
  },
223
- /** Remove identityProvider from cache */ identityProvider: (queryClient, id) => {
223
+ /** Remove principalScopeOverride from cache */ principalScopeOverride: (queryClient, id) => {
224
224
  queryClient.removeQueries({
225
- queryKey: identityProviderKeys.detail(id),
225
+ queryKey: principalScopeOverrideKeys.detail(id),
226
226
  });
227
227
  },
228
228
  /** Remove roleType from cache */ roleType: (queryClient, id) => {
@@ -235,14 +235,14 @@ export const remove = {
235
235
  queryKey: userConnectedAccountKeys.detail(id),
236
236
  });
237
237
  },
238
- /** Remove orgApiKeyList from cache */ orgApiKeyList: (queryClient, id) => {
238
+ /** Remove user from cache */ user: (queryClient, id) => {
239
239
  queryClient.removeQueries({
240
- queryKey: orgApiKeyListKeys.detail(id),
240
+ queryKey: userKeys.detail(id),
241
241
  });
242
242
  },
243
- /** Remove user from cache */ user: (queryClient, id) => {
243
+ /** Remove webauthnCredential from cache */ webauthnCredential: (queryClient, id) => {
244
244
  queryClient.removeQueries({
245
- queryKey: userKeys.detail(id),
245
+ queryKey: webauthnCredentialKeys.detail(id),
246
246
  });
247
247
  },
248
248
  };