@constructive-io/react 0.12.7 → 0.12.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +12 -6
- package/admin/hooks/invalidation.js +31 -15
- package/admin/hooks/mutation-keys.d.ts +24 -12
- package/admin/hooks/mutation-keys.js +15 -8
- package/admin/hooks/mutations/index.d.ts +6 -3
- package/admin/hooks/mutations/index.js +6 -3
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +4 -2
- package/admin/hooks/queries/index.js +4 -2
- package/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +28 -14
- package/admin/hooks/query-keys.js +17 -9
- package/admin/orm/index.d.ts +4 -2
- package/admin/orm/index.js +4 -2
- package/admin/orm/input-types.d.ts +303 -142
- package/admin/orm/models/index.d.ts +2 -1
- package/admin/orm/models/index.js +5 -3
- package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/admin/orm/models/orgMembershipSetting.js +100 -0
- package/admin/schema-types.d.ts +231 -106
- package/admin/types.d.ts +23 -11
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +12 -0
- package/auth/hooks/invalidation.js +32 -0
- package/auth/hooks/mutation-keys.d.ts +26 -2
- package/auth/hooks/mutation-keys.js +18 -4
- package/auth/hooks/mutations/index.d.ts +5 -1
- package/auth/hooks/mutations/index.js +5 -1
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/auth/hooks/queries/index.d.ts +3 -0
- package/auth/hooks/queries/index.js +3 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/auth/hooks/query-keys.d.ts +28 -0
- package/auth/hooks/query-keys.js +17 -1
- package/auth/orm/index.d.ts +9 -5
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +525 -81
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/identityProvider.d.ts +32 -0
- package/auth/orm/models/identityProvider.js +55 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/auth/orm/models/webauthnCredential.js +100 -0
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/auth/schema-types.d.ts +278 -22
- package/auth/types.d.ts +27 -0
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +12 -6
- package/esm/admin/hooks/invalidation.js +32 -16
- package/esm/admin/hooks/mutation-keys.d.ts +24 -12
- package/esm/admin/hooks/mutation-keys.js +14 -7
- package/esm/admin/hooks/mutations/index.d.ts +6 -3
- package/esm/admin/hooks/mutations/index.js +6 -3
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +4 -2
- package/esm/admin/hooks/queries/index.js +4 -2
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +28 -14
- package/esm/admin/hooks/query-keys.js +16 -8
- package/esm/admin/orm/index.d.ts +4 -2
- package/esm/admin/orm/index.js +4 -2
- package/esm/admin/orm/input-types.d.ts +303 -142
- package/esm/admin/orm/models/index.d.ts +2 -1
- package/esm/admin/orm/models/index.js +2 -1
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
- package/esm/admin/schema-types.d.ts +231 -106
- package/esm/admin/types.d.ts +23 -11
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +12 -0
- package/esm/auth/hooks/invalidation.js +33 -1
- package/esm/auth/hooks/mutation-keys.d.ts +26 -2
- package/esm/auth/hooks/mutation-keys.js +17 -3
- package/esm/auth/hooks/mutations/index.d.ts +5 -1
- package/esm/auth/hooks/mutations/index.js +5 -1
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/auth/hooks/queries/index.d.ts +3 -0
- package/esm/auth/hooks/queries/index.js +3 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/auth/hooks/query-keys.d.ts +28 -0
- package/esm/auth/hooks/query-keys.js +16 -0
- package/esm/auth/orm/index.d.ts +9 -5
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +525 -81
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/identityProvider.d.ts +32 -0
- package/esm/auth/orm/models/identityProvider.js +51 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/auth/orm/models/webauthnCredential.js +96 -0
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/auth/schema-types.d.ts +278 -22
- package/esm/auth/types.d.ts +27 -0
- package/esm/objects/orm/input-types.d.ts +12 -0
- package/esm/objects/schema-types.d.ts +12 -0
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +42 -6
- package/esm/public/hooks/invalidation.js +113 -17
- package/esm/public/hooks/mutation-keys.d.ts +86 -14
- package/esm/public/hooks/mutation-keys.js +55 -10
- package/esm/public/hooks/mutations/index.d.ts +20 -4
- package/esm/public/hooks/mutations/index.js +20 -4
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/queries/index.d.ts +13 -2
- package/esm/public/hooks/queries/index.js +13 -2
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +98 -14
- package/esm/public/hooks/query-keys.js +56 -8
- package/esm/public/orm/index.d.ts +19 -7
- package/esm/public/orm/index.js +14 -2
- package/esm/public/orm/input-types.d.ts +1827 -366
- package/esm/public/orm/input-types.js +7 -0
- package/esm/public/orm/models/identityProvider.d.ts +32 -0
- package/esm/public/orm/models/identityProvider.js +51 -0
- package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/esm/public/orm/models/identityProvidersModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +7 -1
- package/esm/public/orm/models/index.js +7 -1
- package/esm/public/orm/models/notificationsModule.d.ts +56 -0
- package/esm/public/orm/models/notificationsModule.js +96 -0
- package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipSetting.js +96 -0
- package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnAuthModule.js +96 -0
- package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredential.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/schema-types.d.ts +2041 -1214
- package/esm/public/types.d.ts +103 -27
- package/objects/orm/input-types.d.ts +12 -0
- package/objects/schema-types.d.ts +12 -0
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +42 -6
- package/public/hooks/invalidation.js +112 -16
- package/public/hooks/mutation-keys.d.ts +86 -14
- package/public/hooks/mutation-keys.js +58 -13
- package/public/hooks/mutations/index.d.ts +20 -4
- package/public/hooks/mutations/index.js +20 -4
- package/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/queries/index.d.ts +13 -2
- package/public/hooks/queries/index.js +13 -2
- package/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useIdentityProvidersModuleQuery.js +53 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.js +38 -0
- package/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useNotificationsModuleQuery.js +53 -0
- package/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useNotificationsModulesQuery.js +38 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnAuthModuleQuery.js +53 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.js +38 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +98 -14
- package/public/hooks/query-keys.js +59 -11
- package/public/orm/index.d.ts +19 -7
- package/public/orm/index.js +14 -2
- package/public/orm/input-types.d.ts +1827 -366
- package/public/orm/input-types.js +7 -0
- package/public/orm/models/identityProvider.d.ts +32 -0
- package/public/orm/models/identityProvider.js +55 -0
- package/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/public/orm/models/identityProvidersModule.js +100 -0
- package/public/orm/models/index.d.ts +7 -1
- package/public/orm/models/index.js +17 -5
- package/public/orm/models/notificationsModule.d.ts +56 -0
- package/public/orm/models/notificationsModule.js +100 -0
- package/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/public/orm/models/orgMembershipSetting.js +100 -0
- package/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/public/orm/models/webauthnAuthModule.js +100 -0
- package/public/orm/models/webauthnCredential.d.ts +56 -0
- package/public/orm/models/webauthnCredential.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/schema-types.d.ts +2041 -1214
- package/public/types.d.ts +103 -27
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for IdentityProvider
|
|
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 { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { IdentityProviderSelect, IdentityProviderWithRelations, IdentityProviderFilter, IdentityProviderOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { IdentityProviderSelect, IdentityProviderWithRelations, IdentityProviderFilter, IdentityProviderOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const identityProvidersQueryKey: (variables?: object) => readonly ["identityprovider", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching IdentityProvider list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useIdentityProvidersQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function useIdentityProvidersQuery<S extends IdentityProviderSelect, TData = {
|
|
29
|
+
identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch IdentityProvider list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchIdentityProvidersQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchIdentityProvidersQuery<S extends IdentityProviderSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch IdentityProvider list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchIdentityProvidersQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchIdentityProvidersQuery<S extends IdentityProviderSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* List query hook for IdentityProvider
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.identityProvidersQueryKey = void 0;
|
|
9
|
+
exports.useIdentityProvidersQuery = useIdentityProvidersQuery;
|
|
10
|
+
exports.fetchIdentityProvidersQuery = fetchIdentityProvidersQuery;
|
|
11
|
+
exports.prefetchIdentityProvidersQuery = prefetchIdentityProvidersQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.identityProvidersQueryKey = query_keys_1.identityProviderKeys.list;
|
|
18
|
+
function useIdentityProvidersQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.identityProviderKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().identityProvider.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchIdentityProvidersQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().identityProvider.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchIdentityProvidersQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.identityProviderKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().identityProvider.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const webauthnCredentialQueryKey: (id: string | number) => readonly ["webauthncredential", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useWebauthnCredentialQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useWebauthnCredentialQuery<S extends WebauthnCredentialSelect, TData = {
|
|
24
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchWebauthnCredentialQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchWebauthnCredentialQuery<S extends WebauthnCredentialSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchWebauthnCredentialQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchWebauthnCredentialQuery<S extends WebauthnCredentialSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.webauthnCredentialQueryKey = void 0;
|
|
9
|
+
exports.useWebauthnCredentialQuery = useWebauthnCredentialQuery;
|
|
10
|
+
exports.fetchWebauthnCredentialQuery = fetchWebauthnCredentialQuery;
|
|
11
|
+
exports.prefetchWebauthnCredentialQuery = prefetchWebauthnCredentialQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.webauthnCredentialQueryKey = query_keys_1.webauthnCredentialKeys.detail;
|
|
18
|
+
function useWebauthnCredentialQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.webauthnCredentialKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.webauthnCredential.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchWebauthnCredentialQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.webauthnCredential.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchWebauthnCredentialQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.webauthnCredentialKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.webauthnCredential.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialFilter, WebauthnCredentialOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialFilter, WebauthnCredentialOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const webauthnCredentialsQueryKey: (variables?: object) => readonly ["webauthncredential", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useWebauthnCredentialsQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function useWebauthnCredentialsQuery<S extends WebauthnCredentialSelect, TData = {
|
|
29
|
+
webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchWebauthnCredentialsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchWebauthnCredentialsQuery<S extends WebauthnCredentialSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchWebauthnCredentialsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchWebauthnCredentialsQuery<S extends WebauthnCredentialSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.webauthnCredentialsQueryKey = void 0;
|
|
9
|
+
exports.useWebauthnCredentialsQuery = useWebauthnCredentialsQuery;
|
|
10
|
+
exports.fetchWebauthnCredentialsQuery = fetchWebauthnCredentialsQuery;
|
|
11
|
+
exports.prefetchWebauthnCredentialsQuery = prefetchWebauthnCredentialsQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.webauthnCredentialsQueryKey = query_keys_1.webauthnCredentialKeys.list;
|
|
18
|
+
function useWebauthnCredentialsQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.webauthnCredentialKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().webauthnCredential.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchWebauthnCredentialsQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().webauthnCredential.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchWebauthnCredentialsQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.webauthnCredentialKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().webauthnCredential.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -24,6 +24,13 @@ export declare const cryptoAddressKeys: {
|
|
|
24
24
|
/** Detail query keys */ readonly details: () => readonly ["cryptoaddress", "detail"];
|
|
25
25
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["cryptoaddress", "detail", string | number];
|
|
26
26
|
};
|
|
27
|
+
export declare const webauthnCredentialKeys: {
|
|
28
|
+
/** All webauthnCredential queries */ readonly all: readonly ["webauthncredential"];
|
|
29
|
+
/** List query keys */ readonly lists: () => readonly ["webauthncredential", "list"];
|
|
30
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["webauthncredential", "list", object];
|
|
31
|
+
/** Detail query keys */ readonly details: () => readonly ["webauthncredential", "detail"];
|
|
32
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["webauthncredential", "detail", string | number];
|
|
33
|
+
};
|
|
27
34
|
export declare const auditLogKeys: {
|
|
28
35
|
/** All auditLog queries */ readonly all: readonly ["auditlog"];
|
|
29
36
|
/** List query keys */ readonly lists: () => readonly ["auditlog", "list"];
|
|
@@ -31,6 +38,13 @@ export declare const auditLogKeys: {
|
|
|
31
38
|
/** Detail query keys */ readonly details: () => readonly ["auditlog", "detail"];
|
|
32
39
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["auditlog", "detail", string | number];
|
|
33
40
|
};
|
|
41
|
+
export declare const identityProviderKeys: {
|
|
42
|
+
/** All identityProvider queries */ readonly all: readonly ["identityprovider"];
|
|
43
|
+
/** List query keys */ readonly lists: () => readonly ["identityprovider", "list"];
|
|
44
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["identityprovider", "list", object];
|
|
45
|
+
/** Detail query keys */ readonly details: () => readonly ["identityprovider", "detail"];
|
|
46
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["identityprovider", "detail", string | number];
|
|
47
|
+
};
|
|
34
48
|
export declare const roleTypeKeys: {
|
|
35
49
|
/** All roleType queries */ readonly all: readonly ["roletype"];
|
|
36
50
|
/** List query keys */ readonly lists: () => readonly ["roletype", "list"];
|
|
@@ -103,6 +117,13 @@ export declare const queryKeys: {
|
|
|
103
117
|
/** Detail query keys */ readonly details: () => readonly ["cryptoaddress", "detail"];
|
|
104
118
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["cryptoaddress", "detail", string | number];
|
|
105
119
|
};
|
|
120
|
+
readonly webauthnCredential: {
|
|
121
|
+
/** All webauthnCredential queries */ readonly all: readonly ["webauthncredential"];
|
|
122
|
+
/** List query keys */ readonly lists: () => readonly ["webauthncredential", "list"];
|
|
123
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["webauthncredential", "list", object];
|
|
124
|
+
/** Detail query keys */ readonly details: () => readonly ["webauthncredential", "detail"];
|
|
125
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["webauthncredential", "detail", string | number];
|
|
126
|
+
};
|
|
106
127
|
readonly auditLog: {
|
|
107
128
|
/** All auditLog queries */ readonly all: readonly ["auditlog"];
|
|
108
129
|
/** List query keys */ readonly lists: () => readonly ["auditlog", "list"];
|
|
@@ -110,6 +131,13 @@ export declare const queryKeys: {
|
|
|
110
131
|
/** Detail query keys */ readonly details: () => readonly ["auditlog", "detail"];
|
|
111
132
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["auditlog", "detail", string | number];
|
|
112
133
|
};
|
|
134
|
+
readonly identityProvider: {
|
|
135
|
+
/** All identityProvider queries */ readonly all: readonly ["identityprovider"];
|
|
136
|
+
/** List query keys */ readonly lists: () => readonly ["identityprovider", "list"];
|
|
137
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["identityprovider", "list", object];
|
|
138
|
+
/** Detail query keys */ readonly details: () => readonly ["identityprovider", "detail"];
|
|
139
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["identityprovider", "detail", string | number];
|
|
140
|
+
};
|
|
113
141
|
readonly roleType: {
|
|
114
142
|
/** All roleType queries */ readonly all: readonly ["roletype"];
|
|
115
143
|
/** List query keys */ readonly lists: () => readonly ["roletype", "list"];
|
package/auth/hooks/query-keys.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.queryKeys = exports.customQueryKeys = exports.userKeys = exports.userConnectedAccountKeys = exports.roleTypeKeys = exports.auditLogKeys = exports.cryptoAddressKeys = exports.phoneNumberKeys = exports.emailKeys = void 0;
|
|
8
|
+
exports.queryKeys = exports.customQueryKeys = exports.userKeys = exports.userConnectedAccountKeys = exports.roleTypeKeys = exports.identityProviderKeys = exports.auditLogKeys = exports.webauthnCredentialKeys = exports.cryptoAddressKeys = exports.phoneNumberKeys = exports.emailKeys = void 0;
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// This file provides a centralized, type-safe query key factory following
|
|
11
11
|
// the lukemorales query-key-factory pattern for React Query.
|
|
@@ -40,6 +40,13 @@ exports.cryptoAddressKeys = {
|
|
|
40
40
|
/** Detail query keys */ details: () => [...exports.cryptoAddressKeys.all, 'detail'],
|
|
41
41
|
/** Detail query key for specific item */ detail: (id) => [...exports.cryptoAddressKeys.details(), id],
|
|
42
42
|
};
|
|
43
|
+
exports.webauthnCredentialKeys = {
|
|
44
|
+
/** All webauthnCredential queries */ all: ['webauthncredential'],
|
|
45
|
+
/** List query keys */ lists: () => [...exports.webauthnCredentialKeys.all, 'list'],
|
|
46
|
+
/** List query key with variables */ list: (variables) => [...exports.webauthnCredentialKeys.lists(), variables],
|
|
47
|
+
/** Detail query keys */ details: () => [...exports.webauthnCredentialKeys.all, 'detail'],
|
|
48
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.webauthnCredentialKeys.details(), id],
|
|
49
|
+
};
|
|
43
50
|
exports.auditLogKeys = {
|
|
44
51
|
/** All auditLog queries */ all: ['auditlog'],
|
|
45
52
|
/** List query keys */ lists: () => [...exports.auditLogKeys.all, 'list'],
|
|
@@ -47,6 +54,13 @@ exports.auditLogKeys = {
|
|
|
47
54
|
/** Detail query keys */ details: () => [...exports.auditLogKeys.all, 'detail'],
|
|
48
55
|
/** Detail query key for specific item */ detail: (id) => [...exports.auditLogKeys.details(), id],
|
|
49
56
|
};
|
|
57
|
+
exports.identityProviderKeys = {
|
|
58
|
+
/** All identityProvider queries */ all: ['identityprovider'],
|
|
59
|
+
/** List query keys */ lists: () => [...exports.identityProviderKeys.all, 'list'],
|
|
60
|
+
/** List query key with variables */ list: (variables) => [...exports.identityProviderKeys.lists(), variables],
|
|
61
|
+
/** Detail query keys */ details: () => [...exports.identityProviderKeys.all, 'detail'],
|
|
62
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.identityProviderKeys.details(), id],
|
|
63
|
+
};
|
|
50
64
|
exports.roleTypeKeys = {
|
|
51
65
|
/** All roleType queries */ all: ['roletype'],
|
|
52
66
|
/** List query keys */ lists: () => [...exports.roleTypeKeys.all, 'list'],
|
|
@@ -104,7 +118,9 @@ exports.queryKeys = {
|
|
|
104
118
|
email: exports.emailKeys,
|
|
105
119
|
phoneNumber: exports.phoneNumberKeys,
|
|
106
120
|
cryptoAddress: exports.cryptoAddressKeys,
|
|
121
|
+
webauthnCredential: exports.webauthnCredentialKeys,
|
|
107
122
|
auditLog: exports.auditLogKeys,
|
|
123
|
+
identityProvider: exports.identityProviderKeys,
|
|
108
124
|
roleType: exports.roleTypeKeys,
|
|
109
125
|
userConnectedAccount: exports.userConnectedAccountKeys,
|
|
110
126
|
user: exports.userKeys,
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import type { OrmClientConfig } from './client';
|
|
|
2
2
|
import { EmailModel } from './models/email';
|
|
3
3
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
4
4
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
5
|
+
import { WebauthnCredentialModel } from './models/webauthnCredential';
|
|
5
6
|
import { AuditLogModel } from './models/auditLog';
|
|
7
|
+
import { IdentityProviderModel } from './models/identityProvider';
|
|
6
8
|
import { RoleTypeModel } from './models/roleType';
|
|
7
9
|
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
8
10
|
import { UserModel } from './models/user';
|
|
@@ -40,7 +42,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
40
42
|
email: EmailModel;
|
|
41
43
|
phoneNumber: PhoneNumberModel;
|
|
42
44
|
cryptoAddress: CryptoAddressModel;
|
|
45
|
+
webauthnCredential: WebauthnCredentialModel;
|
|
43
46
|
auditLog: AuditLogModel;
|
|
47
|
+
identityProvider: IdentityProviderModel;
|
|
44
48
|
roleType: RoleTypeModel;
|
|
45
49
|
userConnectedAccount: UserConnectedAccountModel;
|
|
46
50
|
user: UserModel;
|
|
@@ -137,11 +141,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
137
141
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
138
142
|
resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
|
|
139
143
|
}>;
|
|
140
|
-
createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
|
|
141
|
-
select: S;
|
|
142
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
143
|
-
createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
|
|
144
|
-
}>;
|
|
145
144
|
signInCrossOrigin: <S extends import("./input-types").SignInCrossOriginPayloadSelect>(args: import("./mutation").SignInCrossOriginVariables, options: {
|
|
146
145
|
select: S;
|
|
147
146
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -167,6 +166,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
167
166
|
} & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
168
167
|
extendTokenExpires: import("./select-types").InferSelectResult<import("./input-types").ExtendTokenExpiresPayload, S> | null;
|
|
169
168
|
}>;
|
|
169
|
+
createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
|
|
170
|
+
select: S;
|
|
171
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
172
|
+
createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
|
|
173
|
+
}>;
|
|
170
174
|
forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
|
|
171
175
|
select: S;
|
|
172
176
|
} & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/auth/orm/index.js
CHANGED
|
@@ -25,7 +25,9 @@ const client_1 = require("./client");
|
|
|
25
25
|
const email_1 = require("./models/email");
|
|
26
26
|
const phoneNumber_1 = require("./models/phoneNumber");
|
|
27
27
|
const cryptoAddress_1 = require("./models/cryptoAddress");
|
|
28
|
+
const webauthnCredential_1 = require("./models/webauthnCredential");
|
|
28
29
|
const auditLog_1 = require("./models/auditLog");
|
|
30
|
+
const identityProvider_1 = require("./models/identityProvider");
|
|
29
31
|
const roleType_1 = require("./models/roleType");
|
|
30
32
|
const userConnectedAccount_1 = require("./models/userConnectedAccount");
|
|
31
33
|
const user_1 = require("./models/user");
|
|
@@ -70,7 +72,9 @@ function createClient(config) {
|
|
|
70
72
|
email: new email_1.EmailModel(client),
|
|
71
73
|
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
72
74
|
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
75
|
+
webauthnCredential: new webauthnCredential_1.WebauthnCredentialModel(client),
|
|
73
76
|
auditLog: new auditLog_1.AuditLogModel(client),
|
|
77
|
+
identityProvider: new identityProvider_1.IdentityProviderModel(client),
|
|
74
78
|
roleType: new roleType_1.RoleTypeModel(client),
|
|
75
79
|
userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
|
|
76
80
|
user: new user_1.UserModel(client),
|