import { OAuthEnum } from './constant'; import { TrackRegisterParams } from './login/api'; export type PostLoginProps = { username: string; password: string; }; export type OauthLoginProps = { type: `${OAuthEnum}`; code: string; callbackUrl: string; } & TrackRegisterParams; export type WxLoginProps = { inviterId?: string; code: string; }; export type FastLoginProps = { token: string; code: string; };