2020-03-16 14:09:46 +01:00
|
|
|
import {
|
|
|
|
Author,
|
|
|
|
HostedByCollectedFrom,
|
|
|
|
Journal,
|
|
|
|
Organization,
|
|
|
|
Project,
|
|
|
|
RelationResult
|
|
|
|
} from "../result-preview/result-preview";
|
|
|
|
|
2020-03-20 13:01:55 +01:00
|
|
|
export interface Id {
|
2020-03-17 18:48:02 +01:00
|
|
|
type: "pmid" | "doi" | "pmc" | "handle" | "openaire";
|
|
|
|
value: string;
|
|
|
|
trust: number
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Reference {
|
|
|
|
name?: string;
|
2020-03-20 13:01:55 +01:00
|
|
|
ids: Id[];
|
2020-03-17 18:48:02 +01:00
|
|
|
}
|
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
export class ResultLandingInfo {
|
2020-08-19 13:01:22 +02:00
|
|
|
relcanId;
|
2021-03-08 15:42:26 +01:00
|
|
|
objIdentifier: string;
|
2019-09-05 10:49:33 +02:00
|
|
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
|
|
|
record;
|
2020-03-04 15:29:50 +01:00
|
|
|
resultType: "publication"|"dataset"|"other"|"software";
|
2019-09-30 13:02:06 +02:00
|
|
|
// PUBLICATION, DATASET, SOFTWARE, ORP, DELETED_BY_INFERENCE
|
2019-09-05 10:49:33 +02:00
|
|
|
title: string;
|
|
|
|
accessMode: string;
|
2020-03-16 14:09:46 +01:00
|
|
|
authors: Author[];
|
2019-09-05 10:49:33 +02:00
|
|
|
date: string;
|
2020-03-16 14:09:46 +01:00
|
|
|
dateofacceptance: Date;
|
|
|
|
embargoEndDate: Date;
|
2019-09-05 10:49:33 +02:00
|
|
|
types: string[];
|
2019-09-30 13:02:06 +02:00
|
|
|
identifiers: Map<string, string[]>; //key is the classname
|
|
|
|
languages: string[];
|
|
|
|
countries: string[];
|
|
|
|
description: string;
|
2020-03-16 14:09:46 +01:00
|
|
|
|
|
|
|
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
|
|
|
|
2019-10-10 13:59:50 +02:00
|
|
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
2020-03-16 14:09:46 +01:00
|
|
|
fundedByProjects: Project[];
|
|
|
|
|
2019-09-30 13:02:06 +02:00
|
|
|
underCurationMessage: boolean;
|
|
|
|
publisher: string;
|
2020-03-16 14:09:46 +01:00
|
|
|
journal: Journal;
|
|
|
|
|
2019-09-30 13:02:06 +02:00
|
|
|
subjects: string[];
|
|
|
|
otherSubjects: Map<string, string[]>;
|
|
|
|
classifiedSubjects: Map<string, string[]>; //<class of subject, subjects>
|
2020-03-16 14:09:46 +01:00
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
// percentage is for trust
|
2020-03-16 14:09:46 +01:00
|
|
|
relatedResearchResults: RelationResult[];
|
2019-09-05 10:49:33 +02:00
|
|
|
// percentage is for similarity
|
2020-03-16 14:09:46 +01:00
|
|
|
similarResearchResults: RelationResult[];
|
2019-10-17 15:24:09 +02:00
|
|
|
//isSupplementedBy
|
2020-03-16 14:09:46 +01:00
|
|
|
supplementaryResearchResults: RelationResult[];
|
2019-10-17 15:24:09 +02:00
|
|
|
//isSupplementTo
|
2020-03-16 14:09:46 +01:00
|
|
|
supplementedByResearchResults: RelationResult[];
|
|
|
|
|
2021-04-01 17:09:48 +02:00
|
|
|
contexts: { "labelContext": string, "idContext": string,
|
|
|
|
"labelCategory": string, "idCategory": string,
|
2021-05-13 17:21:46 +02:00
|
|
|
"labelConcept": string, "idConcept": string}[];
|
2020-03-16 14:09:46 +01:00
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
deletedByInferenceIds: string[];
|
2020-03-16 14:09:46 +01:00
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
// PUBLICATION, DATASET, ORP
|
2020-03-17 18:48:02 +01:00
|
|
|
references: Reference[];
|
2020-03-16 14:09:46 +01:00
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
// PUBLICATION
|
|
|
|
bioentities: Map<string, Map<string, string>>; //<site name, <>>
|
2020-03-16 14:09:46 +01:00
|
|
|
organizations: Organization[];
|
|
|
|
openCitations: { "url": string, "title": string, "year": string, "doi": string, "authors": string[] }[];
|
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
// DATASET
|
|
|
|
subtitle: string;
|
2020-03-16 14:09:46 +01:00
|
|
|
|
2019-09-05 10:49:33 +02:00
|
|
|
// SOFTWARE
|
|
|
|
programmingLanguages: string[];
|
|
|
|
}
|