Files
FastGPT/packages/global/support/user/api.d.ts
2023-11-09 09:46:57 +08:00

16 lines
272 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;
};