@nx-ddd/openapi 19.0.0-preview.10

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 ADDED
@@ -0,0 +1,11 @@
1
+ # openapi
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build openapi` to build the library.
8
+
9
+ ## Running unit tests
10
+
11
+ Run `nx test openapi` to execute the unit tests via [Jest](https://jestjs.io).
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './lib';
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./lib"), exports);
5
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/@nx-ddd/openapi/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './openapi.decorator';
package/lib/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./openapi.decorator"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/openapi/src/lib/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC"}
@@ -0,0 +1,4 @@
1
+ export declare function OpenApiProperty(options?: Parameters<typeof import('@nestjs/swagger').ApiProperty>[0]): PropertyDecorator;
2
+ export declare const OpenAPI: {
3
+ Property: typeof OpenApiProperty;
4
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpenAPI = void 0;
4
+ exports.OpenApiProperty = OpenApiProperty;
5
+ function OpenApiProperty(options) {
6
+ return (target, propertyKey) => {
7
+ var _a;
8
+ if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
9
+ const { ApiProperty } = require('@nestjs/swagger');
10
+ ApiProperty(options)(target, propertyKey);
11
+ }
12
+ };
13
+ }
14
+ exports.OpenAPI = {
15
+ Property: OpenApiProperty,
16
+ };
17
+ //# sourceMappingURL=openapi.decorator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openapi.decorator.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/openapi/src/lib/openapi.decorator.ts"],"names":[],"mappings":";;;AAAA,0CAOC;AAPD,SAAgB,eAAe,CAAC,OAAqE;IACnG,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE;;QAC7B,IAAI,OAAO,OAAO,KAAK,WAAW,KAAI,MAAA,OAAO,CAAC,QAAQ,0CAAE,IAAI,CAAA,EAAE,CAAC;YAC7D,MAAM,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;YACnD,WAAW,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,QAAQ,EAAE,eAAe;CAC1B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@nx-ddd/openapi",
3
+ "version": "19.0.0-preview.10",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "homepage": "https://github.com/xx-machina/plaform/tree/main/packages/@nx-ddd/openapi",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/xx-machina/plaform.git"
10
+ },
11
+ "peerDependencies": {},
12
+ "dependencies": {},
13
+ "type": "commonjs"
14
+ }