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

* feat: change group owner api * pref: member/org/group * fix: member modal select clb * fix: search member when change owner
14 lines
362 B
TypeScript
14 lines
362 B
TypeScript
import { OrgSchemaType } from './type';
|
|
|
|
export const OrgCollectionName = 'team_orgs';
|
|
export const OrgMemberCollectionName = 'team_org_members';
|
|
|
|
export const getOrgChildrenPath = (org: OrgSchemaType) => {
|
|
if (org.path === '' && org.pathId === '') return '';
|
|
return `${org.path ?? ''}/${org.pathId}`;
|
|
};
|
|
|
|
export enum SyncOrgSourceEnum {
|
|
wecom = 'wecom'
|
|
}
|