1
|
import {
|
2
|
Author,
|
3
|
HostedByCollectedFrom,
|
4
|
Journal,
|
5
|
Organization,
|
6
|
Project,
|
7
|
RelationResult
|
8
|
} from "../result-preview/result-preview";
|
9
|
|
10
|
export class ResultLandingInfo {
|
11
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
12
|
record;
|
13
|
resultType: "publication"|"dataset"|"other"|"software";
|
14
|
// PUBLICATION, DATASET, SOFTWARE, ORP, DELETED_BY_INFERENCE
|
15
|
title: string;
|
16
|
accessMode: string;
|
17
|
authors: Author[];
|
18
|
date: string;
|
19
|
dateofacceptance: Date;
|
20
|
embargoEndDate: Date;
|
21
|
types: string[];
|
22
|
identifiers: Map<string, string[]>; //key is the classname
|
23
|
languages: string[];
|
24
|
countries: string[];
|
25
|
description: string;
|
26
|
|
27
|
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
28
|
|
29
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
30
|
fundedByProjects: Project[];
|
31
|
|
32
|
underCurationMessage: boolean;
|
33
|
publisher: string;
|
34
|
journal: Journal;
|
35
|
|
36
|
subjects: string[];
|
37
|
otherSubjects: Map<string, string[]>;
|
38
|
classifiedSubjects: Map<string, string[]>; //<class of subject, subjects>
|
39
|
|
40
|
// percentage is for trust
|
41
|
relatedResearchResults: RelationResult[];
|
42
|
// percentage is for similarity
|
43
|
similarResearchResults: RelationResult[];
|
44
|
//isSupplementedBy
|
45
|
supplementaryResearchResults: RelationResult[];
|
46
|
//isSupplementTo
|
47
|
supplementedByResearchResults: RelationResult[];
|
48
|
|
49
|
contexts: { "labelContext": string, "labelCategory": string, "labelConcept": string, "inline": boolean }[];
|
50
|
|
51
|
deletedByInferenceIds: string[];
|
52
|
|
53
|
// PUBLICATION, DATASET, ORP
|
54
|
references: { "name": string, "url": string }[];
|
55
|
|
56
|
// PUBLICATION
|
57
|
bioentities: Map<string, Map<string, string>>; //<site name, <>>
|
58
|
organizations: Organization[];
|
59
|
openCitations: { "url": string, "title": string, "year": string, "doi": string, "authors": string[] }[];
|
60
|
|
61
|
// DATASET
|
62
|
subtitle: string;
|
63
|
|
64
|
// SOFTWARE
|
65
|
programmingLanguages: string[];
|
66
|
}
|