[angular-16-update-zenodo-api | DONE | UPDATE] : update zenodo community API - update method signatures
This commit is contained in:
parent
1907f6f723
commit
ba9f7db240
|
@ -62,7 +62,7 @@ export class ZenodoCommunitiesComponent implements OnInit, OnDestroy {
|
||||||
this.masterZenodoCommunityId = this.community.zenodoCommunity;
|
this.masterZenodoCommunityId = this.community.zenodoCommunity;
|
||||||
if (this.masterZenodoCommunityId) {
|
if (this.masterZenodoCommunityId) {
|
||||||
this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties,
|
this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties,
|
||||||
this.properties.zenodoCommunities + this.masterZenodoCommunityId).subscribe(
|
this.masterZenodoCommunityId).subscribe(
|
||||||
result => {
|
result => {
|
||||||
this.masterZenodoCommunity = result;
|
this.masterZenodoCommunity = result;
|
||||||
this.selectedCommunities.unshift(this.masterZenodoCommunity);
|
this.selectedCommunities.unshift(this.masterZenodoCommunity);
|
||||||
|
@ -113,7 +113,7 @@ export class ZenodoCommunitiesComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
getZenodoCommunityById(zenodoid) {
|
getZenodoCommunityById(zenodoid) {
|
||||||
this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties,
|
this.subscriptions.push(this._zenodoCommunitieService.getZenodoCommunityById(this.properties,
|
||||||
this.properties.zenodoCommunities + zenodoid).subscribe(
|
zenodoid).subscribe(
|
||||||
result => {
|
result => {
|
||||||
this.selectedCommunities.push(result);
|
this.selectedCommunities.push(result);
|
||||||
this.zenodocommunitiesloadedCount++;
|
this.zenodocommunitiesloadedCount++;
|
||||||
|
|
|
@ -28,7 +28,7 @@ export let properties: EnvProperties = {
|
||||||
swhURL: "https://archive.softwareheritage.org/",
|
swhURL: "https://archive.softwareheritage.org/",
|
||||||
sherpaURL: "http://www.sherpa.ac.uk/romeo/search.php?issn=",
|
sherpaURL: "http://www.sherpa.ac.uk/romeo/search.php?issn=",
|
||||||
zenodo: "https://zenodo.org/",
|
zenodo: "https://zenodo.org/",
|
||||||
zenodoCommunities: "https://zenodo.org/api/communities/",
|
zenodoCommunities: "https://zenodo.org/api/communities",
|
||||||
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
|
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
|
||||||
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
|
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
|
||||||
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
|
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
|
||||||
|
|
|
@ -28,7 +28,7 @@ export let properties: EnvProperties = {
|
||||||
swhURL: "https://archive.softwareheritage.org/",
|
swhURL: "https://archive.softwareheritage.org/",
|
||||||
sherpaURL: "http://www.sherpa.ac.uk/romeo/search.php?issn=",
|
sherpaURL: "http://www.sherpa.ac.uk/romeo/search.php?issn=",
|
||||||
zenodo: "https://zenodo.org/",
|
zenodo: "https://zenodo.org/",
|
||||||
zenodoCommunities: "https://zenodo.org/api/communities/",
|
zenodoCommunities: "https://zenodo.org/api/communities",
|
||||||
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
|
openAccess: "https://www.openaire.eu/support/faq#article-id-234",
|
||||||
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
|
openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310",
|
||||||
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
|
fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme",
|
||||||
|
|
|
@ -33,7 +33,7 @@ export let properties: EnvProperties = {
|
||||||
swhURL: "https://archive.softwareheritage.org/",
|
swhURL: "https://archive.softwareheritage.org/",
|
||||||
sherpaURL: 'http://www.sherpa.ac.uk/romeo/search.php?issn=',
|
sherpaURL: 'http://www.sherpa.ac.uk/romeo/search.php?issn=',
|
||||||
zenodo: 'https://zenodo.org/',
|
zenodo: 'https://zenodo.org/',
|
||||||
zenodoCommunities: 'https://zenodo.org/api/communities/',
|
zenodoCommunities: 'https://zenodo.org/api/communities',
|
||||||
openAccess: 'https://www.openaire.eu/support/faq#article-id-234',
|
openAccess: 'https://www.openaire.eu/support/faq#article-id-234',
|
||||||
openAccessRepo: 'https://www.openaire.eu/support/faq#article-id-310',
|
openAccessRepo: 'https://www.openaire.eu/support/faq#article-id-310',
|
||||||
fp7Guidlines: 'https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme',
|
fp7Guidlines: 'https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme',
|
||||||
|
|
Loading…
Reference in New Issue