@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, appPermissionKeys, orgPermissionKeys, appLevelRequirementKeys, orgMemberKeys, appPermissionDefaultKeys, orgPermissionDefaultKeys, appAdminGrantKeys, appOwnerGrantKeys, appLimitDefaultKeys, orgLimitDefaultKeys, orgAdminGrantKeys, orgOwnerGrantKeys, appLimitKeys, appAchievementKeys, appStepKeys, appClaimedInviteKeys, orgChartEdgeGrantKeys, orgLimitKeys, membershipTypeKeys, appGrantKeys, appMembershipDefaultKeys, orgClaimedInviteKeys, orgGrantKeys, orgChartEdgeKeys,
|
|
6
|
+
import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, appPermissionKeys, orgPermissionKeys, appLevelRequirementKeys, orgMemberKeys, appPermissionDefaultKeys, orgPermissionDefaultKeys, appAdminGrantKeys, appOwnerGrantKeys, appLimitDefaultKeys, orgLimitDefaultKeys, orgAdminGrantKeys, orgOwnerGrantKeys, appLimitKeys, appAchievementKeys, appStepKeys, appClaimedInviteKeys, orgChartEdgeGrantKeys, orgLimitKeys, membershipTypeKeys, appGrantKeys, appMembershipDefaultKeys, orgMembershipDefaultKeys, orgClaimedInviteKeys, orgGrantKeys, orgChartEdgeKeys, orgMemberProfileKeys, orgMembershipSettingKeys, appLevelKeys, appInviteKeys, orgInviteKeys, appMembershipKeys, orgMembershipKeys, } from './query-keys';
|
|
7
7
|
/**
|
|
8
8
|
// ============================================================================
|
|
9
9
|
// Invalidation Helpers
|
|
@@ -277,6 +277,17 @@ export const invalidate = {
|
|
|
277
277
|
queryKey: appMembershipDefaultKeys.detail(id),
|
|
278
278
|
}),
|
|
279
279
|
},
|
|
280
|
+
/** Invalidate orgMembershipDefault queries */ orgMembershipDefault: {
|
|
281
|
+
/** Invalidate all orgMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
282
|
+
queryKey: orgMembershipDefaultKeys.all,
|
|
283
|
+
}),
|
|
284
|
+
/** Invalidate orgMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
285
|
+
queryKey: orgMembershipDefaultKeys.lists(),
|
|
286
|
+
}),
|
|
287
|
+
/** Invalidate a specific orgMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
288
|
+
queryKey: orgMembershipDefaultKeys.detail(id),
|
|
289
|
+
}),
|
|
290
|
+
},
|
|
280
291
|
/** Invalidate orgClaimedInvite queries */ orgClaimedInvite: {
|
|
281
292
|
/** Invalidate all orgClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
282
293
|
queryKey: orgClaimedInviteKeys.all,
|
|
@@ -310,17 +321,6 @@ export const invalidate = {
|
|
|
310
321
|
queryKey: orgChartEdgeKeys.detail(id),
|
|
311
322
|
}),
|
|
312
323
|
},
|
|
313
|
-
/** Invalidate orgMembershipDefault queries */ orgMembershipDefault: {
|
|
314
|
-
/** Invalidate all orgMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
315
|
-
queryKey: orgMembershipDefaultKeys.all,
|
|
316
|
-
}),
|
|
317
|
-
/** Invalidate orgMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
318
|
-
queryKey: orgMembershipDefaultKeys.lists(),
|
|
319
|
-
}),
|
|
320
|
-
/** Invalidate a specific orgMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
321
|
-
queryKey: orgMembershipDefaultKeys.detail(id),
|
|
322
|
-
}),
|
|
323
|
-
},
|
|
324
324
|
/** Invalidate orgMemberProfile queries */ orgMemberProfile: {
|
|
325
325
|
/** Invalidate all orgMemberProfile queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
326
326
|
queryKey: orgMemberProfileKeys.all,
|
|
@@ -332,6 +332,17 @@ export const invalidate = {
|
|
|
332
332
|
queryKey: orgMemberProfileKeys.detail(id),
|
|
333
333
|
}),
|
|
334
334
|
},
|
|
335
|
+
/** Invalidate orgMembershipSetting queries */ orgMembershipSetting: {
|
|
336
|
+
/** Invalidate all orgMembershipSetting queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
337
|
+
queryKey: orgMembershipSettingKeys.all,
|
|
338
|
+
}),
|
|
339
|
+
/** Invalidate orgMembershipSetting list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
340
|
+
queryKey: orgMembershipSettingKeys.lists(),
|
|
341
|
+
}),
|
|
342
|
+
/** Invalidate a specific orgMembershipSetting */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
343
|
+
queryKey: orgMembershipSettingKeys.detail(id),
|
|
344
|
+
}),
|
|
345
|
+
},
|
|
335
346
|
/** Invalidate appLevel queries */ appLevel: {
|
|
336
347
|
/** Invalidate all appLevel queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
337
348
|
queryKey: appLevelKeys.all,
|
|
@@ -515,6 +526,11 @@ export const remove = {
|
|
|
515
526
|
queryKey: appMembershipDefaultKeys.detail(id),
|
|
516
527
|
});
|
|
517
528
|
},
|
|
529
|
+
/** Remove orgMembershipDefault from cache */ orgMembershipDefault: (queryClient, id) => {
|
|
530
|
+
queryClient.removeQueries({
|
|
531
|
+
queryKey: orgMembershipDefaultKeys.detail(id),
|
|
532
|
+
});
|
|
533
|
+
},
|
|
518
534
|
/** Remove orgClaimedInvite from cache */ orgClaimedInvite: (queryClient, id) => {
|
|
519
535
|
queryClient.removeQueries({
|
|
520
536
|
queryKey: orgClaimedInviteKeys.detail(id),
|
|
@@ -530,14 +546,14 @@ export const remove = {
|
|
|
530
546
|
queryKey: orgChartEdgeKeys.detail(id),
|
|
531
547
|
});
|
|
532
548
|
},
|
|
533
|
-
/** Remove
|
|
549
|
+
/** Remove orgMemberProfile from cache */ orgMemberProfile: (queryClient, id) => {
|
|
534
550
|
queryClient.removeQueries({
|
|
535
|
-
queryKey:
|
|
551
|
+
queryKey: orgMemberProfileKeys.detail(id),
|
|
536
552
|
});
|
|
537
553
|
},
|
|
538
|
-
/** Remove
|
|
554
|
+
/** Remove orgMembershipSetting from cache */ orgMembershipSetting: (queryClient, id) => {
|
|
539
555
|
queryClient.removeQueries({
|
|
540
|
-
queryKey:
|
|
556
|
+
queryKey: orgMembershipSettingKeys.detail(id),
|
|
541
557
|
});
|
|
542
558
|
},
|
|
543
559
|
/** Remove appLevel from cache */ appLevel: (queryClient, id) => {
|
|
@@ -141,6 +141,12 @@ export declare const appMembershipDefaultMutationKeys: {
|
|
|
141
141
|
/** Update appMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "appmembershipdefault", "update", string | number];
|
|
142
142
|
/** Delete appMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "appmembershipdefault", "delete", string | number];
|
|
143
143
|
};
|
|
144
|
+
export declare const orgMembershipDefaultMutationKeys: {
|
|
145
|
+
/** All orgMembershipDefault mutation keys */ readonly all: readonly ["mutation", "orgmembershipdefault"];
|
|
146
|
+
/** Create orgMembershipDefault mutation key */ readonly create: () => readonly ["mutation", "orgmembershipdefault", "create"];
|
|
147
|
+
/** Update orgMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "update", string | number];
|
|
148
|
+
/** Delete orgMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "delete", string | number];
|
|
149
|
+
};
|
|
144
150
|
export declare const orgClaimedInviteMutationKeys: {
|
|
145
151
|
/** All orgClaimedInvite mutation keys */ readonly all: readonly ["mutation", "orgclaimedinvite"];
|
|
146
152
|
/** Create orgClaimedInvite mutation key */ readonly create: () => readonly ["mutation", "orgclaimedinvite", "create"];
|
|
@@ -159,18 +165,18 @@ export declare const orgChartEdgeMutationKeys: {
|
|
|
159
165
|
/** Update orgChartEdge mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedge", "update", string | number];
|
|
160
166
|
/** Delete orgChartEdge mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedge", "delete", string | number];
|
|
161
167
|
};
|
|
162
|
-
export declare const orgMembershipDefaultMutationKeys: {
|
|
163
|
-
/** All orgMembershipDefault mutation keys */ readonly all: readonly ["mutation", "orgmembershipdefault"];
|
|
164
|
-
/** Create orgMembershipDefault mutation key */ readonly create: () => readonly ["mutation", "orgmembershipdefault", "create"];
|
|
165
|
-
/** Update orgMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "update", string | number];
|
|
166
|
-
/** Delete orgMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "delete", string | number];
|
|
167
|
-
};
|
|
168
168
|
export declare const orgMemberProfileMutationKeys: {
|
|
169
169
|
/** All orgMemberProfile mutation keys */ readonly all: readonly ["mutation", "orgmemberprofile"];
|
|
170
170
|
/** Create orgMemberProfile mutation key */ readonly create: () => readonly ["mutation", "orgmemberprofile", "create"];
|
|
171
171
|
/** Update orgMemberProfile mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmemberprofile", "update", string | number];
|
|
172
172
|
/** Delete orgMemberProfile mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmemberprofile", "delete", string | number];
|
|
173
173
|
};
|
|
174
|
+
export declare const orgMembershipSettingMutationKeys: {
|
|
175
|
+
/** All orgMembershipSetting mutation keys */ readonly all: readonly ["mutation", "orgmembershipsetting"];
|
|
176
|
+
/** Create orgMembershipSetting mutation key */ readonly create: () => readonly ["mutation", "orgmembershipsetting", "create"];
|
|
177
|
+
/** Update orgMembershipSetting mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipsetting", "update", string | number];
|
|
178
|
+
/** Delete orgMembershipSetting mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipsetting", "delete", string | number];
|
|
179
|
+
};
|
|
174
180
|
export declare const appLevelMutationKeys: {
|
|
175
181
|
/** All appLevel mutation keys */ readonly all: readonly ["mutation", "applevel"];
|
|
176
182
|
/** Create appLevel mutation key */ readonly create: () => readonly ["mutation", "applevel", "create"];
|
|
@@ -369,6 +375,12 @@ export declare const mutationKeys: {
|
|
|
369
375
|
/** Update appMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "appmembershipdefault", "update", string | number];
|
|
370
376
|
/** Delete appMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "appmembershipdefault", "delete", string | number];
|
|
371
377
|
};
|
|
378
|
+
readonly orgMembershipDefault: {
|
|
379
|
+
/** All orgMembershipDefault mutation keys */ readonly all: readonly ["mutation", "orgmembershipdefault"];
|
|
380
|
+
/** Create orgMembershipDefault mutation key */ readonly create: () => readonly ["mutation", "orgmembershipdefault", "create"];
|
|
381
|
+
/** Update orgMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "update", string | number];
|
|
382
|
+
/** Delete orgMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "delete", string | number];
|
|
383
|
+
};
|
|
372
384
|
readonly orgClaimedInvite: {
|
|
373
385
|
/** All orgClaimedInvite mutation keys */ readonly all: readonly ["mutation", "orgclaimedinvite"];
|
|
374
386
|
/** Create orgClaimedInvite mutation key */ readonly create: () => readonly ["mutation", "orgclaimedinvite", "create"];
|
|
@@ -387,18 +399,18 @@ export declare const mutationKeys: {
|
|
|
387
399
|
/** Update orgChartEdge mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedge", "update", string | number];
|
|
388
400
|
/** Delete orgChartEdge mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedge", "delete", string | number];
|
|
389
401
|
};
|
|
390
|
-
readonly orgMembershipDefault: {
|
|
391
|
-
/** All orgMembershipDefault mutation keys */ readonly all: readonly ["mutation", "orgmembershipdefault"];
|
|
392
|
-
/** Create orgMembershipDefault mutation key */ readonly create: () => readonly ["mutation", "orgmembershipdefault", "create"];
|
|
393
|
-
/** Update orgMembershipDefault mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "update", string | number];
|
|
394
|
-
/** Delete orgMembershipDefault mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipdefault", "delete", string | number];
|
|
395
|
-
};
|
|
396
402
|
readonly orgMemberProfile: {
|
|
397
403
|
/** All orgMemberProfile mutation keys */ readonly all: readonly ["mutation", "orgmemberprofile"];
|
|
398
404
|
/** Create orgMemberProfile mutation key */ readonly create: () => readonly ["mutation", "orgmemberprofile", "create"];
|
|
399
405
|
/** Update orgMemberProfile mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmemberprofile", "update", string | number];
|
|
400
406
|
/** Delete orgMemberProfile mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmemberprofile", "delete", string | number];
|
|
401
407
|
};
|
|
408
|
+
readonly orgMembershipSetting: {
|
|
409
|
+
/** All orgMembershipSetting mutation keys */ readonly all: readonly ["mutation", "orgmembershipsetting"];
|
|
410
|
+
/** Create orgMembershipSetting mutation key */ readonly create: () => readonly ["mutation", "orgmembershipsetting", "create"];
|
|
411
|
+
/** Update orgMembershipSetting mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgmembershipsetting", "update", string | number];
|
|
412
|
+
/** Delete orgMembershipSetting mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgmembershipsetting", "delete", string | number];
|
|
413
|
+
};
|
|
402
414
|
readonly appLevel: {
|
|
403
415
|
/** All appLevel mutation keys */ readonly all: readonly ["mutation", "applevel"];
|
|
404
416
|
/** Create appLevel mutation key */ readonly create: () => readonly ["mutation", "applevel", "create"];
|
|
@@ -156,6 +156,12 @@ export const appMembershipDefaultMutationKeys = {
|
|
|
156
156
|
/** Update appMembershipDefault mutation key */ update: (id) => ['mutation', 'appmembershipdefault', 'update', id],
|
|
157
157
|
/** Delete appMembershipDefault mutation key */ delete: (id) => ['mutation', 'appmembershipdefault', 'delete', id],
|
|
158
158
|
};
|
|
159
|
+
export const orgMembershipDefaultMutationKeys = {
|
|
160
|
+
/** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'],
|
|
161
|
+
/** Create orgMembershipDefault mutation key */ create: () => ['mutation', 'orgmembershipdefault', 'create'],
|
|
162
|
+
/** Update orgMembershipDefault mutation key */ update: (id) => ['mutation', 'orgmembershipdefault', 'update', id],
|
|
163
|
+
/** Delete orgMembershipDefault mutation key */ delete: (id) => ['mutation', 'orgmembershipdefault', 'delete', id],
|
|
164
|
+
};
|
|
159
165
|
export const orgClaimedInviteMutationKeys = {
|
|
160
166
|
/** All orgClaimedInvite mutation keys */ all: ['mutation', 'orgclaimedinvite'],
|
|
161
167
|
/** Create orgClaimedInvite mutation key */ create: () => ['mutation', 'orgclaimedinvite', 'create'],
|
|
@@ -174,18 +180,18 @@ export const orgChartEdgeMutationKeys = {
|
|
|
174
180
|
/** Update orgChartEdge mutation key */ update: (id) => ['mutation', 'orgchartedge', 'update', id],
|
|
175
181
|
/** Delete orgChartEdge mutation key */ delete: (id) => ['mutation', 'orgchartedge', 'delete', id],
|
|
176
182
|
};
|
|
177
|
-
export const orgMembershipDefaultMutationKeys = {
|
|
178
|
-
/** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'],
|
|
179
|
-
/** Create orgMembershipDefault mutation key */ create: () => ['mutation', 'orgmembershipdefault', 'create'],
|
|
180
|
-
/** Update orgMembershipDefault mutation key */ update: (id) => ['mutation', 'orgmembershipdefault', 'update', id],
|
|
181
|
-
/** Delete orgMembershipDefault mutation key */ delete: (id) => ['mutation', 'orgmembershipdefault', 'delete', id],
|
|
182
|
-
};
|
|
183
183
|
export const orgMemberProfileMutationKeys = {
|
|
184
184
|
/** All orgMemberProfile mutation keys */ all: ['mutation', 'orgmemberprofile'],
|
|
185
185
|
/** Create orgMemberProfile mutation key */ create: () => ['mutation', 'orgmemberprofile', 'create'],
|
|
186
186
|
/** Update orgMemberProfile mutation key */ update: (id) => ['mutation', 'orgmemberprofile', 'update', id],
|
|
187
187
|
/** Delete orgMemberProfile mutation key */ delete: (id) => ['mutation', 'orgmemberprofile', 'delete', id],
|
|
188
188
|
};
|
|
189
|
+
export const orgMembershipSettingMutationKeys = {
|
|
190
|
+
/** All orgMembershipSetting mutation keys */ all: ['mutation', 'orgmembershipsetting'],
|
|
191
|
+
/** Create orgMembershipSetting mutation key */ create: () => ['mutation', 'orgmembershipsetting', 'create'],
|
|
192
|
+
/** Update orgMembershipSetting mutation key */ update: (id) => ['mutation', 'orgmembershipsetting', 'update', id],
|
|
193
|
+
/** Delete orgMembershipSetting mutation key */ delete: (id) => ['mutation', 'orgmembershipsetting', 'delete', id],
|
|
194
|
+
};
|
|
189
195
|
export const appLevelMutationKeys = {
|
|
190
196
|
/** All appLevel mutation keys */ all: ['mutation', 'applevel'],
|
|
191
197
|
/** Create appLevel mutation key */ create: () => ['mutation', 'applevel', 'create'],
|
|
@@ -282,11 +288,12 @@ export const mutationKeys = {
|
|
|
282
288
|
membershipType: membershipTypeMutationKeys,
|
|
283
289
|
appGrant: appGrantMutationKeys,
|
|
284
290
|
appMembershipDefault: appMembershipDefaultMutationKeys,
|
|
291
|
+
orgMembershipDefault: orgMembershipDefaultMutationKeys,
|
|
285
292
|
orgClaimedInvite: orgClaimedInviteMutationKeys,
|
|
286
293
|
orgGrant: orgGrantMutationKeys,
|
|
287
294
|
orgChartEdge: orgChartEdgeMutationKeys,
|
|
288
|
-
orgMembershipDefault: orgMembershipDefaultMutationKeys,
|
|
289
295
|
orgMemberProfile: orgMemberProfileMutationKeys,
|
|
296
|
+
orgMembershipSetting: orgMembershipSettingMutationKeys,
|
|
290
297
|
appLevel: appLevelMutationKeys,
|
|
291
298
|
appInvite: appInviteMutationKeys,
|
|
292
299
|
orgInvite: orgInviteMutationKeys,
|
|
@@ -68,6 +68,9 @@ export * from './useDeleteAppGrantMutation';
|
|
|
68
68
|
export * from './useCreateAppMembershipDefaultMutation';
|
|
69
69
|
export * from './useUpdateAppMembershipDefaultMutation';
|
|
70
70
|
export * from './useDeleteAppMembershipDefaultMutation';
|
|
71
|
+
export * from './useCreateOrgMembershipDefaultMutation';
|
|
72
|
+
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
73
|
+
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
71
74
|
export * from './useCreateOrgClaimedInviteMutation';
|
|
72
75
|
export * from './useUpdateOrgClaimedInviteMutation';
|
|
73
76
|
export * from './useDeleteOrgClaimedInviteMutation';
|
|
@@ -77,12 +80,12 @@ export * from './useDeleteOrgGrantMutation';
|
|
|
77
80
|
export * from './useCreateOrgChartEdgeMutation';
|
|
78
81
|
export * from './useUpdateOrgChartEdgeMutation';
|
|
79
82
|
export * from './useDeleteOrgChartEdgeMutation';
|
|
80
|
-
export * from './useCreateOrgMembershipDefaultMutation';
|
|
81
|
-
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
82
|
-
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
83
83
|
export * from './useCreateOrgMemberProfileMutation';
|
|
84
84
|
export * from './useUpdateOrgMemberProfileMutation';
|
|
85
85
|
export * from './useDeleteOrgMemberProfileMutation';
|
|
86
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
87
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
88
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
86
89
|
export * from './useCreateAppLevelMutation';
|
|
87
90
|
export * from './useUpdateAppLevelMutation';
|
|
88
91
|
export * from './useDeleteAppLevelMutation';
|
|
@@ -68,6 +68,9 @@ export * from './useDeleteAppGrantMutation';
|
|
|
68
68
|
export * from './useCreateAppMembershipDefaultMutation';
|
|
69
69
|
export * from './useUpdateAppMembershipDefaultMutation';
|
|
70
70
|
export * from './useDeleteAppMembershipDefaultMutation';
|
|
71
|
+
export * from './useCreateOrgMembershipDefaultMutation';
|
|
72
|
+
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
73
|
+
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
71
74
|
export * from './useCreateOrgClaimedInviteMutation';
|
|
72
75
|
export * from './useUpdateOrgClaimedInviteMutation';
|
|
73
76
|
export * from './useDeleteOrgClaimedInviteMutation';
|
|
@@ -77,12 +80,12 @@ export * from './useDeleteOrgGrantMutation';
|
|
|
77
80
|
export * from './useCreateOrgChartEdgeMutation';
|
|
78
81
|
export * from './useUpdateOrgChartEdgeMutation';
|
|
79
82
|
export * from './useDeleteOrgChartEdgeMutation';
|
|
80
|
-
export * from './useCreateOrgMembershipDefaultMutation';
|
|
81
|
-
export * from './useUpdateOrgMembershipDefaultMutation';
|
|
82
|
-
export * from './useDeleteOrgMembershipDefaultMutation';
|
|
83
83
|
export * from './useCreateOrgMemberProfileMutation';
|
|
84
84
|
export * from './useUpdateOrgMemberProfileMutation';
|
|
85
85
|
export * from './useDeleteOrgMemberProfileMutation';
|
|
86
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
87
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
88
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
86
89
|
export * from './useCreateAppLevelMutation';
|
|
87
90
|
export * from './useUpdateAppLevelMutation';
|
|
88
91
|
export * from './useDeleteAppLevelMutation';
|
|
@@ -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
|
+
}
|
|
@@ -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,36 @@
|
|
|
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 useDeleteOrgMembershipSettingMutation(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.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.orgMembershipSetting.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: orgMembershipSettingKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: orgMembershipSettingKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-entity settings for the memberships module
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Per-entity settings for the memberships module
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateOrgMembershipSettingMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', orgMembershipSettingPatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateOrgMembershipSettingMutation<S extends OrgMembershipSettingSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgMembershipSettingSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateOrgMembershipSetting: {
|
|
28
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
orgMembershipSettingPatch: OrgMembershipSettingPatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateOrgMembershipSetting: {
|
|
35
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
orgMembershipSettingPatch: OrgMembershipSettingPatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 useUpdateOrgMembershipSettingMutation(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.all,
|
|
18
|
+
mutationFn: ({ id, orgMembershipSettingPatch, }) => getClient()
|
|
19
|
+
.orgMembershipSetting.update({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
data: orgMembershipSettingPatch,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: (_, variables) => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: orgMembershipSettingKeys.detail(variables.id),
|
|
30
|
+
});
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: orgMembershipSettingKeys.lists(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
...mutationOptions,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -47,16 +47,18 @@ export * from './useAppGrantsQuery';
|
|
|
47
47
|
export * from './useAppGrantQuery';
|
|
48
48
|
export * from './useAppMembershipDefaultsQuery';
|
|
49
49
|
export * from './useAppMembershipDefaultQuery';
|
|
50
|
+
export * from './useOrgMembershipDefaultsQuery';
|
|
51
|
+
export * from './useOrgMembershipDefaultQuery';
|
|
50
52
|
export * from './useOrgClaimedInvitesQuery';
|
|
51
53
|
export * from './useOrgClaimedInviteQuery';
|
|
52
54
|
export * from './useOrgGrantsQuery';
|
|
53
55
|
export * from './useOrgGrantQuery';
|
|
54
56
|
export * from './useOrgChartEdgesQuery';
|
|
55
57
|
export * from './useOrgChartEdgeQuery';
|
|
56
|
-
export * from './useOrgMembershipDefaultsQuery';
|
|
57
|
-
export * from './useOrgMembershipDefaultQuery';
|
|
58
58
|
export * from './useOrgMemberProfilesQuery';
|
|
59
59
|
export * from './useOrgMemberProfileQuery';
|
|
60
|
+
export * from './useOrgMembershipSettingsQuery';
|
|
61
|
+
export * from './useOrgMembershipSettingQuery';
|
|
60
62
|
export * from './useAppLevelsQuery';
|
|
61
63
|
export * from './useAppLevelQuery';
|
|
62
64
|
export * from './useAppInvitesQuery';
|
|
@@ -47,16 +47,18 @@ export * from './useAppGrantsQuery';
|
|
|
47
47
|
export * from './useAppGrantQuery';
|
|
48
48
|
export * from './useAppMembershipDefaultsQuery';
|
|
49
49
|
export * from './useAppMembershipDefaultQuery';
|
|
50
|
+
export * from './useOrgMembershipDefaultsQuery';
|
|
51
|
+
export * from './useOrgMembershipDefaultQuery';
|
|
50
52
|
export * from './useOrgClaimedInvitesQuery';
|
|
51
53
|
export * from './useOrgClaimedInviteQuery';
|
|
52
54
|
export * from './useOrgGrantsQuery';
|
|
53
55
|
export * from './useOrgGrantQuery';
|
|
54
56
|
export * from './useOrgChartEdgesQuery';
|
|
55
57
|
export * from './useOrgChartEdgeQuery';
|
|
56
|
-
export * from './useOrgMembershipDefaultsQuery';
|
|
57
|
-
export * from './useOrgMembershipDefaultQuery';
|
|
58
58
|
export * from './useOrgMemberProfilesQuery';
|
|
59
59
|
export * from './useOrgMemberProfileQuery';
|
|
60
|
+
export * from './useOrgMembershipSettingsQuery';
|
|
61
|
+
export * from './useOrgMembershipSettingQuery';
|
|
60
62
|
export * from './useAppLevelsQuery';
|
|
61
63
|
export * from './useAppLevelQuery';
|
|
62
64
|
export * from './useAppInvitesQuery';
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { UseQueryOptions, UseQueryResult, QueryClient } 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
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const orgMembershipSettingQueryKey: (id: string | number) => readonly ["orgmembershipsetting", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Per-entity settings for the memberships module
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useOrgMembershipSettingQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect, TData = {
|
|
24
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Per-entity settings for the memberships module
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchOrgMembershipSettingQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Per-entity settings for the memberships module
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchOrgMembershipSettingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
|
|
65
|
+
}): Promise<void>;
|