ojp-shared-types 0.0.1 → 0.0.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/README.md CHANGED
@@ -14,7 +14,7 @@ Notes
14
14
  - include the `ojp-shared-types` package in the `./package.json` dependencies of the project
15
15
  ```
16
16
  "dependencies": {
17
- "ojp-shared-types": "0.0.1"
17
+ "ojp-shared-types": "0.0.2"
18
18
  }
19
19
  ```
20
20
 
@@ -1,5 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ OpenAPI_Dependencies: () => OpenAPI_Dependencies,
24
+ VERSION: () => VERSION
25
+ });
26
+ module.exports = __toCommonJS(index_exports);
27
+
1
28
  // src/constants.ts
2
- var VERSION = "0.0.1";
29
+ var VERSION = "0.0.2";
3
30
 
4
31
  // src/types/openapi-dependencies.ts
5
32
  var MapNS_Tags = {
@@ -105,7 +132,8 @@ var OpenAPI_Dependencies = {
105
132
  MapModelKeepPropertiesXML,
106
133
  MapStringValues
107
134
  };
108
- export {
135
+ // Annotate the CommonJS export names for ESM import in node:
136
+ 0 && (module.exports = {
109
137
  OpenAPI_Dependencies,
110
138
  VERSION
111
- };
139
+ });
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.0.1";
1
+ declare const VERSION = "0.0.2";
2
2
 
3
3
  interface components$b {
4
4
  schemas: {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.0.1";
1
+ declare const VERSION = "0.0.2";
2
2
 
3
3
  interface components$b {
4
4
  schemas: {
package/dist/index.js CHANGED
@@ -1,32 +1,5 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- OpenAPI_Dependencies: () => OpenAPI_Dependencies,
24
- VERSION: () => VERSION
25
- });
26
- module.exports = __toCommonJS(index_exports);
27
-
28
1
  // src/constants.ts
29
- var VERSION = "0.0.1";
2
+ var VERSION = "0.0.2";
30
3
 
31
4
  // src/types/openapi-dependencies.ts
32
5
  var MapNS_Tags = {
@@ -132,8 +105,7 @@ var OpenAPI_Dependencies = {
132
105
  MapModelKeepPropertiesXML,
133
106
  MapStringValues
134
107
  };
135
- // Annotate the CommonJS export names for ESM import in node:
136
- 0 && (module.exports = {
108
+ export {
137
109
  OpenAPI_Dependencies,
138
110
  VERSION
139
- });
111
+ };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "ojp-shared-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
- "main": "dist/index.cjs",
6
- "module": "dist/index.js",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
7
8
  "types": "dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "require": "./dist/index.cjs",
11
- "import": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
12
+ "import": "./dist/index.js"
13
13
  }
14
14
  },
15
15
  "files": ["dist"],