80 lines
1.4 KiB
TypeScript
80 lines
1.4 KiB
TypeScript
export class Project {
|
|
funderShortname: string;
|
|
funderName: string;
|
|
acronym: string;
|
|
title: string;
|
|
code: string;
|
|
id: string;
|
|
}
|
|
|
|
export class Author {
|
|
fullName: string;
|
|
orcid: string;
|
|
}
|
|
|
|
export class ResultTitle {
|
|
name: string;
|
|
accessMode: string;
|
|
sc39: string;
|
|
}
|
|
|
|
export class Organization {
|
|
id: string;
|
|
name: string;
|
|
}
|
|
|
|
export class SearchResult {
|
|
title: ResultTitle;
|
|
id: string;
|
|
DOI: string;
|
|
|
|
//publications & datasets & orp & software & organizations:
|
|
projects: Project[];
|
|
|
|
//datasets & orp & publications & software
|
|
description: string;
|
|
year: string;
|
|
embargoEndDate: Date | string;
|
|
authors: Author[];
|
|
countriesForResults: string[];
|
|
languages: string[];
|
|
|
|
//datasets & orp & software:
|
|
publisher: string;
|
|
|
|
//software
|
|
programmingLanguages: string[];
|
|
|
|
//dataproviders & projects:
|
|
organizations: Organization[];
|
|
|
|
//projects:
|
|
acronym: string;
|
|
code: string;
|
|
funderShortname: string;
|
|
startYear: number;
|
|
endYear: number;
|
|
openAccessMandatePublications: boolean;
|
|
openAccessMandateDatasets: boolean;
|
|
|
|
//organizations:
|
|
country: string;
|
|
|
|
//dataproviders:
|
|
englishname: string;
|
|
type: string;
|
|
websiteURL: string;
|
|
OAIPMHURL: string;
|
|
compatibility: string;
|
|
compatibilityUNKNOWN: boolean;
|
|
countries: string[];
|
|
subjects: string[];
|
|
|
|
entityType: string;
|
|
types: string[];
|
|
|
|
constructor() {
|
|
}
|
|
|
|
}
|