@sap-ux/fiori-generator-shared 0.13.99 → 0.13.100

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.
@@ -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.99",
4
+ "version": "0.13.100",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -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.31",
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
  },