add fields claim and membership

This commit is contained in:
argirok 2023-07-19 14:25:23 +03:00
parent c8c5e2d925
commit ff49c02a52
2 changed files with 4 additions and 0 deletions

View File

@ -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')) {

View File

@ -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;