diff --git a/connect/community/community.service.ts b/connect/community/community.service.ts index e9e6ded0..06d222e0 100644 --- a/connect/community/community.service.ts +++ b/connect/community/community.service.ts @@ -99,6 +99,8 @@ export class CommunityService { community.date = resData.creationDate; community.zenodoCommunity = resData.zenodoCommunity; community.status = 'PUBLIC'; + community.claim = resData.claim; + community.membership = resData.membership; community.type = resData.type; community.otherZenodoCommunities = resData.otherZenodoCommunities; if (resData.hasOwnProperty('status')) { diff --git a/connect/community/communityInfo.ts b/connect/community/communityInfo.ts index e92ad608..1185f8d1 100644 --- a/connect/community/communityInfo.ts +++ b/connect/community/communityInfo.ts @@ -15,6 +15,8 @@ export class CommunityInfo { date:Date; subjects: string[]; status:"all" | "manager" | "hidden" | "PUBLIC" | "RESTRICTED" | "PRIVATE"; + claim: "all" | "managersOnly" | "membersOnly"; + membership: "open" | "byInvitation"; zenodoCommunity:string; otherZenodoCommunities: string[]; isUpload: boolean;