From 8301b44d9f11e49232372bc03fb4c1214ca65785 Mon Sep 17 00:00:00 2001 From: SergioAlonsoRoman Date: Wed, 28 Aug 2024 09:37:06 -0600 Subject: [PATCH 1/2] feat: update model DtsVO whit new attributes --- src/openapi-client/models/DtsVO.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/openapi-client/models/DtsVO.ts b/src/openapi-client/models/DtsVO.ts index 83d3b82e..3f781356 100644 --- a/src/openapi-client/models/DtsVO.ts +++ b/src/openapi-client/models/DtsVO.ts @@ -92,6 +92,18 @@ export interface DtsVO { * @memberof DtsVO */ debug?: boolean; + /** + * + * @type {number} + * @memberof DtsVO + */ + connection?: number; + /** + * + * @type {Date} + * @memberof DtsVO + */ + modifiedTs?: Date; /** * * @type {Date} @@ -134,6 +146,8 @@ export function DtsVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dts 'templateFk': json['templateFk'] == null ? undefined : json['templateFk'], 'collectionFk': json['collectionFk'] == null ? undefined : json['collectionFk'], 'debug': json['debug'] == null ? undefined : json['debug'], + 'connection': json['connection'] == null ? 0 : json['connection'], + 'modifiedTs': json['modifiedTs'] == null ? undefined : (new Date(json['modifiedTs'])), 'createdTs': json['createdTs'] == null ? undefined : (new Date(json['createdTs'])), 'deploymentConfig': json['deploymentConfig'] == null ? undefined : json['deploymentConfig'], }; @@ -156,6 +170,8 @@ export function DtsVOToJSON(value?: DtsVO | null): any { 'templateFk': value['templateFk'], 'collectionFk': value['collectionFk'], 'debug': value['debug'], + 'connection': value['connection'] == null ? 0 : value['connection'], + 'modifiedTs': value['modifiedTs'] == null ? undefined : ((value['modifiedTs']).toISOString()), 'createdTs': value['createdTs'] == null ? undefined : ((value['createdTs']).toISOString()), 'deploymentConfig': value['deploymentConfig'], }; From 03e3c7a273c2628ea19e7491bf5afcaaf06bd798 Mon Sep 17 00:00:00 2001 From: SergioAlonsoRoman Date: Wed, 28 Aug 2024 09:46:42 -0600 Subject: [PATCH 2/2] feat: Updating data of the columns Connections and Modified --- src/components/Services/DtsList.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Services/DtsList.tsx b/src/components/Services/DtsList.tsx index 7a4e2d1b..fd9bfe69 100644 --- a/src/components/Services/DtsList.tsx +++ b/src/components/Services/DtsList.tsx @@ -294,13 +294,13 @@ function DtsList() {
- Connections + {dts.connection}
- {dts.createdTs && ( + {dts.modifiedTs && (
- {`${dts.createdTs.getFullYear()}-${(dts.createdTs.getMonth() + 1).toString().padStart(2, '0')}-${dts.createdTs.getDate().toString().padStart(2, '0')}`} + {`${dts.modifiedTs.getFullYear()}-${(dts.modifiedTs.getMonth() + 1).toString().padStart(2, '0')}-${dts.modifiedTs.getDate().toString().padStart(2, '0')}`}
)}