From 71e98983e19eae49f11596348542f3f91f79f5d8 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 16 Nov 2020 16:47:19 +0000 Subject: [PATCH] [Library | Trunk]: Add creation and update dates in all levels git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59890 d315682c-612b-4755-9ff5-7f18f6832af3 --- monitor/entities/stakeholder.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/monitor/entities/stakeholder.ts b/monitor/entities/stakeholder.ts index 4bf7939c..0363aa76 100644 --- a/monitor/entities/stakeholder.ts +++ b/monitor/entities/stakeholder.ts @@ -21,8 +21,6 @@ export class Stakeholder { index_shortName: string; alias: string; defaultId: string; - isActive: boolean; - isPublic: boolean; visibility: Visibility; creationDate: Date = null; updateDate: Date; @@ -64,6 +62,8 @@ export class Topic { alias: string; description: string; visibility: Visibility; + creationDate: Date = null; + updateDate: Date; defaultId: string; categories: Category[]; icon: string; @@ -85,6 +85,8 @@ export class Category { name: string; alias: string; description: string; + creationDate: Date = null; + updateDate: Date; visibility: Visibility; defaultId: string; subCategories: SubCategory[]; @@ -105,6 +107,8 @@ export class SubCategory { name: string; alias: string; description: string; + creationDate: Date = null; + updateDate: Date; visibility: Visibility; defaultId: string; charts: Section[]; @@ -129,6 +133,8 @@ export class Section { _id: string; title: string; defaultId: string; + creationDate: Date = null; + updateDate: Date; stakeholderAlias: string; type: IndicatorType; indicators: Indicator[]; @@ -148,6 +154,8 @@ export class Indicator { name: string; description: string; additionalDescription: string; + creationDate: Date = null; + updateDate: Date; type: IndicatorType; width: IndicatorWidth; tags: string[];