mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
21 lines
340 B
TypeScript
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;
|
|
};
|