mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 16:45:02 +00:00
pref: member/org/gourp list (#4295)
* refactor: org api * refactor: org api * pref: member/org/group list * feat: change group owner api * fix: manage org member * pref: member search
This commit is contained in:
@@ -19,9 +19,23 @@ type GroupMemberSchemaType = {
|
||||
type MemberGroupType = MemberGroupSchemaType & {
|
||||
members: {
|
||||
tmbId: string;
|
||||
role: `${GroupMemberRole}`;
|
||||
}[]; // we can get tmb's info from other api. there is no need but only need to get tmb's id
|
||||
permission: TeamPermission;
|
||||
name: string;
|
||||
avatar: string;
|
||||
}[];
|
||||
count: number;
|
||||
owner: {
|
||||
tmbId: string;
|
||||
name: string;
|
||||
avatar: string;
|
||||
};
|
||||
canEdit: boolean;
|
||||
};
|
||||
|
||||
type MemberGroupListType = MemberGroupType[];
|
||||
|
||||
type GroupMemberItemType = {
|
||||
tmbId: string;
|
||||
name: string;
|
||||
avatar: string;
|
||||
role: `${GroupMemberRole}`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user