@sap-ux/fiori-app-sub-generator 0.4.12 → 0.4.13

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.
@@ -119,6 +119,7 @@ async function promptOdataServiceAnswers(options, logger, adapter, connectedSyst
119
119
  host: answers.origin,
120
120
  client: answers.sapClient,
121
121
  servicePath: answers.servicePath,
122
+ serviceId: answers.serviceId,
122
123
  edmx: answers.metadata,
123
124
  annotations: answers.annotations,
124
125
  version: answers.odataVersion,
@@ -25,12 +25,12 @@ export declare function transformTemplateType(floorplan: Floorplan, entityRelate
25
25
  * Transform Fiori Tools State to the type required by the open source ux-tools module.
26
26
  * Process inputs to set correct defaults.
27
27
  *
28
- * @param param0
29
- * @param param0.project
30
- * @param param0.service
31
- * @param param0.floorplan
32
- * @param param0.entityRelatedConfig
33
- * @param param0.viewName
28
+ * @param state
29
+ * @param state.project
30
+ * @param state.service
31
+ * @param state.floorplan
32
+ * @param state.entityRelatedConfig
33
+ * @param state.viewName
34
34
  * @param generateIndexHtml
35
35
  * @returns {FioriElementsApp<T>} - The app configuration
36
36
  */
@@ -131,12 +131,12 @@ function getUI5Uri() {
131
131
  * Transform Fiori Tools State to the type required by the open source ux-tools module.
132
132
  * Process inputs to set correct defaults.
133
133
  *
134
- * @param param0
135
- * @param param0.project
136
- * @param param0.service
137
- * @param param0.floorplan
138
- * @param param0.entityRelatedConfig
139
- * @param param0.viewName
134
+ * @param state
135
+ * @param state.project
136
+ * @param state.service
137
+ * @param state.floorplan
138
+ * @param state.entityRelatedConfig
139
+ * @param state.viewName
140
140
  * @param generateIndexHtml
141
141
  * @returns {FioriElementsApp<T>} - The app configuration
142
142
  */
@@ -61,6 +61,7 @@ async function writeAppGenInfoFiles({ project, service, floorplan, entityRelated
61
61
  generatorPlatform: appGenInfoCustom?.generatorPlatform ?? (0, fiori_generator_shared_1.getHostEnvironment)().name,
62
62
  serviceType: appGenInfoCustom?.serviceType,
63
63
  metadataFilename: service.localEdmxFilePath ? (0, path_1.basename)(service.localEdmxFilePath) : '',
64
+ serviceId: service.serviceId,
64
65
  serviceUrl: appGenInfoCustom?.serviceUrl,
65
66
  appName: project.name,
66
67
  appTitle: project.title,
@@ -43,6 +43,7 @@ export interface Service {
43
43
  client?: string;
44
44
  destinationName?: string;
45
45
  servicePath?: string;
46
+ serviceId?: string;
46
47
  edmx?: string;
47
48
  annotations?: Annotations[];
48
49
  version?: OdataVersion;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-app-sub-generator",
3
3
  "description": "A yeoman (sub) generator that can generate Fiori applications. Not for standalone use.",
4
- "version": "0.4.12",
4
+ "version": "0.4.13",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -32,19 +32,19 @@
32
32
  "@sap-ux/annotation-generator": "0.3.35",
33
33
  "@sap-ux/axios-extension": "1.21.2",
34
34
  "@sap-ux/btp-utils": "1.1.0",
35
- "@sap-ux/cap-config-writer": "0.10.6",
35
+ "@sap-ux/cap-config-writer": "0.10.7",
36
36
  "@sap-ux/feature-toggle": "0.3.0",
37
- "@sap-ux/fiori-elements-writer": "2.4.13",
38
- "@sap-ux/fiori-freestyle-writer": "2.4.9",
39
- "@sap-ux/fiori-generator-shared": "0.12.6",
37
+ "@sap-ux/fiori-elements-writer": "2.4.14",
38
+ "@sap-ux/fiori-freestyle-writer": "2.4.10",
39
+ "@sap-ux/fiori-generator-shared": "0.12.7",
40
40
  "@sap-ux/fiori-tools-settings": "0.2.0",
41
41
  "@sap-ux/launch-config": "0.10.2",
42
- "@sap-ux/odata-service-inquirer": "2.4.15",
42
+ "@sap-ux/odata-service-inquirer": "2.4.16",
43
43
  "@sap-ux/odata-service-writer": "0.27.5",
44
44
  "@sap-ux/project-access": "1.30.2",
45
45
  "@sap-ux/store": "1.1.0",
46
46
  "@sap-ux/telemetry": "0.6.3",
47
- "@sap-ux/ui5-application-inquirer": "0.14.8",
47
+ "@sap-ux/ui5-application-inquirer": "0.14.9",
48
48
  "@sap-ux/ui5-info": "0.11.0"
49
49
  },
50
50
  "devDependencies": {
@@ -62,10 +62,10 @@
62
62
  "mock-spawn": "0.2.6",
63
63
  "rimraf": "5.0.5",
64
64
  "yeoman-test": "6.3.0",
65
- "@sap-ux/abap-deploy-config-inquirer": "1.4.12",
66
- "@sap-ux/cf-deploy-config-inquirer": "0.3.8",
67
- "@sap-ux/flp-config-sub-generator": "0.2.19",
68
- "@sap-ux/inquirer-common": "0.7.8",
65
+ "@sap-ux/abap-deploy-config-inquirer": "1.4.13",
66
+ "@sap-ux/cf-deploy-config-inquirer": "0.3.9",
67
+ "@sap-ux/flp-config-sub-generator": "0.2.20",
68
+ "@sap-ux/inquirer-common": "0.7.9",
69
69
  "@sap-ux/jest-file-matchers": "0.2.2",
70
70
  "@sap-ux/logger": "0.7.0"
71
71
  },