@constructive-io/react 0.12.6 → 0.12.8
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.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +12 -6
- package/admin/hooks/invalidation.js +31 -15
- package/admin/hooks/mutation-keys.d.ts +24 -12
- package/admin/hooks/mutation-keys.js +15 -8
- package/admin/hooks/mutations/index.d.ts +6 -3
- package/admin/hooks/mutations/index.js +6 -3
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +4 -2
- package/admin/hooks/queries/index.js +4 -2
- package/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +28 -14
- package/admin/hooks/query-keys.js +17 -9
- package/admin/orm/index.d.ts +4 -2
- package/admin/orm/index.js +4 -2
- package/admin/orm/input-types.d.ts +303 -142
- package/admin/orm/models/index.d.ts +2 -1
- package/admin/orm/models/index.js +5 -3
- package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/admin/orm/models/orgMembershipSetting.js +100 -0
- package/admin/schema-types.d.ts +231 -106
- package/admin/types.d.ts +23 -11
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +12 -0
- package/auth/hooks/invalidation.js +32 -0
- package/auth/hooks/mutation-keys.d.ts +26 -2
- package/auth/hooks/mutation-keys.js +18 -4
- package/auth/hooks/mutations/index.d.ts +5 -1
- package/auth/hooks/mutations/index.js +5 -1
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/auth/hooks/queries/index.d.ts +3 -0
- package/auth/hooks/queries/index.js +3 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/auth/hooks/query-keys.d.ts +28 -0
- package/auth/hooks/query-keys.js +17 -1
- package/auth/orm/index.d.ts +9 -5
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +525 -81
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/identityProvider.d.ts +32 -0
- package/auth/orm/models/identityProvider.js +55 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/auth/orm/models/webauthnCredential.js +100 -0
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/auth/schema-types.d.ts +278 -22
- package/auth/types.d.ts +27 -0
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +12 -6
- package/esm/admin/hooks/invalidation.js +32 -16
- package/esm/admin/hooks/mutation-keys.d.ts +24 -12
- package/esm/admin/hooks/mutation-keys.js +14 -7
- package/esm/admin/hooks/mutations/index.d.ts +6 -3
- package/esm/admin/hooks/mutations/index.js +6 -3
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +4 -2
- package/esm/admin/hooks/queries/index.js +4 -2
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +28 -14
- package/esm/admin/hooks/query-keys.js +16 -8
- package/esm/admin/orm/index.d.ts +4 -2
- package/esm/admin/orm/index.js +4 -2
- package/esm/admin/orm/input-types.d.ts +303 -142
- package/esm/admin/orm/models/index.d.ts +2 -1
- package/esm/admin/orm/models/index.js +2 -1
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
- package/esm/admin/schema-types.d.ts +231 -106
- package/esm/admin/types.d.ts +23 -11
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +12 -0
- package/esm/auth/hooks/invalidation.js +33 -1
- package/esm/auth/hooks/mutation-keys.d.ts +26 -2
- package/esm/auth/hooks/mutation-keys.js +17 -3
- package/esm/auth/hooks/mutations/index.d.ts +5 -1
- package/esm/auth/hooks/mutations/index.js +5 -1
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/auth/hooks/queries/index.d.ts +3 -0
- package/esm/auth/hooks/queries/index.js +3 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/auth/hooks/query-keys.d.ts +28 -0
- package/esm/auth/hooks/query-keys.js +16 -0
- package/esm/auth/orm/index.d.ts +9 -5
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +525 -81
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/identityProvider.d.ts +32 -0
- package/esm/auth/orm/models/identityProvider.js +51 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/auth/orm/models/webauthnCredential.js +96 -0
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/auth/schema-types.d.ts +278 -22
- package/esm/auth/types.d.ts +27 -0
- package/esm/objects/orm/input-types.d.ts +12 -0
- package/esm/objects/schema-types.d.ts +12 -0
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +42 -6
- package/esm/public/hooks/invalidation.js +113 -17
- package/esm/public/hooks/mutation-keys.d.ts +86 -14
- package/esm/public/hooks/mutation-keys.js +55 -10
- package/esm/public/hooks/mutations/index.d.ts +20 -4
- package/esm/public/hooks/mutations/index.js +20 -4
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/queries/index.d.ts +13 -2
- package/esm/public/hooks/queries/index.js +13 -2
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +98 -14
- package/esm/public/hooks/query-keys.js +56 -8
- package/esm/public/orm/index.d.ts +19 -7
- package/esm/public/orm/index.js +14 -2
- package/esm/public/orm/input-types.d.ts +1827 -366
- package/esm/public/orm/input-types.js +7 -0
- package/esm/public/orm/models/identityProvider.d.ts +32 -0
- package/esm/public/orm/models/identityProvider.js +51 -0
- package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/esm/public/orm/models/identityProvidersModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +7 -1
- package/esm/public/orm/models/index.js +7 -1
- package/esm/public/orm/models/notificationsModule.d.ts +56 -0
- package/esm/public/orm/models/notificationsModule.js +96 -0
- package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipSetting.js +96 -0
- package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnAuthModule.js +96 -0
- package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredential.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/schema-types.d.ts +2041 -1214
- package/esm/public/types.d.ts +103 -27
- package/objects/orm/input-types.d.ts +12 -0
- package/objects/schema-types.d.ts +12 -0
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +42 -6
- package/public/hooks/invalidation.js +112 -16
- package/public/hooks/mutation-keys.d.ts +86 -14
- package/public/hooks/mutation-keys.js +58 -13
- package/public/hooks/mutations/index.d.ts +20 -4
- package/public/hooks/mutations/index.js +20 -4
- package/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/queries/index.d.ts +13 -2
- package/public/hooks/queries/index.js +13 -2
- package/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useIdentityProvidersModuleQuery.js +53 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.js +38 -0
- package/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useNotificationsModuleQuery.js +53 -0
- package/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useNotificationsModulesQuery.js +38 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnAuthModuleQuery.js +53 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.js +38 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +98 -14
- package/public/hooks/query-keys.js +59 -11
- package/public/orm/index.d.ts +19 -7
- package/public/orm/index.js +14 -2
- package/public/orm/input-types.d.ts +1827 -366
- package/public/orm/input-types.js +7 -0
- package/public/orm/models/identityProvider.d.ts +32 -0
- package/public/orm/models/identityProvider.js +55 -0
- package/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/public/orm/models/identityProvidersModule.js +100 -0
- package/public/orm/models/index.d.ts +7 -1
- package/public/orm/models/index.js +17 -5
- package/public/orm/models/notificationsModule.d.ts +56 -0
- package/public/orm/models/notificationsModule.js +100 -0
- package/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/public/orm/models/orgMembershipSetting.js +100 -0
- package/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/public/orm/models/webauthnAuthModule.js +100 -0
- package/public/orm/models/webauthnCredential.d.ts +56 -0
- package/public/orm/models/webauthnCredential.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/schema-types.d.ts +2041 -1214
- package/public/types.d.ts +103 -27
|
@@ -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
|
|
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, Cre
|
|
|
8
8
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
9
|
export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, CreateSecureTableProvisionInput, } 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
|
|
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
|
|
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,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create 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, CreateWebauthnAuthModuleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations, CreateWebauthnAuthModuleInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a WebauthnAuthModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateWebauthnAuthModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateWebauthnAuthModuleMutation<S extends WebauthnAuthModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebauthnAuthModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createWebauthnAuthModule: {
|
|
28
|
+
webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateWebauthnAuthModuleInput['webauthnAuthModule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createWebauthnAuthModule: {
|
|
32
|
+
webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateWebauthnAuthModuleInput['webauthnAuthModule']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create 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.useCreateWebauthnAuthModuleMutation = useCreateWebauthnAuthModuleMutation;
|
|
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 useCreateWebauthnAuthModuleMutation(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.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.webauthnAuthModule.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.webauthnAuthModuleKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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, CreateWebauthnCredentialInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, CreateWebauthnCredentialInput, } 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 } = useCreateWebauthnCredentialMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebauthnCredentialSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createWebauthnCredential: {
|
|
28
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateWebauthnCredentialInput['webauthnCredential']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createWebauthnCredential: {
|
|
32
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateWebauthnCredentialInput['webauthnCredential']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.useCreateWebauthnCredentialMutation = useCreateWebauthnCredentialMutation;
|
|
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 useCreateWebauthnCredentialMutation(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.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.webauthnCredential.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.webauthnCredentialKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -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
|
|
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, CreateWebauthnCredentialsModuleInput, } 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
|
|
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
|
|
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,38 @@
|
|
|
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 } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, } 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 } = useDeleteIdentityProvidersModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteIdentityProvidersModuleMutation<S extends IdentityProvidersModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & IdentityProvidersModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteIdentityProvidersModule: {
|
|
28
|
+
identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteIdentityProvidersModule: {
|
|
34
|
+
identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.useDeleteIdentityProvidersModuleMutation = useDeleteIdentityProvidersModuleMutation;
|
|
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 useDeleteIdentityProvidersModuleMutation(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 }) => (0, client_1.getClient)()
|
|
22
|
+
.identityProvidersModule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.identityProvidersModuleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.identityProvidersModuleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete 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 } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { NotificationsModuleSelect, NotificationsModuleWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for deleting a NotificationsModule with typed selection
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteNotificationsModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteNotificationsModuleMutation<S extends NotificationsModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & NotificationsModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteNotificationsModule: {
|
|
28
|
+
notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteNotificationsModule: {
|
|
34
|
+
notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Delete 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.useDeleteNotificationsModuleMutation = useDeleteNotificationsModuleMutation;
|
|
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 useDeleteNotificationsModuleMutation(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 }) => (0, client_1.getClient)()
|
|
22
|
+
.notificationsModule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.notificationsModuleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.notificationsModuleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Per-entity settings for the memberships module
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteOrgMembershipSettingMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteOrgMembershipSettingMutation<S extends OrgMembershipSettingSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgMembershipSettingSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteOrgMembershipSetting: {
|
|
28
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteOrgMembershipSetting: {
|
|
34
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.useDeleteOrgMembershipSettingMutation = useDeleteOrgMembershipSettingMutation;
|
|
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 useDeleteOrgMembershipSettingMutation(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 }) => (0, client_1.getClient)()
|
|
22
|
+
.orgMembershipSetting.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.orgMembershipSettingKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.orgMembershipSettingKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -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
|
|
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 } fr
|
|
|
8
8
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
9
|
export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, } 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
|
|
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
|
|
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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete 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 } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for deleting a WebauthnAuthModule with typed selection
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteWebauthnAuthModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteWebauthnAuthModuleMutation<S extends WebauthnAuthModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebauthnAuthModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteWebauthnAuthModule: {
|
|
28
|
+
webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteWebauthnAuthModule: {
|
|
34
|
+
webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Delete 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.useDeleteWebauthnAuthModuleMutation = useDeleteWebauthnAuthModuleMutation;
|
|
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 useDeleteWebauthnAuthModuleMutation(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 }) => (0, client_1.getClient)()
|
|
22
|
+
.webauthnAuthModule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.webauthnAuthModuleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.webauthnAuthModuleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, } 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 } = useDeleteWebauthnCredentialMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteWebauthnCredentialMutation<S extends WebauthnCredentialSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebauthnCredentialSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteWebauthnCredential: {
|
|
28
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteWebauthnCredential: {
|
|
34
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.useDeleteWebauthnCredentialMutation = useDeleteWebauthnCredentialMutation;
|
|
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 useDeleteWebauthnCredentialMutation(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 }) => (0, client_1.getClient)()
|
|
22
|
+
.webauthnCredential.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.webauthnCredentialKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.webauthnCredentialKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -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
|
|
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, } 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
|
|
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
|