result-fix6

This commit is contained in:
Untone 2024-05-21 04:49:49 +03:00
parent 7b546ecbc8
commit e327238678

View File

@ -66,7 +66,7 @@ export type SessionContextType = {
params: ForgotPasswordInput, params: ForgotPasswordInput,
) => Promise<{ data: ForgotPasswordResponse; errors: Error[] }> ) => Promise<{ data: ForgotPasswordResponse; errors: Error[] }>
changePassword: (password: string, token: string) => void changePassword: (password: string, token: string) => void
confirmEmail: (input: VerifyEmailInput) => Promise<AuthToken> // email confirm callback is in auth.discours.io confirmEmail: (input: VerifyEmailInput) => Promise<AuthToken> // email confirm callback is in authorizer
setIsSessionLoaded: (loaded: boolean) => void setIsSessionLoaded: (loaded: boolean) => void
authorizer: () => Authorizer authorizer: () => Authorizer
isRegistered: (email: string) => Promise<string> isRegistered: (email: string) => Promise<string>