13 lines
335 B
TypeScript
13 lines
335 B
TypeScript
import { OrgSchemaType } from './type';
|
|
|
|
export const OrgCollectionName = 'team_orgs';
|
|
export const OrgMemberCollectionName = 'team_org_members';
|
|
|
|
export const getChildrenPath = (org: OrgSchemaType) => `${org.path}/${org.pathId}`;
|
|
|
|
// export enum OrgMemberRole {
|
|
// owner = 'owner',
|
|
// admin = 'admin',
|
|
// member = 'member'
|
|
// }
|