From 9feb66bfc8c1103a139d79901bcdf3dc966419ed Mon Sep 17 00:00:00 2001 From: vkovtun <vkovtun@ethz.ch> Date: Wed, 23 Aug 2023 16:28:00 +0200 Subject: [PATCH] SSDM-13926: Fixing the failing JS test. --- api-openbis-javascript/src/v3/as/dto/exporter/ExportResult.js | 2 ++ .../src/v3/as/dto/exporter/data/ExportData.js | 2 ++ .../src/v3/as/dto/exporter/data/ExportablePermId.js | 2 ++ .../src/v3/as/dto/exporter/data/SelectedFields.js | 2 ++ .../src/v3/as/dto/exporter/options/ExportOptions.js | 4 ++++ .../src/v3/as/dto/importer/ImportOperation.js | 2 ++ .../src/v3/as/dto/importer/data/ImportScript.js | 2 ++ .../src/v3/as/dto/importer/data/UncompressedImportData.js | 3 +++ .../src/v3/as/dto/importer/data/ZipImportData.js | 2 ++ .../src/v3/as/dto/importer/options/ImportOptions.js | 1 + 10 files changed, 22 insertions(+) diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/ExportResult.js b/api-openbis-javascript/src/v3/as/dto/exporter/ExportResult.js index 085368cb64c..65975f746ad 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/ExportResult.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/ExportResult.js @@ -28,6 +28,8 @@ define(["stjs"], function (stjs) { prototype["@type"] = "as.dto.exporter.ExportResult"; constructor.serialVersionUID = 1; + prototype.downloadUrl = null; + prototype.warnings = null; prototype.getDownloadURL = function() { return this.downloadURL; 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 f423127e9d1..a589abc4557 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 @@ -29,6 +29,8 @@ define(["stjs"], function (stjs) { prototype["@type"] = "as.dto.exporter.data.ExportData"; constructor.serialVersionUID = 1; + prototype.permIds = null; + prototype.fields = null; prototype.getPermIds = function() { return this.permIds; diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportablePermId.js b/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportablePermId.js index 27444ce65a6..3c9f5a7efb4 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportablePermId.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/data/ExportablePermId.js @@ -29,6 +29,8 @@ define(["stjs"], function (stjs) { prototype["@type"] = "as.dto.exporter.data.ExportablePermId"; constructor.serialVersionUID = 1; + prototype.exportableKind = null; + prototype.permId = null; prototype.getExportableKind = function() { return this.exportableKind; diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/data/SelectedFields.js b/api-openbis-javascript/src/v3/as/dto/exporter/data/SelectedFields.js index 00a20edeb05..9c2f71273e4 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/data/SelectedFields.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/data/SelectedFields.js @@ -29,6 +29,8 @@ define(["stjs", "as/dto/exporter/data/IExportableFields"], function (stjs, IExpo prototype["@type"] = "as.dto.exporter.data.SelectedFields"; constructor.serialVersionUID = 1; + prototype.attributes = null; + prototype.properties = null; prototype.getAttributes = function() { return this.attributes; diff --git a/api-openbis-javascript/src/v3/as/dto/exporter/options/ExportOptions.js b/api-openbis-javascript/src/v3/as/dto/exporter/options/ExportOptions.js index a881999fbce..b8c8a638f9a 100644 --- a/api-openbis-javascript/src/v3/as/dto/exporter/options/ExportOptions.js +++ b/api-openbis-javascript/src/v3/as/dto/exporter/options/ExportOptions.js @@ -31,6 +31,10 @@ define(["stjs"], function (stjs) { prototype["@type"] = "as.dto.exporter.options.SelectedFields"; constructor.serialVersionUID = 1; + prototype.formats = null; + prototype.xlsTextFormat = null; + prototype.withReferredTypes = null; + prototype.withImportCompatibility = null; prototype.getFormats = function() { return this.formats; diff --git a/api-openbis-javascript/src/v3/as/dto/importer/ImportOperation.js b/api-openbis-javascript/src/v3/as/dto/importer/ImportOperation.js index 1a60576de00..e666a045929 100644 --- a/api-openbis-javascript/src/v3/as/dto/importer/ImportOperation.js +++ b/api-openbis-javascript/src/v3/as/dto/importer/ImportOperation.js @@ -30,6 +30,8 @@ define(["stjs", "as/dto/common/operation/IOperation"], prototype["@type"] = "as.dto.importer.ImportOperation"; constructor.serialVersionUID = 1; + prototype.importData = null; + prototype.importOptions = null; prototype.getMessage = function() { return "ImportOperation"; diff --git a/api-openbis-javascript/src/v3/as/dto/importer/data/ImportScript.js b/api-openbis-javascript/src/v3/as/dto/importer/data/ImportScript.js index f280d51ae97..96565e11bfb 100644 --- a/api-openbis-javascript/src/v3/as/dto/importer/data/ImportScript.js +++ b/api-openbis-javascript/src/v3/as/dto/importer/data/ImportScript.js @@ -30,6 +30,8 @@ define(["stjs"], prototype["@type"] = "as.dto.importer.data.ImportScript"; constructor.serialVersionUID = 1; + prototype.name = null; + prototype.source = null; prototype.getName = function() { return this.name; diff --git a/api-openbis-javascript/src/v3/as/dto/importer/data/UncompressedImportData.js b/api-openbis-javascript/src/v3/as/dto/importer/data/UncompressedImportData.js index d23a7e9882d..e01da7dd9da 100644 --- a/api-openbis-javascript/src/v3/as/dto/importer/data/UncompressedImportData.js +++ b/api-openbis-javascript/src/v3/as/dto/importer/data/UncompressedImportData.js @@ -31,6 +31,9 @@ define(["stjs", "as/dto/importer/data/IImportData"], prototype["@type"] = "as.dto.importer.data.UncompressedImportData"; constructor.serialVersionUID = 1; + prototype.format = null; + prototype.file = null; + prototype.scripts = null; prototype.getFormat = function() { return this.format; diff --git a/api-openbis-javascript/src/v3/as/dto/importer/data/ZipImportData.js b/api-openbis-javascript/src/v3/as/dto/importer/data/ZipImportData.js index 7bd8084682b..764c3e492fd 100644 --- a/api-openbis-javascript/src/v3/as/dto/importer/data/ZipImportData.js +++ b/api-openbis-javascript/src/v3/as/dto/importer/data/ZipImportData.js @@ -30,6 +30,8 @@ define(["stjs", "as/dto/importer/data/IImportData"], prototype["@type"] = "as.dto.importer.data.ZipImportData"; constructor.serialVersionUID = 1; + prototype.format = null; + prototype.file = null; prototype.getFormat = function() { return this.format; diff --git a/api-openbis-javascript/src/v3/as/dto/importer/options/ImportOptions.js b/api-openbis-javascript/src/v3/as/dto/importer/options/ImportOptions.js index 3f609dfda2e..8e76e247fa6 100644 --- a/api-openbis-javascript/src/v3/as/dto/importer/options/ImportOptions.js +++ b/api-openbis-javascript/src/v3/as/dto/importer/options/ImportOptions.js @@ -28,6 +28,7 @@ define(["stjs"], function (stjs) { prototype["@type"] = "as.dto.importer.options.ImportOptions"; constructor.serialVersionUID = 1; + prototype.mode = null; prototype.getMode = function() { return this.mode; -- GitLab