External module "src/crud/membership"
Functions
Const addOrganizationToMembership
-
Parameters
Const addOrganizationToMemberships
-
Parameters
Const createMembership
- createMembership(membership: Membership): Promise<any>
-
Parameters
Returns Promise<any>
Const deleteAllUserMemberships
- deleteAllUserMemberships(userId: string): Promise<any>
-
Parameters
Returns Promise<any>
Const deleteMembership
- deleteMembership(id: string): Promise<any>
-
Parameters
Returns Promise<any>
Const getMembership
-
Parameters
Const getMembershipDetailed
- getMembershipDetailed(id: string): Promise<any>
-
Parameters
Returns Promise<any>
Const getOrganizationMembers
- getOrganizationMembers(organizationId: string): Promise<Membership[]>
-
Parameters
Const getUserMemberships
-
Parameters
Const getUserMembershipsDetailed
- getUserMembershipsDetailed(user: User | string): Promise<any>
-
Parameters
Returns Promise<any>
Const getUserOrganizationMembership
-
Parameters
Const updateMembership
- updateMembership(id: string, membership: KeyValue): Promise<any>
-
Parameters
Returns Promise<any>
Add organization details to membership