mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00

* add prelogin api (#4762) * add prelogin api * move type.d.ts * perf: prelogin code * doc * fix: ts --------- Co-authored-by: dreamer6680 <1468683855@qq.com>
18 lines
504 B
TypeScript
18 lines
504 B
TypeScript
export enum UserAuthTypeEnum {
|
|
register = 'register',
|
|
findPassword = 'findPassword',
|
|
wxLogin = 'wxLogin',
|
|
bindNotification = 'bindNotification',
|
|
captcha = 'captcha',
|
|
login = 'login'
|
|
}
|
|
|
|
export const userAuthTypeMap = {
|
|
[UserAuthTypeEnum.register]: 'register',
|
|
[UserAuthTypeEnum.findPassword]: 'findPassword',
|
|
[UserAuthTypeEnum.wxLogin]: 'wxLogin',
|
|
[UserAuthTypeEnum.bindNotification]: 'bindNotification',
|
|
[UserAuthTypeEnum.captcha]: 'captcha',
|
|
[UserAuthTypeEnum.login]: 'login'
|
|
};
|