From 20b212555f01b78d0eec1b117aab65ada6e9dc20 Mon Sep 17 00:00:00 2001 From: vkovtun <viktor.kovtun@id.ethz.ch> Date: Tue, 5 Dec 2023 13:35:58 +0100 Subject: [PATCH] BIS-772: Fixing JS DTOs. --- .../src/v3/as/dto/exporter/ExportOperationResult.js | 4 +++- .../src/v3/as/dto/exporter/data/ExportData.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/ExportOperationResult.js b/api-openbis-javascript/src/v3/as/dto/exporter/ExportOperationResult.js index cb4c8be8ece..a2035e17502 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/ExportOperationResult.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/ExportOperationResult.js @@ -40,7 +40,9 @@ define(["stjs", "as/dto/common/operation/IOperationResult"], return this.exportResult; } }, - {} + { + exportResult: "ExportResult" + } ); return ExportOperationResult; diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportData.js b/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportData.js index 81ad0315879..1ced9cc1096 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportData.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportData.js @@ -16,7 +16,9 @@ */ define(["stjs"], function (stjs) { - var ExportData = function() { + var ExportData = function(permIds, fields) { + this.permIds = permIds; + this.fields = fields; } stjs.extend( -- GitLab