@contember/react-client-tenant 1.3.0-alpha.26 → 2.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/components/IdentityProvider.cjs +38 -0
- package/dist/development/components/IdentityProvider.cjs.map +1 -0
- package/dist/development/components/IdentityProvider.js +38 -0
- package/dist/development/components/IdentityProvider.js.map +1 -0
- package/dist/development/components/IdentityState.cjs +14 -0
- package/dist/development/components/IdentityState.cjs.map +1 -0
- package/dist/development/components/IdentityState.js +14 -0
- package/dist/development/components/IdentityState.js.map +1 -0
- package/dist/development/components/forms/ChangeMyPasswordForm.cjs +59 -0
- package/dist/development/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/development/components/forms/ChangeMyPasswordForm.js +59 -0
- package/dist/development/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/development/components/forms/CreateApiKeyForm.cjs +57 -0
- package/dist/development/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/development/components/forms/CreateApiKeyForm.js +57 -0
- package/dist/development/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/development/components/forms/CreateSessionTokenForm.cjs +50 -0
- package/dist/development/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/development/components/forms/CreateSessionTokenForm.js +50 -0
- package/dist/development/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/development/components/forms/InviteForm.cjs +62 -0
- package/dist/development/components/forms/InviteForm.cjs.map +1 -0
- package/dist/development/components/forms/InviteForm.js +62 -0
- package/dist/development/components/forms/InviteForm.js.map +1 -0
- package/dist/development/components/forms/LoginForm.cjs +85 -0
- package/dist/development/components/forms/LoginForm.cjs.map +1 -0
- package/dist/development/components/forms/LoginForm.js +85 -0
- package/dist/development/components/forms/LoginForm.js.map +1 -0
- package/dist/development/components/forms/OtpConfirmForm.cjs +49 -0
- package/dist/development/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/development/components/forms/OtpConfirmForm.js +49 -0
- package/dist/development/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/development/components/forms/OtpPrepareForm.cjs +36 -0
- package/dist/development/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/development/components/forms/OtpPrepareForm.js +36 -0
- package/dist/development/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/development/components/forms/PasswordResetForm.cjs +62 -0
- package/dist/development/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/development/components/forms/PasswordResetForm.js +62 -0
- package/dist/development/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/development/components/forms/PasswordResetRequestForm.cjs +49 -0
- package/dist/development/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/development/components/forms/PasswordResetRequestForm.js +49 -0
- package/dist/development/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/development/components/forms/TenantForm.cjs +91 -0
- package/dist/development/components/forms/TenantForm.cjs.map +1 -0
- package/dist/development/components/forms/TenantForm.js +91 -0
- package/dist/development/components/forms/TenantForm.js.map +1 -0
- package/dist/development/components/forms/UpdateProjectMemberForm.cjs +64 -0
- package/dist/development/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/development/components/forms/UpdateProjectMemberForm.js +64 -0
- package/dist/development/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/development/components/idp/IDP.cjs +56 -0
- package/dist/development/components/idp/IDP.cjs.map +1 -0
- package/dist/development/components/idp/IDP.js +56 -0
- package/dist/development/components/idp/IDP.js.map +1 -0
- package/dist/development/components/idp/IDPInitTrigger.cjs +16 -0
- package/dist/development/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/development/components/idp/IDPInitTrigger.js +16 -0
- package/dist/development/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/development/components/idp/IDPState.cjs +14 -0
- package/dist/development/components/idp/IDPState.cjs.map +1 -0
- package/dist/development/components/idp/IDPState.js +14 -0
- package/dist/development/components/idp/IDPState.js.map +1 -0
- package/dist/development/components/triggers/DisableOtpTrigger.cjs +32 -0
- package/dist/development/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/development/components/triggers/DisableOtpTrigger.js +32 -0
- package/dist/development/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/development/components/triggers/LogoutTrigger.cjs +16 -0
- package/dist/development/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/development/components/triggers/LogoutTrigger.js +16 -0
- package/dist/development/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/development/components/triggers/RemoveProjectMemberTrigger.cjs +17 -0
- package/dist/development/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/development/components/triggers/RemoveProjectMemberTrigger.js +17 -0
- package/dist/development/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/development/components/triggers/TenantActionTrigger.cjs +37 -0
- package/dist/development/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/development/components/triggers/TenantActionTrigger.js +37 -0
- package/dist/development/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/development/contexts.cjs +34 -0
- package/dist/development/contexts.cjs.map +1 -0
- package/dist/development/contexts.js +34 -0
- package/dist/development/contexts.js.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/development/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/development/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/development/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/development/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/development/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/development/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/development/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/development/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/development/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/development/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/development/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/development/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/development/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/development/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/development/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/development/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/development/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/development/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/development/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/development/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/development/hooks/mutations/idp/useSignInIdpMutation.cjs +33 -0
- package/dist/development/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/idp/useSignInIdpMutation.js +16 -0
- package/dist/development/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/development/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/development/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/development/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/development/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/development/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/development/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/development/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/development/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/development/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/development/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/development/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/development/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/development/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/development/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/development/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/development/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/development/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/development/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/development/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/development/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/development/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/development/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/development/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/development/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/development/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/development/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/development/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/development/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/development/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/development/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/development/hooks/queries/useMeQuery.js +16 -0
- package/dist/development/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/development/hooks/queries/useProjectMembersQuery.cjs +47 -0
- package/dist/development/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/development/hooks/queries/useProjectMembersQuery.js +30 -0
- package/dist/development/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/development/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/development/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/development/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/development/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/development/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/development/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/development/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/development/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/development/hooks/useFetchIdentity.cjs +52 -0
- package/dist/development/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/development/hooks/useFetchIdentity.js +52 -0
- package/dist/development/hooks/useFetchIdentity.js.map +1 -0
- package/dist/development/hooks/useLogout.cjs +10 -0
- package/dist/development/hooks/useLogout.cjs.map +1 -0
- package/dist/development/hooks/useLogout.js +10 -0
- package/dist/development/hooks/useLogout.js.map +1 -0
- package/dist/development/hooks/useTenantApi.cjs +11 -4
- package/dist/development/hooks/useTenantApi.cjs.map +1 -1
- package/dist/development/hooks/useTenantApi.js +12 -5
- package/dist/development/hooks/useTenantApi.js.map +1 -1
- package/dist/development/hooks/useTenantMutation.cjs +33 -0
- package/dist/development/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/development/hooks/useTenantMutation.js +33 -0
- package/dist/development/hooks/useTenantMutation.js.map +1 -0
- package/dist/development/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/development/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/development/hooks/useTenantQueryLoader.js +36 -0
- package/dist/development/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/development/index.cjs +130 -0
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +132 -2
- package/dist/development/index.js.map +1 -1
- package/dist/development/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/development/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/development/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/development/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/development/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/development/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/development/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/development/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/development/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/development/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/development/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/development/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/development/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/development/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/development/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/development/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/development/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/development/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/development/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/development/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/development/internal/hooks/useRedirectToBacklink.cjs +31 -0
- package/dist/development/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/development/internal/hooks/useRedirectToBacklink.js +31 -0
- package/dist/development/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/development/internal/utils/getBaseHref.cjs +8 -0
- package/dist/development/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/development/internal/utils/getBaseHref.js +8 -0
- package/dist/development/internal/utils/getBaseHref.js.map +1 -0
- package/dist/production/components/IdentityProvider.cjs +26 -0
- package/dist/production/components/IdentityProvider.cjs.map +1 -0
- package/dist/production/components/IdentityProvider.js +26 -0
- package/dist/production/components/IdentityProvider.js.map +1 -0
- package/dist/production/components/IdentityState.cjs +10 -0
- package/dist/production/components/IdentityState.cjs.map +1 -0
- package/dist/production/components/IdentityState.js +10 -0
- package/dist/production/components/IdentityState.js.map +1 -0
- package/dist/production/components/forms/ChangeMyPasswordForm.cjs +51 -0
- package/dist/production/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/production/components/forms/ChangeMyPasswordForm.js +51 -0
- package/dist/production/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/production/components/forms/CreateApiKeyForm.cjs +49 -0
- package/dist/production/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/production/components/forms/CreateApiKeyForm.js +49 -0
- package/dist/production/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/production/components/forms/CreateSessionTokenForm.cjs +42 -0
- package/dist/production/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/production/components/forms/CreateSessionTokenForm.js +42 -0
- package/dist/production/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/production/components/forms/InviteForm.cjs +54 -0
- package/dist/production/components/forms/InviteForm.cjs.map +1 -0
- package/dist/production/components/forms/InviteForm.js +54 -0
- package/dist/production/components/forms/InviteForm.js.map +1 -0
- package/dist/production/components/forms/LoginForm.cjs +77 -0
- package/dist/production/components/forms/LoginForm.cjs.map +1 -0
- package/dist/production/components/forms/LoginForm.js +77 -0
- package/dist/production/components/forms/LoginForm.js.map +1 -0
- package/dist/production/components/forms/OtpConfirmForm.cjs +41 -0
- package/dist/production/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/production/components/forms/OtpConfirmForm.js +41 -0
- package/dist/production/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/production/components/forms/OtpPrepareForm.cjs +28 -0
- package/dist/production/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/production/components/forms/OtpPrepareForm.js +28 -0
- package/dist/production/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/production/components/forms/PasswordResetForm.cjs +54 -0
- package/dist/production/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/production/components/forms/PasswordResetForm.js +54 -0
- package/dist/production/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/production/components/forms/PasswordResetRequestForm.cjs +41 -0
- package/dist/production/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/production/components/forms/PasswordResetRequestForm.js +41 -0
- package/dist/production/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/production/components/forms/TenantForm.cjs +83 -0
- package/dist/production/components/forms/TenantForm.cjs.map +1 -0
- package/dist/production/components/forms/TenantForm.js +83 -0
- package/dist/production/components/forms/TenantForm.js.map +1 -0
- package/dist/production/components/forms/UpdateProjectMemberForm.cjs +56 -0
- package/dist/production/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/production/components/forms/UpdateProjectMemberForm.js +56 -0
- package/dist/production/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/production/components/idp/IDP.cjs +48 -0
- package/dist/production/components/idp/IDP.cjs.map +1 -0
- package/dist/production/components/idp/IDP.js +48 -0
- package/dist/production/components/idp/IDP.js.map +1 -0
- package/dist/production/components/idp/IDPInitTrigger.cjs +12 -0
- package/dist/production/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/production/components/idp/IDPInitTrigger.js +12 -0
- package/dist/production/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/production/components/idp/IDPState.cjs +10 -0
- package/dist/production/components/idp/IDPState.cjs.map +1 -0
- package/dist/production/components/idp/IDPState.js +10 -0
- package/dist/production/components/idp/IDPState.js.map +1 -0
- package/dist/production/components/triggers/DisableOtpTrigger.cjs +24 -0
- package/dist/production/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/production/components/triggers/DisableOtpTrigger.js +24 -0
- package/dist/production/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/production/components/triggers/LogoutTrigger.cjs +12 -0
- package/dist/production/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/production/components/triggers/LogoutTrigger.js +12 -0
- package/dist/production/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/production/components/triggers/RemoveProjectMemberTrigger.cjs +13 -0
- package/dist/production/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/production/components/triggers/RemoveProjectMemberTrigger.js +13 -0
- package/dist/production/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/production/components/triggers/TenantActionTrigger.cjs +33 -0
- package/dist/production/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/production/components/triggers/TenantActionTrigger.js +33 -0
- package/dist/production/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/production/contexts.cjs +34 -0
- package/dist/production/contexts.cjs.map +1 -0
- package/dist/production/contexts.js +34 -0
- package/dist/production/contexts.js.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/production/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/production/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/production/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/production/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/production/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/production/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/production/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/production/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/production/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/production/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/production/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/production/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/production/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/production/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/production/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/production/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/production/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/production/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/production/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/production/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/production/hooks/mutations/idp/useSignInIdpMutation.cjs +33 -0
- package/dist/production/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/idp/useSignInIdpMutation.js +16 -0
- package/dist/production/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/production/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/production/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/production/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/production/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/production/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/production/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/production/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/production/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/production/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/production/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/production/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/production/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/production/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/production/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/production/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/production/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/production/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/production/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/production/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/production/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/production/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/production/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/production/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/production/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/production/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/production/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/production/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/production/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/production/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/production/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/production/hooks/queries/useMeQuery.js +16 -0
- package/dist/production/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/production/hooks/queries/useProjectMembersQuery.cjs +47 -0
- package/dist/production/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/production/hooks/queries/useProjectMembersQuery.js +30 -0
- package/dist/production/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/production/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/production/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/production/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/production/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/production/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/production/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/production/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/production/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/production/hooks/useFetchIdentity.cjs +52 -0
- package/dist/production/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/production/hooks/useFetchIdentity.js +52 -0
- package/dist/production/hooks/useFetchIdentity.js.map +1 -0
- package/dist/production/hooks/useLogout.cjs +10 -0
- package/dist/production/hooks/useLogout.cjs.map +1 -0
- package/dist/production/hooks/useLogout.js +10 -0
- package/dist/production/hooks/useLogout.js.map +1 -0
- package/dist/production/hooks/useTenantApi.cjs +11 -4
- package/dist/production/hooks/useTenantApi.cjs.map +1 -1
- package/dist/production/hooks/useTenantApi.js +12 -5
- package/dist/production/hooks/useTenantApi.js.map +1 -1
- package/dist/production/hooks/useTenantMutation.cjs +33 -0
- package/dist/production/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/production/hooks/useTenantMutation.js +33 -0
- package/dist/production/hooks/useTenantMutation.js.map +1 -0
- package/dist/production/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/production/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/production/hooks/useTenantQueryLoader.js +36 -0
- package/dist/production/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/production/index.cjs +130 -0
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.js +132 -2
- package/dist/production/index.js.map +1 -1
- package/dist/production/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/production/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/production/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/production/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/production/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/production/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/production/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/production/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/production/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/production/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/production/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/production/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/production/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/production/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/production/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/production/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/production/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/production/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/production/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/production/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/production/internal/hooks/useRedirectToBacklink.cjs +31 -0
- package/dist/production/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/production/internal/hooks/useRedirectToBacklink.js +31 -0
- package/dist/production/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/production/internal/utils/getBaseHref.cjs +8 -0
- package/dist/production/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/production/internal/utils/getBaseHref.js +8 -0
- package/dist/production/internal/utils/getBaseHref.js.map +1 -0
- package/dist/types/components/IdentityProvider.d.ts +6 -0
- package/dist/types/components/IdentityProvider.d.ts.map +1 -0
- package/dist/types/components/IdentityState.d.ts +8 -0
- package/dist/types/components/IdentityState.d.ts.map +1 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +19 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +23 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +22 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +1 -0
- package/dist/types/components/forms/InviteForm.d.ts +25 -0
- package/dist/types/components/forms/InviteForm.d.ts.map +1 -0
- package/dist/types/components/forms/LoginForm.d.ts +20 -0
- package/dist/types/components/forms/LoginForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts +17 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts +19 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +17 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +1 -0
- package/dist/types/components/forms/TenantForm.d.ts +37 -0
- package/dist/types/components/forms/TenantForm.d.ts.map +1 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +19 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +11 -0
- package/dist/types/components/forms/index.d.ts.map +1 -0
- package/dist/types/components/idp/IDP.d.ts +10 -0
- package/dist/types/components/idp/IDP.d.ts.map +1 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts +7 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts.map +1 -0
- package/dist/types/components/idp/IDPState.d.ts +8 -0
- package/dist/types/components/idp/IDPState.d.ts.map +1 -0
- package/dist/types/components/idp/index.d.ts +4 -0
- package/dist/types/components/idp/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts +8 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts +5 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +9 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts +22 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/index.d.ts +4 -0
- package/dist/types/components/triggers/index.d.ts.map +1 -0
- package/dist/types/contexts.d.ts +20 -0
- package/dist/types/contexts.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +6 -0
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/index.d.ts +5 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +83 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +73 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +65 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/index.d.ts +4 -0
- package/dist/types/hooks/mutations/auth/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +69 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/index.d.ts +3 -0
- package/dist/types/hooks/mutations/idp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +17 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +76 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/index.d.ts +8 -0
- package/dist/types/hooks/mutations/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/index.d.ts +2 -0
- package/dist/types/hooks/mutations/invite/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +103 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts +4 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/index.d.ts +4 -0
- package/dist/types/hooks/mutations/otp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +17 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/queries/index.d.ts +5 -0
- package/dist/types/hooks/queries/index.d.ts.map +1 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts +52 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +43 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +20 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +66 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +1 -0
- package/dist/types/hooks/useFetchIdentity.d.ts +6 -0
- package/dist/types/hooks/useFetchIdentity.d.ts.map +1 -0
- package/dist/types/hooks/useLogout.d.ts +4 -0
- package/dist/types/hooks/useLogout.d.ts.map +1 -0
- package/dist/types/hooks/useTenantApi.d.ts +7 -2
- package/dist/types/hooks/useTenantApi.d.ts.map +1 -1
- package/dist/types/hooks/useTenantMutation.d.ts +25 -0
- package/dist/types/hooks/useTenantMutation.d.ts.map +1 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts +17 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +10 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts +2 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts +9 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +1 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +15 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +1 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +4 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +1 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +4 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +1 -0
- package/dist/types/internal/utils/getBaseHref.d.ts +2 -0
- package/dist/types/internal/utils/getBaseHref.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/types/Identity.d.ts +19 -0
- package/dist/types/types/Identity.d.ts.map +1 -0
- package/dist/types/types/IdentityMethods.d.ts +5 -0
- package/dist/types/types/IdentityMethods.d.ts.map +1 -0
- package/dist/types/types/IdentityStateValue.d.ts +2 -0
- package/dist/types/types/IdentityStateValue.d.ts.map +1 -0
- package/dist/types/types/forms.d.ts +18 -0
- package/dist/types/types/forms.d.ts.map +1 -0
- package/dist/types/types/idp.d.ts +30 -0
- package/dist/types/types/idp.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +6 -2
- package/src/components/IdentityProvider.tsx +39 -0
- package/src/components/IdentityState.tsx +14 -0
- package/src/components/forms/ChangeMyPasswordForm.tsx +75 -0
- package/src/components/forms/CreateApiKeyForm.tsx +72 -0
- package/src/components/forms/CreateSessionTokenForm.tsx +64 -0
- package/src/components/forms/InviteForm.tsx +79 -0
- package/src/components/forms/LoginForm.tsx +110 -0
- package/src/components/forms/OtpConfirmForm.tsx +61 -0
- package/src/components/forms/OtpPrepareForm.tsx +45 -0
- package/src/components/forms/PasswordResetForm.tsx +80 -0
- package/src/components/forms/PasswordResetRequestForm.tsx +64 -0
- package/src/components/forms/TenantForm.tsx +116 -0
- package/src/components/forms/UpdateProjectMemberForm.tsx +77 -0
- package/src/components/forms/index.ts +10 -0
- package/src/components/idp/IDP.tsx +65 -0
- package/src/components/idp/IDPInitTrigger.tsx +17 -0
- package/src/components/idp/IDPState.tsx +14 -0
- package/src/components/idp/index.ts +3 -0
- package/src/components/index.ts +5 -0
- package/src/components/triggers/DisableOtpTrigger.tsx +25 -0
- package/src/components/triggers/LogoutTrigger.tsx +10 -0
- package/src/components/triggers/RemoveProjectMemberTrigger.tsx +18 -0
- package/src/components/triggers/TenantActionTrigger.tsx +41 -0
- package/src/components/triggers/index.ts +3 -0
- package/src/contexts.ts +34 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/mutations/apiKey/index.ts +4 -0
- package/src/hooks/mutations/apiKey/useCreateApiKeyMutation.tsx +19 -0
- package/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.tsx +19 -0
- package/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx +19 -0
- package/src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx +14 -0
- package/src/hooks/mutations/auth/index.ts +3 -0
- package/src/hooks/mutations/auth/useChangeMyPasswordMutation.ts +14 -0
- package/src/hooks/mutations/auth/useSignInMutation.ts +25 -0
- package/src/hooks/mutations/auth/useSignOutMutation.ts +12 -0
- package/src/hooks/mutations/idp/index.ts +2 -0
- package/src/hooks/mutations/idp/useInitSignInIDPMutation.ts +29 -0
- package/src/hooks/mutations/idp/useSignInIdpMutation.ts +35 -0
- package/src/hooks/mutations/index.ts +7 -0
- package/src/hooks/mutations/invite/index.ts +1 -0
- package/src/hooks/mutations/invite/useInviteMutation.tsx +20 -0
- package/src/hooks/mutations/memberships/index.ts +3 -0
- package/src/hooks/mutations/memberships/useAddProjectMemberMutation.ts +13 -0
- package/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts +13 -0
- package/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts +13 -0
- package/src/hooks/mutations/otp/index.ts +3 -0
- package/src/hooks/mutations/otp/useConfirmOtpMutation.ts +13 -0
- package/src/hooks/mutations/otp/useDisableOtpMutation.ts +10 -0
- package/src/hooks/mutations/otp/usePrepareOtpMutation.ts +16 -0
- package/src/hooks/mutations/passwordReset/index.ts +2 -0
- package/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.ts +17 -0
- package/src/hooks/mutations/passwordReset/useResetPasswordMutation.ts +17 -0
- package/src/hooks/queries/index.ts +4 -0
- package/src/hooks/queries/useMeQuery.ts +23 -0
- package/src/hooks/queries/useProjectMembersQuery.ts +43 -0
- package/src/hooks/queries/useProjectMembershipsQuery.ts +25 -0
- package/src/hooks/queries/useProjectRolesDefinitionQuery.ts +34 -0
- package/src/hooks/useFetchIdentity.ts +55 -0
- package/src/hooks/useLogout.ts +7 -0
- package/src/hooks/useTenantApi.ts +18 -6
- package/src/hooks/useTenantMutation.ts +45 -0
- package/src/hooks/useTenantQueryLoader.ts +49 -0
- package/src/index.ts +3 -0
- package/src/internal/hooks/useHandleIDPResponse.ts +64 -0
- package/src/internal/hooks/useIDPAutoInit.ts +18 -0
- package/src/internal/hooks/useIDPStateStore.ts +18 -0
- package/src/internal/hooks/useInitIDPRedirect.ts +48 -0
- package/src/internal/hooks/useLogoutInternal.ts +35 -0
- package/src/internal/hooks/useRedirectToBacklink.ts +42 -0
- package/src/internal/utils/getBaseHref.ts +4 -0
- package/src/tsconfig.json +1 -0
- package/src/types/Identity.ts +20 -0
- package/src/types/IdentityMethods.ts +4 -0
- package/src/types/IdentityStateValue.ts +6 -0
- package/src/types/forms.ts +26 -0
- package/src/types/idp.ts +25 -0
- package/src/types/index.ts +5 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const disableApiKeyMutation = TenantApi__namespace.mutation$.disableApiKey(
|
|
23
|
+
TenantApi__namespace.disableApiKeyResponse$$.error(TenantApi__namespace.disableApiKeyError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useDisableApiKeyMutation = useTenantMutation.createTenantMutation(disableApiKeyMutation);
|
|
27
|
+
exports.disableApiKeyMutation = disableApiKeyMutation;
|
|
28
|
+
exports.useDisableApiKeyMutation = useDisableApiKeyMutation;
|
|
29
|
+
//# sourceMappingURL=useDisableApiKeyMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableApiKeyMutation.cjs","sources":["../../../../../src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\n\nexport const disableApiKeyMutation = TenantApi.mutation$\n\t.disableApiKey(\n\t\tTenantApi\n\t\t\t.disableApiKeyResponse$$\n\t\t\t.error(TenantApi.disableApiKeyError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useDisableApiKeyMutation = createTenantMutation(disableApiKeyMutation)\nexport type DisableApiKeyMutationVariables = Parameters<ReturnType<typeof useDisableApiKeyMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,wBAAwBA,qBAAU,UAC7C;AAAA,EACAA,qBACE,wBACA,MAAMA,qBAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2BC,uCAAqB,qBAAqB;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const disableApiKeyMutation = TenantApi.mutation$.disableApiKey(
|
|
4
|
+
TenantApi.disableApiKeyResponse$$.error(TenantApi.disableApiKeyError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useDisableApiKeyMutation = createTenantMutation(disableApiKeyMutation);
|
|
8
|
+
export {
|
|
9
|
+
disableApiKeyMutation,
|
|
10
|
+
useDisableApiKeyMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useDisableApiKeyMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableApiKeyMutation.js","sources":["../../../../../src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\n\nexport const disableApiKeyMutation = TenantApi.mutation$\n\t.disableApiKey(\n\t\tTenantApi\n\t\t\t.disableApiKeyResponse$$\n\t\t\t.error(TenantApi.disableApiKeyError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useDisableApiKeyMutation = createTenantMutation(disableApiKeyMutation)\nexport type DisableApiKeyMutationVariables = Parameters<ReturnType<typeof useDisableApiKeyMutation>>[0]\n"],"names":[],"mappings":";;AAIa,MAAA,wBAAwB,UAAU,UAC7C;AAAA,EACA,UACE,wBACA,MAAM,UAAU,oBAAoB;AAAA,EACtC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2B,qBAAqB,qBAAqB;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const changeMyPasswordMutation = TenantApi__namespace.mutation$.changeMyPassword(
|
|
23
|
+
TenantApi__namespace.changeMyPasswordResponse$$.error(TenantApi__namespace.changeMyPasswordError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useChangeMyPasswordMutation = useTenantMutation.createTenantMutation(changeMyPasswordMutation);
|
|
27
|
+
exports.changeMyPasswordMutation = changeMyPasswordMutation;
|
|
28
|
+
exports.useChangeMyPasswordMutation = useChangeMyPasswordMutation;
|
|
29
|
+
//# sourceMappingURL=useChangeMyPasswordMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChangeMyPasswordMutation.cjs","sources":["../../../../../src/hooks/mutations/auth/useChangeMyPasswordMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeMyPasswordMutation = TenantApi\n\t.mutation$\n\t.changeMyPassword(\n\t\tTenantApi\n\t\t\t.changeMyPasswordResponse$$\n\t\t\t.error(TenantApi.changeMyPasswordError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeMyPasswordMutation = createTenantMutation(changeMyPasswordMutation)\nexport type ChangeMyPasswordMutationVariables = Parameters<ReturnType<typeof useChangeMyPasswordMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,2BAA2BA,qBACtC,UACA;AAAA,EACAA,qBACE,2BACA,MAAMA,qBAAU,uBAAuB;AAAA,EACzC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,8BAA8BC,uCAAqB,wBAAwB;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const changeMyPasswordMutation = TenantApi.mutation$.changeMyPassword(
|
|
4
|
+
TenantApi.changeMyPasswordResponse$$.error(TenantApi.changeMyPasswordError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useChangeMyPasswordMutation = createTenantMutation(changeMyPasswordMutation);
|
|
8
|
+
export {
|
|
9
|
+
changeMyPasswordMutation,
|
|
10
|
+
useChangeMyPasswordMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useChangeMyPasswordMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChangeMyPasswordMutation.js","sources":["../../../../../src/hooks/mutations/auth/useChangeMyPasswordMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeMyPasswordMutation = TenantApi\n\t.mutation$\n\t.changeMyPassword(\n\t\tTenantApi\n\t\t\t.changeMyPasswordResponse$$\n\t\t\t.error(TenantApi.changeMyPasswordError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeMyPasswordMutation = createTenantMutation(changeMyPasswordMutation)\nexport type ChangeMyPasswordMutationVariables = Parameters<ReturnType<typeof useChangeMyPasswordMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,2BAA2B,UACtC,UACA;AAAA,EACA,UACE,2BACA,MAAM,UAAU,uBAAuB;AAAA,EACzC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,8BAA8B,qBAAqB,wBAAwB;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 signInResultFragment = TenantApi__namespace.signInResult$$.person(TenantApi__namespace.person$$);
|
|
24
|
+
const signInMutation = TenantApi__namespace.mutation$.signIn(
|
|
25
|
+
TenantApi__namespace.signInResponse$$.error(TenantApi__namespace.signInError$$).result(signInResultFragment),
|
|
26
|
+
(options) => options.alias("mutation")
|
|
27
|
+
);
|
|
28
|
+
const useSignInMutation = useTenantMutation.createTenantMutation(signInMutation, {
|
|
29
|
+
apiToken: useTenantApi.LoginToken
|
|
30
|
+
});
|
|
31
|
+
exports.signInMutation = signInMutation;
|
|
32
|
+
exports.useSignInMutation = useSignInMutation;
|
|
33
|
+
//# sourceMappingURL=useSignInMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignInMutation.cjs","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst signInResultFragment = TenantApi.signInResult$$.person(TenantApi.person$$)\n\nexport type SignInMutationResult = ModelType<typeof signInResultFragment>\n\nexport const signInMutation = TenantApi\n\t.mutation$\n\t.signIn(\n\t\tTenantApi\n\t\t\t.signInResponse$$\n\t\t\t.error(TenantApi.signInError$$)\n\t\t\t.result(signInResultFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\n\nexport const useSignInMutation = createTenantMutation(signInMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type SignInMutationVariables = Parameters<ReturnType<typeof useSignInMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,uBAAuBA,qBAAU,eAAe,OAAOA,qBAAU,QAAQ;AAIlE,MAAA,iBAAiBA,qBAC5B,UACA;AAAA,EACAA,qBACE,iBACA,MAAMA,qBAAU,aAAa,EAC7B,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAGY,MAAA,oBAAoBC,uCAAqB,gBAAgB;AAAA,EACrE,UAAUC,aAAA;AACX,CAAC;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const signInResultFragment = TenantApi.signInResult$$.person(TenantApi.person$$);
|
|
5
|
+
const signInMutation = TenantApi.mutation$.signIn(
|
|
6
|
+
TenantApi.signInResponse$$.error(TenantApi.signInError$$).result(signInResultFragment),
|
|
7
|
+
(options) => options.alias("mutation")
|
|
8
|
+
);
|
|
9
|
+
const useSignInMutation = createTenantMutation(signInMutation, {
|
|
10
|
+
apiToken: LoginToken
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
signInMutation,
|
|
14
|
+
useSignInMutation
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=useSignInMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignInMutation.js","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nconst signInResultFragment = TenantApi.signInResult$$.person(TenantApi.person$$)\n\nexport type SignInMutationResult = ModelType<typeof signInResultFragment>\n\nexport const signInMutation = TenantApi\n\t.mutation$\n\t.signIn(\n\t\tTenantApi\n\t\t\t.signInResponse$$\n\t\t\t.error(TenantApi.signInError$$)\n\t\t\t.result(signInResultFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\n\nexport const useSignInMutation = createTenantMutation(signInMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type SignInMutationVariables = Parameters<ReturnType<typeof useSignInMutation>>[0]\n"],"names":[],"mappings":";;;AAKA,MAAM,uBAAuB,UAAU,eAAe,OAAO,UAAU,QAAQ;AAIlE,MAAA,iBAAiB,UAC5B,UACA;AAAA,EACA,UACE,iBACA,MAAM,UAAU,aAAa,EAC7B,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAGY,MAAA,oBAAoB,qBAAqB,gBAAgB;AAAA,EACrE,UAAU;AACX,CAAC;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const signOutMutation = TenantApi__namespace.mutation$.signOut(
|
|
23
|
+
TenantApi__namespace.signOutResponse$$.error(TenantApi__namespace.signOutError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useSignOutMutation = useTenantMutation.createTenantMutation(signOutMutation);
|
|
27
|
+
exports.signOutMutation = signOutMutation;
|
|
28
|
+
exports.useSignOutMutation = useSignOutMutation;
|
|
29
|
+
//# sourceMappingURL=useSignOutMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignOutMutation.cjs","sources":["../../../../../src/hooks/mutations/auth/useSignOutMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const signOutMutation = TenantApi.mutation$.signOut(\n\tTenantApi\n\t\t.signOutResponse$$\n\t\t.error(TenantApi.signOutError$$),\n\toptions => options.alias('mutation'),\n)\n\nexport const useSignOutMutation = createTenantMutation(signOutMutation)\nexport type SignOutMutationVariables = Parameters<ReturnType<typeof useSignOutMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,kBAAkBA,qBAAU,UAAU;AAAA,EAClDA,qBACE,kBACA,MAAMA,qBAAU,cAAc;AAAA,EAChC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEa,MAAA,qBAAqBC,uCAAqB,eAAe;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const signOutMutation = TenantApi.mutation$.signOut(
|
|
4
|
+
TenantApi.signOutResponse$$.error(TenantApi.signOutError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useSignOutMutation = createTenantMutation(signOutMutation);
|
|
8
|
+
export {
|
|
9
|
+
signOutMutation,
|
|
10
|
+
useSignOutMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useSignOutMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignOutMutation.js","sources":["../../../../../src/hooks/mutations/auth/useSignOutMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const signOutMutation = TenantApi.mutation$.signOut(\n\tTenantApi\n\t\t.signOutResponse$$\n\t\t.error(TenantApi.signOutError$$),\n\toptions => options.alias('mutation'),\n)\n\nexport const useSignOutMutation = createTenantMutation(signOutMutation)\nexport type SignOutMutationVariables = Parameters<ReturnType<typeof useSignOutMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,kBAAkB,UAAU,UAAU;AAAA,EAClD,UACE,kBACA,MAAM,UAAU,cAAc;AAAA,EAChC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEa,MAAA,qBAAqB,qBAAqB,eAAe;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantApi = require("../../useTenantApi.cjs");
|
|
5
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
23
|
+
const InitSignInIDPMutation = TenantApi__namespace.mutation$.initSignInIDP(
|
|
24
|
+
TenantApi__namespace.initSignInIDPResponse$$.error(TenantApi__namespace.initSignInIDPError$$).result(TenantApi__namespace.initSignInIDPResult$$),
|
|
25
|
+
(options) => options.alias("mutation")
|
|
26
|
+
);
|
|
27
|
+
const useInitSignInIDPMutation = useTenantMutation.createTenantMutation(InitSignInIDPMutation, {
|
|
28
|
+
apiToken: useTenantApi.LoginToken
|
|
29
|
+
});
|
|
30
|
+
exports.useInitSignInIDPMutation = useInitSignInIDPMutation;
|
|
31
|
+
//# sourceMappingURL=useInitSignInIDPMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSignInIDPMutation.cjs","sources":["../../../../../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$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInIDPMutation = createTenantMutation<InitSignInIDPMutationResult, TenantApi.InitSignInIDPErrorCode, InitSignInIDPMutationVariables>(InitSignInIDPMutation, {\n\tapiToken: LoginToken,\n})\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,wBAAwBA,qBAC5B,UACA;AAAA,EACAA,qBACE,wBACA,MAAMA,qBAAU,oBAAoB,EACpC,OAAOA,qBAAU,qBAAqB;AAAA,EACxC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2BC,uCAAoH,uBAAuB;AAAA,EAClL,UAAUC,aAAA;AACX,CAAC;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { LoginToken } from "../../useTenantApi.js";
|
|
3
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
4
|
+
const InitSignInIDPMutation = TenantApi.mutation$.initSignInIDP(
|
|
5
|
+
TenantApi.initSignInIDPResponse$$.error(TenantApi.initSignInIDPError$$).result(TenantApi.initSignInIDPResult$$),
|
|
6
|
+
(options) => options.alias("mutation")
|
|
7
|
+
);
|
|
8
|
+
const useInitSignInIDPMutation = createTenantMutation(InitSignInIDPMutation, {
|
|
9
|
+
apiToken: LoginToken
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
useInitSignInIDPMutation
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useInitSignInIDPMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSignInIDPMutation.js","sources":["../../../../../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$$),\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;AAAA,EACxC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2B,qBAAoH,uBAAuB;AAAA,EAClL,UAAU;AACX,CAAC;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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$$);
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignInIdpMutation.cjs","sources":["../../../../../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$$)\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;AAIlE,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,aAAA;AACX,CAAC;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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$$);
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignInIdpMutation.js","sources":["../../../../../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$$)\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;AAIlE,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;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const inviteMutationResult = TenantApi__namespace.inviteResult$$.person(TenantApi__namespace.person$$.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInviteMutation.cjs","sources":["../../../../../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$$.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,SAAS,SAASA,qBAAU,UAAU,CAAC;AAI7C,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;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const inviteMutationResult = TenantApi.inviteResult$$.person(TenantApi.person$$.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInviteMutation.js","sources":["../../../../../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$$.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,SAAS,SAAS,UAAU,UAAU,CAAC;AAI7C,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;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddProjectMemberMutation.cjs","sources":["../../../../../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;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddProjectMemberMutation.js","sources":["../../../../../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;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveProjectMemberMutation.cjs","sources":["../../../../../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;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const removeProjectMemberMutation = TenantApi.mutation$.removeProjectMember(
|
|
4
|
+
TenantApi.removeProjectMemberResponse$$.error(TenantApi.removeProjectMemberError$$),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useRemoveProjectMemberMutation = createTenantMutation(removeProjectMemberMutation);
|
|
8
|
+
export {
|
|
9
|
+
removeProjectMemberMutation,
|
|
10
|
+
useRemoveProjectMemberMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useRemoveProjectMemberMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveProjectMemberMutation.js","sources":["../../../../../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;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const updateProjectMemberMutation = TenantApi__namespace.mutation$.updateProjectMember(
|
|
23
|
+
TenantApi__namespace.updateProjectMemberResponse$$.error(TenantApi__namespace.updateProjectMemberError$$.membershipValidation(TenantApi__namespace.membershipValidationError$$)),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useUpdateProjectMemberMutation = useTenantMutation.createTenantMutation(updateProjectMemberMutation);
|
|
27
|
+
exports.updateProjectMemberMutation = updateProjectMemberMutation;
|
|
28
|
+
exports.useUpdateProjectMemberMutation = useUpdateProjectMemberMutation;
|
|
29
|
+
//# sourceMappingURL=useUpdateProjectMemberMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateProjectMemberMutation.cjs","sources":["../../../../../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;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as TenantApi from "@contember/graphql-client-tenant";
|
|
2
|
+
import { createTenantMutation } from "../../useTenantMutation.js";
|
|
3
|
+
const updateProjectMemberMutation = TenantApi.mutation$.updateProjectMember(
|
|
4
|
+
TenantApi.updateProjectMemberResponse$$.error(TenantApi.updateProjectMemberError$$.membershipValidation(TenantApi.membershipValidationError$$)),
|
|
5
|
+
(options) => options.alias("mutation")
|
|
6
|
+
);
|
|
7
|
+
const useUpdateProjectMemberMutation = createTenantMutation(updateProjectMemberMutation);
|
|
8
|
+
export {
|
|
9
|
+
updateProjectMemberMutation,
|
|
10
|
+
useUpdateProjectMemberMutation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useUpdateProjectMemberMutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateProjectMemberMutation.js","sources":["../../../../../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;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const TenantApi = require("@contember/graphql-client-tenant");
|
|
4
|
+
const useTenantMutation = require("../../useTenantMutation.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
|
|
22
|
+
const confirmOtpMutation = TenantApi__namespace.mutation$.confirmOtp(
|
|
23
|
+
TenantApi__namespace.confirmOtpResponse$$.error(TenantApi__namespace.confirmOtpError$$),
|
|
24
|
+
(options) => options.alias("mutation")
|
|
25
|
+
);
|
|
26
|
+
const useConfirmOtpMutation = useTenantMutation.createTenantMutation(confirmOtpMutation);
|
|
27
|
+
exports.confirmOtpMutation = confirmOtpMutation;
|
|
28
|
+
exports.useConfirmOtpMutation = useConfirmOtpMutation;
|
|
29
|
+
//# sourceMappingURL=useConfirmOtpMutation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmOtpMutation.cjs","sources":["../../../../../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\t.confirmOtpResponse$$\n\t\t\t.error(TenantApi.confirmOtpError$$),\n\t\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,qBACT,qBACA,MAAMA,qBAAU,iBAAiB;AAAA,EACnC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAGY,MAAA,wBAAwBC,uCAAqB,kBAAkB;;;"}
|