1
|
import {Author, Organization, Project, ResultTitle} from "../result-preview/result-preview";
|
2
|
|
3
|
export class SearchResult {
|
4
|
title: ResultTitle;
|
5
|
id: string;
|
6
|
DOI: string;
|
7
|
|
8
|
//publications & datasets & orp & software & projects & dataproviders:
|
9
|
description: string;
|
10
|
|
11
|
//publications & datasets & orp & software & organizations:
|
12
|
projects: Project[];
|
13
|
|
14
|
//datasets & orp & publications & software
|
15
|
year: string;
|
16
|
embargoEndDate: Date | string;
|
17
|
authors: Author[];
|
18
|
countriesForResults: string[];
|
19
|
languages: string[];
|
20
|
|
21
|
//datasets & orp & software:
|
22
|
publisher: string;
|
23
|
|
24
|
//software
|
25
|
programmingLanguages: string[];
|
26
|
|
27
|
//dataproviders & projects:
|
28
|
organizations: Organization[];
|
29
|
|
30
|
//projects:
|
31
|
acronym: string;
|
32
|
code: string;
|
33
|
funderShortname: string;
|
34
|
budget?: string;
|
35
|
contribution?: string;
|
36
|
currency?: string;
|
37
|
startYear: number;
|
38
|
endYear: number;
|
39
|
openAccessMandatePublications: boolean;
|
40
|
openAccessMandateDatasets: boolean;
|
41
|
|
42
|
//organizations:
|
43
|
country: string;
|
44
|
|
45
|
//dataproviders:
|
46
|
englishname: string;
|
47
|
type: string;
|
48
|
websiteURL: string;
|
49
|
OAIPMHURL: string;
|
50
|
compatibility: string;
|
51
|
compatibilityUNKNOWN: boolean;
|
52
|
countries: string[];
|
53
|
subjects: string[];
|
54
|
|
55
|
entityType: string;
|
56
|
types: string[];
|
57
|
|
58
|
constructor() {
|
59
|
}
|
60
|
|
61
|
}
|