add fields claim and membership
This commit is contained in:
parent
c8c5e2d925
commit
ff49c02a52
|
@ -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')) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue