@sap-ux/preview-middleware 0.23.130 → 0.23.132

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.
@@ -331,10 +331,13 @@ function getPreviewPaths(config, logger = new logger_1.ToolsLogger()) {
331
331
  const flpConfig = getFlpConfigWithDefaults(config.flp);
332
332
  urls.push({ path: `${flpConfig.path}#${flpConfig.intent.object}-${flpConfig.intent.action}`, type: 'preview' });
333
333
  // add editor urls
334
- if (config.editors?.rta) {
335
- config.editors.rta.endpoints.forEach((endpoint) => {
334
+ if (config.editors) {
335
+ config.editors.rta?.endpoints.forEach((endpoint) => {
336
336
  urls.push({ path: endpoint.path, type: 'editor' });
337
337
  });
338
+ if (config.editors.cardGenerator?.path) {
339
+ urls.push({ path: config.editors.cardGenerator.path, type: 'editor' });
340
+ }
338
341
  }
339
342
  // add test urls if configured
340
343
  if (config.test) {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
11
11
  },
12
- "version": "0.23.130",
12
+ "version": "0.23.132",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "mem-fs-editor": "9.4.0",
28
28
  "qrcode": "1.5.4",
29
29
  "@sap/bas-sdk": "3.13.3",
30
- "@sap-ux/adp-tooling": "0.18.71",
30
+ "@sap-ux/adp-tooling": "0.18.72",
31
31
  "@sap-ux/btp-utils": "1.1.9",
32
32
  "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.7.13",
33
33
  "@sap-ux/feature-toggle": "0.3.7",