2017-12-19 13:53:46 +01:00
|
|
|
export class DataProviderInfo {
|
|
|
|
title: { "name": string, "url": string };
|
|
|
|
officialName: string;
|
|
|
|
type: string;
|
|
|
|
registry: boolean;
|
|
|
|
compatibility: string;
|
|
|
|
oaiPmhURL: string;
|
|
|
|
openDoarURL: string;
|
|
|
|
r3DataURL: string;
|
2018-05-08 17:20:51 +02:00
|
|
|
originalId: string;
|
2017-12-19 13:53:46 +01:00
|
|
|
countries: string[];
|
2018-05-08 17:20:51 +02:00
|
|
|
|
|
|
|
aggregationStatus: {"fundedContent": string, "indexRecords": string}; //collected from datasource api
|
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
tabs: {"name": string, "content": string}[];
|
|
|
|
tabsInTypes = {
|
|
|
|
"publicationsTab": new Set<string>(
|
|
|
|
[ "aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"crissystem",
|
|
|
|
"infospace",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"scholarcomminfra",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"pubscatalogue::unknown",
|
|
|
|
|
|
|
|
"aggregator::datarepository",
|
|
|
|
"crissystem",
|
2018-05-08 14:59:30 +02:00
|
|
|
"datarepository::unknown",
|
|
|
|
"orprepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
]),
|
|
|
|
"datasetsTab": new Set<string>(
|
|
|
|
[ "aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"crissystem",
|
|
|
|
"infospace",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"scholarcomminfra",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"pubscatalogue::unknown",
|
|
|
|
|
|
|
|
"aggregator::datarepository",
|
|
|
|
"crissystem",
|
2018-05-08 14:59:30 +02:00
|
|
|
"datarepository::unknown",
|
|
|
|
"orprepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
]),
|
|
|
|
"statisticsTab": new Set<string>(
|
|
|
|
[ "aggregator::datarepository",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"crissystem",
|
|
|
|
"datarepository::unknown",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"pubscatalogue::unknown",
|
2018-05-08 14:59:30 +02:00
|
|
|
"orprepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
]),
|
|
|
|
// "organizationsTab": new Set<string>(
|
|
|
|
// [ "entityregistry::projects",
|
|
|
|
// "entityregistry::repositories"
|
|
|
|
// ]),
|
|
|
|
"projectsTab": new Set<string>(["entityregistry::projects"]),
|
|
|
|
"datasourcesTab": new Set<string>(["entityregistry::repositories"]),
|
|
|
|
"relatedDatasourcesTab": new Set<string>(
|
|
|
|
[ "aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::datarepository"
|
2018-05-08 14:59:30 +02:00
|
|
|
]),
|
|
|
|
"softwareTab": new Set<string>(
|
|
|
|
[
|
|
|
|
"aggregator::datarepository",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"infospace",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"scholarcomminfra",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"softwarerepository",
|
|
|
|
"aggregator::softwarerepository",
|
|
|
|
"orprepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
])/*,
|
2018-05-08 14:59:30 +02:00
|
|
|
"otherTab": new Set<string>(
|
|
|
|
[
|
|
|
|
"aggregator::datarepository",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"infospace",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"scholarcomminfra",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"softwarerepository",
|
|
|
|
"aggregator::softwarerepository",
|
|
|
|
"orprepository"
|
|
|
|
])*/
|
|
|
|
/*
|
|
|
|
,
|
2017-12-19 13:53:46 +01:00
|
|
|
"metricsTab": new Set<string>(
|
|
|
|
[ "aggregator::datarepository",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"crissystem",
|
|
|
|
"datarepository::unknown",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
|
|
|
"pubsrepository::thematic",
|
|
|
|
"pubscatalogue::unknown",
|
|
|
|
|
|
|
|
"infospace",
|
|
|
|
"scholarcomminfra",
|
|
|
|
"entityregistry",
|
|
|
|
"entityregistry::projects",
|
|
|
|
"entityregistry::repositories"
|
2018-05-08 14:59:30 +02:00
|
|
|
])
|
|
|
|
*/
|
2017-12-19 13:53:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
resultsBy: string;
|
|
|
|
resultTypes = {
|
|
|
|
"collectedFrom": new Set<string>(
|
|
|
|
[ "aggregator::datarepository",
|
|
|
|
"aggregator::pubsrepository::institutional",
|
|
|
|
"aggregator::pubsrepository::unknown",
|
|
|
|
"aggregator::pubsrepository::journals",
|
|
|
|
"entityregistry::projects",
|
|
|
|
"entityregistry::repositories",
|
|
|
|
"infospace",
|
|
|
|
"scholarcomminfra",
|
2018-05-08 14:59:30 +02:00
|
|
|
"pubscatalogue::unknown",
|
|
|
|
"aggregator::softwarerepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
]),
|
|
|
|
"hostedBy": new Set<string>(
|
|
|
|
[ "crissystem",
|
|
|
|
"datarepository::unknown",
|
|
|
|
"pubsrepository::institutional",
|
|
|
|
"pubsrepository::journal",
|
|
|
|
"pubsrepository::unknown",
|
2018-05-08 14:59:30 +02:00
|
|
|
"pubsrepository::thematic",
|
|
|
|
"softwarerepository",
|
|
|
|
"orprepository"
|
2017-12-19 13:53:46 +01:00
|
|
|
])
|
|
|
|
};
|
|
|
|
|
|
|
|
organizations: {"name": string, "id": string}[] = [];
|
|
|
|
//publications: any;
|
|
|
|
//datasets: any;
|
|
|
|
statistics: any;
|
|
|
|
//projects: any;
|
|
|
|
datasources: any;
|
|
|
|
|
|
|
|
relatedDatasources: Map<string, {"name": string, "countPublications": string, "countDatasets": string}>;
|
|
|
|
}
|