Project

General

Profile

1
export class DataProviderInfo {
2
    title: { "name": string, "url": string };
3
    officialName: string;
4
    type: string;
5
    registry: boolean;
6
    compatibility: { "info": string, "name": string, "id": string };
7
    oaiPmhURL: string;
8
    openDoarURL: string;
9
    r3DataURL: string;
10
    originalId: string;
11
    countries: string[];
12

    
13
    aggregationStatus: {"fundedContent": string, "indexRecords": string, "fulltexts": string}; //collected from datasource api
14

    
15
    tabs: {"name": string, "content": string}[];
16
    tabs2: string[] =[];
17
    tabsInTypes = {
18
        "publicationsTab": new Set<string>(
19
                        [   "aggregator::datarepository",
20
                            "aggregator::pubsrepository::institutional",
21
                            "aggregator::pubsrepository::unknown",
22
                            "aggregator::pubsrepository::journals",
23
                            "crissystem",
24
                            "datarepository::unknown",
25
                            "infospace",
26
                            "pubsrepository::institutional",
27
                            "pubsrepository::journal",
28
                            "pubsrepository::unknown",
29
                            "scholarcomminfra",
30
                            "pubsrepository::thematic",
31
                            "pubscatalogue::unknown",
32
                            "orprepository"
33
                        ]),
34
        "datasetsTab": new Set<string>(
35
                        [   "aggregator::datarepository",
36
                            "aggregator::pubsrepository::institutional",
37
                            "aggregator::pubsrepository::unknown",
38
                            "aggregator::pubsrepository::journals",
39
                            "crissystem",
40
                            "datarepository::unknown",
41
                            "infospace",
42
                            "pubsrepository::institutional",
43
                            "pubsrepository::journal",
44
                            "pubsrepository::unknown",
45
                            "scholarcomminfra",
46
                            "pubsrepository::thematic",
47
                            "orprepository"
48
                        ]),
49
        "statisticsTab": new Set<string>(
50
                        [   "aggregator::datarepository",
51
                            "aggregator::pubsrepository::institutional",
52
                            "aggregator::pubsrepository::unknown",
53
                            "aggregator::pubsrepository::journals",
54
                            "crissystem",
55
                            "datarepository::unknown",
56
                            "pubsrepository::institutional",
57
                            "pubsrepository::journal",
58
                            "pubsrepository::unknown",
59
                            "pubsrepository::thematic",
60
                            "pubscatalogue::unknown",
61
                            "orprepository"
62
                        ]),
63
        // "organizationsTab": new Set<string>(
64
        //                 [   "entityregistry::projects",
65
        //                     "entityregistry::repositories"
66
        //                 ]),
67
        "projectsTab": new Set<string>(["entityregistry::projects"]),
68
        "datasourcesTab": new Set<string>(["entityregistry::repositories"]),
69
        "relatedDatasourcesTab": new Set<string>(
70
                        [   "aggregator::pubsrepository::unknown",
71
                            "aggregator::pubsrepository::journals",
72
                            "aggregator::pubsrepository::institutional",
73
                            "aggregator::datarepository"
74
                        ]),
75
        "softwareTab": new Set<string>(
76
                        [
77
                            "aggregator::datarepository",
78
                            "aggregator::pubsrepository::institutional",
79
                            "aggregator::pubsrepository::unknown",
80
                            "aggregator::pubsrepository::journals",
81
                            "crissystem",
82
                            "datarepository::unknown",
83
                            "infospace",
84
                            "pubsrepository::institutional",
85
                            "pubsrepository::journal",
86
                            "pubsrepository::unknown",
87
                            "scholarcomminfra",
88
                            "pubsrepository::thematic",
89
                            "softwarerepository",
90
                            "aggregator::softwarerepository",
91
                            "orprepository"
92
                        ]),
93
          "orpsTab": new Set<string>(
94
                          [
95
                            "aggregator::datarepository",
96
                            "aggregator::pubsrepository::institutional",
97
                            "aggregator::pubsrepository::unknown",
98
                            "aggregator::pubsrepository::journals",
99
                            "crissystem",
100
                            "datarepository::unknown",
101
                            "infospace",
102
                            "pubsrepository::institutional",
103
                            "pubsrepository::journal",
104
                            "pubsrepository::unknown",
105
                            "scholarcomminfra",
106
                            "pubsrepository::thematic",
107
                            "softwarerepository",
108
                            "aggregator::softwarerepository",
109
                            "orprepository"
110
                          ])
111
        /*
112
        ,
113
        "metricsTab": new Set<string>(
114
                        [   "aggregator::datarepository",
115
                            "aggregator::pubsrepository::institutional",
116
                            "aggregator::pubsrepository::unknown",
117
                            "aggregator::pubsrepository::journals",
118
                            "crissystem",
119
                            "datarepository::unknown",
120
                            "pubsrepository::institutional",
121
                            "pubsrepository::journal",
122
                            "pubsrepository::unknown",
123
                            "pubsrepository::thematic",
124
                            "pubscatalogue::unknown",
125

    
126
                            "infospace",
127
                            "scholarcomminfra",
128
                            "entityregistry",
129
                            "entityregistry::projects",
130
                            "entityregistry::repositories"
131
                        ])
132
          */
133
    };
134

    
135
    resultsBy: string;
136
    resultTypes = {
137
        "collectedFrom": new Set<string>(
138
                        [   "aggregator::datarepository",
139
                            "aggregator::pubsrepository::institutional",
140
                            "aggregator::pubsrepository::unknown",
141
                            "aggregator::pubsrepository::journals",
142
                            "entityregistry::projects",
143
                            "entityregistry::repositories",
144
                            "infospace",
145
                            "scholarcomminfra",
146
                            "pubscatalogue::unknown",
147
                            "aggregator::softwarerepository"
148
                        ]),
149
        "hostedBy": new Set<string>(
150
                        [   "crissystem",
151
                            "datarepository::unknown",
152
                            "pubsrepository::institutional",
153
                            "pubsrepository::journal",
154
                            "pubsrepository::unknown",
155
                            "pubsrepository::thematic",
156
                            "softwarerepository",
157
                            "orprepository"
158
                        ])
159
    };
160

    
161
    organizations: {"name": string, "id": string}[] = [];
162
    //publications: any;
163
    //datasets: any;
164
    statistics: any;
165
    //projects: any;
166
    datasources: any;
167

    
168
    relatedDatasources: Map<string, {"name": string, "countPublications": string, "countDatasets": string, "countSoftware": string, "countOrps": string}>;
169
}
(1-1/11)