Files
FastGPT/packages/global/support/user/api.d.ts
2023-11-24 15:29:43 +08:00

21 lines
340 B
TypeScript

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