added statisticsEntities.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51681 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
8c8e9ca79c
commit
8f08e6a5b8
|
@ -0,0 +1,65 @@
|
|||
export const availableCharts = [
|
||||
'timeline',
|
||||
'graph',
|
||||
'projectColumn',
|
||||
'projectPie',
|
||||
'projectTable'
|
||||
];
|
||||
|
||||
export const availableNumbers = [
|
||||
'total',
|
||||
'project',
|
||||
'open',
|
||||
'closed',
|
||||
'restricted',
|
||||
'embargo',
|
||||
];
|
||||
|
||||
export const availableEntities = [
|
||||
'publication',
|
||||
'dataset',
|
||||
'software'
|
||||
];
|
||||
|
||||
export const availableEntitiesMap = new Map([
|
||||
['publication', 'Publications'],
|
||||
['dataset', 'Research Data'],
|
||||
['software', 'Software']
|
||||
]);
|
||||
|
||||
export class DisplayStatsOptions {
|
||||
showInMonitor: boolean;
|
||||
showInDashboard: boolean;
|
||||
}
|
||||
|
||||
export class StatisticsMap {
|
||||
map: Map<string, DisplayStatsOptions>;
|
||||
}
|
||||
|
||||
export class EntityStats {
|
||||
charts: StatisticsMap;
|
||||
numbers: StatisticsMap;
|
||||
}
|
||||
|
||||
export class StatisticsDisplay {
|
||||
pid: string;
|
||||
entities: Map<string, EntityStats>;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export class StatisticsNumbers {
|
||||
total: number;
|
||||
open_access: number;
|
||||
embargo: number;
|
||||
restricted: number;
|
||||
closed_access: number;
|
||||
projects: number;
|
||||
}
|
||||
|
||||
export class StatisticsSummary {
|
||||
publications : StatisticsNumbers;
|
||||
datasets: StatisticsNumbers;
|
||||
software: StatisticsNumbers;
|
||||
total_projects: number;
|
||||
virtual_organizations: number;
|
||||
}
|
Loading…
Reference in New Issue