mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-27 13:52:49 +00:00
Some checks failed
deploy-docs / deploy-production (push) Has been cancelled
Build docs images and copy image to docker hub / build-fastgpt-docs-images (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Build docs images and copy image to docker hub / push-to-docker-hub (push) Has been cancelled
Build docs images and copy image to docker hub / update-docs-image (push) Has been cancelled
Co-authored-by: Mufei <327958099@qq.com> Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
24 lines
375 B
TypeScript
24 lines
375 B
TypeScript
import { OAuthEnum } from './constant';
|
|
|
|
export type PostLoginProps = {
|
|
username: string;
|
|
password: string;
|
|
};
|
|
|
|
export type OauthLoginProps = {
|
|
type: `${OAuthEnum}`;
|
|
code: string;
|
|
callbackUrl: string;
|
|
inviterId?: string;
|
|
};
|
|
|
|
export type WxLoginProps = {
|
|
inviterId?: string;
|
|
code: string;
|
|
};
|
|
|
|
export type FastLoginProps = {
|
|
token: string;
|
|
code: string;
|
|
};
|