@contember/react-client-tenant 2.1.0-alpha.3 → 2.1.0-alpha.35
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/package.json +12 -12
- package/src/components/IdentityProvider.tsx +0 -2
- package/src/components/forms/ChangeMyPasswordForm.tsx +0 -1
- package/src/components/forms/LoginForm.tsx +2 -2
- package/src/components/forms/OtpConfirmForm.tsx +1 -2
- package/src/components/forms/OtpPrepareForm.tsx +1 -3
- package/src/components/forms/PasswordResetForm.tsx +0 -1
- package/src/components/forms/PasswordResetRequestForm.tsx +0 -3
- package/src/components/forms/PasswordlessSignInForm.tsx +12 -9
- package/src/components/forms/PasswordlessSignInInitForm.tsx +6 -3
- package/src/components/forms/TenantForm.tsx +14 -10
- package/src/components/forms/UpdateProjectMemberForm.tsx +2 -2
- package/src/components/idp/IDP.tsx +5 -5
- package/src/components/idp/IDPInitTrigger.tsx +1 -3
- package/src/components/triggers/DisableOtpTrigger.tsx +2 -1
- package/src/components/triggers/RemoveProjectMemberTrigger.tsx +0 -1
- package/src/components/triggers/TenantActionTrigger.tsx +4 -2
- package/src/contexts.ts +0 -2
- package/src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx +0 -1
- package/src/hooks/mutations/auth/useSignInMutation.ts +0 -1
- package/src/hooks/mutations/idp/useInitSignInIDPMutation.ts +5 -2
- package/src/hooks/mutations/idp/useSignInIdpMutation.ts +6 -4
- package/src/hooks/mutations/otp/useConfirmOtpMutation.ts +5 -5
- package/src/hooks/mutations/otp/usePrepareOtpMutation.ts +0 -1
- package/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts +0 -1
- package/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts +0 -1
- package/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts +0 -1
- package/src/hooks/mutations/profile/useChangeMyProfile.ts +2 -2
- package/src/hooks/mutations/profile/useChangeProfile.ts +2 -2
- package/src/hooks/queries/useMeQuery.ts +5 -4
- package/src/hooks/queries/useProjectMembersQuery.ts +19 -14
- package/src/hooks/queries/useProjectMembershipsQuery.ts +0 -1
- package/src/hooks/queries/useProjectRolesDefinitionQuery.ts +1 -2
- package/src/hooks/useFetchIdentity.ts +4 -1
- package/src/hooks/usePasswordlessOtpActivator.ts +4 -3
- package/src/hooks/useTenantApi.ts +0 -1
- package/src/hooks/useTenantMutation.ts +8 -6
- package/src/hooks/useTenantQueryLoader.ts +4 -3
- package/src/internal/hooks/useHandleIDPResponse.ts +6 -3
- package/src/internal/hooks/useIDPAutoInit.ts +0 -1
- package/src/internal/hooks/useIDPStateStore.ts +1 -1
- package/src/internal/hooks/useInitIDPRedirect.ts +4 -3
- package/src/internal/hooks/useLogoutInternal.ts +1 -1
- package/src/internal/hooks/useRedirectToBacklink.ts +11 -5
- package/src/internal/utils/randomInt.ts +0 -1
- package/src/types/idp.ts +0 -1
- package/dist/development/index.cjs +0 -159
- package/dist/development/index.cjs.map +0 -1
- package/dist/development/index.js +0 -159
- package/dist/development/index.js.map +0 -1
- package/dist/development/src/components/IdentityProvider.cjs +0 -38
- package/dist/development/src/components/IdentityProvider.cjs.map +0 -1
- package/dist/development/src/components/IdentityProvider.js +0 -38
- package/dist/development/src/components/IdentityProvider.js.map +0 -1
- package/dist/development/src/components/IdentityState.cjs +0 -14
- package/dist/development/src/components/IdentityState.cjs.map +0 -1
- package/dist/development/src/components/IdentityState.js +0 -14
- package/dist/development/src/components/IdentityState.js.map +0 -1
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs +0 -59
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +0 -1
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js +0 -59
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +0 -1
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs +0 -57
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +0 -1
- package/dist/development/src/components/forms/CreateApiKeyForm.js +0 -57
- package/dist/development/src/components/forms/CreateApiKeyForm.js.map +0 -1
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs +0 -50
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +0 -1
- package/dist/development/src/components/forms/CreateSessionTokenForm.js +0 -50
- package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +0 -1
- package/dist/development/src/components/forms/InviteForm.cjs +0 -62
- package/dist/development/src/components/forms/InviteForm.cjs.map +0 -1
- package/dist/development/src/components/forms/InviteForm.js +0 -62
- package/dist/development/src/components/forms/InviteForm.js.map +0 -1
- package/dist/development/src/components/forms/LoginForm.cjs +0 -85
- package/dist/development/src/components/forms/LoginForm.cjs.map +0 -1
- package/dist/development/src/components/forms/LoginForm.js +0 -85
- package/dist/development/src/components/forms/LoginForm.js.map +0 -1
- package/dist/development/src/components/forms/OtpConfirmForm.cjs +0 -49
- package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +0 -1
- package/dist/development/src/components/forms/OtpConfirmForm.js +0 -49
- package/dist/development/src/components/forms/OtpConfirmForm.js.map +0 -1
- package/dist/development/src/components/forms/OtpPrepareForm.cjs +0 -36
- package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +0 -1
- package/dist/development/src/components/forms/OtpPrepareForm.js +0 -36
- package/dist/development/src/components/forms/OtpPrepareForm.js.map +0 -1
- package/dist/development/src/components/forms/PasswordResetForm.cjs +0 -63
- package/dist/development/src/components/forms/PasswordResetForm.cjs.map +0 -1
- package/dist/development/src/components/forms/PasswordResetForm.js +0 -63
- package/dist/development/src/components/forms/PasswordResetForm.js.map +0 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +0 -49
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +0 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.js +0 -49
- package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +0 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +0 -79
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +0 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.js +0 -79
- package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +0 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +0 -54
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +0 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +0 -54
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +0 -1
- package/dist/development/src/components/forms/TenantForm.cjs +0 -91
- package/dist/development/src/components/forms/TenantForm.cjs.map +0 -1
- package/dist/development/src/components/forms/TenantForm.js +0 -91
- package/dist/development/src/components/forms/TenantForm.js.map +0 -1
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs +0 -64
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +0 -1
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js +0 -64
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +0 -1
- package/dist/development/src/components/idp/IDP.cjs +0 -56
- package/dist/development/src/components/idp/IDP.cjs.map +0 -1
- package/dist/development/src/components/idp/IDP.js +0 -56
- package/dist/development/src/components/idp/IDP.js.map +0 -1
- package/dist/development/src/components/idp/IDPInitTrigger.cjs +0 -16
- package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +0 -1
- package/dist/development/src/components/idp/IDPInitTrigger.js +0 -16
- package/dist/development/src/components/idp/IDPInitTrigger.js.map +0 -1
- package/dist/development/src/components/idp/IDPState.cjs +0 -14
- package/dist/development/src/components/idp/IDPState.cjs.map +0 -1
- package/dist/development/src/components/idp/IDPState.js +0 -14
- package/dist/development/src/components/idp/IDPState.js.map +0 -1
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs +0 -32
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +0 -1
- package/dist/development/src/components/triggers/DisableOtpTrigger.js +0 -32
- package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +0 -1
- package/dist/development/src/components/triggers/LogoutTrigger.cjs +0 -16
- package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +0 -1
- package/dist/development/src/components/triggers/LogoutTrigger.js +0 -16
- package/dist/development/src/components/triggers/LogoutTrigger.js.map +0 -1
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs +0 -17
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +0 -1
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js +0 -17
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +0 -1
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs +0 -37
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs.map +0 -1
- package/dist/development/src/components/triggers/TenantActionTrigger.js +0 -37
- package/dist/development/src/components/triggers/TenantActionTrigger.js.map +0 -1
- package/dist/development/src/consts.cjs +0 -5
- package/dist/development/src/consts.cjs.map +0 -1
- package/dist/development/src/consts.js +0 -5
- package/dist/development/src/consts.js.map +0 -1
- package/dist/development/src/contexts.cjs +0 -34
- package/dist/development/src/contexts.cjs.map +0 -1
- package/dist/development/src/contexts.js +0 -34
- package/dist/development/src/contexts.js.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +0 -30
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +0 -13
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +0 -30
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +0 -13
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +0 -30
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +0 -13
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +0 -12
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +0 -12
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +0 -33
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +0 -16
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js +0 -12
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +0 -31
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js +0 -14
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +0 -33
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +0 -16
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +0 -30
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +0 -13
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +0 -12
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +0 -12
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +0 -12
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js +0 -12
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs +0 -29
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js +0 -12
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +0 -30
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js +0 -13
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +0 -32
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +0 -15
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +0 -32
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +0 -15
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +0 -31
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +0 -14
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +0 -28
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +0 -11
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +0 -28
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +0 -11
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +0 -32
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +0 -15
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +0 -32
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +0 -15
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +0 -1
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs +0 -29
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js +0 -12
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +0 -1
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs +0 -29
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +0 -1
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js +0 -12
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +0 -1
- package/dist/development/src/hooks/queries/useMeQuery.cjs +0 -33
- package/dist/development/src/hooks/queries/useMeQuery.cjs.map +0 -1
- package/dist/development/src/hooks/queries/useMeQuery.js +0 -16
- package/dist/development/src/hooks/queries/useMeQuery.js.map +0 -1
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +0 -47
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +0 -1
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js +0 -30
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +0 -1
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs +0 -34
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +0 -1
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js +0 -17
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +0 -1
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +0 -36
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +0 -1
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js +0 -19
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +0 -1
- package/dist/development/src/hooks/useFetchIdentity.cjs +0 -52
- package/dist/development/src/hooks/useFetchIdentity.cjs.map +0 -1
- package/dist/development/src/hooks/useFetchIdentity.js +0 -52
- package/dist/development/src/hooks/useFetchIdentity.js.map +0 -1
- package/dist/development/src/hooks/useLogout.cjs +0 -10
- package/dist/development/src/hooks/useLogout.cjs.map +0 -1
- package/dist/development/src/hooks/useLogout.js +0 -10
- package/dist/development/src/hooks/useLogout.js.map +0 -1
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs +0 -53
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +0 -1
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js +0 -53
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +0 -1
- package/dist/development/src/hooks/useTenantApi.cjs +0 -36
- package/dist/development/src/hooks/useTenantApi.cjs.map +0 -1
- package/dist/development/src/hooks/useTenantApi.js +0 -36
- package/dist/development/src/hooks/useTenantApi.js.map +0 -1
- package/dist/development/src/hooks/useTenantMutation.cjs +0 -33
- package/dist/development/src/hooks/useTenantMutation.cjs.map +0 -1
- package/dist/development/src/hooks/useTenantMutation.js +0 -33
- package/dist/development/src/hooks/useTenantMutation.js.map +0 -1
- package/dist/development/src/hooks/useTenantQueryLoader.cjs +0 -36
- package/dist/development/src/hooks/useTenantQueryLoader.cjs.map +0 -1
- package/dist/development/src/hooks/useTenantQueryLoader.js +0 -36
- package/dist/development/src/hooks/useTenantQueryLoader.js.map +0 -1
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs +0 -51
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js +0 -51
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +0 -1
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs +0 -19
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useIDPAutoInit.js +0 -19
- package/dist/development/src/internal/hooks/useIDPAutoInit.js.map +0 -1
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs +0 -19
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useIDPStateStore.js +0 -19
- package/dist/development/src/internal/hooks/useIDPStateStore.js.map +0 -1
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs +0 -44
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js +0 -44
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +0 -1
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs +0 -35
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useLogoutInternal.js +0 -35
- package/dist/development/src/internal/hooks/useLogoutInternal.js.map +0 -1
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs +0 -31
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +0 -1
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js +0 -31
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +0 -1
- package/dist/development/src/internal/utils/getBaseHref.cjs +0 -8
- package/dist/development/src/internal/utils/getBaseHref.cjs.map +0 -1
- package/dist/development/src/internal/utils/getBaseHref.js +0 -8
- package/dist/development/src/internal/utils/getBaseHref.js.map +0 -1
- package/dist/development/src/internal/utils/hashing.cjs +0 -8
- package/dist/development/src/internal/utils/hashing.cjs.map +0 -1
- package/dist/development/src/internal/utils/hashing.js +0 -8
- package/dist/development/src/internal/utils/hashing.js.map +0 -1
- package/dist/development/src/internal/utils/randomInt.cjs +0 -29
- package/dist/development/src/internal/utils/randomInt.cjs.map +0 -1
- package/dist/development/src/internal/utils/randomInt.js +0 -29
- package/dist/development/src/internal/utils/randomInt.js.map +0 -1
- package/dist/production/index.cjs +0 -159
- package/dist/production/index.cjs.map +0 -1
- package/dist/production/index.js +0 -159
- package/dist/production/index.js.map +0 -1
- package/dist/production/src/components/IdentityProvider.cjs +0 -26
- package/dist/production/src/components/IdentityProvider.cjs.map +0 -1
- package/dist/production/src/components/IdentityProvider.js +0 -26
- package/dist/production/src/components/IdentityProvider.js.map +0 -1
- package/dist/production/src/components/IdentityState.cjs +0 -10
- package/dist/production/src/components/IdentityState.cjs.map +0 -1
- package/dist/production/src/components/IdentityState.js +0 -10
- package/dist/production/src/components/IdentityState.js.map +0 -1
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs +0 -51
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +0 -1
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js +0 -51
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +0 -1
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs +0 -49
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +0 -1
- package/dist/production/src/components/forms/CreateApiKeyForm.js +0 -49
- package/dist/production/src/components/forms/CreateApiKeyForm.js.map +0 -1
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs +0 -42
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +0 -1
- package/dist/production/src/components/forms/CreateSessionTokenForm.js +0 -42
- package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +0 -1
- package/dist/production/src/components/forms/InviteForm.cjs +0 -54
- package/dist/production/src/components/forms/InviteForm.cjs.map +0 -1
- package/dist/production/src/components/forms/InviteForm.js +0 -54
- package/dist/production/src/components/forms/InviteForm.js.map +0 -1
- package/dist/production/src/components/forms/LoginForm.cjs +0 -77
- package/dist/production/src/components/forms/LoginForm.cjs.map +0 -1
- package/dist/production/src/components/forms/LoginForm.js +0 -77
- package/dist/production/src/components/forms/LoginForm.js.map +0 -1
- package/dist/production/src/components/forms/OtpConfirmForm.cjs +0 -41
- package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +0 -1
- package/dist/production/src/components/forms/OtpConfirmForm.js +0 -41
- package/dist/production/src/components/forms/OtpConfirmForm.js.map +0 -1
- package/dist/production/src/components/forms/OtpPrepareForm.cjs +0 -28
- package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +0 -1
- package/dist/production/src/components/forms/OtpPrepareForm.js +0 -28
- package/dist/production/src/components/forms/OtpPrepareForm.js.map +0 -1
- package/dist/production/src/components/forms/PasswordResetForm.cjs +0 -55
- package/dist/production/src/components/forms/PasswordResetForm.cjs.map +0 -1
- package/dist/production/src/components/forms/PasswordResetForm.js +0 -55
- package/dist/production/src/components/forms/PasswordResetForm.js.map +0 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +0 -41
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +0 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.js +0 -41
- package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +0 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +0 -71
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +0 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.js +0 -71
- package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +0 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +0 -46
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +0 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +0 -46
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +0 -1
- package/dist/production/src/components/forms/TenantForm.cjs +0 -83
- package/dist/production/src/components/forms/TenantForm.cjs.map +0 -1
- package/dist/production/src/components/forms/TenantForm.js +0 -83
- package/dist/production/src/components/forms/TenantForm.js.map +0 -1
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs +0 -56
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +0 -1
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js +0 -56
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +0 -1
- package/dist/production/src/components/idp/IDP.cjs +0 -48
- package/dist/production/src/components/idp/IDP.cjs.map +0 -1
- package/dist/production/src/components/idp/IDP.js +0 -48
- package/dist/production/src/components/idp/IDP.js.map +0 -1
- package/dist/production/src/components/idp/IDPInitTrigger.cjs +0 -12
- package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +0 -1
- package/dist/production/src/components/idp/IDPInitTrigger.js +0 -12
- package/dist/production/src/components/idp/IDPInitTrigger.js.map +0 -1
- package/dist/production/src/components/idp/IDPState.cjs +0 -10
- package/dist/production/src/components/idp/IDPState.cjs.map +0 -1
- package/dist/production/src/components/idp/IDPState.js +0 -10
- package/dist/production/src/components/idp/IDPState.js.map +0 -1
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs +0 -24
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +0 -1
- package/dist/production/src/components/triggers/DisableOtpTrigger.js +0 -24
- package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +0 -1
- package/dist/production/src/components/triggers/LogoutTrigger.cjs +0 -12
- package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +0 -1
- package/dist/production/src/components/triggers/LogoutTrigger.js +0 -12
- package/dist/production/src/components/triggers/LogoutTrigger.js.map +0 -1
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs +0 -13
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +0 -1
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js +0 -13
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +0 -1
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs +0 -33
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs.map +0 -1
- package/dist/production/src/components/triggers/TenantActionTrigger.js +0 -33
- package/dist/production/src/components/triggers/TenantActionTrigger.js.map +0 -1
- package/dist/production/src/consts.cjs +0 -5
- package/dist/production/src/consts.cjs.map +0 -1
- package/dist/production/src/consts.js +0 -5
- package/dist/production/src/consts.js.map +0 -1
- package/dist/production/src/contexts.cjs +0 -34
- package/dist/production/src/contexts.cjs.map +0 -1
- package/dist/production/src/contexts.js +0 -34
- package/dist/production/src/contexts.js.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +0 -30
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +0 -13
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +0 -30
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +0 -13
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +0 -30
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +0 -13
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +0 -12
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +0 -12
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +0 -33
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +0 -16
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js +0 -12
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +0 -31
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js +0 -14
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +0 -33
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +0 -16
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +0 -30
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +0 -13
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +0 -12
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +0 -12
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +0 -12
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js +0 -12
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs +0 -29
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js +0 -12
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +0 -30
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js +0 -13
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +0 -32
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +0 -15
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +0 -32
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +0 -15
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +0 -31
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +0 -14
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +0 -28
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +0 -11
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +0 -28
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +0 -11
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +0 -32
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +0 -15
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +0 -32
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +0 -15
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +0 -1
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs +0 -29
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js +0 -12
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +0 -1
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs +0 -29
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +0 -1
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js +0 -12
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +0 -1
- package/dist/production/src/hooks/queries/useMeQuery.cjs +0 -33
- package/dist/production/src/hooks/queries/useMeQuery.cjs.map +0 -1
- package/dist/production/src/hooks/queries/useMeQuery.js +0 -16
- package/dist/production/src/hooks/queries/useMeQuery.js.map +0 -1
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +0 -47
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +0 -1
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js +0 -30
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +0 -1
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs +0 -34
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +0 -1
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js +0 -17
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +0 -1
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +0 -36
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +0 -1
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js +0 -19
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +0 -1
- package/dist/production/src/hooks/useFetchIdentity.cjs +0 -52
- package/dist/production/src/hooks/useFetchIdentity.cjs.map +0 -1
- package/dist/production/src/hooks/useFetchIdentity.js +0 -52
- package/dist/production/src/hooks/useFetchIdentity.js.map +0 -1
- package/dist/production/src/hooks/useLogout.cjs +0 -10
- package/dist/production/src/hooks/useLogout.cjs.map +0 -1
- package/dist/production/src/hooks/useLogout.js +0 -10
- package/dist/production/src/hooks/useLogout.js.map +0 -1
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs +0 -53
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +0 -1
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js +0 -53
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +0 -1
- package/dist/production/src/hooks/useTenantApi.cjs +0 -36
- package/dist/production/src/hooks/useTenantApi.cjs.map +0 -1
- package/dist/production/src/hooks/useTenantApi.js +0 -36
- package/dist/production/src/hooks/useTenantApi.js.map +0 -1
- package/dist/production/src/hooks/useTenantMutation.cjs +0 -33
- package/dist/production/src/hooks/useTenantMutation.cjs.map +0 -1
- package/dist/production/src/hooks/useTenantMutation.js +0 -33
- package/dist/production/src/hooks/useTenantMutation.js.map +0 -1
- package/dist/production/src/hooks/useTenantQueryLoader.cjs +0 -36
- package/dist/production/src/hooks/useTenantQueryLoader.cjs.map +0 -1
- package/dist/production/src/hooks/useTenantQueryLoader.js +0 -36
- package/dist/production/src/hooks/useTenantQueryLoader.js.map +0 -1
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs +0 -51
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js +0 -51
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +0 -1
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs +0 -19
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useIDPAutoInit.js +0 -19
- package/dist/production/src/internal/hooks/useIDPAutoInit.js.map +0 -1
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs +0 -19
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useIDPStateStore.js +0 -19
- package/dist/production/src/internal/hooks/useIDPStateStore.js.map +0 -1
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs +0 -44
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js +0 -44
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +0 -1
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs +0 -35
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useLogoutInternal.js +0 -35
- package/dist/production/src/internal/hooks/useLogoutInternal.js.map +0 -1
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs +0 -31
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +0 -1
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js +0 -31
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +0 -1
- package/dist/production/src/internal/utils/getBaseHref.cjs +0 -8
- package/dist/production/src/internal/utils/getBaseHref.cjs.map +0 -1
- package/dist/production/src/internal/utils/getBaseHref.js +0 -8
- package/dist/production/src/internal/utils/getBaseHref.js.map +0 -1
- package/dist/production/src/internal/utils/hashing.cjs +0 -8
- package/dist/production/src/internal/utils/hashing.cjs.map +0 -1
- package/dist/production/src/internal/utils/hashing.js +0 -8
- package/dist/production/src/internal/utils/hashing.js.map +0 -1
- package/dist/production/src/internal/utils/randomInt.cjs +0 -29
- package/dist/production/src/internal/utils/randomInt.cjs.map +0 -1
- package/dist/production/src/internal/utils/randomInt.js +0 -29
- package/dist/production/src/internal/utils/randomInt.js.map +0 -1
- package/dist/types/components/IdentityProvider.d.ts +0 -6
- package/dist/types/components/IdentityProvider.d.ts.map +0 -1
- package/dist/types/components/IdentityState.d.ts +0 -8
- package/dist/types/components/IdentityState.d.ts.map +0 -1
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +0 -19
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +0 -1
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +0 -23
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +0 -1
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +0 -22
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +0 -1
- package/dist/types/components/forms/InviteForm.d.ts +0 -25
- package/dist/types/components/forms/InviteForm.d.ts.map +0 -1
- package/dist/types/components/forms/LoginForm.d.ts +0 -20
- package/dist/types/components/forms/LoginForm.d.ts.map +0 -1
- package/dist/types/components/forms/OtpConfirmForm.d.ts +0 -17
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +0 -1
- package/dist/types/components/forms/OtpPrepareForm.d.ts +0 -19
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +0 -1
- package/dist/types/components/forms/PasswordResetForm.d.ts +0 -20
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +0 -1
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +0 -17
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +0 -1
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts +0 -22
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +0 -1
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +0 -20
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +0 -1
- package/dist/types/components/forms/TenantForm.d.ts +0 -37
- package/dist/types/components/forms/TenantForm.d.ts.map +0 -1
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +0 -19
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +0 -1
- package/dist/types/components/forms/index.d.ts +0 -13
- package/dist/types/components/forms/index.d.ts.map +0 -1
- package/dist/types/components/idp/IDP.d.ts +0 -10
- package/dist/types/components/idp/IDP.d.ts.map +0 -1
- package/dist/types/components/idp/IDPInitTrigger.d.ts +0 -7
- package/dist/types/components/idp/IDPInitTrigger.d.ts.map +0 -1
- package/dist/types/components/idp/IDPState.d.ts +0 -8
- package/dist/types/components/idp/IDPState.d.ts.map +0 -1
- package/dist/types/components/idp/index.d.ts +0 -4
- package/dist/types/components/idp/index.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -6
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts +0 -8
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +0 -1
- package/dist/types/components/triggers/LogoutTrigger.d.ts +0 -5
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +0 -1
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +0 -9
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +0 -1
- package/dist/types/components/triggers/TenantActionTrigger.d.ts +0 -22
- package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +0 -1
- package/dist/types/components/triggers/index.d.ts +0 -4
- package/dist/types/components/triggers/index.d.ts.map +0 -1
- package/dist/types/consts.d.ts +0 -2
- package/dist/types/consts.d.ts.map +0 -1
- package/dist/types/contexts.d.ts +0 -20
- package/dist/types/contexts.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts +0 -9
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/apiKey/index.d.ts +0 -5
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +0 -83
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +0 -73
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +0 -59
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +0 -21
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/auth/index.d.ts +0 -4
- package/dist/types/hooks/mutations/auth/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +0 -21
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +0 -63
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +0 -21
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/idp/index.d.ts +0 -3
- package/dist/types/hooks/mutations/idp/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +0 -19
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +0 -76
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/index.d.ts +0 -10
- package/dist/types/hooks/mutations/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/invite/index.d.ts +0 -2
- package/dist/types/hooks/mutations/invite/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +0 -97
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/memberships/index.d.ts +0 -4
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +0 -33
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +0 -23
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +0 -33
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/otp/index.d.ts +0 -4
- package/dist/types/hooks/mutations/otp/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +0 -21
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +0 -17
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +0 -25
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +0 -3
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +0 -23
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +0 -23
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/index.d.ts +0 -6
- package/dist/types/hooks/mutations/passwordless/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +0 -8
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +0 -3
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +0 -3
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +0 -19
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +0 -34
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +0 -1
- package/dist/types/hooks/mutations/profile/index.d.ts +0 -3
- package/dist/types/hooks/mutations/profile/index.d.ts.map +0 -1
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +0 -21
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +0 -1
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +0 -23
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +0 -1
- package/dist/types/hooks/queries/index.d.ts +0 -5
- package/dist/types/hooks/queries/index.d.ts.map +0 -1
- package/dist/types/hooks/queries/useMeQuery.d.ts +0 -52
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +0 -1
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +0 -43
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +0 -1
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +0 -20
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +0 -1
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +0 -66
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +0 -1
- package/dist/types/hooks/useFetchIdentity.d.ts +0 -6
- package/dist/types/hooks/useFetchIdentity.d.ts.map +0 -1
- package/dist/types/hooks/useLogout.d.ts +0 -4
- package/dist/types/hooks/useLogout.d.ts.map +0 -1
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts +0 -19
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts.map +0 -1
- package/dist/types/hooks/useTenantApi.d.ts +0 -12
- package/dist/types/hooks/useTenantApi.d.ts.map +0 -1
- package/dist/types/hooks/useTenantMutation.d.ts +0 -25
- package/dist/types/hooks/useTenantMutation.d.ts.map +0 -1
- package/dist/types/hooks/useTenantQueryLoader.d.ts +0 -17
- package/dist/types/hooks/useTenantQueryLoader.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -6
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +0 -10
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +0 -1
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts +0 -2
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +0 -1
- package/dist/types/internal/hooks/useIDPStateStore.d.ts +0 -9
- package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +0 -1
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +0 -15
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +0 -1
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +0 -4
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +0 -1
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +0 -4
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +0 -1
- package/dist/types/internal/utils/getBaseHref.d.ts +0 -2
- package/dist/types/internal/utils/getBaseHref.d.ts.map +0 -1
- package/dist/types/internal/utils/hashing.d.ts +0 -2
- package/dist/types/internal/utils/hashing.d.ts.map +0 -1
- package/dist/types/internal/utils/randomInt.d.ts +0 -3
- package/dist/types/internal/utils/randomInt.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/dist/types/types/Identity.d.ts +0 -20
- package/dist/types/types/Identity.d.ts.map +0 -1
- package/dist/types/types/IdentityMethods.d.ts +0 -5
- package/dist/types/types/IdentityMethods.d.ts.map +0 -1
- package/dist/types/types/IdentityStateValue.d.ts +0 -2
- package/dist/types/types/IdentityStateValue.d.ts.map +0 -1
- package/dist/types/types/forms.d.ts +0 -18
- package/dist/types/types/forms.d.ts.map +0 -1
- package/dist/types/types/idp.d.ts +0 -30
- package/dist/types/types/idp.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -6
- package/dist/types/types/index.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInitSignInIDPMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/idp/useInitSignInIDPMutation.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\n\nexport type InitSignInIDPMutationVariables = {\n\tidentityProvider: string\n\tdata: {\n\t\tredirectUrl?: string\n\t} & {\n\t\t[key: string]: string\n\t}\n}\nexport type InitSignInIDPMutationResult = ModelType<typeof TenantApi.initSignInIDPResult$$>\n\nconst InitSignInIDPMutation = TenantApi\n\t.mutation$\n\t.initSignInIDP(\n\t\tTenantApi\n\t\t\t.initSignInIDPResponse$$\n\t\t\t.error(TenantApi.initSignInIDPError$$)\n\t\t\t.result(TenantApi.initSignInIDPResult$.authUrl.sessionData),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInIDPMutation = createTenantMutation<InitSignInIDPMutationResult, TenantApi.InitSignInIDPErrorCode, InitSignInIDPMutationVariables>(InitSignInIDPMutation, {\n\tapiToken: LoginToken,\n})\n"],"names":[],"mappings":";;;AAgBA,MAAM,wBAAwB,UAC5B,UACA;AAAA,EACA,UACE,wBACA,MAAM,UAAU,oBAAoB,EACpC,OAAO,UAAU,qBAAqB,QAAQ,WAAW;AAAA,EAC3D,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2B,qBAAoH,uBAAuB;AAAA,EAClL,UAAU;AACX,CAAC;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 signInIdpFragment = TenantApi__namespace.signInIDPResult$$.person(TenantApi__namespace.person$.id.email.name);
|
|
24
|
-
const signInIDPMutation = TenantApi__namespace.mutation$.signInIDP(
|
|
25
|
-
TenantApi__namespace.signInIDPResponse$$.error(TenantApi__namespace.signInIDPError$$).result(signInIdpFragment),
|
|
26
|
-
(options) => options.alias("mutation")
|
|
27
|
-
);
|
|
28
|
-
const useSignInIDPMutation = useTenantMutation.createTenantMutation(signInIDPMutation, {
|
|
29
|
-
apiToken: useTenantApi.LoginToken
|
|
30
|
-
});
|
|
31
|
-
exports.signInIDPMutation = signInIDPMutation;
|
|
32
|
-
exports.useSignInIDPMutation = useSignInIDPMutation;
|
|
33
|
-
//# sourceMappingURL=useSignInIdpMutation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInIdpMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/idp/useSignInIdpMutation.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 signInIdpFragment = TenantApi.signInIDPResult$$.person(TenantApi.person$.id.email.name)\n\nexport type SignInIDPMutationResult = ModelType<typeof signInIdpFragment>\n\nexport const signInIDPMutation = TenantApi\n\t.mutation$\n\t.signInIDP(\n\t\tTenantApi\n\t\t\t.signInIDPResponse$$\n\t\t\t.error(TenantApi.signInIDPError$$)\n\t\t\t.result(signInIdpFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport type SignInIDPMutationVariables = {\n\tidentityProvider: string\n\texpiration?: number\n\tdata:\n\t\t& {\n\t\t\turl?: string\n\t\t\tredirectUrl?: string\n\t\t\tsessionData?: any\n\t\t}\n\t\t& { [key: string]: any }\n}\n\n\nexport const useSignInIDPMutation = createTenantMutation<SignInIDPMutationResult, TenantApi.SignInIDPErrorCode, SignInIDPMutationVariables>(signInIDPMutation, {\n\tapiToken: LoginToken,\n})\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,oBAAoBA,qBAAU,kBAAkB,OAAOA,qBAAU,QAAQ,GAAG,MAAM,IAAI;AAI/E,MAAA,oBAAoBA,qBAC/B,UACA;AAAA,EACAA,qBACE,oBACA,MAAMA,qBAAU,gBAAgB,EAChC,OAAO,iBAAiB;AAAA,EAC1B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAeY,MAAA,uBAAuBC,uCAAwG,mBAAmB;AAAA,EAC9J,UAAUC,aAAAA;AACX,CAAC;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
-
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
-
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
-
const signInIdpFragment = TenantApi.signInIDPResult$$.person(TenantApi.person$.id.email.name);
|
|
5
|
-
const signInIDPMutation = TenantApi.mutation$.signInIDP(
|
|
6
|
-
TenantApi.signInIDPResponse$$.error(TenantApi.signInIDPError$$).result(signInIdpFragment),
|
|
7
|
-
(options) => options.alias("mutation")
|
|
8
|
-
);
|
|
9
|
-
const useSignInIDPMutation = createTenantMutation(signInIDPMutation, {
|
|
10
|
-
apiToken: LoginToken
|
|
11
|
-
});
|
|
12
|
-
export {
|
|
13
|
-
signInIDPMutation,
|
|
14
|
-
useSignInIDPMutation
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=useSignInIdpMutation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInIdpMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/idp/useSignInIdpMutation.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 signInIdpFragment = TenantApi.signInIDPResult$$.person(TenantApi.person$.id.email.name)\n\nexport type SignInIDPMutationResult = ModelType<typeof signInIdpFragment>\n\nexport const signInIDPMutation = TenantApi\n\t.mutation$\n\t.signInIDP(\n\t\tTenantApi\n\t\t\t.signInIDPResponse$$\n\t\t\t.error(TenantApi.signInIDPError$$)\n\t\t\t.result(signInIdpFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport type SignInIDPMutationVariables = {\n\tidentityProvider: string\n\texpiration?: number\n\tdata:\n\t\t& {\n\t\t\turl?: string\n\t\t\tredirectUrl?: string\n\t\t\tsessionData?: any\n\t\t}\n\t\t& { [key: string]: any }\n}\n\n\nexport const useSignInIDPMutation = createTenantMutation<SignInIDPMutationResult, TenantApi.SignInIDPErrorCode, SignInIDPMutationVariables>(signInIDPMutation, {\n\tapiToken: LoginToken,\n})\n"],"names":[],"mappings":";;;AAKA,MAAM,oBAAoB,UAAU,kBAAkB,OAAO,UAAU,QAAQ,GAAG,MAAM,IAAI;AAI/E,MAAA,oBAAoB,UAC/B,UACA;AAAA,EACA,UACE,oBACA,MAAM,UAAU,gBAAgB,EAChC,OAAO,iBAAiB;AAAA,EAC1B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAeY,MAAA,uBAAuB,qBAAwG,mBAAmB;AAAA,EAC9J,UAAU;AACX,CAAC;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 inviteMutationResult = TenantApi__namespace.inviteResult$$.person(TenantApi__namespace.person$.id.email.name.identity(TenantApi__namespace.identity$$));
|
|
23
|
-
const inviteMutation = TenantApi__namespace.mutation$.invite(
|
|
24
|
-
TenantApi__namespace.inviteResponse$$.error(TenantApi__namespace.inviteError$$.membershipValidation(TenantApi__namespace.membershipValidationError$$)).result(inviteMutationResult),
|
|
25
|
-
(options) => options.alias("mutation")
|
|
26
|
-
);
|
|
27
|
-
const useInviteMutation = useTenantMutation.createTenantMutation(inviteMutation);
|
|
28
|
-
exports.inviteMutation = inviteMutation;
|
|
29
|
-
exports.useInviteMutation = useInviteMutation;
|
|
30
|
-
//# sourceMappingURL=useInviteMutation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInviteMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/invite/useInviteMutation.tsx"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst inviteMutationResult = TenantApi.inviteResult$$\n\t.person(TenantApi.person$.id.email.name.identity(TenantApi.identity$$))\n\nexport type InviteMutationResult = ModelType<typeof inviteMutationResult>\n\nexport const inviteMutation = TenantApi.mutation$\n\t.invite(\n\t\tTenantApi\n\t\t\t.inviteResponse$$\n\t\t\t.error(TenantApi.inviteError$$.membershipValidation(TenantApi.membershipValidationError$$))\n\t\t\t.result(inviteMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInviteMutation = createTenantMutation(inviteMutation)\nexport type InviteMutationVariables = Parameters<ReturnType<typeof useInviteMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,uBAAuBA,qBAAU,eACrC,OAAOA,qBAAU,QAAQ,GAAG,MAAM,KAAK,SAASA,qBAAU,UAAU,CAAC;AAI1D,MAAA,iBAAiBA,qBAAU,UACtC;AAAA,EACAA,qBACE,iBACA,MAAMA,qBAAU,cAAc,qBAAqBA,qBAAU,2BAA2B,CAAC,EACzF,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,oBAAoBC,uCAAqB,cAAc;;;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
-
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
-
const inviteMutationResult = TenantApi.inviteResult$$.person(TenantApi.person$.id.email.name.identity(TenantApi.identity$$));
|
|
4
|
-
const inviteMutation = TenantApi.mutation$.invite(
|
|
5
|
-
TenantApi.inviteResponse$$.error(TenantApi.inviteError$$.membershipValidation(TenantApi.membershipValidationError$$)).result(inviteMutationResult),
|
|
6
|
-
(options) => options.alias("mutation")
|
|
7
|
-
);
|
|
8
|
-
const useInviteMutation = createTenantMutation(inviteMutation);
|
|
9
|
-
export {
|
|
10
|
-
inviteMutation,
|
|
11
|
-
useInviteMutation
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=useInviteMutation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInviteMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/invite/useInviteMutation.tsx"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst inviteMutationResult = TenantApi.inviteResult$$\n\t.person(TenantApi.person$.id.email.name.identity(TenantApi.identity$$))\n\nexport type InviteMutationResult = ModelType<typeof inviteMutationResult>\n\nexport const inviteMutation = TenantApi.mutation$\n\t.invite(\n\t\tTenantApi\n\t\t\t.inviteResponse$$\n\t\t\t.error(TenantApi.inviteError$$.membershipValidation(TenantApi.membershipValidationError$$))\n\t\t\t.result(inviteMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInviteMutation = createTenantMutation(inviteMutation)\nexport type InviteMutationVariables = Parameters<ReturnType<typeof useInviteMutation>>[0]\n"],"names":[],"mappings":";;AAIA,MAAM,uBAAuB,UAAU,eACrC,OAAO,UAAU,QAAQ,GAAG,MAAM,KAAK,SAAS,UAAU,UAAU,CAAC;AAI1D,MAAA,iBAAiB,UAAU,UACtC;AAAA,EACA,UACE,iBACA,MAAM,UAAU,cAAc,qBAAqB,UAAU,2BAA2B,CAAC,EACzF,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,oBAAoB,qBAAqB,cAAc;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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 addProjectMemberMutation = TenantApi__namespace.mutation$.addProjectMember(
|
|
23
|
-
TenantApi__namespace.addProjectMemberResponse$$.error(TenantApi__namespace.addProjectMemberError$$.membershipValidation(TenantApi__namespace.membershipValidationError$$)),
|
|
24
|
-
(options) => options.alias("mutation")
|
|
25
|
-
);
|
|
26
|
-
const useAddProjectMemberMutation = useTenantMutation.createTenantMutation(addProjectMemberMutation);
|
|
27
|
-
exports.addProjectMemberMutation = addProjectMemberMutation;
|
|
28
|
-
exports.useAddProjectMemberMutation = useAddProjectMemberMutation;
|
|
29
|
-
//# sourceMappingURL=useAddProjectMemberMutation.cjs.map
|
package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAddProjectMemberMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useAddProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const addProjectMemberMutation = TenantApi.mutation$\n\t.addProjectMember(\n\t\tTenantApi\n\t\t\t.addProjectMemberResponse$$\n\t\t\t.error(TenantApi.addProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useAddProjectMemberMutation = createTenantMutation(addProjectMemberMutation)\nexport type AddProjectMemberMutationVariables = Parameters<ReturnType<typeof useAddProjectMemberMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,2BAA2BA,qBAAU,UAChD;AAAA,EACAA,qBACE,2BACA,MAAMA,qBAAU,wBAAwB,qBAAqBA,qBAAU,2BAA2B,CAAC;AAAA,EACrG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,8BAA8BC,uCAAqB,wBAAwB;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
-
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
-
const addProjectMemberMutation = TenantApi.mutation$.addProjectMember(
|
|
4
|
-
TenantApi.addProjectMemberResponse$$.error(TenantApi.addProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),
|
|
5
|
-
(options) => options.alias("mutation")
|
|
6
|
-
);
|
|
7
|
-
const useAddProjectMemberMutation = createTenantMutation(addProjectMemberMutation);
|
|
8
|
-
export {
|
|
9
|
-
addProjectMemberMutation,
|
|
10
|
-
useAddProjectMemberMutation
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useAddProjectMemberMutation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAddProjectMemberMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/memberships/useAddProjectMemberMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const addProjectMemberMutation = TenantApi.mutation$\n\t.addProjectMember(\n\t\tTenantApi\n\t\t\t.addProjectMemberResponse$$\n\t\t\t.error(TenantApi.addProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useAddProjectMemberMutation = createTenantMutation(addProjectMemberMutation)\nexport type AddProjectMemberMutationVariables = Parameters<ReturnType<typeof useAddProjectMemberMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,2BAA2B,UAAU,UAChD;AAAA,EACA,UACE,2BACA,MAAM,UAAU,wBAAwB,qBAAqB,UAAU,2BAA2B,CAAC;AAAA,EACrG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,8BAA8B,qBAAqB,wBAAwB;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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 removeProjectMemberMutation = TenantApi__namespace.mutation$.removeProjectMember(
|
|
23
|
-
TenantApi__namespace.removeProjectMemberResponse$$.error(TenantApi__namespace.removeProjectMemberError$$),
|
|
24
|
-
(options) => options.alias("mutation")
|
|
25
|
-
);
|
|
26
|
-
const useRemoveProjectMemberMutation = useTenantMutation.createTenantMutation(removeProjectMemberMutation);
|
|
27
|
-
exports.removeProjectMemberMutation = removeProjectMemberMutation;
|
|
28
|
-
exports.useRemoveProjectMemberMutation = useRemoveProjectMemberMutation;
|
|
29
|
-
//# sourceMappingURL=useRemoveProjectMemberMutation.cjs.map
|
package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,8BAA8BA,qBAAU,UACnD;AAAA,EACAA,qBACE,8BACA,MAAMA,qBAAU,0BAA0B;AAAA,EAC5C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,iCAAiCC,uCAAqB,2BAA2B;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":";;AAGa,MAAA,8BAA8B,UAAU,UACnD;AAAA,EACA,UACE,8BACA,MAAM,UAAU,0BAA0B;AAAA,EAC5C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,iCAAiC,qBAAqB,2BAA2B;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,8BAA8BA,qBAAU,UACnD;AAAA,EACAA,qBACE,8BACA,MAAMA,qBAAU,2BAA2B,qBAAqBA,qBAAU,2BAA2B,CAAC;AAAA,EACxG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,iCAAiCC,uCAAqB,2BAA2B;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":";;AAGa,MAAA,8BAA8B,UAAU,UACnD;AAAA,EACA,UACE,8BACA,MAAM,UAAU,2BAA2B,qBAAqB,UAAU,2BAA2B,CAAC;AAAA,EACxG,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,iCAAiC,qBAAqB,2BAA2B;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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(TenantApi\n\t\t.confirmOtpResponse$$\n\t\t.error(TenantApi.confirmOtpError$$),\n\toptions => options.alias('mutation'),\n\t)\n\n\nexport const useConfirmOtpMutation = createTenantMutation(confirmOtpMutation)\nexport type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,qBAAqBA,qBAAU,UAC1C;AAAA,EAAWA,qBACV,qBACA,MAAMA,qBAAU,iBAAiB;AAAA,EACnC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACnC;AAGY,MAAA,wBAAwBC,uCAAqB,kBAAkB;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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(TenantApi\n\t\t.confirmOtpResponse$$\n\t\t.error(TenantApi.confirmOtpError$$),\n\toptions => options.alias('mutation'),\n\t)\n\n\nexport const useConfirmOtpMutation = createTenantMutation(confirmOtpMutation)\nexport type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,qBAAqB,UAAU,UAC1C;AAAA,EAAW,UACV,qBACA,MAAM,UAAU,iBAAiB;AAAA,EACnC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACnC;AAGY,MAAA,wBAAwB,qBAAqB,kBAAkB;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,qBAAqBA,qBAAU,UAAU;AAAA,EACrDA,qBAAU,qBAAqB,MAAMA,qBAAU,iBAAiB;AAAA,EAChE,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEa,MAAA,wBAAwBC,uCAAqB,kBAAkB;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;AAGa,MAAA,qBAAqB,UAAU,UAAU;AAAA,EACrD,UAAU,qBAAqB,MAAM,UAAU,iBAAiB;AAAA,EAChE,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEa,MAAA,wBAAwB,qBAAqB,kBAAkB;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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\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;AAItF,MAAA,qBAAqBA,qBAAU,UAAU;AAAA,EACrD;AAAA,EACA,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAGa,MAAA,wBAAwBC,uCAAqB,kBAAkB;;;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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\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;AAItF,MAAA,qBAAqB,UAAU,UAAU;AAAA,EACrD;AAAA,EACA,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAGa,MAAA,wBAAwB,qBAAqB,kBAAkB;"}
|
package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,qCAAqCA,qBAChD,UACA;AAAA,EACAA,qBACE,qCACA,MAAMA,qBAAU,iCAAiC;AAAA,EACnD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,wCAAwCC,uCAAqB,oCAAoC;AAAA,EAC7G,UAAUC,aAAAA;AACX,CAAC;;;"}
|
package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;AAIa,MAAA,qCAAqC,UAChD,UACA;AAAA,EACA,UACE,qCACA,MAAM,UAAU,iCAAiC;AAAA,EACnD,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,wCAAwC,qBAAqB,oCAAoC;AAAA,EAC7G,UAAU;AACX,CAAC;"}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,wBAAwBA,qBACnC,UACA;AAAA,EACAA,qBACE,wBACA,MAAMA,qBAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2BC,uCAAqB,uBAAuB;AAAA,EACnF,UAAUC,aAAAA;AACX,CAAC;;;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;AAIa,MAAA,wBAAwB,UACnC,UACA;AAAA,EACA,UACE,wBACA,MAAM,UAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2B,qBAAqB,uBAAuB;AAAA,EACnF,UAAU;AACX,CAAC;"}
|
package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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
|