@contember/react-client-tenant 2.1.0-alpha.36 → 2.1.0-alpha.39
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/dist/development/index.cjs +159 -0
- package/dist/development/index.cjs.map +1 -0
- package/dist/development/index.js +159 -0
- package/dist/development/index.js.map +1 -0
- package/dist/development/src/components/IdentityProvider.cjs +38 -0
- package/dist/development/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/development/src/components/IdentityProvider.js +38 -0
- package/dist/development/src/components/IdentityProvider.js.map +1 -0
- package/dist/development/src/components/IdentityState.cjs +14 -0
- package/dist/development/src/components/IdentityState.cjs.map +1 -0
- package/dist/development/src/components/IdentityState.js +14 -0
- package/dist/development/src/components/IdentityState.js.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/development/src/components/forms/InviteForm.cjs +62 -0
- package/dist/development/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/development/src/components/forms/InviteForm.js +62 -0
- package/dist/development/src/components/forms/InviteForm.js.map +1 -0
- package/dist/development/src/components/forms/LoginForm.cjs +87 -0
- package/dist/development/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/development/src/components/forms/LoginForm.js +87 -0
- package/dist/development/src/components/forms/LoginForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.js +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/development/src/components/forms/TenantForm.cjs +101 -0
- package/dist/development/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/development/src/components/forms/TenantForm.js +101 -0
- package/dist/development/src/components/forms/TenantForm.js.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/development/src/components/idp/IDP.cjs +56 -0
- package/dist/development/src/components/idp/IDP.cjs.map +1 -0
- package/dist/development/src/components/idp/IDP.js +56 -0
- package/dist/development/src/components/idp/IDP.js.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/development/src/components/idp/IDPState.cjs +14 -0
- package/dist/development/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPState.js +14 -0
- package/dist/development/src/components/idp/IDPState.js.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/development/src/consts.cjs +5 -0
- package/dist/development/src/consts.cjs.map +1 -0
- package/dist/development/src/consts.js +5 -0
- package/dist/development/src/consts.js.map +1 -0
- package/dist/development/src/contexts.cjs +34 -0
- package/dist/development/src/contexts.cjs.map +1 -0
- package/dist/development/src/contexts.js +34 -0
- package/dist/development/src/contexts.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/development/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.js +55 -0
- package/dist/development/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/development/src/hooks/useLogout.cjs +10 -0
- package/dist/development/src/hooks/useLogout.cjs.map +1 -0
- package/dist/development/src/hooks/useLogout.js +10 -0
- package/dist/development/src/hooks/useLogout.js.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/development/src/hooks/useTenantApi.cjs +36 -0
- package/dist/development/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantApi.js +36 -0
- package/dist/development/src/hooks/useTenantApi.js.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/development/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.js +33 -0
- package/dist/development/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.js +8 -0
- package/dist/development/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/development/src/internal/utils/hashing.cjs +8 -0
- package/dist/development/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/development/src/internal/utils/hashing.js +8 -0
- package/dist/development/src/internal/utils/hashing.js.map +1 -0
- package/dist/development/src/internal/utils/randomInt.cjs +29 -0
- package/dist/development/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/development/src/internal/utils/randomInt.js +29 -0
- package/dist/development/src/internal/utils/randomInt.js.map +1 -0
- package/dist/production/index.cjs +159 -0
- package/dist/production/index.cjs.map +1 -0
- package/dist/production/index.js +159 -0
- package/dist/production/index.js.map +1 -0
- package/dist/production/src/components/IdentityProvider.cjs +26 -0
- package/dist/production/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/production/src/components/IdentityProvider.js +26 -0
- package/dist/production/src/components/IdentityProvider.js.map +1 -0
- package/dist/production/src/components/IdentityState.cjs +10 -0
- package/dist/production/src/components/IdentityState.cjs.map +1 -0
- package/dist/production/src/components/IdentityState.js +10 -0
- package/dist/production/src/components/IdentityState.js.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/production/src/components/forms/InviteForm.cjs +54 -0
- package/dist/production/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/production/src/components/forms/InviteForm.js +54 -0
- package/dist/production/src/components/forms/InviteForm.js.map +1 -0
- package/dist/production/src/components/forms/LoginForm.cjs +79 -0
- package/dist/production/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/production/src/components/forms/LoginForm.js +79 -0
- package/dist/production/src/components/forms/LoginForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.js +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/production/src/components/forms/TenantForm.cjs +89 -0
- package/dist/production/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/production/src/components/forms/TenantForm.js +89 -0
- package/dist/production/src/components/forms/TenantForm.js.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/production/src/components/idp/IDP.cjs +48 -0
- package/dist/production/src/components/idp/IDP.cjs.map +1 -0
- package/dist/production/src/components/idp/IDP.js +48 -0
- package/dist/production/src/components/idp/IDP.js.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/production/src/components/idp/IDPState.cjs +10 -0
- package/dist/production/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPState.js +10 -0
- package/dist/production/src/components/idp/IDPState.js.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/production/src/consts.cjs +5 -0
- package/dist/production/src/consts.cjs.map +1 -0
- package/dist/production/src/consts.js +5 -0
- package/dist/production/src/consts.js.map +1 -0
- package/dist/production/src/contexts.cjs +34 -0
- package/dist/production/src/contexts.cjs.map +1 -0
- package/dist/production/src/contexts.js +34 -0
- package/dist/production/src/contexts.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/production/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.js +55 -0
- package/dist/production/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/production/src/hooks/useLogout.cjs +10 -0
- package/dist/production/src/hooks/useLogout.cjs.map +1 -0
- package/dist/production/src/hooks/useLogout.js +10 -0
- package/dist/production/src/hooks/useLogout.js.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/production/src/hooks/useTenantApi.cjs +36 -0
- package/dist/production/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantApi.js +36 -0
- package/dist/production/src/hooks/useTenantApi.js.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/production/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.js +33 -0
- package/dist/production/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.js +8 -0
- package/dist/production/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/production/src/internal/utils/hashing.cjs +8 -0
- package/dist/production/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/production/src/internal/utils/hashing.js +8 -0
- package/dist/production/src/internal/utils/hashing.js.map +1 -0
- package/dist/production/src/internal/utils/randomInt.cjs +29 -0
- package/dist/production/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/production/src/internal/utils/randomInt.js +29 -0
- package/dist/production/src/internal/utils/randomInt.js.map +1 -0
- package/dist/types/components/IdentityProvider.d.ts +6 -0
- package/dist/types/components/IdentityProvider.d.ts.map +1 -0
- package/dist/types/components/IdentityState.d.ts +8 -0
- package/dist/types/components/IdentityState.d.ts.map +1 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +19 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +23 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +22 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +1 -0
- package/dist/types/components/forms/InviteForm.d.ts +25 -0
- package/dist/types/components/forms/InviteForm.d.ts.map +1 -0
- package/dist/types/components/forms/LoginForm.d.ts +20 -0
- package/dist/types/components/forms/LoginForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts +17 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts +19 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +17 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts +22 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +1 -0
- package/dist/types/components/forms/TenantForm.d.ts +37 -0
- package/dist/types/components/forms/TenantForm.d.ts.map +1 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +19 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +13 -0
- package/dist/types/components/forms/index.d.ts.map +1 -0
- package/dist/types/components/idp/IDP.d.ts +12 -0
- package/dist/types/components/idp/IDP.d.ts.map +1 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts +7 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts.map +1 -0
- package/dist/types/components/idp/IDPState.d.ts +8 -0
- package/dist/types/components/idp/IDPState.d.ts.map +1 -0
- package/dist/types/components/idp/index.d.ts +4 -0
- package/dist/types/components/idp/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts +8 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts +5 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +9 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts +22 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/index.d.ts +4 -0
- package/dist/types/components/triggers/index.d.ts.map +1 -0
- package/dist/types/consts.d.ts +2 -0
- package/dist/types/consts.d.ts.map +1 -0
- package/dist/types/contexts.d.ts +20 -0
- package/dist/types/contexts.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +9 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts +5 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +83 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +73 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +59 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/index.d.ts +4 -0
- package/dist/types/hooks/mutations/auth/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +65 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/index.d.ts +3 -0
- package/dist/types/hooks/mutations/idp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +76 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/index.d.ts +10 -0
- package/dist/types/hooks/mutations/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/index.d.ts +2 -0
- package/dist/types/hooks/mutations/invite/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +97 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts +4 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/index.d.ts +4 -0
- package/dist/types/hooks/mutations/otp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +17 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts +6 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +8 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +34 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/index.d.ts +3 -0
- package/dist/types/hooks/mutations/profile/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +21 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +23 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +1 -0
- package/dist/types/hooks/queries/index.d.ts +5 -0
- package/dist/types/hooks/queries/index.d.ts.map +1 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts +52 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +43 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +20 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +66 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +1 -0
- package/dist/types/hooks/useFetchIdentity.d.ts +6 -0
- package/dist/types/hooks/useFetchIdentity.d.ts.map +1 -0
- package/dist/types/hooks/useLogout.d.ts +4 -0
- package/dist/types/hooks/useLogout.d.ts.map +1 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts +19 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts.map +1 -0
- package/dist/types/hooks/useTenantApi.d.ts +12 -0
- package/dist/types/hooks/useTenantApi.d.ts.map +1 -0
- package/dist/types/hooks/useTenantMutation.d.ts +25 -0
- package/dist/types/hooks/useTenantMutation.d.ts.map +1 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts +17 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +11 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts +2 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts +9 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +1 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +16 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +1 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +4 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +1 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +6 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +1 -0
- package/dist/types/internal/utils/getBaseHref.d.ts +2 -0
- package/dist/types/internal/utils/getBaseHref.d.ts.map +1 -0
- package/dist/types/internal/utils/hashing.d.ts +2 -0
- package/dist/types/internal/utils/hashing.d.ts.map +1 -0
- package/dist/types/internal/utils/randomInt.d.ts +3 -0
- package/dist/types/internal/utils/randomInt.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/types/Identity.d.ts +20 -0
- package/dist/types/types/Identity.d.ts.map +1 -0
- package/dist/types/types/IdentityMethods.d.ts +5 -0
- package/dist/types/types/IdentityMethods.d.ts.map +1 -0
- package/dist/types/types/IdentityStateValue.d.ts +2 -0
- package/dist/types/types/IdentityStateValue.d.ts.map +1 -0
- package/dist/types/types/forms.d.ts +18 -0
- package/dist/types/types/forms.d.ts.map +1 -0
- package/dist/types/types/idp.d.ts +30 -0
- package/dist/types/types/idp.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +11 -11
package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveProjectMemberMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const removeProjectMemberMutation = TenantApi.mutation$\n\t.removeProjectMember(\n\t\tTenantApi\n\t\t\t.removeProjectMemberResponse$$\n\t\t\t.error(TenantApi.removeProjectMemberError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useRemoveProjectMemberMutation = createTenantMutation(removeProjectMemberMutation)\nexport type RemoveProjectMemberMutationVariables = Parameters<ReturnType<typeof useRemoveProjectMemberMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,8BAA8BA,qBAAU,UACnD;AAAA,EACAA,qBACE,8BACA,MAAMA,qBAAU,0BAA0B;AAAA,EAC5C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,iCAAiCC,kBAAAA,qBAAqB,2BAA2B;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const removeProjectMemberMutation = TenantApi.mutation$.removeProjectMember(
|
|
4
|
+
TenantApi.removeProjectMemberResponse$$.error(TenantApi.removeProjectMemberError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useRemoveProjectMemberMutation = createTenantMutation(removeProjectMemberMutation);
|
|
8
|
+
export {
|
|
9
|
+
removeProjectMemberMutation,
|
|
10
|
+
useRemoveProjectMemberMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useRemoveProjectMemberMutation.js.map
|
package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveProjectMemberMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const removeProjectMemberMutation = TenantApi.mutation$\n\t.removeProjectMember(\n\t\tTenantApi\n\t\t\t.removeProjectMemberResponse$$\n\t\t\t.error(TenantApi.removeProjectMemberError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useRemoveProjectMemberMutation = createTenantMutation(removeProjectMemberMutation)\nexport type RemoveProjectMemberMutationVariables = Parameters<ReturnType<typeof useRemoveProjectMemberMutation>>[0]\n"],"names":[],"mappings":";;AAGO,MAAM,8BAA8B,UAAU,UACnD;AAAA,EACA,UACE,8BACA,MAAM,UAAU,0BAA0B;AAAA,EAC5C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,iCAAiC,qBAAqB,2BAA2B;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const updateProjectMemberMutation = TenantApi__namespace.mutation$.updateProjectMember(
|
|
23
|
+
TenantApi__namespace.updateProjectMemberResponse$$.error(TenantApi__namespace.updateProjectMemberError$$.membershipValidation(TenantApi__namespace.membershipValidationError$$)),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useUpdateProjectMemberMutation = useTenantMutation.createTenantMutation(updateProjectMemberMutation);
|
|
27
|
+
exports.updateProjectMemberMutation = updateProjectMemberMutation;
|
|
28
|
+
exports.useUpdateProjectMemberMutation = useUpdateProjectMemberMutation;
|
|
29
|
+
//# sourceMappingURL=useUpdateProjectMemberMutation.cjs.map
|
package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateProjectMemberMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const updateProjectMemberMutation = TenantApi.mutation$\n\t.updateProjectMember(\n\t\tTenantApi\n\t\t\t.updateProjectMemberResponse$$\n\t\t\t.error(TenantApi.updateProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useUpdateProjectMemberMutation = createTenantMutation(updateProjectMemberMutation)\nexport type UpdateProjectMemberMutationVariables = Parameters<ReturnType<typeof useUpdateProjectMemberMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,8BAA8BA,qBAAU,UACnD;AAAA,EACAA,qBACE,8BACA,MAAMA,qBAAU,2BAA2B,qBAAqBA,qBAAU,2BAA2B,CAAC;AAAA,EACxG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,iCAAiCC,kBAAAA,qBAAqB,2BAA2B;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const updateProjectMemberMutation = TenantApi.mutation$.updateProjectMember(
|
|
4
|
+
TenantApi.updateProjectMemberResponse$$.error(TenantApi.updateProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useUpdateProjectMemberMutation = createTenantMutation(updateProjectMemberMutation);
|
|
8
|
+
export {
|
|
9
|
+
updateProjectMemberMutation,
|
|
10
|
+
useUpdateProjectMemberMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useUpdateProjectMemberMutation.js.map
|
package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateProjectMemberMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const updateProjectMemberMutation = TenantApi.mutation$\n\t.updateProjectMember(\n\t\tTenantApi\n\t\t\t.updateProjectMemberResponse$$\n\t\t\t.error(TenantApi.updateProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useUpdateProjectMemberMutation = createTenantMutation(updateProjectMemberMutation)\nexport type UpdateProjectMemberMutationVariables = Parameters<ReturnType<typeof useUpdateProjectMemberMutation>>[0]\n"],"names":[],"mappings":";;AAGO,MAAM,8BAA8B,UAAU,UACnD;AAAA,EACA,UACE,8BACA,MAAM,UAAU,2BAA2B,qBAAqB,UAAU,2BAA2B,CAAC;AAAA,EACxG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,iCAAiC,qBAAqB,2BAA2B;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const confirmOtpMutation = TenantApi__namespace.mutation$.confirmOtp(
|
|
23
|
+
TenantApi__namespace.confirmOtpResponse$$.error(TenantApi__namespace.confirmOtpError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useConfirmOtpMutation = useTenantMutation.createTenantMutation(confirmOtpMutation);
|
|
27
|
+
exports.confirmOtpMutation = confirmOtpMutation;
|
|
28
|
+
exports.useConfirmOtpMutation = useConfirmOtpMutation;
|
|
29
|
+
//# sourceMappingURL=useConfirmOtpMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmOtpMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/useConfirmOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const confirmOtpMutation = TenantApi.mutation$\n\t.confirmOtp(\n\t\tTenantApi\n\t\t\t.confirmOtpResponse$$\n\t\t\t.error(TenantApi.confirmOtpError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useConfirmOtpMutation = createTenantMutation(confirmOtpMutation)\nexport type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,qBAAqBA,qBAAU,UAC1C;AAAA,EACAA,qBACE,qBACA,MAAMA,qBAAU,iBAAiB;AAAA,EACnC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,wBAAwBC,kBAAAA,qBAAqB,kBAAkB;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const confirmOtpMutation = TenantApi.mutation$.confirmOtp(
|
|
4
|
+
TenantApi.confirmOtpResponse$$.error(TenantApi.confirmOtpError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useConfirmOtpMutation = createTenantMutation(confirmOtpMutation);
|
|
8
|
+
export {
|
|
9
|
+
confirmOtpMutation,
|
|
10
|
+
useConfirmOtpMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useConfirmOtpMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmOtpMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/useConfirmOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const confirmOtpMutation = TenantApi.mutation$\n\t.confirmOtp(\n\t\tTenantApi\n\t\t\t.confirmOtpResponse$$\n\t\t\t.error(TenantApi.confirmOtpError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useConfirmOtpMutation = createTenantMutation(confirmOtpMutation)\nexport type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0]\n"],"names":[],"mappings":";;AAGO,MAAM,qBAAqB,UAAU,UAC1C;AAAA,EACA,UACE,qBACA,MAAM,UAAU,iBAAiB;AAAA,EACnC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,wBAAwB,qBAAqB,kBAAkB;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const disableOtpMutation = TenantApi__namespace.mutation$.disableOtp(
|
|
23
|
+
TenantApi__namespace.disableOtpResponse$$.error(TenantApi__namespace.disableOtpError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useDisableOtpMutation = useTenantMutation.createTenantMutation(disableOtpMutation);
|
|
27
|
+
exports.disableOtpMutation = disableOtpMutation;
|
|
28
|
+
exports.useDisableOtpMutation = useDisableOtpMutation;
|
|
29
|
+
//# sourceMappingURL=useDisableOtpMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableOtpMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/useDisableOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const disableOtpMutation = TenantApi.mutation$.disableOtp(\n\tTenantApi.disableOtpResponse$$.error(TenantApi.disableOtpError$$),\n\toptions => options.alias('mutation'),\n)\n\nexport const useDisableOtpMutation = createTenantMutation(disableOtpMutation)\nexport type DisableOtpMutationVariables = Parameters<ReturnType<typeof useDisableOtpMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,qBAAqBA,qBAAU,UAAU;AAAA,EACrDA,qBAAU,qBAAqB,MAAMA,qBAAU,iBAAiB;AAAA,EAChE,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEO,MAAM,wBAAwBC,kBAAAA,qBAAqB,kBAAkB;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const disableOtpMutation = TenantApi.mutation$.disableOtp(
|
|
4
|
+
TenantApi.disableOtpResponse$$.error(TenantApi.disableOtpError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useDisableOtpMutation = createTenantMutation(disableOtpMutation);
|
|
8
|
+
export {
|
|
9
|
+
disableOtpMutation,
|
|
10
|
+
useDisableOtpMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useDisableOtpMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableOtpMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/useDisableOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const disableOtpMutation = TenantApi.mutation$.disableOtp(\n\tTenantApi.disableOtpResponse$$.error(TenantApi.disableOtpError$$),\n\toptions => options.alias('mutation'),\n)\n\nexport const useDisableOtpMutation = createTenantMutation(disableOtpMutation)\nexport type DisableOtpMutationVariables = Parameters<ReturnType<typeof useDisableOtpMutation>>[0]\n"],"names":[],"mappings":";;AAGO,MAAM,qBAAqB,UAAU,UAAU;AAAA,EACrD,UAAU,qBAAqB,MAAM,UAAU,iBAAiB;AAAA,EAChE,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEO,MAAM,wBAAwB,qBAAqB,kBAAkB;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const prepareOtmMutationResult = TenantApi__namespace.prepareOtpResponse$$.result(TenantApi__namespace.prepareOtpResult$$);
|
|
23
|
+
const prepareOtpMutation = TenantApi__namespace.mutation$.prepareOtp(
|
|
24
|
+
prepareOtmMutationResult,
|
|
25
|
+
(options) => options.alias("mutation")
|
|
26
|
+
);
|
|
27
|
+
const usePrepareOtpMutation = useTenantMutation.createTenantMutation(prepareOtpMutation);
|
|
28
|
+
exports.prepareOtpMutation = prepareOtpMutation;
|
|
29
|
+
exports.usePrepareOtpMutation = usePrepareOtpMutation;
|
|
30
|
+
//# sourceMappingURL=usePrepareOtpMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrepareOtpMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/usePrepareOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst prepareOtmMutationResult = TenantApi.prepareOtpResponse$$.result(TenantApi.prepareOtpResult$$)\n\nexport type PrepareOtpMutationResult = ModelType<typeof TenantApi.prepareOtpResult$$>\n\nexport const prepareOtpMutation = TenantApi.mutation$.prepareOtp(\n\tprepareOtmMutationResult,\n\toptions => options.alias('mutation'),\n)\n\nexport const usePrepareOtpMutation = createTenantMutation(prepareOtpMutation)\nexport type PrepareOtpMutationVariables = Parameters<ReturnType<typeof usePrepareOtpMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,2BAA2BA,qBAAU,qBAAqB,OAAOA,qBAAU,kBAAkB;AAI5F,MAAM,qBAAqBA,qBAAU,UAAU;AAAA,EACrD;AAAA,EACA,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEO,MAAM,wBAAwBC,kBAAAA,qBAAqB,kBAAkB;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const prepareOtmMutationResult = TenantApi.prepareOtpResponse$$.result(TenantApi.prepareOtpResult$$);
|
|
4
|
+
const prepareOtpMutation = TenantApi.mutation$.prepareOtp(
|
|
5
|
+
prepareOtmMutationResult,
|
|
6
|
+
(options) => options.alias("mutation")
|
|
7
|
+
);
|
|
8
|
+
const usePrepareOtpMutation = createTenantMutation(prepareOtpMutation);
|
|
9
|
+
export {
|
|
10
|
+
prepareOtpMutation,
|
|
11
|
+
usePrepareOtpMutation
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=usePrepareOtpMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrepareOtpMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/otp/usePrepareOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst prepareOtmMutationResult = TenantApi.prepareOtpResponse$$.result(TenantApi.prepareOtpResult$$)\n\nexport type PrepareOtpMutationResult = ModelType<typeof TenantApi.prepareOtpResult$$>\n\nexport const prepareOtpMutation = TenantApi.mutation$.prepareOtp(\n\tprepareOtmMutationResult,\n\toptions => options.alias('mutation'),\n)\n\nexport const usePrepareOtpMutation = createTenantMutation(prepareOtpMutation)\nexport type PrepareOtpMutationVariables = Parameters<ReturnType<typeof usePrepareOtpMutation>>[0]\n"],"names":[],"mappings":";;AAIA,MAAM,2BAA2B,UAAU,qBAAqB,OAAO,UAAU,kBAAkB;AAI5F,MAAM,qBAAqB,UAAU,UAAU;AAAA,EACrD;AAAA,EACA,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEO,MAAM,wBAAwB,qBAAqB,kBAAkB;"}
|
package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantApi = require("../../useTenantApi.cjs");
|
|
5
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
23
|
+
const createResetPasswordRequestMutation = TenantApi__namespace.mutation$.createResetPasswordRequest(
|
|
24
|
+
TenantApi__namespace.createPasswordResetRequestResponse$$.error(TenantApi__namespace.createPasswordResetRequestError$$),
|
|
25
|
+
(options) => options.alias("mutation")
|
|
26
|
+
);
|
|
27
|
+
const useCreateResetPasswordRequestMutation = useTenantMutation.createTenantMutation(createResetPasswordRequestMutation, {
|
|
28
|
+
apiToken: useTenantApi.LoginToken
|
|
29
|
+
});
|
|
30
|
+
exports.createResetPasswordRequestMutation = createResetPasswordRequestMutation;
|
|
31
|
+
exports.useCreateResetPasswordRequestMutation = useCreateResetPasswordRequestMutation;
|
|
32
|
+
//# sourceMappingURL=useCreateResetPasswordRequestMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateResetPasswordRequestMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const createResetPasswordRequestMutation = TenantApi\n\t.mutation$\n\t.createResetPasswordRequest(\n\t\tTenantApi\n\t\t\t.createPasswordResetRequestResponse$$\n\t\t\t.error(TenantApi.createPasswordResetRequestError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useCreateResetPasswordRequestMutation = createTenantMutation(createResetPasswordRequestMutation, {\n\tapiToken: LoginToken,\n})\nexport type CreateResetPasswordRequestMutationVariables = Parameters<ReturnType<typeof useCreateResetPasswordRequestMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIO,MAAM,qCAAqCA,qBAChD,UACA;AAAA,EACAA,qBACE,qCACA,MAAMA,qBAAU,iCAAiC;AAAA,EACnD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,wCAAwCC,kBAAAA,qBAAqB,oCAAoC;AAAA,EAC7G,UAAUC,aAAAA;AACX,CAAC;;;"}
|
package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const createResetPasswordRequestMutation = TenantApi.mutation$.createResetPasswordRequest(
|
|
5
|
+
TenantApi.createPasswordResetRequestResponse$$.error(TenantApi.createPasswordResetRequestError$$),
|
|
6
|
+
(options) => options.alias("mutation")
|
|
7
|
+
);
|
|
8
|
+
const useCreateResetPasswordRequestMutation = createTenantMutation(createResetPasswordRequestMutation, {
|
|
9
|
+
apiToken: LoginToken
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
createResetPasswordRequestMutation,
|
|
13
|
+
useCreateResetPasswordRequestMutation
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=useCreateResetPasswordRequestMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateResetPasswordRequestMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const createResetPasswordRequestMutation = TenantApi\n\t.mutation$\n\t.createResetPasswordRequest(\n\t\tTenantApi\n\t\t\t.createPasswordResetRequestResponse$$\n\t\t\t.error(TenantApi.createPasswordResetRequestError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useCreateResetPasswordRequestMutation = createTenantMutation(createResetPasswordRequestMutation, {\n\tapiToken: LoginToken,\n})\nexport type CreateResetPasswordRequestMutationVariables = Parameters<ReturnType<typeof useCreateResetPasswordRequestMutation>>[0]\n"],"names":[],"mappings":";;;AAIO,MAAM,qCAAqC,UAChD,UACA;AAAA,EACA,UACE,qCACA,MAAM,UAAU,iCAAiC;AAAA,EACnD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,wCAAwC,qBAAqB,oCAAoC;AAAA,EAC7G,UAAU;AACX,CAAC;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantApi = require("../../useTenantApi.cjs");
|
|
5
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
23
|
+
const resetPasswordMutation = TenantApi__namespace.mutation$.resetPassword(
|
|
24
|
+
TenantApi__namespace.resetPasswordResponse$$.error(TenantApi__namespace.resetPasswordError$$),
|
|
25
|
+
(options) => options.alias("mutation")
|
|
26
|
+
);
|
|
27
|
+
const useResetPasswordMutation = useTenantMutation.createTenantMutation(resetPasswordMutation, {
|
|
28
|
+
apiToken: useTenantApi.LoginToken
|
|
29
|
+
});
|
|
30
|
+
exports.resetPasswordMutation = resetPasswordMutation;
|
|
31
|
+
exports.useResetPasswordMutation = useResetPasswordMutation;
|
|
32
|
+
//# sourceMappingURL=useResetPasswordMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResetPasswordMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordReset/useResetPasswordMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const resetPasswordMutation = TenantApi\n\t.mutation$\n\t.resetPassword(\n\t\tTenantApi\n\t\t\t.resetPasswordResponse$$\n\t\t\t.error(TenantApi.resetPasswordError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useResetPasswordMutation = createTenantMutation(resetPasswordMutation, {\n\tapiToken: LoginToken,\n})\nexport type ResetPasswordMutationVariables = Parameters<ReturnType<typeof useResetPasswordMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIO,MAAM,wBAAwBA,qBACnC,UACA;AAAA,EACAA,qBACE,wBACA,MAAMA,qBAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,2BAA2BC,kBAAAA,qBAAqB,uBAAuB;AAAA,EACnF,UAAUC,aAAAA;AACX,CAAC;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const resetPasswordMutation = TenantApi.mutation$.resetPassword(
|
|
5
|
+
TenantApi.resetPasswordResponse$$.error(TenantApi.resetPasswordError$$),
|
|
6
|
+
(options) => options.alias("mutation")
|
|
7
|
+
);
|
|
8
|
+
const useResetPasswordMutation = createTenantMutation(resetPasswordMutation, {
|
|
9
|
+
apiToken: LoginToken
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
resetPasswordMutation,
|
|
13
|
+
useResetPasswordMutation
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=useResetPasswordMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResetPasswordMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordReset/useResetPasswordMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const resetPasswordMutation = TenantApi\n\t.mutation$\n\t.resetPassword(\n\t\tTenantApi\n\t\t\t.resetPasswordResponse$$\n\t\t\t.error(TenantApi.resetPasswordError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useResetPasswordMutation = createTenantMutation(resetPasswordMutation, {\n\tapiToken: LoginToken,\n})\nexport type ResetPasswordMutationVariables = Parameters<ReturnType<typeof useResetPasswordMutation>>[0]\n"],"names":[],"mappings":";;;AAIO,MAAM,wBAAwB,UACnC,UACA;AAAA,EACA,UACE,wBACA,MAAM,UAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,2BAA2B,qBAAqB,uBAAuB;AAAA,EACnF,UAAU;AACX,CAAC;"}
|
package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantApi = require("../../useTenantApi.cjs");
|
|
5
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
23
|
+
const ActivatePasswordlessOtpMutation = TenantApi__namespace.mutation$.activatePasswordlessOtp(
|
|
24
|
+
TenantApi__namespace.activatePasswordlessOtpResponse$$.error(TenantApi__namespace.activatePasswordlessOtpError$$),
|
|
25
|
+
(options) => options.alias("mutation")
|
|
26
|
+
);
|
|
27
|
+
const useActivatePasswordlessOtpMutation = useTenantMutation.createTenantMutation(ActivatePasswordlessOtpMutation, {
|
|
28
|
+
apiToken: useTenantApi.LoginToken
|
|
29
|
+
});
|
|
30
|
+
exports.useActivatePasswordlessOtpMutation = useActivatePasswordlessOtpMutation;
|
|
31
|
+
//# sourceMappingURL=useActivatePasswordlessOtpMutation.cjs.map
|
package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActivatePasswordlessOtpMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst ActivatePasswordlessOtpMutation = TenantApi\n\t.mutation$\n\t.activatePasswordlessOtp(\n\t\tTenantApi\n\t\t\t.activatePasswordlessOtpResponse$$\n\t\t\t.error(TenantApi.activatePasswordlessOtpError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useActivatePasswordlessOtpMutation = createTenantMutation(ActivatePasswordlessOtpMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type ActivatePasswordlessOtpMutationVariables = Parameters<ReturnType<typeof useActivatePasswordlessOtpMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,kCAAkCA,qBACtC,UACA;AAAA,EACAA,qBACE,kCACA,MAAMA,qBAAU,8BAA8B;AAAA,EAChD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,qCAAqCC,kBAAAA,qBAAqB,iCAAiC;AAAA,EACvG,UAAUC,aAAAA;AACX,CAAC;;"}
|
package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const ActivatePasswordlessOtpMutation = TenantApi.mutation$.activatePasswordlessOtp(
|
|
5
|
+
TenantApi.activatePasswordlessOtpResponse$$.error(TenantApi.activatePasswordlessOtpError$$),
|
|
6
|
+
(options) => options.alias("mutation")
|
|
7
|
+
);
|
|
8
|
+
const useActivatePasswordlessOtpMutation = createTenantMutation(ActivatePasswordlessOtpMutation, {
|
|
9
|
+
apiToken: LoginToken
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
useActivatePasswordlessOtpMutation
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useActivatePasswordlessOtpMutation.js.map
|
package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActivatePasswordlessOtpMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst ActivatePasswordlessOtpMutation = TenantApi\n\t.mutation$\n\t.activatePasswordlessOtp(\n\t\tTenantApi\n\t\t\t.activatePasswordlessOtpResponse$$\n\t\t\t.error(TenantApi.activatePasswordlessOtpError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useActivatePasswordlessOtpMutation = createTenantMutation(ActivatePasswordlessOtpMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type ActivatePasswordlessOtpMutationVariables = Parameters<ReturnType<typeof useActivatePasswordlessOtpMutation>>[0]\n"],"names":[],"mappings":";;;AAIA,MAAM,kCAAkC,UACtC,UACA;AAAA,EACA,UACE,kCACA,MAAM,UAAU,8BAA8B;AAAA,EAChD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,qCAAqC,qBAAqB,iCAAiC;AAAA,EACvG,UAAU;AACX,CAAC;"}
|
package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const DisableMyPasswordlessMutation = TenantApi__namespace.mutation$.disableMyPasswordless(
|
|
23
|
+
TenantApi__namespace.toggleMyPasswordlessResponse$$.error(TenantApi__namespace.toggleMyPasswordlessError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useDisableMyPasswordlessMutation = useTenantMutation.createTenantMutation(DisableMyPasswordlessMutation);
|
|
27
|
+
exports.useDisableMyPasswordlessMutation = useDisableMyPasswordlessMutation;
|
|
28
|
+
//# sourceMappingURL=useDisableMyPasswordlessMutation.cjs.map
|
package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableMyPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst DisableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.disableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useDisableMyPasswordlessMutation = createTenantMutation(DisableMyPasswordlessMutation)\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGA,MAAM,gCAAgCA,qBACpC,UACA;AAAA,EACAA,qBACE,+BACA,MAAMA,qBAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,mCAAmCC,kBAAAA,qBAAqB,6BAA6B;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const DisableMyPasswordlessMutation = TenantApi.mutation$.disableMyPasswordless(
|
|
4
|
+
TenantApi.toggleMyPasswordlessResponse$$.error(TenantApi.toggleMyPasswordlessError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useDisableMyPasswordlessMutation = createTenantMutation(DisableMyPasswordlessMutation);
|
|
8
|
+
export {
|
|
9
|
+
useDisableMyPasswordlessMutation
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useDisableMyPasswordlessMutation.js.map
|
package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableMyPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst DisableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.disableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useDisableMyPasswordlessMutation = createTenantMutation(DisableMyPasswordlessMutation)\n"],"names":[],"mappings":";;AAGA,MAAM,gCAAgC,UACpC,UACA;AAAA,EACA,UACE,+BACA,MAAM,UAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,mCAAmC,qBAAqB,6BAA6B;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const EnableMyPasswordlessMutation = TenantApi__namespace.mutation$.enableMyPasswordless(
|
|
23
|
+
TenantApi__namespace.toggleMyPasswordlessResponse$$.error(TenantApi__namespace.toggleMyPasswordlessError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useEnableMyPasswordlessMutation = useTenantMutation.createTenantMutation(EnableMyPasswordlessMutation);
|
|
27
|
+
exports.useEnableMyPasswordlessMutation = useEnableMyPasswordlessMutation;
|
|
28
|
+
//# sourceMappingURL=useEnableMyPasswordlessMutation.cjs.map
|
package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEnableMyPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst EnableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.enableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation)\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGA,MAAM,+BAA+BA,qBACnC,UACA;AAAA,EACAA,qBACE,+BACA,MAAMA,qBAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,kCAAkCC,kBAAAA,qBAAqB,4BAA4B;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const EnableMyPasswordlessMutation = TenantApi.mutation$.enableMyPasswordless(
|
|
4
|
+
TenantApi.toggleMyPasswordlessResponse$$.error(TenantApi.toggleMyPasswordlessError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation);
|
|
8
|
+
export {
|
|
9
|
+
useEnableMyPasswordlessMutation
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useEnableMyPasswordlessMutation.js.map
|
package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEnableMyPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst EnableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.enableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation)\n"],"names":[],"mappings":";;AAGA,MAAM,+BAA+B,UACnC,UACA;AAAA,EACA,UACE,+BACA,MAAM,UAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,kCAAkC,qBAAqB,4BAA4B;"}
|
package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantApi = require("../../useTenantApi.cjs");
|
|
5
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
23
|
+
const InitSignInPasswordlessMutationResult = TenantApi__namespace.initSignInPasswordlessResult$$;
|
|
24
|
+
const InitSignInPasswordlessMutation = TenantApi__namespace.mutation$.initSignInPasswordless(
|
|
25
|
+
TenantApi__namespace.initSignInPasswordlessResponse$$.error(TenantApi__namespace.initSignInPasswordlessError$$).result(InitSignInPasswordlessMutationResult),
|
|
26
|
+
(options) => options.alias("mutation")
|
|
27
|
+
);
|
|
28
|
+
const useInitSignInPasswordlessMutation = useTenantMutation.createTenantMutation(InitSignInPasswordlessMutation, {
|
|
29
|
+
apiToken: useTenantApi.LoginToken
|
|
30
|
+
});
|
|
31
|
+
exports.useInitSignInPasswordlessMutation = useInitSignInPasswordlessMutation;
|
|
32
|
+
//# sourceMappingURL=useInitSignInPasswordlessMutation.cjs.map
|
package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSignInPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$\nexport type InitSignInPasswordlessMutationResult = ModelType<typeof InitSignInPasswordlessMutationResult>\nconst InitSignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.initSignInPasswordless(\n\t\tTenantApi\n\t\t\t.initSignInPasswordlessResponse$$\n\t\t\t.error(TenantApi.initSignInPasswordlessError$$)\n\t\t\t.result(InitSignInPasswordlessMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type InitSignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useInitSignInPasswordlessMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,uCAAuCA,qBAAU;AAEvD,MAAM,iCAAiCA,qBACrC,UACA;AAAA,EACAA,qBACE,iCACA,MAAMA,qBAAU,6BAA6B,EAC7C,OAAO,oCAAoC;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,oCAAoCC,kBAAAA,qBAAqB,gCAAgC;AAAA,EACrG,UAAUC,aAAAA;AACX,CAAC;;"}
|
package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$;
|
|
5
|
+
const InitSignInPasswordlessMutation = TenantApi.mutation$.initSignInPasswordless(
|
|
6
|
+
TenantApi.initSignInPasswordlessResponse$$.error(TenantApi.initSignInPasswordlessError$$).result(InitSignInPasswordlessMutationResult),
|
|
7
|
+
(options) => options.alias("mutation")
|
|
8
|
+
);
|
|
9
|
+
const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {
|
|
10
|
+
apiToken: LoginToken
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
useInitSignInPasswordlessMutation
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=useInitSignInPasswordlessMutation.js.map
|
package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSignInPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$\nexport type InitSignInPasswordlessMutationResult = ModelType<typeof InitSignInPasswordlessMutationResult>\nconst InitSignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.initSignInPasswordless(\n\t\tTenantApi\n\t\t\t.initSignInPasswordlessResponse$$\n\t\t\t.error(TenantApi.initSignInPasswordlessError$$)\n\t\t\t.result(InitSignInPasswordlessMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type InitSignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useInitSignInPasswordlessMutation>>[0]\n"],"names":[],"mappings":";;;AAKA,MAAM,uCAAuC,UAAU;AAEvD,MAAM,iCAAiC,UACrC,UACA;AAAA,EACA,UACE,iCACA,MAAM,UAAU,6BAA6B,EAC7C,OAAO,oCAAoC;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEM,MAAM,oCAAoC,qBAAqB,gCAAgC;AAAA,EACrG,UAAU;AACX,CAAC;"}
|