@sap-ux/odata-service-writer 0.23.1 → 0.23.2

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import type { Editor } from 'mem-fs-editor';
2
- import { OdataService, OdataVersion, ServiceType, CdsAnnotationsInfo, EdmxAnnotationsInfo } from './types';
2
+ import { getAnnotationNamespaces } from './data';
3
+ import { OdataService, OdataVersion, ServiceType, CdsAnnotationsInfo, EdmxAnnotationsInfo, NamespaceAlias } from './types';
3
4
  /**
4
5
  * Try finding a package.json and a ui5.yaml for the given project by looking upwards in the folder hierachy.
5
6
  *
@@ -22,4 +23,5 @@ export declare function findProjectFiles(basePath: string, fs: Editor): Promise<
22
23
  */
23
24
  declare function generate(basePath: string, service: OdataService, fs?: Editor): Promise<Editor>;
24
25
  export { generate, OdataVersion, OdataService, ServiceType, EdmxAnnotationsInfo, CdsAnnotationsInfo };
26
+ export { getAnnotationNamespaces, NamespaceAlias };
25
27
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ServiceType = exports.OdataVersion = void 0;
6
+ exports.getAnnotationNamespaces = exports.ServiceType = exports.OdataVersion = void 0;
7
7
  exports.findProjectFiles = findProjectFiles;
8
8
  exports.generate = generate;
9
9
  const path_1 = require("path");
@@ -13,6 +13,7 @@ const updates_1 = require("./updates");
13
13
  const ui5_config_1 = require("@sap-ux/ui5-config");
14
14
  const prettify_xml_1 = __importDefault(require("prettify-xml"));
15
15
  const data_1 = require("./data");
16
+ Object.defineProperty(exports, "getAnnotationNamespaces", { enumerable: true, get: function () { return data_1.getAnnotationNamespaces; } });
16
17
  const i18n_1 = require("./i18n");
17
18
  const types_1 = require("./types");
18
19
  Object.defineProperty(exports, "OdataVersion", { enumerable: true, get: function () { return types_1.OdataVersion; } });
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%3Aodata-service-writer"
11
11
  },
12
- "version": "0.23.1",
12
+ "version": "0.23.2",
13
13
  "license": "Apache-2.0",
14
14
  "main": "dist/index.js",
15
15
  "files": [
@@ -38,7 +38,7 @@
38
38
  "@types/semver": "7.5.2",
39
39
  "fs-extra": "10.0.0",
40
40
  "lodash": "4.17.21",
41
- "@sap-ux/project-access": "1.28.5"
41
+ "@sap-ux/project-access": "1.28.6"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=18.x"