@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.
- 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
|
@@ -192,6 +192,15 @@ export const sessionSecretsModuleMutationKeys = {
|
|
|
192
192
|
/** Update sessionSecretsModule mutation key */ update: (id) => ['mutation', 'sessionsecretsmodule', 'update', id],
|
|
193
193
|
/** Delete sessionSecretsModule mutation key */ delete: (id) => ['mutation', 'sessionsecretsmodule', 'delete', id],
|
|
194
194
|
};
|
|
195
|
+
export const identityProvidersModuleMutationKeys = {
|
|
196
|
+
/** All identityProvidersModule mutation keys */ all: [
|
|
197
|
+
'mutation',
|
|
198
|
+
'identityprovidersmodule',
|
|
199
|
+
],
|
|
200
|
+
/** Create identityProvidersModule mutation key */ create: () => ['mutation', 'identityprovidersmodule', 'create'],
|
|
201
|
+
/** Update identityProvidersModule mutation key */ update: (id) => ['mutation', 'identityprovidersmodule', 'update', id],
|
|
202
|
+
/** Delete identityProvidersModule mutation key */ delete: (id) => ['mutation', 'identityprovidersmodule', 'delete', id],
|
|
203
|
+
};
|
|
195
204
|
export const schemaGrantMutationKeys = {
|
|
196
205
|
/** All schemaGrant mutation keys */ all: ['mutation', 'schemagrant'],
|
|
197
206
|
/** Create schemaGrant mutation key */ create: () => ['mutation', 'schemagrant', 'create'],
|
|
@@ -447,6 +456,18 @@ export const webauthnCredentialsModuleMutationKeys = {
|
|
|
447
456
|
/** Update webauthnCredentialsModule mutation key */ update: (id) => ['mutation', 'webauthncredentialsmodule', 'update', id],
|
|
448
457
|
/** Delete webauthnCredentialsModule mutation key */ delete: (id) => ['mutation', 'webauthncredentialsmodule', 'delete', id],
|
|
449
458
|
};
|
|
459
|
+
export const webauthnAuthModuleMutationKeys = {
|
|
460
|
+
/** All webauthnAuthModule mutation keys */ all: ['mutation', 'webauthnauthmodule'],
|
|
461
|
+
/** Create webauthnAuthModule mutation key */ create: () => ['mutation', 'webauthnauthmodule', 'create'],
|
|
462
|
+
/** Update webauthnAuthModule mutation key */ update: (id) => ['mutation', 'webauthnauthmodule', 'update', id],
|
|
463
|
+
/** Delete webauthnAuthModule mutation key */ delete: (id) => ['mutation', 'webauthnauthmodule', 'delete', id],
|
|
464
|
+
};
|
|
465
|
+
export const notificationsModuleMutationKeys = {
|
|
466
|
+
/** All notificationsModule mutation keys */ all: ['mutation', 'notificationsmodule'],
|
|
467
|
+
/** Create notificationsModule mutation key */ create: () => ['mutation', 'notificationsmodule', 'create'],
|
|
468
|
+
/** Update notificationsModule mutation key */ update: (id) => ['mutation', 'notificationsmodule', 'update', id],
|
|
469
|
+
/** Delete notificationsModule mutation key */ delete: (id) => ['mutation', 'notificationsmodule', 'delete', id],
|
|
470
|
+
};
|
|
450
471
|
export const databaseProvisionModuleMutationKeys = {
|
|
451
472
|
/** All databaseProvisionModule mutation keys */ all: [
|
|
452
473
|
'mutation',
|
|
@@ -576,6 +597,12 @@ export const cryptoAddressMutationKeys = {
|
|
|
576
597
|
/** Update cryptoAddress mutation key */ update: (id) => ['mutation', 'cryptoaddress', 'update', id],
|
|
577
598
|
/** Delete cryptoAddress mutation key */ delete: (id) => ['mutation', 'cryptoaddress', 'delete', id],
|
|
578
599
|
};
|
|
600
|
+
export const webauthnCredentialMutationKeys = {
|
|
601
|
+
/** All webauthnCredential mutation keys */ all: ['mutation', 'webauthncredential'],
|
|
602
|
+
/** Create webauthnCredential mutation key */ create: () => ['mutation', 'webauthncredential', 'create'],
|
|
603
|
+
/** Update webauthnCredential mutation key */ update: (id) => ['mutation', 'webauthncredential', 'update', id],
|
|
604
|
+
/** Delete webauthnCredential mutation key */ delete: (id) => ['mutation', 'webauthncredential', 'delete', id],
|
|
605
|
+
};
|
|
579
606
|
export const appInviteMutationKeys = {
|
|
580
607
|
/** All appInvite mutation keys */ all: ['mutation', 'appinvite'],
|
|
581
608
|
/** Create appInvite mutation key */ create: () => ['mutation', 'appinvite', 'create'],
|
|
@@ -612,6 +639,12 @@ export const appPermissionDefaultMutationKeys = {
|
|
|
612
639
|
/** Update appPermissionDefault mutation key */ update: (id) => ['mutation', 'apppermissiondefault', 'update', id],
|
|
613
640
|
/** Delete appPermissionDefault mutation key */ delete: (id) => ['mutation', 'apppermissiondefault', 'delete', id],
|
|
614
641
|
};
|
|
642
|
+
export const identityProviderMutationKeys = {
|
|
643
|
+
/** All identityProvider mutation keys */ all: ['mutation', 'identityprovider'],
|
|
644
|
+
/** Create identityProvider mutation key */ create: () => ['mutation', 'identityprovider', 'create'],
|
|
645
|
+
/** Update identityProvider mutation key */ update: (id) => ['mutation', 'identityprovider', 'update', id],
|
|
646
|
+
/** Delete identityProvider mutation key */ delete: (id) => ['mutation', 'identityprovider', 'delete', id],
|
|
647
|
+
};
|
|
615
648
|
export const refMutationKeys = {
|
|
616
649
|
/** All ref mutation keys */ all: ['mutation', 'ref'],
|
|
617
650
|
/** Create ref mutation key */ create: () => ['mutation', 'ref', 'create'],
|
|
@@ -666,6 +699,12 @@ export const appMembershipDefaultMutationKeys = {
|
|
|
666
699
|
/** Update appMembershipDefault mutation key */ update: (id) => ['mutation', 'appmembershipdefault', 'update', id],
|
|
667
700
|
/** Delete appMembershipDefault mutation key */ delete: (id) => ['mutation', 'appmembershipdefault', 'delete', id],
|
|
668
701
|
};
|
|
702
|
+
export const orgMembershipDefaultMutationKeys = {
|
|
703
|
+
/** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'],
|
|
704
|
+
/** Create orgMembershipDefault mutation key */ create: () => ['mutation', 'orgmembershipdefault', 'create'],
|
|
705
|
+
/** Update orgMembershipDefault mutation key */ update: (id) => ['mutation', 'orgmembershipdefault', 'update', id],
|
|
706
|
+
/** Delete orgMembershipDefault mutation key */ delete: (id) => ['mutation', 'orgmembershipdefault', 'delete', id],
|
|
707
|
+
};
|
|
669
708
|
export const commitMutationKeys = {
|
|
670
709
|
/** All commit mutation keys */ all: ['mutation', 'commit'],
|
|
671
710
|
/** Create commit mutation key */ create: () => ['mutation', 'commit', 'create'],
|
|
@@ -684,12 +723,6 @@ export const membershipTypeMutationKeys = {
|
|
|
684
723
|
/** Update membershipType mutation key */ update: (id) => ['mutation', 'membershiptype', 'update', id],
|
|
685
724
|
/** Delete membershipType mutation key */ delete: (id) => ['mutation', 'membershiptype', 'delete', id],
|
|
686
725
|
};
|
|
687
|
-
export const orgMembershipDefaultMutationKeys = {
|
|
688
|
-
/** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'],
|
|
689
|
-
/** Create orgMembershipDefault mutation key */ create: () => ['mutation', 'orgmembershipdefault', 'create'],
|
|
690
|
-
/** Update orgMembershipDefault mutation key */ update: (id) => ['mutation', 'orgmembershipdefault', 'update', id],
|
|
691
|
-
/** Delete orgMembershipDefault mutation key */ delete: (id) => ['mutation', 'orgmembershipdefault', 'delete', id],
|
|
692
|
-
};
|
|
693
726
|
export const rlsModuleMutationKeys = {
|
|
694
727
|
/** All rlsModule mutation keys */ all: ['mutation', 'rlsmodule'],
|
|
695
728
|
/** Create rlsModule mutation key */ create: () => ['mutation', 'rlsmodule', 'create'],
|
|
@@ -702,6 +735,12 @@ export const sqlActionMutationKeys = {
|
|
|
702
735
|
/** Update sqlAction mutation key */ update: (id) => ['mutation', 'sqlaction', 'update', id],
|
|
703
736
|
/** Delete sqlAction mutation key */ delete: (id) => ['mutation', 'sqlaction', 'delete', id],
|
|
704
737
|
};
|
|
738
|
+
export const orgMembershipSettingMutationKeys = {
|
|
739
|
+
/** All orgMembershipSetting mutation keys */ all: ['mutation', 'orgmembershipsetting'],
|
|
740
|
+
/** Create orgMembershipSetting mutation key */ create: () => ['mutation', 'orgmembershipsetting', 'create'],
|
|
741
|
+
/** Update orgMembershipSetting mutation key */ update: (id) => ['mutation', 'orgmembershipsetting', 'update', id],
|
|
742
|
+
/** Delete orgMembershipSetting mutation key */ delete: (id) => ['mutation', 'orgmembershipsetting', 'delete', id],
|
|
743
|
+
};
|
|
705
744
|
export const userMutationKeys = {
|
|
706
745
|
/** All user mutation keys */ all: ['mutation', 'user'],
|
|
707
746
|
/** Create user mutation key */ create: () => ['mutation', 'user', 'create'],
|
|
@@ -799,9 +838,6 @@ export const customMutationKeys = {
|
|
|
799
838
|
/** Mutation key for copyTemplateToBlueprint */ copyTemplateToBlueprint: (identifier) => identifier
|
|
800
839
|
? ['mutation', 'copyTemplateToBlueprint', identifier]
|
|
801
840
|
: ['mutation', 'copyTemplateToBlueprint'],
|
|
802
|
-
/** Mutation key for createApiKey */ createApiKey: (identifier) => identifier
|
|
803
|
-
? ['mutation', 'createApiKey', identifier]
|
|
804
|
-
: ['mutation', 'createApiKey'],
|
|
805
841
|
/** Mutation key for provisionSpatialRelation */ provisionSpatialRelation: (identifier) => identifier
|
|
806
842
|
? ['mutation', 'provisionSpatialRelation', identifier]
|
|
807
843
|
: ['mutation', 'provisionSpatialRelation'],
|
|
@@ -853,6 +889,9 @@ export const customMutationKeys = {
|
|
|
853
889
|
/** Mutation key for extendTokenExpires */ extendTokenExpires: (identifier) => identifier
|
|
854
890
|
? ['mutation', 'extendTokenExpires', identifier]
|
|
855
891
|
: ['mutation', 'extendTokenExpires'],
|
|
892
|
+
/** Mutation key for createApiKey */ createApiKey: (identifier) => identifier
|
|
893
|
+
? ['mutation', 'createApiKey', identifier]
|
|
894
|
+
: ['mutation', 'createApiKey'],
|
|
856
895
|
/** Mutation key for signUp */ signUp: (identifier) => identifier ? ['mutation', 'signUp', identifier] : ['mutation', 'signUp'],
|
|
857
896
|
/** Mutation key for requestCrossOriginToken */ requestCrossOriginToken: (identifier) => identifier
|
|
858
897
|
? ['mutation', 'requestCrossOriginToken', identifier]
|
|
@@ -929,6 +968,7 @@ export const mutationKeys = {
|
|
|
929
968
|
secureTableProvision: secureTableProvisionMutationKeys,
|
|
930
969
|
relationProvision: relationProvisionMutationKeys,
|
|
931
970
|
sessionSecretsModule: sessionSecretsModuleMutationKeys,
|
|
971
|
+
identityProvidersModule: identityProvidersModuleMutationKeys,
|
|
932
972
|
schemaGrant: schemaGrantMutationKeys,
|
|
933
973
|
defaultPrivilege: defaultPrivilegeMutationKeys,
|
|
934
974
|
enum: enumMutationKeys,
|
|
@@ -968,6 +1008,8 @@ export const mutationKeys = {
|
|
|
968
1008
|
storageModule: storageModuleMutationKeys,
|
|
969
1009
|
entityTypeProvision: entityTypeProvisionMutationKeys,
|
|
970
1010
|
webauthnCredentialsModule: webauthnCredentialsModuleMutationKeys,
|
|
1011
|
+
webauthnAuthModule: webauthnAuthModuleMutationKeys,
|
|
1012
|
+
notificationsModule: notificationsModuleMutationKeys,
|
|
971
1013
|
databaseProvisionModule: databaseProvisionModuleMutationKeys,
|
|
972
1014
|
appAdminGrant: appAdminGrantMutationKeys,
|
|
973
1015
|
appOwnerGrant: appOwnerGrantMutationKeys,
|
|
@@ -989,12 +1031,14 @@ export const mutationKeys = {
|
|
|
989
1031
|
email: emailMutationKeys,
|
|
990
1032
|
phoneNumber: phoneNumberMutationKeys,
|
|
991
1033
|
cryptoAddress: cryptoAddressMutationKeys,
|
|
1034
|
+
webauthnCredential: webauthnCredentialMutationKeys,
|
|
992
1035
|
appInvite: appInviteMutationKeys,
|
|
993
1036
|
appClaimedInvite: appClaimedInviteMutationKeys,
|
|
994
1037
|
orgInvite: orgInviteMutationKeys,
|
|
995
1038
|
orgClaimedInvite: orgClaimedInviteMutationKeys,
|
|
996
1039
|
auditLog: auditLogMutationKeys,
|
|
997
1040
|
appPermissionDefault: appPermissionDefaultMutationKeys,
|
|
1041
|
+
identityProvider: identityProviderMutationKeys,
|
|
998
1042
|
ref: refMutationKeys,
|
|
999
1043
|
store: storeMutationKeys,
|
|
1000
1044
|
roleType: roleTypeMutationKeys,
|
|
@@ -1004,12 +1048,13 @@ export const mutationKeys = {
|
|
|
1004
1048
|
devicesModule: devicesModuleMutationKeys,
|
|
1005
1049
|
userConnectedAccount: userConnectedAccountMutationKeys,
|
|
1006
1050
|
appMembershipDefault: appMembershipDefaultMutationKeys,
|
|
1051
|
+
orgMembershipDefault: orgMembershipDefaultMutationKeys,
|
|
1007
1052
|
commit: commitMutationKeys,
|
|
1008
1053
|
rateLimitsModule: rateLimitsModuleMutationKeys,
|
|
1009
1054
|
membershipType: membershipTypeMutationKeys,
|
|
1010
|
-
orgMembershipDefault: orgMembershipDefaultMutationKeys,
|
|
1011
1055
|
rlsModule: rlsModuleMutationKeys,
|
|
1012
1056
|
sqlAction: sqlActionMutationKeys,
|
|
1057
|
+
orgMembershipSetting: orgMembershipSettingMutationKeys,
|
|
1013
1058
|
user: userMutationKeys,
|
|
1014
1059
|
astMigration: astMigrationMutationKeys,
|
|
1015
1060
|
appMembership: appMembershipMutationKeys,
|
|
@@ -84,6 +84,9 @@ export * from './useDeleteRelationProvisionMutation';
|
|
|
84
84
|
export * from './useCreateSessionSecretsModuleMutation';
|
|
85
85
|
export * from './useUpdateSessionSecretsModuleMutation';
|
|
86
86
|
export * from './useDeleteSessionSecretsModuleMutation';
|
|
87
|
+
export * from './useCreateIdentityProvidersModuleMutation';
|
|
88
|
+
export * from './useUpdateIdentityProvidersModuleMutation';
|
|
89
|
+
export * from './useDeleteIdentityProvidersModuleMutation';
|
|
87
90
|
export * from './useCreateSchemaGrantMutation';
|
|
88
91
|
export * from './useUpdateSchemaGrantMutation';
|
|
89
92
|
export * from './useDeleteSchemaGrantMutation';
|
|
@@ -201,6 +204,12 @@ export * from './useDeleteEntityTypeProvisionMutation';
|
|
|
201
204
|
export * from './useCreateWebauthnCredentialsModuleMutation';
|
|
202
205
|
export * from './useUpdateWebauthnCredentialsModuleMutation';
|
|
203
206
|
export * from './useDeleteWebauthnCredentialsModuleMutation';
|
|
207
|
+
export * from './useCreateWebauthnAuthModuleMutation';
|
|
208
|
+
export * from './useUpdateWebauthnAuthModuleMutation';
|
|
209
|
+
export * from './useDeleteWebauthnAuthModuleMutation';
|
|
210
|
+
export * from './useCreateNotificationsModuleMutation';
|
|
211
|
+
export * from './useUpdateNotificationsModuleMutation';
|
|
212
|
+
export * from './useDeleteNotificationsModuleMutation';
|
|
204
213
|
export * from './useCreateDatabaseProvisionModuleMutation';
|
|
205
214
|
export * from './useUpdateDatabaseProvisionModuleMutation';
|
|
206
215
|
export * from './useDeleteDatabaseProvisionModuleMutation';
|
|
@@ -264,6 +273,9 @@ export * from './useDeletePhoneNumberMutation';
|
|
|
264
273
|
export * from './useCreateCryptoAddressMutation';
|
|
265
274
|
export * from './useUpdateCryptoAddressMutation';
|
|
266
275
|
export * from './useDeleteCryptoAddressMutation';
|
|
276
|
+
export * from './useCreateWebauthnCredentialMutation';
|
|
277
|
+
export * from './useUpdateWebauthnCredentialMutation';
|
|
278
|
+
export * from './useDeleteWebauthnCredentialMutation';
|
|
267
279
|
export * from './useCreateAppInviteMutation';
|
|
268
280
|
export * from './useUpdateAppInviteMutation';
|
|
269
281
|
export * from './useDeleteAppInviteMutation';
|
|
@@ -282,6 +294,7 @@ export * from './useDeleteAuditLogMutation';
|
|
|
282
294
|
export * from './useCreateAppPermissionDefaultMutation';
|
|
283
295
|
export * from './useUpdateAppPermissionDefaultMutation';
|
|
284
296
|
export * from './useDeleteAppPermissionDefaultMutation';
|
|
297
|
+
export * from './useCreateIdentityProviderMutation';
|
|
285
298
|
export * from './useCreateRefMutation';
|
|
286
299
|
export * from './useUpdateRefMutation';
|
|
287
300
|
export * from './useDeleteRefMutation';
|
|
@@ -305,6 +318,9 @@ export * from './useCreateUserConnectedAccountMutation';
|
|
|
305
318
|
export * from './useCreateAppMembershipDefaultMutation';
|
|
306
319
|
export * from './useUpdateAppMembershipDefaultMutation';
|
|
307
320
|
export * from './useDeleteAppMembershipDefaultMutation';
|
|
321
|
+
export * from './useCreateOrgMembershipDefaultMutation';
|
|
322
|
+
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
323
|
+
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
308
324
|
export * from './useCreateCommitMutation';
|
|
309
325
|
export * from './useUpdateCommitMutation';
|
|
310
326
|
export * from './useDeleteCommitMutation';
|
|
@@ -314,13 +330,13 @@ export * from './useDeleteRateLimitsModuleMutation';
|
|
|
314
330
|
export * from './useCreateMembershipTypeMutation';
|
|
315
331
|
export * from './useUpdateMembershipTypeMutation';
|
|
316
332
|
export * from './useDeleteMembershipTypeMutation';
|
|
317
|
-
export * from './useCreateOrgMembershipDefaultMutation';
|
|
318
|
-
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
319
|
-
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
320
333
|
export * from './useCreateRlsModuleMutation';
|
|
321
334
|
export * from './useUpdateRlsModuleMutation';
|
|
322
335
|
export * from './useDeleteRlsModuleMutation';
|
|
323
336
|
export * from './useCreateSqlActionMutation';
|
|
337
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
338
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
339
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
324
340
|
export * from './useCreateUserMutation';
|
|
325
341
|
export * from './useUpdateUserMutation';
|
|
326
342
|
export * from './useDeleteUserMutation';
|
|
@@ -354,7 +370,6 @@ export * from './useProvisionNewUserMutation';
|
|
|
354
370
|
export * from './useResetPasswordMutation';
|
|
355
371
|
export * from './useRemoveNodeAtPathMutation';
|
|
356
372
|
export * from './useCopyTemplateToBlueprintMutation';
|
|
357
|
-
export * from './useCreateApiKeyMutation';
|
|
358
373
|
export * from './useProvisionSpatialRelationMutation';
|
|
359
374
|
export * from './useBootstrapUserMutation';
|
|
360
375
|
export * from './useSetFieldOrderMutation';
|
|
@@ -372,6 +387,7 @@ export * from './useApplyRlsMutation';
|
|
|
372
387
|
export * from './useSignInCrossOriginMutation';
|
|
373
388
|
export * from './useCreateUserDatabaseMutation';
|
|
374
389
|
export * from './useExtendTokenExpiresMutation';
|
|
390
|
+
export * from './useCreateApiKeyMutation';
|
|
375
391
|
export * from './useSignUpMutation';
|
|
376
392
|
export * from './useRequestCrossOriginTokenMutation';
|
|
377
393
|
export * from './useSignInMutation';
|
|
@@ -84,6 +84,9 @@ export * from './useDeleteRelationProvisionMutation';
|
|
|
84
84
|
export * from './useCreateSessionSecretsModuleMutation';
|
|
85
85
|
export * from './useUpdateSessionSecretsModuleMutation';
|
|
86
86
|
export * from './useDeleteSessionSecretsModuleMutation';
|
|
87
|
+
export * from './useCreateIdentityProvidersModuleMutation';
|
|
88
|
+
export * from './useUpdateIdentityProvidersModuleMutation';
|
|
89
|
+
export * from './useDeleteIdentityProvidersModuleMutation';
|
|
87
90
|
export * from './useCreateSchemaGrantMutation';
|
|
88
91
|
export * from './useUpdateSchemaGrantMutation';
|
|
89
92
|
export * from './useDeleteSchemaGrantMutation';
|
|
@@ -201,6 +204,12 @@ export * from './useDeleteEntityTypeProvisionMutation';
|
|
|
201
204
|
export * from './useCreateWebauthnCredentialsModuleMutation';
|
|
202
205
|
export * from './useUpdateWebauthnCredentialsModuleMutation';
|
|
203
206
|
export * from './useDeleteWebauthnCredentialsModuleMutation';
|
|
207
|
+
export * from './useCreateWebauthnAuthModuleMutation';
|
|
208
|
+
export * from './useUpdateWebauthnAuthModuleMutation';
|
|
209
|
+
export * from './useDeleteWebauthnAuthModuleMutation';
|
|
210
|
+
export * from './useCreateNotificationsModuleMutation';
|
|
211
|
+
export * from './useUpdateNotificationsModuleMutation';
|
|
212
|
+
export * from './useDeleteNotificationsModuleMutation';
|
|
204
213
|
export * from './useCreateDatabaseProvisionModuleMutation';
|
|
205
214
|
export * from './useUpdateDatabaseProvisionModuleMutation';
|
|
206
215
|
export * from './useDeleteDatabaseProvisionModuleMutation';
|
|
@@ -264,6 +273,9 @@ export * from './useDeletePhoneNumberMutation';
|
|
|
264
273
|
export * from './useCreateCryptoAddressMutation';
|
|
265
274
|
export * from './useUpdateCryptoAddressMutation';
|
|
266
275
|
export * from './useDeleteCryptoAddressMutation';
|
|
276
|
+
export * from './useCreateWebauthnCredentialMutation';
|
|
277
|
+
export * from './useUpdateWebauthnCredentialMutation';
|
|
278
|
+
export * from './useDeleteWebauthnCredentialMutation';
|
|
267
279
|
export * from './useCreateAppInviteMutation';
|
|
268
280
|
export * from './useUpdateAppInviteMutation';
|
|
269
281
|
export * from './useDeleteAppInviteMutation';
|
|
@@ -282,6 +294,7 @@ export * from './useDeleteAuditLogMutation';
|
|
|
282
294
|
export * from './useCreateAppPermissionDefaultMutation';
|
|
283
295
|
export * from './useUpdateAppPermissionDefaultMutation';
|
|
284
296
|
export * from './useDeleteAppPermissionDefaultMutation';
|
|
297
|
+
export * from './useCreateIdentityProviderMutation';
|
|
285
298
|
export * from './useCreateRefMutation';
|
|
286
299
|
export * from './useUpdateRefMutation';
|
|
287
300
|
export * from './useDeleteRefMutation';
|
|
@@ -305,6 +318,9 @@ export * from './useCreateUserConnectedAccountMutation';
|
|
|
305
318
|
export * from './useCreateAppMembershipDefaultMutation';
|
|
306
319
|
export * from './useUpdateAppMembershipDefaultMutation';
|
|
307
320
|
export * from './useDeleteAppMembershipDefaultMutation';
|
|
321
|
+
export * from './useCreateOrgMembershipDefaultMutation';
|
|
322
|
+
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
323
|
+
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
308
324
|
export * from './useCreateCommitMutation';
|
|
309
325
|
export * from './useUpdateCommitMutation';
|
|
310
326
|
export * from './useDeleteCommitMutation';
|
|
@@ -314,13 +330,13 @@ export * from './useDeleteRateLimitsModuleMutation';
|
|
|
314
330
|
export * from './useCreateMembershipTypeMutation';
|
|
315
331
|
export * from './useUpdateMembershipTypeMutation';
|
|
316
332
|
export * from './useDeleteMembershipTypeMutation';
|
|
317
|
-
export * from './useCreateOrgMembershipDefaultMutation';
|
|
318
|
-
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
319
|
-
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
320
333
|
export * from './useCreateRlsModuleMutation';
|
|
321
334
|
export * from './useUpdateRlsModuleMutation';
|
|
322
335
|
export * from './useDeleteRlsModuleMutation';
|
|
323
336
|
export * from './useCreateSqlActionMutation';
|
|
337
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
338
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
339
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
324
340
|
export * from './useCreateUserMutation';
|
|
325
341
|
export * from './useUpdateUserMutation';
|
|
326
342
|
export * from './useDeleteUserMutation';
|
|
@@ -354,7 +370,6 @@ export * from './useProvisionNewUserMutation';
|
|
|
354
370
|
export * from './useResetPasswordMutation';
|
|
355
371
|
export * from './useRemoveNodeAtPathMutation';
|
|
356
372
|
export * from './useCopyTemplateToBlueprintMutation';
|
|
357
|
-
export * from './useCreateApiKeyMutation';
|
|
358
373
|
export * from './useProvisionSpatialRelationMutation';
|
|
359
374
|
export * from './useBootstrapUserMutation';
|
|
360
375
|
export * from './useSetFieldOrderMutation';
|
|
@@ -372,6 +387,7 @@ export * from './useApplyRlsMutation';
|
|
|
372
387
|
export * from './useSignInCrossOriginMutation';
|
|
373
388
|
export * from './useCreateUserDatabaseMutation';
|
|
374
389
|
export * from './useExtendTokenExpiresMutation';
|
|
390
|
+
export * from './useCreateApiKeyMutation';
|
|
375
391
|
export * from './useSignUpMutation';
|
|
376
392
|
export * from './useRequestCrossOriginTokenMutation';
|
|
377
393
|
export * from './useSignInMutation';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for IdentityProvider
|
|
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 { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a IdentityProvider
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateIdentityProviderMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateIdentityProviderMutation<S extends IdentityProviderSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & IdentityProviderSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createIdentityProvider: {
|
|
28
|
+
identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateIdentityProviderInput['identityProvider']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createIdentityProvider: {
|
|
32
|
+
identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateIdentityProviderInput['identityProvider']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for IdentityProvider
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { identityProviderKeys } from '../query-keys';
|
|
10
|
+
import { identityProviderMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateIdentityProviderMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: identityProviderMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.identityProvider.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: identityProviderKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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, CreateIdentityProvidersModuleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, CreateIdentityProvidersModuleInput, } 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 } = useCreateIdentityProvidersModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateIdentityProvidersModuleMutation<S extends IdentityProvidersModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & IdentityProvidersModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createIdentityProvidersModule: {
|
|
28
|
+
identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateIdentityProvidersModuleInput['identityProvidersModule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createIdentityProvidersModule: {
|
|
32
|
+
identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateIdentityProvidersModuleInput['identityProvidersModule']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { identityProvidersModuleKeys } from '../query-keys';
|
|
10
|
+
import { identityProvidersModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateIdentityProvidersModuleMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: identityProvidersModuleMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.identityProvidersModule.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: identityProvidersModuleKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create 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, CreateNotificationsModuleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { NotificationsModuleSelect, NotificationsModuleWithRelations, CreateNotificationsModuleInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a NotificationsModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateNotificationsModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateNotificationsModuleMutation<S extends NotificationsModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & NotificationsModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createNotificationsModule: {
|
|
28
|
+
notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateNotificationsModuleInput['notificationsModule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createNotificationsModule: {
|
|
32
|
+
notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateNotificationsModuleInput['notificationsModule']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for NotificationsModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { notificationsModuleKeys } from '../query-keys';
|
|
10
|
+
import { notificationsModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateNotificationsModuleMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: notificationsModuleMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.notificationsModule.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: notificationsModuleKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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, CreateOrgMembershipSettingInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, CreateOrgMembershipSettingInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Per-entity settings for the memberships module
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgMembershipSettingMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgMembershipSettingMutation<S extends OrgMembershipSettingSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgMembershipSettingSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgMembershipSetting: {
|
|
28
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgMembershipSettingInput['orgMembershipSetting']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgMembershipSetting: {
|
|
32
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgMembershipSettingInput['orgMembershipSetting']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { orgMembershipSettingKeys } from '../query-keys';
|
|
10
|
+
import { orgMembershipSettingMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateOrgMembershipSettingMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: orgMembershipSettingMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.orgMembershipSetting.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: orgMembershipSettingKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -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,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
|
*/
|