mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00

* feat: clb search support username, memberName, contacts * feat: popup org names * feat: update team member table * feat: restore the member * feat: search user in team member table * feat: bind contact * feat: export members * feat: org tab could delete member * feat: org table search * feat: team notification account bind * feat: permission tab search * fix: wecom sso * chore(init): copy notificationAccount to user.contact * chore: adjust * fix: ts error * fix: useConfirm iconColor customization * pref: fe * fix: style * fix: fix team member manage * pref: enlarge team member pagesize * pref: initv4822 * fix: pageSize * pref: initscritpt
34 lines
852 B
TypeScript
34 lines
852 B
TypeScript
import { MemberGroupSchemaType, MemberGroupType } from 'support/permission/memberGroup/type';
|
|
import { OAuthEnum } from './constant';
|
|
import { TrackRegisterParams } from './login/api';
|
|
import { TeamMemberStatusEnum } from './team/constant';
|
|
import { OrgType } from './team/org/type';
|
|
import { TeamMemberItemType } from './team/type';
|
|
|
|
export type PostLoginProps = {
|
|
username: string;
|
|
password: string;
|
|
};
|
|
|
|
export type OauthLoginProps = {
|
|
type: `${OAuthEnum}`;
|
|
code: string;
|
|
callbackUrl: string;
|
|
} & TrackRegisterParams;
|
|
|
|
export type WxLoginProps = {
|
|
inviterId?: string;
|
|
code: string;
|
|
};
|
|
|
|
export type FastLoginProps = {
|
|
token: string;
|
|
code: string;
|
|
};
|
|
|
|
export type SearchResult = {
|
|
members: Omit<TeamMemberItemType, 'teamId' | 'permission'>[];
|
|
orgs: Omit<OrgType, 'permission' | 'members'>[];
|
|
groups: MemberGroupSchemaType[];
|
|
};
|