mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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
|