@sap-ux/odata-service-inquirer 1.1.0 → 1.1.1
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.
|
@@ -130,13 +130,15 @@ function getNavigationEntityChoices(metadata, odataVersion, mainEntityName) {
|
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
132
|
* Returns only entity sets that have the `Aggregation.ApplySupported` annotation term with the `Transformations` property.
|
|
133
|
+
* This can be found within the entity set annotations or the entity type annotations.
|
|
133
134
|
*
|
|
134
135
|
* @param entitySets the entity sets to filter
|
|
135
136
|
* @returns the filtered entity sets
|
|
136
137
|
*/
|
|
137
138
|
function filterAggregateTransformations(entitySets) {
|
|
138
139
|
return entitySets.filter((entitySet) => {
|
|
139
|
-
return !!entitySet.annotations?.Aggregation?.ApplySupported?.Transformations
|
|
140
|
+
return (!!entitySet.annotations?.Aggregation?.ApplySupported?.Transformations ||
|
|
141
|
+
!!entitySet.entityType?.annotations?.Aggregation?.ApplySupported?.Transformations);
|
|
140
142
|
});
|
|
141
143
|
}
|
|
142
144
|
/**
|
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": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"i18next": "23.5.1",
|
|
29
29
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
30
30
|
"os-name": "4.0.1",
|
|
31
|
-
"@sap-ux/btp-utils": "0.17.2",
|
|
32
31
|
"@sap-ux/axios-extension": "1.18.1",
|
|
33
|
-
"@sap-ux/
|
|
32
|
+
"@sap-ux/btp-utils": "0.17.2",
|
|
34
33
|
"@sap-ux/guided-answers-helper": "0.2.0",
|
|
35
|
-
"@sap-ux/
|
|
34
|
+
"@sap-ux/fiori-generator-shared": "0.7.19",
|
|
36
35
|
"@sap-ux/telemetry": "0.5.51",
|
|
37
|
-
"@sap-ux/
|
|
38
|
-
"@sap-ux/project-access": "1.29.0",
|
|
36
|
+
"@sap-ux/inquirer-common": "0.6.4",
|
|
39
37
|
"@sap-ux/logger": "0.6.0",
|
|
40
|
-
"@sap-ux/
|
|
38
|
+
"@sap-ux/project-access": "1.29.0",
|
|
39
|
+
"@sap-ux/store": "1.0.0",
|
|
40
|
+
"@sap-ux/project-input-validator": "0.3.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@sap-ux/vocabularies-types": "0.11.7",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@sap-ux/fiori-generator-shared": "0.7.19",
|
|
50
50
|
"@sap-ux/fiori-elements-writer": "2.0.0",
|
|
51
51
|
"@sap-ux/fiori-freestyle-writer": "2.0.0",
|
|
52
|
-
"@sap-ux/
|
|
53
|
-
"@sap-ux/
|
|
52
|
+
"@sap-ux/odata-service-writer": "0.25.3",
|
|
53
|
+
"@sap-ux/feature-toggle": "0.2.3"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18.x"
|