plane/space/types/auth.ts

26 lines
439 B
TypeScript
Raw Normal View History

export enum EAuthModes {
SIGN_IN = "SIGN_IN",
SIGN_UP = "SIGN_UP",
}
export enum EAuthSteps {
EMAIL = "EMAIL",
PASSWORD = "PASSWORD",
UNIQUE_CODE = "UNIQUE_CODE",
}
export interface ICsrfTokenData {
csrf_token: string;
}
// email check types starts
export interface IEmailCheckData {
email: string;
}
export interface IEmailCheckResponse {
is_password_autoset: boolean;
existing: boolean;
}
// email check types ends