forked from github/plane
bab52a2672
* chore: New authentication workflow * chore: resolved build erros and updated imports in auth * chore: code optimisation for query param util * chore: added client for auth forms
26 lines
439 B
TypeScript
26 lines
439 B
TypeScript
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
|