forked from github/plane
11987994a1
* chore: update onboarding workflow * dev: update user count tasks * fix: forgot password endpoint * dev: instance and onboarding updates * chore: update sign-in workflow for cloud and self-hosted instances (#2993) * chore: updated auth services * chore: new signin workflow updated * chore: updated content * chore: instance admin setup * dev: update instance verification task * dev: run the instance verification task every 4 hours * dev: update migrations * chore: update latest features image --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
27 lines
469 B
TypeScript
27 lines
469 B
TypeScript
export type TEmailCheckTypes = "magic_code" | "password";
|
|
|
|
export interface IEmailCheckData {
|
|
email: string;
|
|
}
|
|
|
|
export interface IEmailCheckResponse {
|
|
is_password_autoset: boolean;
|
|
is_existing: boolean;
|
|
}
|
|
|
|
export interface ILoginTokenResponse {
|
|
access_token: string;
|
|
refresh_token: string;
|
|
}
|
|
|
|
export interface IMagicSignInData {
|
|
email: string;
|
|
key: string;
|
|
token: string;
|
|
}
|
|
|
|
export interface IPasswordSignInData {
|
|
email: string;
|
|
password: string;
|
|
}
|