@constructive-io/react 0.12.7 → 0.12.9

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 (363) 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 +12 -6
  4. package/admin/hooks/invalidation.js +31 -15
  5. package/admin/hooks/mutation-keys.d.ts +24 -12
  6. package/admin/hooks/mutation-keys.js +15 -8
  7. package/admin/hooks/mutations/index.d.ts +6 -3
  8. package/admin/hooks/mutations/index.js +6 -3
  9. package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
  11. package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  12. package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
  13. package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  14. package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
  15. package/admin/hooks/queries/index.d.ts +4 -2
  16. package/admin/hooks/queries/index.js +4 -2
  17. package/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  18. package/admin/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
  19. package/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  20. package/admin/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
  21. package/admin/hooks/query-keys.d.ts +28 -14
  22. package/admin/hooks/query-keys.js +17 -9
  23. package/admin/orm/index.d.ts +4 -2
  24. package/admin/orm/index.js +4 -2
  25. package/admin/orm/input-types.d.ts +303 -142
  26. package/admin/orm/models/index.d.ts +2 -1
  27. package/admin/orm/models/index.js +5 -3
  28. package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  29. package/admin/orm/models/orgMembershipSetting.js +100 -0
  30. package/admin/schema-types.d.ts +231 -106
  31. package/admin/types.d.ts +23 -11
  32. package/auth/hooks/index.d.ts +1 -1
  33. package/auth/hooks/index.js +1 -1
  34. package/auth/hooks/invalidation.d.ts +12 -0
  35. package/auth/hooks/invalidation.js +32 -0
  36. package/auth/hooks/mutation-keys.d.ts +26 -2
  37. package/auth/hooks/mutation-keys.js +18 -4
  38. package/auth/hooks/mutations/index.d.ts +5 -1
  39. package/auth/hooks/mutations/index.js +5 -1
  40. package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  41. package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
  42. package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  43. package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
  44. package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  45. package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
  46. package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  47. package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
  48. package/auth/hooks/queries/index.d.ts +3 -0
  49. package/auth/hooks/queries/index.js +3 -0
  50. package/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  51. package/auth/hooks/queries/useIdentityProvidersQuery.js +38 -0
  52. package/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  53. package/auth/hooks/queries/useWebauthnCredentialQuery.js +53 -0
  54. package/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  55. package/auth/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
  56. package/auth/hooks/query-keys.d.ts +28 -0
  57. package/auth/hooks/query-keys.js +17 -1
  58. package/auth/orm/index.d.ts +9 -5
  59. package/auth/orm/index.js +4 -0
  60. package/auth/orm/input-types.d.ts +525 -81
  61. package/auth/orm/input-types.js +1 -0
  62. package/auth/orm/models/identityProvider.d.ts +32 -0
  63. package/auth/orm/models/identityProvider.js +55 -0
  64. package/auth/orm/models/index.d.ts +2 -0
  65. package/auth/orm/models/index.js +5 -1
  66. package/auth/orm/models/webauthnCredential.d.ts +56 -0
  67. package/auth/orm/models/webauthnCredential.js +100 -0
  68. package/auth/orm/mutation/index.d.ts +9 -9
  69. package/auth/orm/mutation/index.js +12 -12
  70. package/auth/schema-types.d.ts +278 -22
  71. package/auth/types.d.ts +27 -0
  72. package/esm/admin/hooks/index.d.ts +1 -1
  73. package/esm/admin/hooks/index.js +1 -1
  74. package/esm/admin/hooks/invalidation.d.ts +12 -6
  75. package/esm/admin/hooks/invalidation.js +32 -16
  76. package/esm/admin/hooks/mutation-keys.d.ts +24 -12
  77. package/esm/admin/hooks/mutation-keys.js +14 -7
  78. package/esm/admin/hooks/mutations/index.d.ts +6 -3
  79. package/esm/admin/hooks/mutations/index.js +6 -3
  80. package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  81. package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
  82. package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  83. package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
  84. package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  85. package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
  86. package/esm/admin/hooks/queries/index.d.ts +4 -2
  87. package/esm/admin/hooks/queries/index.js +4 -2
  88. package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  89. package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
  90. package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  91. package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
  92. package/esm/admin/hooks/query-keys.d.ts +28 -14
  93. package/esm/admin/hooks/query-keys.js +16 -8
  94. package/esm/admin/orm/index.d.ts +4 -2
  95. package/esm/admin/orm/index.js +4 -2
  96. package/esm/admin/orm/input-types.d.ts +303 -142
  97. package/esm/admin/orm/models/index.d.ts +2 -1
  98. package/esm/admin/orm/models/index.js +2 -1
  99. package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  100. package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
  101. package/esm/admin/schema-types.d.ts +231 -106
  102. package/esm/admin/types.d.ts +23 -11
  103. package/esm/auth/hooks/index.d.ts +1 -1
  104. package/esm/auth/hooks/index.js +1 -1
  105. package/esm/auth/hooks/invalidation.d.ts +12 -0
  106. package/esm/auth/hooks/invalidation.js +33 -1
  107. package/esm/auth/hooks/mutation-keys.d.ts +26 -2
  108. package/esm/auth/hooks/mutation-keys.js +17 -3
  109. package/esm/auth/hooks/mutations/index.d.ts +5 -1
  110. package/esm/auth/hooks/mutations/index.js +5 -1
  111. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  112. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
  113. package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  114. package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
  115. package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  116. package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
  117. package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  118. package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
  119. package/esm/auth/hooks/queries/index.d.ts +3 -0
  120. package/esm/auth/hooks/queries/index.js +3 -0
  121. package/esm/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  122. package/esm/auth/hooks/queries/useIdentityProvidersQuery.js +32 -0
  123. package/esm/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  124. package/esm/auth/hooks/queries/useWebauthnCredentialQuery.js +47 -0
  125. package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  126. package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
  127. package/esm/auth/hooks/query-keys.d.ts +28 -0
  128. package/esm/auth/hooks/query-keys.js +16 -0
  129. package/esm/auth/orm/index.d.ts +9 -5
  130. package/esm/auth/orm/index.js +4 -0
  131. package/esm/auth/orm/input-types.d.ts +525 -81
  132. package/esm/auth/orm/input-types.js +1 -0
  133. package/esm/auth/orm/models/identityProvider.d.ts +32 -0
  134. package/esm/auth/orm/models/identityProvider.js +51 -0
  135. package/esm/auth/orm/models/index.d.ts +2 -0
  136. package/esm/auth/orm/models/index.js +2 -0
  137. package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
  138. package/esm/auth/orm/models/webauthnCredential.js +96 -0
  139. package/esm/auth/orm/mutation/index.d.ts +9 -9
  140. package/esm/auth/orm/mutation/index.js +12 -12
  141. package/esm/auth/schema-types.d.ts +278 -22
  142. package/esm/auth/types.d.ts +27 -0
  143. package/esm/objects/orm/input-types.d.ts +12 -0
  144. package/esm/objects/schema-types.d.ts +12 -0
  145. package/esm/public/hooks/index.d.ts +1 -1
  146. package/esm/public/hooks/index.js +1 -1
  147. package/esm/public/hooks/invalidation.d.ts +42 -6
  148. package/esm/public/hooks/invalidation.js +113 -17
  149. package/esm/public/hooks/mutation-keys.d.ts +86 -14
  150. package/esm/public/hooks/mutation-keys.js +55 -10
  151. package/esm/public/hooks/mutations/index.d.ts +20 -4
  152. package/esm/public/hooks/mutations/index.js +20 -4
  153. package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  154. package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
  155. package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
  156. package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +31 -0
  157. package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
  158. package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.js +31 -0
  159. package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  160. package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
  161. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  162. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  163. package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
  164. package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +31 -0
  165. package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  166. package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
  167. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
  168. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
  169. package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
  170. package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +36 -0
  171. package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
  172. package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +36 -0
  173. package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  174. package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
  175. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  176. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  177. package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
  178. package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +36 -0
  179. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  180. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
  181. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
  182. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
  183. package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
  184. package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +37 -0
  185. package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
  186. package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +37 -0
  187. package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  188. package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
  189. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  190. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  191. package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
  192. package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +37 -0
  193. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  194. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
  195. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
  196. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
  197. package/esm/public/hooks/queries/index.d.ts +13 -2
  198. package/esm/public/hooks/queries/index.js +13 -2
  199. package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
  200. package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.js +47 -0
  201. package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
  202. package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.js +32 -0
  203. package/esm/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  204. package/esm/public/hooks/queries/useIdentityProvidersQuery.js +32 -0
  205. package/esm/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
  206. package/esm/public/hooks/queries/useNotificationsModuleQuery.js +47 -0
  207. package/esm/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
  208. package/esm/public/hooks/queries/useNotificationsModulesQuery.js +32 -0
  209. package/esm/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  210. package/esm/public/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
  211. package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  212. package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
  213. package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  214. package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  215. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  216. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  217. package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
  218. package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.js +47 -0
  219. package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
  220. package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.js +32 -0
  221. package/esm/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  222. package/esm/public/hooks/queries/useWebauthnCredentialQuery.js +47 -0
  223. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
  224. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
  225. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
  226. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
  227. package/esm/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  228. package/esm/public/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
  229. package/esm/public/hooks/query-keys.d.ts +98 -14
  230. package/esm/public/hooks/query-keys.js +56 -8
  231. package/esm/public/orm/index.d.ts +19 -7
  232. package/esm/public/orm/index.js +14 -2
  233. package/esm/public/orm/input-types.d.ts +1827 -366
  234. package/esm/public/orm/input-types.js +7 -0
  235. package/esm/public/orm/models/identityProvider.d.ts +32 -0
  236. package/esm/public/orm/models/identityProvider.js +51 -0
  237. package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
  238. package/esm/public/orm/models/identityProvidersModule.js +96 -0
  239. package/esm/public/orm/models/index.d.ts +7 -1
  240. package/esm/public/orm/models/index.js +7 -1
  241. package/esm/public/orm/models/notificationsModule.d.ts +56 -0
  242. package/esm/public/orm/models/notificationsModule.js +96 -0
  243. package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
  244. package/esm/public/orm/models/orgMembershipSetting.js +96 -0
  245. package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
  246. package/esm/public/orm/models/webauthnAuthModule.js +96 -0
  247. package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
  248. package/esm/public/orm/models/webauthnCredential.js +96 -0
  249. package/esm/public/orm/mutation/index.d.ts +9 -9
  250. package/esm/public/orm/mutation/index.js +12 -12
  251. package/esm/public/schema-types.d.ts +2041 -1214
  252. package/esm/public/types.d.ts +103 -27
  253. package/objects/orm/input-types.d.ts +12 -0
  254. package/objects/schema-types.d.ts +12 -0
  255. package/package.json +3 -3
  256. package/public/hooks/index.d.ts +1 -1
  257. package/public/hooks/index.js +1 -1
  258. package/public/hooks/invalidation.d.ts +42 -6
  259. package/public/hooks/invalidation.js +112 -16
  260. package/public/hooks/mutation-keys.d.ts +86 -14
  261. package/public/hooks/mutation-keys.js +58 -13
  262. package/public/hooks/mutations/index.d.ts +20 -4
  263. package/public/hooks/mutations/index.js +20 -4
  264. package/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
  265. package/public/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
  266. package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
  267. package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +34 -0
  268. package/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
  269. package/public/hooks/mutations/useCreateNotificationsModuleMutation.js +34 -0
  270. package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
  271. package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
  272. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  273. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  274. package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
  275. package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +34 -0
  276. package/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
  277. package/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
  278. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
  279. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
  280. package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
  281. package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +39 -0
  282. package/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
  283. package/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +39 -0
  284. package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
  285. package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
  286. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  287. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  288. package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
  289. package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +39 -0
  290. package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
  291. package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
  292. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
  293. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
  294. package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
  295. package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +40 -0
  296. package/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
  297. package/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +40 -0
  298. package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
  299. package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
  300. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  301. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  302. package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
  303. package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +40 -0
  304. package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
  305. package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
  306. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
  307. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
  308. package/public/hooks/queries/index.d.ts +13 -2
  309. package/public/hooks/queries/index.js +13 -2
  310. package/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
  311. package/public/hooks/queries/useIdentityProvidersModuleQuery.js +53 -0
  312. package/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
  313. package/public/hooks/queries/useIdentityProvidersModulesQuery.js +38 -0
  314. package/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
  315. package/public/hooks/queries/useIdentityProvidersQuery.js +38 -0
  316. package/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
  317. package/public/hooks/queries/useNotificationsModuleQuery.js +53 -0
  318. package/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
  319. package/public/hooks/queries/useNotificationsModulesQuery.js +38 -0
  320. package/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
  321. package/public/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
  322. package/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
  323. package/public/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
  324. package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  325. package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  326. package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  327. package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  328. package/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
  329. package/public/hooks/queries/useWebauthnAuthModuleQuery.js +53 -0
  330. package/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
  331. package/public/hooks/queries/useWebauthnAuthModulesQuery.js +38 -0
  332. package/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
  333. package/public/hooks/queries/useWebauthnCredentialQuery.js +53 -0
  334. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
  335. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
  336. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
  337. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
  338. package/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
  339. package/public/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
  340. package/public/hooks/query-keys.d.ts +98 -14
  341. package/public/hooks/query-keys.js +59 -11
  342. package/public/orm/index.d.ts +19 -7
  343. package/public/orm/index.js +14 -2
  344. package/public/orm/input-types.d.ts +1827 -366
  345. package/public/orm/input-types.js +7 -0
  346. package/public/orm/models/identityProvider.d.ts +32 -0
  347. package/public/orm/models/identityProvider.js +55 -0
  348. package/public/orm/models/identityProvidersModule.d.ts +56 -0
  349. package/public/orm/models/identityProvidersModule.js +100 -0
  350. package/public/orm/models/index.d.ts +7 -1
  351. package/public/orm/models/index.js +17 -5
  352. package/public/orm/models/notificationsModule.d.ts +56 -0
  353. package/public/orm/models/notificationsModule.js +100 -0
  354. package/public/orm/models/orgMembershipSetting.d.ts +56 -0
  355. package/public/orm/models/orgMembershipSetting.js +100 -0
  356. package/public/orm/models/webauthnAuthModule.d.ts +56 -0
  357. package/public/orm/models/webauthnAuthModule.js +100 -0
  358. package/public/orm/models/webauthnCredential.d.ts +56 -0
  359. package/public/orm/models/webauthnCredential.js +100 -0
  360. package/public/orm/mutation/index.d.ts +9 -9
  361. package/public/orm/mutation/index.js +12 -12
  362. package/public/schema-types.d.ts +2041 -1214
  363. package/public/types.d.ts +103 -27
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only.
3
+ * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModulePatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModulePatch, } from '../../orm/input-types';
10
+ /**
11
+ * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateIdentityProvidersModuleMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', identityProvidersModulePatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateIdentityProvidersModuleMutation<S extends IdentityProvidersModuleSelect>(params: {
23
+ selection: {
24
+ fields: S & IdentityProvidersModuleSelect;
25
+ } & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateIdentityProvidersModule: {
28
+ identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ identityProvidersModulePatch: IdentityProvidersModulePatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateIdentityProvidersModule: {
35
+ identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ identityProvidersModulePatch: IdentityProvidersModulePatch;
40
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useUpdateIdentityProvidersModuleMutation = useUpdateIdentityProvidersModuleMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const query_keys_1 = require("../query-keys");
13
+ const mutation_keys_1 = require("../mutation-keys");
14
+ function useUpdateIdentityProvidersModuleMutation(params) {
15
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
16
+ const { selection: _selection, ...mutationOptions } = params ?? {};
17
+ void _selection;
18
+ const queryClient = (0, react_query_1.useQueryClient)();
19
+ return (0, react_query_1.useMutation)({
20
+ mutationKey: mutation_keys_1.identityProvidersModuleMutationKeys.all,
21
+ mutationFn: ({ id, identityProvidersModulePatch, }) => (0, client_1.getClient)()
22
+ .identityProvidersModule.update({
23
+ where: {
24
+ id,
25
+ },
26
+ data: identityProvidersModulePatch,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ onSuccess: (_, variables) => {
31
+ queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.identityProvidersModuleKeys.detail(variables.id),
33
+ });
34
+ queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.identityProvidersModuleKeys.lists(),
36
+ });
37
+ },
38
+ ...mutationOptions,
39
+ });
40
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Update mutation hook for NotificationsModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { NotificationsModuleSelect, NotificationsModuleWithRelations, NotificationsModulePatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { NotificationsModuleSelect, NotificationsModuleWithRelations, NotificationsModulePatch, } from '../../orm/input-types';
10
+ /**
11
+ * Mutation hook for updating a NotificationsModule
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateNotificationsModuleMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', notificationsModulePatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateNotificationsModuleMutation<S extends NotificationsModuleSelect>(params: {
23
+ selection: {
24
+ fields: S & NotificationsModuleSelect;
25
+ } & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateNotificationsModule: {
28
+ notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ notificationsModulePatch: NotificationsModulePatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateNotificationsModule: {
35
+ notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ notificationsModulePatch: NotificationsModulePatch;
40
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Update mutation hook for NotificationsModule
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useUpdateNotificationsModuleMutation = useUpdateNotificationsModuleMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const query_keys_1 = require("../query-keys");
13
+ const mutation_keys_1 = require("../mutation-keys");
14
+ function useUpdateNotificationsModuleMutation(params) {
15
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
16
+ const { selection: _selection, ...mutationOptions } = params ?? {};
17
+ void _selection;
18
+ const queryClient = (0, react_query_1.useQueryClient)();
19
+ return (0, react_query_1.useMutation)({
20
+ mutationKey: mutation_keys_1.notificationsModuleMutationKeys.all,
21
+ mutationFn: ({ id, notificationsModulePatch, }) => (0, client_1.getClient)()
22
+ .notificationsModule.update({
23
+ where: {
24
+ id,
25
+ },
26
+ data: notificationsModulePatch,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ onSuccess: (_, variables) => {
31
+ queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.notificationsModuleKeys.detail(variables.id),
33
+ });
34
+ queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.notificationsModuleKeys.lists(),
36
+ });
37
+ },
38
+ ...mutationOptions,
39
+ });
40
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Per-entity settings for the memberships module
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch, } from '../../orm/input-types';
10
+ /**
11
+ * Per-entity settings for the memberships module
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateOrgMembershipSettingMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', orgMembershipSettingPatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateOrgMembershipSettingMutation<S extends OrgMembershipSettingSelect>(params: {
23
+ selection: {
24
+ fields: S & OrgMembershipSettingSelect;
25
+ } & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateOrgMembershipSetting: {
28
+ orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ orgMembershipSettingPatch: OrgMembershipSettingPatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateOrgMembershipSetting: {
35
+ orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ orgMembershipSettingPatch: OrgMembershipSettingPatch;
40
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Per-entity settings for the memberships module
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useUpdateOrgMembershipSettingMutation = useUpdateOrgMembershipSettingMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const query_keys_1 = require("../query-keys");
13
+ const mutation_keys_1 = require("../mutation-keys");
14
+ function useUpdateOrgMembershipSettingMutation(params) {
15
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
16
+ const { selection: _selection, ...mutationOptions } = params ?? {};
17
+ void _selection;
18
+ const queryClient = (0, react_query_1.useQueryClient)();
19
+ return (0, react_query_1.useMutation)({
20
+ mutationKey: mutation_keys_1.orgMembershipSettingMutationKeys.all,
21
+ mutationFn: ({ id, orgMembershipSettingPatch, }) => (0, client_1.getClient)()
22
+ .orgMembershipSetting.update({
23
+ where: {
24
+ id,
25
+ },
26
+ data: orgMembershipSettingPatch,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ onSuccess: (_, variables) => {
31
+ queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.orgMembershipSettingKeys.detail(variables.id),
33
+ });
34
+ queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.orgMembershipSettingKeys.lists(),
36
+ });
37
+ },
38
+ ...mutationOptions,
39
+ });
40
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
2
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grants[] array (supporting per-role privilege targeting), (3) create RLS policies via policies[] array (supporting multiple Authz* policies per row). Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -8,7 +8,7 @@ import type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, Sec
8
8
  import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
9
  export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, SecureTableProvisionPatch, } from '../../orm/input-types';
10
10
  /**
11
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
11
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grants[] array (supporting per-role privilege targeting), (3) create RLS policies via policies[] array (supporting multiple Authz* policies per row). Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
12
12
  *
13
13
  * @example
14
14
  * ```tsx
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
3
+ * Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grants[] array (supporting per-role privilege targeting), (3) create RLS policies via policies[] array (supporting multiple Authz* policies per row). Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Update mutation hook for WebauthnAuthModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations, WebauthnAuthModulePatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations, WebauthnAuthModulePatch, } from '../../orm/input-types';
10
+ /**
11
+ * Mutation hook for updating a WebauthnAuthModule
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateWebauthnAuthModuleMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', webauthnAuthModulePatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateWebauthnAuthModuleMutation<S extends WebauthnAuthModuleSelect>(params: {
23
+ selection: {
24
+ fields: S & WebauthnAuthModuleSelect;
25
+ } & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateWebauthnAuthModule: {
28
+ webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ webauthnAuthModulePatch: WebauthnAuthModulePatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateWebauthnAuthModule: {
35
+ webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ webauthnAuthModulePatch: WebauthnAuthModulePatch;
40
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Update mutation hook for WebauthnAuthModule
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useUpdateWebauthnAuthModuleMutation = useUpdateWebauthnAuthModuleMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const query_keys_1 = require("../query-keys");
13
+ const mutation_keys_1 = require("../mutation-keys");
14
+ function useUpdateWebauthnAuthModuleMutation(params) {
15
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
16
+ const { selection: _selection, ...mutationOptions } = params ?? {};
17
+ void _selection;
18
+ const queryClient = (0, react_query_1.useQueryClient)();
19
+ return (0, react_query_1.useMutation)({
20
+ mutationKey: mutation_keys_1.webauthnAuthModuleMutationKeys.all,
21
+ mutationFn: ({ id, webauthnAuthModulePatch, }) => (0, client_1.getClient)()
22
+ .webauthnAuthModule.update({
23
+ where: {
24
+ id,
25
+ },
26
+ data: webauthnAuthModulePatch,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ onSuccess: (_, variables) => {
31
+ queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.webauthnAuthModuleKeys.detail(variables.id),
33
+ });
34
+ queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.webauthnAuthModuleKeys.lists(),
36
+ });
37
+ },
38
+ ...mutationOptions,
39
+ });
40
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialPatch } from '../../orm/input-types';
8
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
+ export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialPatch, } from '../../orm/input-types';
10
+ /**
11
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const { mutate, isPending } = useUpdateWebauthnCredentialMutation({
16
+ * selection: { fields: { id: true, name: true } },
17
+ * });
18
+ *
19
+ * mutate({ id: 'value-here', webauthnCredentialPatch: { name: 'Updated' } });
20
+ * ```
21
+ */
22
+ export declare function useUpdateWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
23
+ selection: {
24
+ fields: S & WebauthnCredentialSelect;
25
+ } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
26
+ } & Omit<UseMutationOptions<{
27
+ updateWebauthnCredential: {
28
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
29
+ };
30
+ }, Error, {
31
+ id: string;
32
+ webauthnCredentialPatch: WebauthnCredentialPatch;
33
+ }>, 'mutationFn'>): UseMutationResult<{
34
+ updateWebauthnCredential: {
35
+ webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
36
+ };
37
+ }, Error, {
38
+ id: string;
39
+ webauthnCredentialPatch: WebauthnCredentialPatch;
40
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useUpdateWebauthnCredentialMutation = useUpdateWebauthnCredentialMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const query_keys_1 = require("../query-keys");
13
+ const mutation_keys_1 = require("../mutation-keys");
14
+ function useUpdateWebauthnCredentialMutation(params) {
15
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
16
+ const { selection: _selection, ...mutationOptions } = params ?? {};
17
+ void _selection;
18
+ const queryClient = (0, react_query_1.useQueryClient)();
19
+ return (0, react_query_1.useMutation)({
20
+ mutationKey: mutation_keys_1.webauthnCredentialMutationKeys.all,
21
+ mutationFn: ({ id, webauthnCredentialPatch, }) => (0, client_1.getClient)()
22
+ .webauthnCredential.update({
23
+ where: {
24
+ id,
25
+ },
26
+ data: webauthnCredentialPatch,
27
+ select: args.select,
28
+ })
29
+ .unwrap(),
30
+ onSuccess: (_, variables) => {
31
+ queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.webauthnCredentialKeys.detail(variables.id),
33
+ });
34
+ queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.webauthnCredentialKeys.lists(),
36
+ });
37
+ },
38
+ ...mutationOptions,
39
+ });
40
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only.
2
+ * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -8,7 +8,7 @@ import type { WebauthnCredentialsModuleSelect, WebauthnCredentialsModuleWithRela
8
8
  import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
9
9
  export type { WebauthnCredentialsModuleSelect, WebauthnCredentialsModuleWithRelations, WebauthnCredentialsModulePatch, } from '../../orm/input-types';
10
10
  /**
11
- * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only.
11
+ * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
12
12
  *
13
13
  * @example
14
14
  * ```tsx
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only.
3
+ * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
@@ -58,6 +58,8 @@ export * from './useRelationProvisionsQuery';
58
58
  export * from './useRelationProvisionQuery';
59
59
  export * from './useSessionSecretsModulesQuery';
60
60
  export * from './useSessionSecretsModuleQuery';
61
+ export * from './useIdentityProvidersModulesQuery';
62
+ export * from './useIdentityProvidersModuleQuery';
61
63
  export * from './useSchemaGrantsQuery';
62
64
  export * from './useSchemaGrantQuery';
63
65
  export * from './useDefaultPrivilegesQuery';
@@ -136,6 +138,10 @@ export * from './useEntityTypeProvisionsQuery';
136
138
  export * from './useEntityTypeProvisionQuery';
137
139
  export * from './useWebauthnCredentialsModulesQuery';
138
140
  export * from './useWebauthnCredentialsModuleQuery';
141
+ export * from './useWebauthnAuthModulesQuery';
142
+ export * from './useWebauthnAuthModuleQuery';
143
+ export * from './useNotificationsModulesQuery';
144
+ export * from './useNotificationsModuleQuery';
139
145
  export * from './useDatabaseProvisionModulesQuery';
140
146
  export * from './useDatabaseProvisionModuleQuery';
141
147
  export * from './useAppAdminGrantsQuery';
@@ -178,6 +184,8 @@ export * from './usePhoneNumbersQuery';
178
184
  export * from './usePhoneNumberQuery';
179
185
  export * from './useCryptoAddressesQuery';
180
186
  export * from './useCryptoAddressQuery';
187
+ export * from './useWebauthnCredentialsQuery';
188
+ export * from './useWebauthnCredentialQuery';
181
189
  export * from './useAppInvitesQuery';
182
190
  export * from './useAppInviteQuery';
183
191
  export * from './useAppClaimedInvitesQuery';
@@ -190,6 +198,7 @@ export * from './useAuditLogsQuery';
190
198
  export * from './useAuditLogQuery';
191
199
  export * from './useAppPermissionDefaultsQuery';
192
200
  export * from './useAppPermissionDefaultQuery';
201
+ export * from './useIdentityProvidersQuery';
193
202
  export * from './useRefsQuery';
194
203
  export * from './useRefQuery';
195
204
  export * from './useStoresQuery';
@@ -208,18 +217,20 @@ export * from './useUserConnectedAccountsQuery';
208
217
  export * from './useUserConnectedAccountQuery';
209
218
  export * from './useAppMembershipDefaultsQuery';
210
219
  export * from './useAppMembershipDefaultQuery';
220
+ export * from './useOrgMembershipDefaultsQuery';
221
+ export * from './useOrgMembershipDefaultQuery';
211
222
  export * from './useCommitsQuery';
212
223
  export * from './useCommitQuery';
213
224
  export * from './useRateLimitsModulesQuery';
214
225
  export * from './useRateLimitsModuleQuery';
215
226
  export * from './useMembershipTypesQuery';
216
227
  export * from './useMembershipTypeQuery';
217
- export * from './useOrgMembershipDefaultsQuery';
218
- export * from './useOrgMembershipDefaultQuery';
219
228
  export * from './useRlsModulesQuery';
220
229
  export * from './useRlsModuleQuery';
221
230
  export * from './useSqlActionsQuery';
222
231
  export * from './useSqlActionQuery';
232
+ export * from './useOrgMembershipSettingsQuery';
233
+ export * from './useOrgMembershipSettingQuery';
223
234
  export * from './useUsersQuery';
224
235
  export * from './useUserQuery';
225
236
  export * from './useAstMigrationsQuery';
@@ -74,6 +74,8 @@ __exportStar(require("./useRelationProvisionsQuery"), exports);
74
74
  __exportStar(require("./useRelationProvisionQuery"), exports);
75
75
  __exportStar(require("./useSessionSecretsModulesQuery"), exports);
76
76
  __exportStar(require("./useSessionSecretsModuleQuery"), exports);
77
+ __exportStar(require("./useIdentityProvidersModulesQuery"), exports);
78
+ __exportStar(require("./useIdentityProvidersModuleQuery"), exports);
77
79
  __exportStar(require("./useSchemaGrantsQuery"), exports);
78
80
  __exportStar(require("./useSchemaGrantQuery"), exports);
79
81
  __exportStar(require("./useDefaultPrivilegesQuery"), exports);
@@ -152,6 +154,10 @@ __exportStar(require("./useEntityTypeProvisionsQuery"), exports);
152
154
  __exportStar(require("./useEntityTypeProvisionQuery"), exports);
153
155
  __exportStar(require("./useWebauthnCredentialsModulesQuery"), exports);
154
156
  __exportStar(require("./useWebauthnCredentialsModuleQuery"), exports);
157
+ __exportStar(require("./useWebauthnAuthModulesQuery"), exports);
158
+ __exportStar(require("./useWebauthnAuthModuleQuery"), exports);
159
+ __exportStar(require("./useNotificationsModulesQuery"), exports);
160
+ __exportStar(require("./useNotificationsModuleQuery"), exports);
155
161
  __exportStar(require("./useDatabaseProvisionModulesQuery"), exports);
156
162
  __exportStar(require("./useDatabaseProvisionModuleQuery"), exports);
157
163
  __exportStar(require("./useAppAdminGrantsQuery"), exports);
@@ -194,6 +200,8 @@ __exportStar(require("./usePhoneNumbersQuery"), exports);
194
200
  __exportStar(require("./usePhoneNumberQuery"), exports);
195
201
  __exportStar(require("./useCryptoAddressesQuery"), exports);
196
202
  __exportStar(require("./useCryptoAddressQuery"), exports);
203
+ __exportStar(require("./useWebauthnCredentialsQuery"), exports);
204
+ __exportStar(require("./useWebauthnCredentialQuery"), exports);
197
205
  __exportStar(require("./useAppInvitesQuery"), exports);
198
206
  __exportStar(require("./useAppInviteQuery"), exports);
199
207
  __exportStar(require("./useAppClaimedInvitesQuery"), exports);
@@ -206,6 +214,7 @@ __exportStar(require("./useAuditLogsQuery"), exports);
206
214
  __exportStar(require("./useAuditLogQuery"), exports);
207
215
  __exportStar(require("./useAppPermissionDefaultsQuery"), exports);
208
216
  __exportStar(require("./useAppPermissionDefaultQuery"), exports);
217
+ __exportStar(require("./useIdentityProvidersQuery"), exports);
209
218
  __exportStar(require("./useRefsQuery"), exports);
210
219
  __exportStar(require("./useRefQuery"), exports);
211
220
  __exportStar(require("./useStoresQuery"), exports);
@@ -224,18 +233,20 @@ __exportStar(require("./useUserConnectedAccountsQuery"), exports);
224
233
  __exportStar(require("./useUserConnectedAccountQuery"), exports);
225
234
  __exportStar(require("./useAppMembershipDefaultsQuery"), exports);
226
235
  __exportStar(require("./useAppMembershipDefaultQuery"), exports);
236
+ __exportStar(require("./useOrgMembershipDefaultsQuery"), exports);
237
+ __exportStar(require("./useOrgMembershipDefaultQuery"), exports);
227
238
  __exportStar(require("./useCommitsQuery"), exports);
228
239
  __exportStar(require("./useCommitQuery"), exports);
229
240
  __exportStar(require("./useRateLimitsModulesQuery"), exports);
230
241
  __exportStar(require("./useRateLimitsModuleQuery"), exports);
231
242
  __exportStar(require("./useMembershipTypesQuery"), exports);
232
243
  __exportStar(require("./useMembershipTypeQuery"), exports);
233
- __exportStar(require("./useOrgMembershipDefaultsQuery"), exports);
234
- __exportStar(require("./useOrgMembershipDefaultQuery"), exports);
235
244
  __exportStar(require("./useRlsModulesQuery"), exports);
236
245
  __exportStar(require("./useRlsModuleQuery"), exports);
237
246
  __exportStar(require("./useSqlActionsQuery"), exports);
238
247
  __exportStar(require("./useSqlActionQuery"), exports);
248
+ __exportStar(require("./useOrgMembershipSettingsQuery"), exports);
249
+ __exportStar(require("./useOrgMembershipSettingQuery"), exports);
239
250
  __exportStar(require("./useUsersQuery"), exports);
240
251
  __exportStar(require("./useUserQuery"), exports);
241
252
  __exportStar(require("./useAstMigrationsQuery"), exports);