{"_id":"@emackie/nestjs-decorators","_rev":"9-2547ef769e91058a1b4148ba07b49de7","name":"@emackie/nestjs-decorators","dist-tags":{"latest":"1.4.0"},"versions":{"0.2.0":{"name":"@emackie/nestjs-decorators","version":"0.2.0","author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"MIT","_id":"@emackie/nestjs-decorators@0.2.0","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"dist":{"shasum":"17207f5b0f57f78da4ecde9105973c7158f6e600","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-0.2.0.tgz","fileCount":10,"integrity":"sha512-lJqNAId8cZL4m3WZcaeiHvzK1jdEjOADleDMJ8FFVtfXttaVd9k3co/AHL03q1shx07PHLmfLfc1jVWPL93Psw==","signatures":[{"sig":"MEUCIQDAkhoMBsApOgrwPEvksmmHEVvnYxeS6rhhB/DAtkINgwIgLec2g6K5WutkQxPoc3de2Svu8AAN+cMv9Pyt3xwZh+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13200},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":[".module.ts",".module-definition.ts","config.schema.ts","constant","dto","enum","main.ts","mock","type"]},"gitHead":"d966a3d936472a4b5c7d0ec373b2f30d1c96edeb","scripts":{"lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsc","test:cov":"jest --coverage","lint:fix:":"eslint \"src/**/*.ts\" --fix"},"_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"_npmVersion":"10.2.4","directories":{},"_nodeVersion":"20.11.0","dependencies":{"@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","esbuild":"^0.21.5","ts-jest":"^29.1.4","ts-node":"^10.9.2","prettier":"^3.3.1","typescript":"^5.4.5","@types/jest":"^29.5.12","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_0.2.0_1718065753872_0.8630519023249466","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@emackie/nestjs-decorators","version":"1.1.0","author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.1.0","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"aa417dbb1d92c1bc2cd1b82a6fcd145941898469","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.1.0.tgz","fileCount":7,"integrity":"sha512-ReK5Ivrhw2qIyy7RmwzvckE/YbRODNAmKBCuVajZv3wAmXwFs+K4qYCPHyeoprB7Kcnc6TQ0khzFPRiv0Pupqw==","signatures":[{"sig":"MEYCIQDeWlvmcGoRn0fBCGuF4MEfDmOX32hRLEpZIPk50rggMgIhAICdI+Y/Q3fDxzBbBHhdwX+3Mz2CV7tZnGhOzyXCJId5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8766},"main":"index.js","types":"./index.d.ts","gitHead":"7063e64ca0aac40ba81c95819685b1621870014d","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.1.0_1718068997783_0.6744086360085197","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@emackie/nestjs-decorators","version":"1.2.0","keywords":["nestjs","decorator","node"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.2.0","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"08ff97766c97b2504a496efbe5488c051f55b530","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.2.0.tgz","fileCount":33,"integrity":"sha512-K2ApidJBD0xw6+Gjdn7xwPVWms+MxT2zVGMmNZW8b2XwqcS4LOkllI6SZCu7VLh28GaAfgqbDL63X5iuFxf1Cg==","signatures":[{"sig":"MEUCIF2nMFscDMMkK1utl4XDl8tn+9Xhjzjx7q3nS7eQnHjGAiEAyrzgUgD1Bcxzx9mbIZjSKZIcw9qr3AKO6nTdlcqwihc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18555},"main":"index.js","types":"./index.d.ts","gitHead":"07b1bf9fd5742a2bbf6d15b50d00f07faf868eb2","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.2.0_1718077296202_0.6530768990239693","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@emackie/nestjs-decorators","version":"1.2.1","keywords":["nestjs","decorator","node"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.2.1","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"daa546be95e474b32df44199b7de8cefc3cb9847","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.2.1.tgz","fileCount":33,"integrity":"sha512-SfM5rdNO5mKbY1DpkypdvSzKvS78/Xahuw9qvDc85DJaBV5cpJpWAJg7uxbAIOykm7HZhRbEgkHJ9UY50W9xzw==","signatures":[{"sig":"MEYCIQCuiT9mSodp67CDe0omOLOKHUVyLIwMoYsiCNli4FYlBgIhAPPQM/9Gp2Vj1J7T09017v/5vpYlN6yVMk/qUTFpTzux","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18553},"main":"index.js","types":"./index.d.ts","gitHead":"be32928db0c3327dbb53f0f10faa628261f1f9c4","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.2.1_1718077696959_0.4266814475973453","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@emackie/nestjs-decorators","version":"1.2.2","keywords":["nestjs","decorator","node"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.2.2","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"aa15323106c66f1362e9f8ac1e6b8f6a44e6dbc6","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.2.2.tgz","fileCount":33,"integrity":"sha512-K8FDSOV9Nh3/PiI+FcOSafmJ49qiQmSS9Us1rEb2C4LtduLBpwjF0bxRk7dfgaXGyHxgoroCZZMrtmn5yPWx3A==","signatures":[{"sig":"MEUCIQCyn1nmS2ZECgSJH8f2iO/JgVweTUSuBRVLVZyf6NzHiAIgXxnoNsrlTSvJnam4/WYtq906fqbBPNBV5ATF/JT8SYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18619},"main":"index.js","types":"./index.d.ts","gitHead":"77da56767f246b38d9fd82f70c166249a97d1180","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.2.2_1718077995734_0.21664628405910635","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@emackie/nestjs-decorators","version":"1.2.3","keywords":["nestjs","decorator","node"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.2.3","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"8f8d8549a4a0b7fc9fb70bf1275a490f773b1855","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.2.3.tgz","fileCount":33,"integrity":"sha512-F+WtzkHoXA42yNtaRxrl8tnmNVGQYdqHuOcZs1n/v6kbEFp9fJs29e9EjqKkzDSv0CMsFyGl+m8Na1t5GDkPiA==","signatures":[{"sig":"MEUCIFHCwhWJaggJ4VnY7z5VSxjw3StBsmIzo/jjRXfiZwgoAiEA7GW00XLBd2dqvr4L8sLpFiyWdrmhx8gJ71azFIqypgA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18628},"main":"index.js","types":"./index.d.ts","gitHead":"11bbf3c741d0d7acc91a13e69ff90445bf613adb","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.2.3_1718078735446_0.2383526628703312","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@emackie/nestjs-decorators","version":"1.3.0","keywords":["bigint","date","decorator","nestjs","node","swagger"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.3.0","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"3061fed01d3e0d40e03ed23a44f88eaf917119f5","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.3.0.tgz","fileCount":43,"integrity":"sha512-q0WCPZ9sh7PW490J+idkp7nCEzlWFJLQZ0cMCN37uqVAEEKd3Jld+A4Fjg2aE2LBOtWmMbVHi5ydV6nXPSxjOg==","signatures":[{"sig":"MEUCIAE1zf8efmsn+i0UF9vP8wNExIq4HQvrNUNKPrjdTVdwAiEAtcoe9i3kNsGQjcwdg9K6DYF+CTUunXmretw4MptLZ9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24337},"main":"index.js","types":"./index.d.ts","gitHead":"b92cec7525e84b42b53cf3cf8419db948709bd66","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.3.0_1718131403076_0.433931603696704","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@emackie/nestjs-decorators","version":"1.3.1","keywords":["bigint","date","decorator","nestjs","node","swagger"],"author":{"name":"Eric Mackie","email":"emackie@wetraq.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.3.1","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"b4fdb743f25dbb1a6f64ab1069849f9f52286422","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.3.1.tgz","fileCount":43,"integrity":"sha512-BFgHBkTRLLr8U28ek0JnPNXg9AjCH56PvJMN0z65cUpLgn21PMxLhkp3y08XNwx0QNMS3nOaNB063u38dosZ7Q==","signatures":[{"sig":"MEUCIQDLbMOADgj0UXlohcN32d40hEc2DcqvxbL9gioPdsTwzQIgaU9hBE+ObkZjf9/s24u8mB/TYujGZSkQ4HAnr2QLVjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24340},"main":"index.js","types":"./index.d.ts","gitHead":"a5499762c53b461af216c502ca45b1c63882e6f0","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.3.1_1718131967466_0.639683127538192","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@emackie/nestjs-decorators","version":"1.3.2","keywords":["bigint","date","decorator","nestjs","node","swagger"],"author":{"name":"Eric Mackie","email":"eric.mackie@essolutions.ca"},"license":"ISC","_id":"@emackie/nestjs-decorators@1.3.2","maintainers":[{"name":"emackie","email":"eric.mackie@essolutions.ca"}],"homepage":"https://github.com/emackie9/nestjs-decorators#readme","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"dist":{"shasum":"554541c6bf0c2fb6676342f8d447ace98e946e01","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.3.2.tgz","fileCount":43,"integrity":"sha512-G6q9ow/fdkpikd2eiTjOASn8wth5zPHVRNaPqP24H1/rXMnrgDbCgwZ6X3uRb2h81yJDIbQxjqlba193AwASzQ==","signatures":[{"sig":"MEUCIDlMA2AzhFvIe0M+ZGCGNQlvMcLR1pGR4PVh5l+9IPReAiEA3igypeKLxnYNqaTNHP21xeZSGWRty0b8Tubyms1oagY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24349},"main":"index.js","types":"./index.d.ts","gitHead":"02a3ebf5797742cfeac6090f4d42f245fc8a21a8","_npmUser":{"name":"emackie","email":"eric.mackie@essolutions.ca"},"repository":{"url":"git+https://github.com/emackie9/nestjs-decorators.git","type":"git"},"_npmVersion":"10.7.0","description":"Additional decorators intended for use with NestJS framework.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-validator":"^0.14.1","class-transformer":"^0.5.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorators_1.3.2_1718156739136_0.3620521346203609","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@emackie/nestjs-decorators","version":"1.4.0","description":"Additional decorators intended for use with NestJS framework.","main":"index.js","author":{"name":"Eric Mackie","email":"eric.mackie@essolutions.ca"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/emackie9/nestjs-decorators.git"},"keywords":["bigint","date","decorator","nestjs","node","swagger"],"dependencies":{"@nestjs/common":"^10.3.9","@nestjs/swagger":"^7.3.1","class-transformer":"^0.5.1","class-validator":"^0.14.1"},"_id":"@emackie/nestjs-decorators@1.4.0","gitHead":"9687905e714c8c92b3515dd995a5503f4e2cabe6","types":"./index.d.ts","bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"homepage":"https://github.com/emackie9/nestjs-decorators#readme","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-R80cSJS+EBVTrp8HW+XYIugHveYKDOr4YVF/vawA24bvBdnoLG1ppSZ4ZRPwIstZjpjn6X4ZjyoVOryCuo3dOQ==","shasum":"8414905fb1c279576556c48beaabbfef88c1d72a","tarball":"https://registry.npmjs.org/@emackie/nestjs-decorators/-/nestjs-decorators-1.4.0.tgz","fileCount":43,"unpackedSize":24008,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKkoRfAUllhYgwsWEG0K/PupvhM+TQCbCFmdkjHX1WlAiEAwiITDxp3GfslpzYrfWXfm1ZfG9d5j/cZFyNvh91PnH0="}]},"_npmUser":{"name":"emackie","email":"emackie9@gmail.com"},"directories":{},"maintainers":[{"name":"emackie","email":"emackie9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-decorators_1.4.0_1724108720871_0.2908157028070468"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-11T00:29:13.766Z","modified":"2024-08-19T23:05:21.214Z","0.2.0":"2024-06-11T00:29:14.024Z","1.1.0":"2024-06-11T01:23:17.948Z","1.2.0":"2024-06-11T03:41:36.349Z","1.2.1":"2024-06-11T03:48:17.100Z","1.2.2":"2024-06-11T03:53:15.899Z","1.2.3":"2024-06-11T04:05:35.579Z","1.3.0":"2024-06-11T18:43:23.288Z","1.3.1":"2024-06-11T18:52:47.608Z","1.3.2":"2024-06-12T01:45:39.287Z","1.4.0":"2024-08-19T23:05:21.013Z"},"bugs":{"url":"https://github.com/emackie9/nestjs-decorators/issues"},"author":{"name":"Eric Mackie","email":"eric.mackie@essolutions.ca"},"license":"ISC","homepage":"https://github.com/emackie9/nestjs-decorators#readme","keywords":["bigint","date","decorator","nestjs","node","swagger"],"repository":{"type":"git","url":"git+https://github.com/emackie9/nestjs-decorators.git"},"description":"Additional decorators intended for use with NestJS framework.","maintainers":[{"name":"emackie","email":"emackie9@gmail.com"}],"readme":"# nestjs-decorators\n\n**DEPRECATED: Moved to [@eddiac/nestjs-decorators](https://github.com/emackie-eddaic/nestjs-decorators)**\n\nA variety of decorators, pipes and transformers intended for use with [NestJS](https://nestjs.com/) framework.\n\nIncluded with each decorator are Swagger `ApiProperty` definitions to reduce boiler plate in DTOs.\n\n## Installation\n\n```sh\nnpm install @emackie/nestjs-decorators\n```\n\n## Decorators\n\n- `ApiPropertyBigInt`\n- `ApiPropertyBigIntOptional`\n- `ApiPropertyDate`\n- `ApiPropertyDateOptional`\n- `ApiPropertyInt`\n- `ApiPropertyIntOptional`\n- `IsBigInt`\n- `ParseBigIntPipe`\n- `TransformBigInt`\n- `TransformInt`\n- `Trim`\n\n## Examples\n\n### `ParseBigIntPipe`\n\nPipe parameters as bigint values, raising `BadRequestException` if unable to tranform.\n\n```typescript\nimport { ParseBigIntPipe } from '@emackie/nestjs-decorators';\nimport { Controller, Get, Param } from '@nestjs/common';\n\n@Controller()\nexport class AppController {\n  @Get(':id')\n  async getId(@Param('id', ParseBigIntPipe) id: bigint): bigint {\n    return id;\n  }\n}\n```\n\n### `ApiPropertyBigInt`, `ApiPropertyBigIntOptional`, `IsBigInt`, `TransformBigInt`\n\nValidate `bigint` values or transform decimal values to `bigint` through a rounding policy.\n\n```typescript\nimport {\n  ApiPropertyBigInt,\n  ApiPropertyBigIntOptional,\n  IsBigInt,\n  RoundingPolicy,\n  TransformBigInt,\n} from '@emackie/nestjs-decorators';\nimport { IsNumber, IsOptional } from 'class-validator';\n\nexport class MyDto {\n  @IsBigInt()\n  @ApiPropertyBigInt()\n  id: bigint;\n\n  @IsBigInt()\n  @IsOptional()\n  @ApiPropertyBigIntOptional()\n  limit?: bigint;\n\n  @IsNumber()\n  @TransformBigInt({ rounding: RoundingPolicy.CEIL })\n  @ApiPropertyBigInt()\n  ceil: bigint;\n}\n```\n\n### `ApiPropertyInt`, `TransformInt`\n\nTransform decimal values to integer `number` values through a rounding policy.\n\n```typescript\nimport {\n  ApiPropertyInt,\n  RoundingPolicy,\n  TransformInt,\n} from '@emackie/nestjs-decorators';\nimport { IsNumber } from 'class-validator';\n\nexport class MyDto {\n  @IsNumber()\n  @TransformInt({ rounding: RoundingPolicy.FLOOR })\n  @ApiPropertyInt()\n  floor: number;\n}\n```\n\n### `ApiPropertyDate`, `ApiPropertyDateOptional`\n\n```typescript\nimport {\n  ApiPropertyDate,\n  ApiPropertyDateOptional,\n} from '@emackie/nestjs-decorators';\nimport { IsDate, IsOptional } from 'class-validator';\n\nexport class MyDto {\n  @IsDate()\n  @ApiPropertyDate()\n  date: date;\n\n  @IsDate()\n  @IsOptional()\n  @ApiPropertyDateOptional()\n  optional_date?: date;\n}\n```\n\n### `Trim`\n\n```typescript\nimport { Trim } from '@emackie/nestjs-decorators';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsNotEmpty } from 'class-validator';\n\nexport class MyDto {\n  @IsString()\n  @IsNotEmpty()\n  @Trim()\n  @ApiProperty()\n  nonEmptyString: string;\n}\n```\n","readmeFilename":"README.md"}