@sap-ux/ui-service-sub-generator 0.0.14 → 0.0.16

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.
@@ -121,7 +121,9 @@ class default_1 extends yeoman_generator_1.default {
121
121
  // UI Service configuration step
122
122
  (0, utils_2.setToolbarMessage)(this.options.data, this.systemSelectionAnswers, this.appWizard);
123
123
  // prompt service configuration
124
- const configPrompts = await (0, ui_service_inquirer_1.getConfigPrompts)(this.systemSelectionAnswers, logger_1.default.logger);
124
+ const configPrompts = await (0, ui_service_inquirer_1.getConfigPrompts)(this.systemSelectionAnswers, {
125
+ useDraftEnabled: !(this.answers.objectType === ui_service_inquirer_1.ObjectType.CDS_VIEW || this.options.data?.type === types_1.BAS_OBJECT.CDS)
126
+ }, logger_1.default.logger);
125
127
  const configAnswers = await this.prompt(configPrompts.prompts);
126
128
  Object.assign(this.answers, configAnswers);
127
129
  Object.assign(this.serviceConfigAnswers, configPrompts.answers);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui-service-sub-generator",
3
3
  "description": "Generator for creating UI Service",
4
- "version": "0.0.14",
4
+ "version": "0.0.16",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -22,15 +22,15 @@
22
22
  "@sap-devx/yeoman-ui-types": "1.16.9",
23
23
  "i18next": "23.5.1",
24
24
  "yeoman-generator": "5.10.0",
25
- "@sap-ux/axios-extension": "1.19.2",
26
- "@sap-ux/btp-utils": "1.0.2",
25
+ "@sap-ux/axios-extension": "1.19.3",
26
+ "@sap-ux/btp-utils": "1.0.3",
27
27
  "@sap-ux/feature-toggle": "0.2.3",
28
- "@sap-ux/fiori-generator-shared": "0.10.0",
29
- "@sap-ux/inquirer-common": "0.6.33",
28
+ "@sap-ux/fiori-generator-shared": "0.10.1",
29
+ "@sap-ux/inquirer-common": "0.6.34",
30
30
  "@sap-ux/logger": "0.6.0",
31
- "@sap-ux/system-access": "0.5.34",
32
- "@sap-ux/telemetry": "0.5.72",
33
- "@sap-ux/ui-service-inquirer": "0.0.14"
31
+ "@sap-ux/system-access": "0.5.35",
32
+ "@sap-ux/telemetry": "0.5.73",
33
+ "@sap-ux/ui-service-inquirer": "0.0.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@sap/service-provider-apis": "2.1.5",