Files
FastGPT/packages/global/support/user/api.d.ts
Archer c031e6dcc9 4.6.7-alpha commit (#743)
Co-authored-by: Archer <545436317@qq.com>
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
2024-01-19 11:17:28 +08:00

20 lines
322 B
TypeScript

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