diff --git a/src/collaboration/membershipsUtils.ts b/src/collaboration/membershipsUtils.ts index 7230cdc9d..fd58c96c3 100644 --- a/src/collaboration/membershipsUtils.ts +++ b/src/collaboration/membershipsUtils.ts @@ -15,6 +15,7 @@ * along with this program. If not, see https://www.gnu.org/licenses/. */ import _ from 'lodash/fp'; +import { User } from 'terraso-client-shared/account/accountSlice'; import type { AccountCollaborationMembershipFragment, CollaborationMembershipFieldsFragment, @@ -45,9 +46,9 @@ export type MembershipList = { export type Membership = { membershipId: string; membershipStatus: 'APPROVED' | 'PENDING'; + user: User; }; - export const extractMembershipsInfo = ( membershipList?: MembershipQuery | null, ) => ({