* perf: full text collection and search code * perf: rename function * perf: notify modal * remove invalid code * perf: sso login * perf: pay process
13 lines
338 B
TypeScript
13 lines
338 B
TypeScript
import { OrgSchemaType } from './type';
|
|
|
|
export const OrgCollectionName = 'team_orgs';
|
|
export const OrgMemberCollectionName = 'team_org_members';
|
|
|
|
export const getOrgChildrenPath = (org: OrgSchemaType) => `${org.path}/${org.pathId}`;
|
|
|
|
// export enum OrgMemberRole {
|
|
// owner = 'owner',
|
|
// admin = 'admin',
|
|
// member = 'member'
|
|
// }
|