[develop | DONE | CHANGED]: dataProviderInfo.ts & organizationInfo.ts: Mark some fields as deprecated (not used anymore).

This commit is contained in:
Konstantina Galouni 2024-06-20 15:28:22 +03:00
parent 6a781dd478
commit 5faca0746c
2 changed files with 8 additions and 2 deletions

View File

@ -46,8 +46,11 @@ export class DataProviderInfo {
// aggregationStatus: {"fundedContent": string, "indexRecords": string, "fulltexts": string, "lastUpdateDate": string};
aggregationStatus: { "fulltexts": string };
/** @deprecated*/
tabs: { "name": string, "content": string }[];
/** @deprecated*/
tabs2: string[] = [];
/** @deprecated*/
tabsInTypes = {
"publicationsTab": new Set<string>(
["aggregator::datarepository",
@ -196,11 +199,14 @@ export class DataProviderInfo {
organizations: { "acronym": string, "name": string, "id": string }[] = [];
//publications: any;
//datasets: any;
/** @deprecated*/
statistics: any;
//projects: any;
/** @deprecated*/
datasources: any;
//relatedDatasources: Map<string, {"name": string, "countPublications": string, "countDatasets": string, "countSoftware": string, "countOrps": string}>;
// Search query
relatedDatasources: { "id": string, "name": string, "count": number }[] = [];
belongsTo: boolean = true;

View File

@ -21,8 +21,8 @@ export class OrganizationInfo {
name: string;
country: string;
objIdentifier: string;
/** @deprecated*/ //deprecated - search query
projects: Map<string, OrganizationProject[]>;
//dataProviders: { name: string; url: string; type: string; websiteUrl: string;
// organizations: {name: string; url: string}[]}[];