@sap-ux/fiori-generator-shared 0.13.99 → 0.13.101
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.
- package/dist/types/headless.d.ts +15 -1
- package/package.json +4 -4
package/dist/types/headless.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Annotations } from '@sap-ux/axios-extension';
|
|
1
|
+
import type { Annotations, EntitySetData, ExternalService } from '@sap-ux/axios-extension';
|
|
2
2
|
import type { FloorplanKey } from './app-gen';
|
|
3
3
|
import type { CapRuntime } from './cap';
|
|
4
4
|
/**
|
|
@@ -70,6 +70,16 @@ export interface FLPConfig {
|
|
|
70
70
|
readonly title?: string;
|
|
71
71
|
readonly semanticObject?: string;
|
|
72
72
|
}
|
|
73
|
+
export type ExternalServiceConfig = ExternalService & {
|
|
74
|
+
/**
|
|
75
|
+
* Either the metadata xml or a file path to the metadata file on disk
|
|
76
|
+
*/
|
|
77
|
+
metadata: string;
|
|
78
|
+
/**
|
|
79
|
+
* Either an inline array of entity set data or a file path to a JSON file on disk
|
|
80
|
+
*/
|
|
81
|
+
entityData?: EntitySetData[] | string;
|
|
82
|
+
};
|
|
73
83
|
/**
|
|
74
84
|
* Defines the external interface used to generate in headless mode (no prompts)
|
|
75
85
|
* This is a deliberate re-definition of internal interfaces to avoid consumers having
|
|
@@ -110,6 +120,10 @@ export interface AppConfig {
|
|
|
110
120
|
readonly appPath?: string;
|
|
111
121
|
};
|
|
112
122
|
readonly apiHubApiKey?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Pre-fetched value help and code list metadata to be written.
|
|
125
|
+
*/
|
|
126
|
+
externalServices?: ExternalServiceConfig[];
|
|
113
127
|
};
|
|
114
128
|
deployConfig?: DeployConfig;
|
|
115
129
|
flpConfig?: FLPConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-generator-shared",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support the fiori generator.",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.101",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"os-name": "4.0.1",
|
|
26
26
|
"semver": "7.7.4",
|
|
27
27
|
"@sap-ux/btp-utils": "1.1.14",
|
|
28
|
-
"@sap-ux/project-access": "1.35.
|
|
29
|
-
"@sap-ux/telemetry": "0.6.
|
|
28
|
+
"@sap-ux/project-access": "1.35.21",
|
|
29
|
+
"@sap-ux/telemetry": "0.6.100"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/mem-fs-editor": "7.0.1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/vscode": "1.110.0",
|
|
36
36
|
"@types/yeoman-environment": "2.10.11",
|
|
37
37
|
"@types/yeoman-generator": "5.2.14",
|
|
38
|
-
"@sap-ux/axios-extension": "1.25.
|
|
38
|
+
"@sap-ux/axios-extension": "1.25.32",
|
|
39
39
|
"@sap-ux/logger": "0.8.5",
|
|
40
40
|
"@sap-ux/store": "1.5.13"
|
|
41
41
|
},
|