@sap-ux/odata-service-inquirer 0.5.30 → 0.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ class ErrorHandler {
133
133
  [ERROR_TYPE.DESTINATION_BAD_GATEWAY_503]: (0, i18n_1.t)('errors.destinationUnavailable'),
134
134
  [ERROR_TYPE.REDIRECT]: (0, i18n_1.t)('errors.redirectError'),
135
135
  [ERROR_TYPE.NO_SUCH_HOST]: (0, i18n_1.t)('errors.noSuchHostError'),
136
- [ERROR_TYPE.NO_ABAP_ENVS]: (0, i18n_1.t)('error.abapEnvsUnavailable')
136
+ [ERROR_TYPE.NO_ABAP_ENVS]: (0, i18n_1.t)('errors.abapEnvsUnavailable')
137
137
  });
138
138
  /**
139
139
  * Get the Guided Answers (help) node for the specified error type.
@@ -433,14 +433,14 @@ class ErrorHandler {
433
433
  link: {
434
434
  text: (0, i18n_1.t)('guidedAnswers.validationErrorHelpText'),
435
435
  icon: guided_answers_helper_1.GUIDED_ANSWERS_ICON,
436
- url: (0, guided_answers_helper_1.getHelpUrl)(3046 /* HELP_TREE.FIORI_TOOLS */, [helpNode])
436
+ url: (0, guided_answers_helper_1.getHelpUrl)(guided_answers_helper_1.HELP_TREE.FIORI_TOOLS, [helpNode])
437
437
  }
438
438
  };
439
439
  if (this.guidedAnswersEnabled) {
440
440
  valLink.link.command = {
441
441
  id: guided_answers_helper_1.GUIDED_ANSWERS_LAUNCH_CMD_ID,
442
442
  params: {
443
- treeId: 3046 /* HELP_TREE.FIORI_TOOLS */,
443
+ treeId: guided_answers_helper_1.HELP_TREE.FIORI_TOOLS,
444
444
  nodeIdPath: [helpNode],
445
445
  trigger: '@sap-ux/odata-service-inquirer'
446
446
  }
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getCFDiscoverPrompts = exports.getAbapOnBTPSystemQuestions = void 0;
7
- const yeoman_ui_types_1 = require("@sap-devx/yeoman-ui-types");
8
7
  const inquirer_common_1 = require("@sap-ux/inquirer-common");
9
8
  const cf_tools_1 = require("@sap/cf-tools");
10
9
  const error_handler_1 = require("../../../../error-handler/error-handler");
@@ -147,18 +146,13 @@ function getCFDiscoverPrompts(connectionValidator) {
147
146
  if (abapService) {
148
147
  return await validateServiceInfo(abapService, connectionValidator);
149
148
  }
150
- return false;
151
- },
152
- additionalMessages: () => {
153
149
  const errorType = prompt_helpers_1.errorHandler.getCurrentErrorType();
154
150
  if (errorType === error_handler_1.ERROR_TYPE.NO_ABAP_ENVS) {
155
151
  const errorMsg = prompt_helpers_1.errorHandler.getErrorMsg(true);
156
152
  const seeLogMsg = (0, i18n_1.t)('texts.seeLogForDetails');
157
- return {
158
- message: `${errorMsg} ${seeLogMsg}`,
159
- severity: yeoman_ui_types_1.Severity.warning
160
- };
153
+ return `${errorMsg} ${seeLogMsg}`;
161
154
  }
155
+ return false;
162
156
  }
163
157
  }
164
158
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/odata-service-inquirer",
3
3
  "description": "Prompts module that can prompt users for inputs required for odata service writing",
4
- "version": "0.5.30",
4
+ "version": "0.5.32",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,11 +28,11 @@
28
28
  "os-name": "4.0.1",
29
29
  "@sap-ux/axios-extension": "1.16.5",
30
30
  "@sap-ux/btp-utils": "0.15.2",
31
- "@sap-ux/guided-answers-helper": "0.0.1",
32
- "@sap-ux/telemetry": "0.5.24",
31
+ "@sap-ux/guided-answers-helper": "0.0.2",
32
+ "@sap-ux/telemetry": "0.5.25",
33
33
  "@sap-ux/inquirer-common": "0.4.6",
34
34
  "@sap-ux/logger": "0.6.0",
35
- "@sap-ux/project-access": "1.26.8",
35
+ "@sap-ux/project-access": "1.26.9",
36
36
  "@sap-ux/project-input-validator": "0.3.3",
37
37
  "@sap-ux/store": "0.9.1"
38
38
  },
@@ -43,7 +43,7 @@
43
43
  "@types/lodash": "4.14.202",
44
44
  "jest-extended": "3.2.4",
45
45
  "lodash": "4.17.21",
46
- "@sap-ux/odata-service-writer": "0.22.3",
46
+ "@sap-ux/odata-service-writer": "0.22.4",
47
47
  "@sap-ux/feature-toggle": "0.2.0"
48
48
  },
49
49
  "engines": {