{"_id":"fastify-mongoose-rest","_rev":"33-981a1bf494426f275204fb91fde692b2","name":"fastify-mongoose-rest","dist-tags":{"latest":"5.1.1","dev":"2.0.4"},"versions":{"1.0.0":{"name":"fastify-mongoose-rest","version":"1.0.0","description":"Rest API generator tools for fastify and mongoose","main":"index.js","scripts":{"test":"jest --coverage"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","eslint":"^6.7.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","fastify":"^2.11.0","jest":"^24.9.0","mongoose":"^5.8.1"},"gitHead":"0b611e86e18bf6d9fdfe6c798bef61dcb500da09","_id":"fastify-mongoose-rest@1.0.0","_nodeVersion":"10.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-tkDtlCvSYhxcZnFBeEbpY0R5Q09Namql1E7umi9VBa/2DmyOgyGctNhw+v1GBtP4nsMsZpFrZOnKLuXZTQZmzg==","shasum":"3729cdfc64c1687a0c9102f61e266dacd8a569b7","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-1.0.0.tgz","fileCount":14,"unpackedSize":29652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/LohCRA9TVsSAnZWagAAcDcP/32ELJs6bK6ULhFW+5WY\nL8aX+NkQcACoDtTcuoqDybRVhYvxpVHx5cdwADTONxYVGo8hH547p+CJU6pP\nK282HdU2ymXxuZxwlGDeam/hTPcDT4vQeqoGetfm91tX0ol9GeFQTBVEfC4n\nJlWQrWtYjlUCK2X39WNGHVKPACSIHxwJYgz3QsamtCHvm9sOQwbXms9s+RDE\nWQDj0b0/4Ux6TGO0YvuekkeJ8vx6neFBFEdc9sku03fn8bAt9p9bYxgClCdo\nXJm54AYI1Wzu82unyuw2a4231leNuvqgUXqwOgkT1RjKcG6mAqPxc9G9bfRA\nOPnFeeXvZX0xMP2D/O3OO7lDooREihC4vXV/4nOLrMrCo9N2P74Oos/9c0Va\nuunqX3Tenf+N6Iozao/KB5ySNEfT8oYJQXrGNongR06VtNM29XGUwLAkHVYO\nkfftun6oLKNcw+qsID5pnWmd+gkDW5zZEVW9uSPQkHK/30JiVe9zKlSu2ozp\nBO1sZLOa5EjmD8bb9XLbTYqpE7gS7FWmBjfbpVIk0J2a2FtPjFX1/aN7FMzw\n0oR5HFrUduhh8WzNoGJRESQuMVLys0vlSKk0s1RaES94iwTqFlWGGG6vnRtg\nz/PA+zBeMed90t2nhQ1CvXsX8ru71B75YIDH3Xg1R8qG+I7634l/HF6Ryyrp\n+Uzk\r\n=D1fd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD73frKjyeDMPr8Ob9Q4u3mR2Tq697FnmNpOdziRWQTAAIhAP9t6JYArF9C/E6Z3Vk4/GiDEEGpxbQuiz4S8imG+jsx"}]},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_1.0.0_1576843809119_0.0007800839882388111"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"1.0.1":{"name":"fastify-mongoose-rest","version":"1.0.1","description":"Rest API generator tools for fastify and mongoose","main":"index.js","scripts":{"test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","eslint":"^6.7.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","fastify":"^2.11.0","jest":"^24.9.0","mongoose":"^5.8.1"},"gitHead":"aecda9f839e650afcfa719fd247e92592e34299c","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@1.0.1","_nodeVersion":"10.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-B3h/Sms7llQNnJ2Z+kU09srjA6GRa28+Od7+pVLU/uS8p0bxmFaTyzJSI8AYGgcFde3sDlw9G6h1eqSO3HN5Lg==","shasum":"d2f9fa774c1317b62422b1a0305d0a7f10d89975","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-1.0.1.tgz","fileCount":14,"unpackedSize":29755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/LqACRA9TVsSAnZWagAAjnQP/iFly1RxNQuMmJL2ZIQe\nFCcuBALSTtKHdRHeFFpwlL1gaXwP3x42LSxvbAmtJbN4YOHHGNVCaJHv3QUb\nwtH/H9atV2w6iMunu/hPaE8Ss+EY8X3MtENNsiKI2YM3IqvvhdbkpcTITKJk\ne66m2606JDZTW65EmSmWjgHJhaTTAtbAJETAWgxFFOIybbRk9Dl2b2T6n/9L\nIPo81/AsehOMj0JRLQl68PDMsekFQxk6kpbgVYMv2PLuL0wIidurH49OrkuM\nvVHgjn8VwndmkNIfhuxgmVAATVZCyqNtHAdd5C0sQdRwMFNJuVw7fGgyLEmg\nAUACQ8hVlFexdZDEDCm4J6JxCI3ijG9GjOHPCID4KWGBibxIuoR1EEiq+Pbq\ngJtCU4fqUUZYsDh0lg103N/ZEtwGki/iw5wm90QfpQBKC4Sya6mXVUJJGf0i\ny6M6WrEKxOTKULqNnW/VMN7J9Ay3+nRpv2Fq98+VrcW2cUzWljzlASJ1+VGc\nRs7o0q/gbQDNXP2t/74AQbFe095f+M6hiWb9VuJxfl/8ccex1DZzn56Atj4P\nzku9EyWTKeQ0yYBupiS4WPnDso112pcjGIghwlLZHfrUJjDX+aZduUEL4jwN\nSiK+lJbcD9gz5DinjmAulVwkWC/zT7HJn728LhuTpqoTTj/RVIemav9kyl+g\njV55\r\n=ZfJk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4zdq7r8RYEp8yb5iPRaF57jdknUXnG1t089kqbfp+xAiEAnMN9P3uOCwQSjqSvbX1dIhGB/FLcMvM0g3EzUu08lPg="}]},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_1.0.1_1576843903618_0.7044503781078881"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"1.0.2":{"name":"fastify-mongoose-rest","version":"1.0.2","description":"Rest API generator tools for fastify and mongoose","main":"index.js","scripts":{"test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","eslint":"^6.7.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","fastify":"^2.11.0","jest":"^24.9.0","mongoose":"^5.8.1"},"gitHead":"e2c469ff64c652154931192eb45afb72e7d8dfd7","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@1.0.2","_nodeVersion":"10.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-j1cj78nUQwFzPUx9fQzn1DxAK5pt1oU+oodslYM0Bwv5FIa91uMVr0gxM/JbaLqmzRa6SheaQZaXbww2rm5X7A==","shasum":"628f2d27163fa52a3e12104cc8f75151d5c3a64b","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-1.0.2.tgz","fileCount":14,"unpackedSize":29760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/LvQCRA9TVsSAnZWagAAl8oP/0YYvpFymzr43tKRLzuU\n8X/Pqlk1VCpP2Kgoehtt0P1qecHF8AWqv0YEHN1u2GtAIHNRkF/WxNwIXXWZ\nwpIo4xrn663C1KBJu6Iz6Y4CMr7uUSxaEQY/zmdrHC0nrukvAOXtRHOYp66p\nRMajOY6hKuncC2Fprj3I5VN8osqObdz/oXxumoThJEJtEp65aN1SDdgvPpJI\ne3o53+luxwt84DWaFR91yTk9R/klVWSFc5tVPRCajPMFrUa2MsInv7vLod6k\nfsB0fU2bPa53zKTckUgg/PXxueX6BL7IhdBktEWEJMD1+lXpqZEZmjrk5xWC\n2kcix3OiJiyYBXGoTF4uUQz5QgRKO/vfC6L+p67xDqoNSsybdsk6lfkq2kyr\nEH4IGxqWJDPVj4vZ68RRdsJ4WqNhPH2Xlh272oMr4NBeVjyz2M48vOXSwq92\n6cGacFF6NPbXBD2//UIbKIE8VhvF+DqOvCa+gURZrqxslje4aSqk45SwLqWi\nn8Lcy5x0QUtDbZXyvqFu7OuOLhCspgmcgf2lu0tnTMi/FyL58+La5WeYBDyr\ndRWwMhveUA7g7CdV6f52TA6XixV9j44tWzAbAIpp3fvDQJYsLcPSJucRoSk9\nrqB4HKrvVtZwGqCblCiR/bGpQ/T45hhLW4ft0tItuIA5O0d8n7CeHnqsjBU3\nvy/Z\r\n=kUiC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD3BIdURMRFFZyGWxqXKB+iaOasFodbEh8KPTx9xlgvwIgEKAJM8BZpITery6e5HBe4cH3IfDy+vig5ViBak4HQAU="}]},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_1.0.2_1576844240253_0.9953957037603598"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"1.0.3":{"name":"fastify-mongoose-rest","version":"1.0.3","description":"Rest API generator tools for fastify and mongoose","main":"index.js","scripts":{"test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","eslint":"^6.7.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","fastify":"^2.11.0","jest":"^24.9.0","mongoose":"^5.8.1"},"gitHead":"1361716746d19bf311a1dd4823233befb510a7d7","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@1.0.3","_nodeVersion":"10.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-OouC1oDTJK7fcWUzrH5nmdGAkKE63Of5ObiQPd+bkYdWwVH6JbhzXA8ezDxhjfliJMFGmcgwgWC1F2q9V19HyA==","shasum":"f13b39affdbcbb804fe2e62a7846cb50f5639131","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-1.0.3.tgz","fileCount":14,"unpackedSize":29796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/LxRCRA9TVsSAnZWagAAfbkQAKK6Q1z7QaQqtwIVm9cm\nuEx6dLP7qpBlfIIXS6TRlGec5wOVnEo3T6VOOaqD+ECzC6llFIvKbkVZdJAv\nEGFYBv1J47ZyF/coErWO9jjCdM9/cNXtlxVsyCfNNGnIXAWhk7UD/IlXu84Y\nSSlxWjdGYtXPa/rcwbb+fcLFxYcLz5Go164ntZAKKu3tiYcA0Dp/M1L1OlAz\nP/lkoFUehr9KF/gf1AScSYJ1Tp3sAWeYIokOldgyImxAEXhSFIh/qI0MNUxu\nnomfZ8P0GTyDUcg8bg+hZNXs0Msfbh4DLqTUh1D0iAIWnRsUpepxjukeutEm\neVd9PNeWZc+P1CXpY30cVBXuDBMHwDhUZ3w5Q9/u/rayDO8PDs+iM4vIxj1w\nqvSqVzsOqK3GhCq/VzIhT7MMpfHsC147ZKMjFdgdjObhpA6dF6o3Lsd1Fh2T\nWskj5xZwAn/BMR7skKPl17Z781YGHX7ACa0/x7fhNqC4Sb96psDcRFi3FWBN\n32MqYG3RYQ55iIOQd4vSWEJrwX77Vrnt1NZiuT5GbtIDJ0+Y28ojJzCdJB42\nFBTJdYiI+NDsrmkCmrVZaR+Xkdm+VGcxYoQA/MGrDH31Qlk65155lxlfQkVd\nQ6C26OMvkt4k/B1+EK0Rgx8PvPQ2S3Jxz8PUY89E2+wLf1RIS15dcwQvT5pz\nKHZr\r\n=aYTv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3HLa3ejEu7DA5irI6bnvSMGaoYek6kElOh8eJXpqNBAiEAyh/euBKTDVaVoEVv9k24UioqgWJbhFKk6Q1Fz3gJo8s="}]},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_1.0.3_1576844369389_0.4984825406948501"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.0":{"name":"fastify-mongoose-rest","version":"2.0.0","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"readme":"# Fastify-mongoose-rest\n\nFastify mongoose rest generates simple route handlers & schemas for mongoose models.\n\n## Usage\n\n```\nnpm i -s fastify-mongoose-rest\n```\n\nBasic example:\n\n```ts\nimport Fastify from 'fastify';\nimport FastifySwagger from 'fastify-swagger';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\nimport Mongoose from 'mongoose';\n\nconst schema = new Mongoose.Schema({\n  name: String,\n  age: Number,\n  owner: String,\n});\n\nconst Cat = Mongoose.model('cat', testSchema);\n\nconst validationSchema = {\n  name: {\n    type: 'string',\n  },\n  age: {\n    type: 'number',\n  },\n  owner: {\n    type: 'string',\n  },\n};\n\nasync function run() {\n  const connection = await Mongoose.connect(\n    'mongodb://localhost/fastify-mongoose-rest',\n  );\n  const CatRoutes = FastifyMongooseRest('cats', testModel, validationSchema);\n\n  const fastify = Fastify({});\n  fastify.register(FastifySwagger, { exposeRoute: true });\n\n  Object.values(CatRoutes).map((r) => fastify.route(r));\n\n  fastify.listen(3000);\n}\n\nrun();\n```\n","readmeFilename":"README.md","gitHead":"3a935813ae45c60667fbbc64f2e136431cd329b2","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-xphfD3c282kXhgBEl3pSZpqFSXe3NJ4Im7AQuS+T9kmjhmhTCZNi3kQjJvzxPmG2VAeCqGdPOr76HmJvBUIDkA==","shasum":"26738fc88eed6e4c13e214fd5dcceeb8b7317586","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.0.tgz","fileCount":3,"unpackedSize":3052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0a1cCRA9TVsSAnZWagAA8H4P+wV2aP5aMK0cHSE6+4MK\nsE8a8kPuL7HNEB5UCzaYO1iRoQWAvUJBjs/5gZ+L2nZljaL+CHgcvkdHSIr7\nfxFyNzSvALBJSdG6fEKgY8a0jDu2qsQcepv+1ZyUPci0e8ySazavoX1rBIQ7\nZVA3IMekxKzhfUkLh0GFDbp2cDvRalt2Fwb3CpF5NuL4LUbwBAa1Bon8vXwG\nSqgmjJDWXaCyTW4najffcY0E2M3FGYgerIkzLkZeu88DqUKEbYajcI9nDUZ0\nz5CHV/k25nrHA6i9Wvb0FI2ZmWjMDz8/1VySdqUb51n4SUUHKB/jN9WsUBrg\nmT/QL+/CTbbMvo1ATeWHllOZWnUvW/jigA2eanytB3nlwKAsPb2kSdJtks0C\n549gbJpeGGxm8A8CU+JwNPbMotr2hOk8nclGe/p5nJFmSJ1Ch1iFw0RUmW/l\n7dNOhv8jIpp9eT3SibE7Ak2E1EnYlaczDbS1RvRetGHMmMIbHntzeC62wPnu\n36DJXGXsm/Gj6SeO2qY6p581hUhCR7Q4nMgEVw4z72tKA1al0IishmpmzeSv\nTjP1VAl1W9RWsSbi8I69uIFCQ58gzwHZ/lBaVKaLTcGqaZ8/gSXv0JImMg7l\nLyA0ABH7mLdG26lLbA2+OYugvXFDqsuOo+HxzVY9XMv6u6URYgMuCxLNYMcp\nWvGl\r\n=HAD/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiZ3LbwWB+fhWoXkb2egFPTXhnT6sxFJIbVxvgZN9mYgIhAOvp4TNF8s/icftroUJd4dYOghDe69d5k5RpGrJRk7fC"}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.0_1624354139943_0.0218394271575848"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.1":{"name":"fastify-mongoose-rest","version":"2.0.1","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"readme":"# Fastify-mongoose-rest\n\nFastify mongoose rest generates simple route handlers & schemas for mongoose models.\n\n## Usage\n\n```\nnpm i -s fastify-mongoose-rest\n```\n\nBasic example:\n\n```ts\nimport Fastify from 'fastify';\nimport FastifySwagger from 'fastify-swagger';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\nimport Mongoose from 'mongoose';\n\nconst schema = new Mongoose.Schema({\n  name: String,\n  age: Number,\n  owner: String,\n});\n\nconst Cat = Mongoose.model('cat', testSchema);\n\nconst validationSchema = {\n  name: {\n    type: 'string',\n  },\n  age: {\n    type: 'number',\n  },\n  owner: {\n    type: 'string',\n  },\n};\n\nasync function run() {\n  const connection = await Mongoose.connect(\n    'mongodb://localhost/fastify-mongoose-rest',\n  );\n  const CatRoutes = FastifyMongooseRest('cats', testModel, validationSchema);\n\n  const fastify = Fastify({});\n  fastify.register(FastifySwagger, { exposeRoute: true });\n\n  Object.values(CatRoutes).map((r) => fastify.route(r));\n\n  fastify.listen(3000);\n}\n\nrun();\n```\n","readmeFilename":"README.md","gitHead":"12f08f2ee4d6f1f84a99cdd13d2a2f6e56b30f2c","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-F4hrPApbvgZHw/Yh4GLxf0IvwyZH1NDk3Oj4QMWB6ChcTeVoo2MfgjBGcst4Fw9q2UFJdU74tJg4Z12AGt/ePQ==","shasum":"173e38697649b1c8d097618f0295e8f81d1ce50e","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.1.tgz","fileCount":24,"unpackedSize":27866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0a5ICRA9TVsSAnZWagAA0QAP/RvYvRCaMzAHB7dNN/1/\nJyG5wD3S23hzX67v/DUNxVAEVh6fwf4jTwNr4WbfN5LSZCdWaPPb2360l8Ih\nPGgN2aSLeJD59sxiYsOrhgiqO+NWM9Df5ejJG0kg9hB0oFyyn4QR5LeFjKi/\nqC4flm63ro9qMmZWzJzMHywMkmmRbrDbWd3dToPRFAhfAMlt2D8lxyROjuXg\nH0wwAqHkba4rgh5FIC8Td9BR3WCYaFMJg63SdfNxDU4bdgK/ZTqQM0iMjGqQ\nxSyK/+OOPaEQ8+t5i0zInnO35W8iJN5vudURxpEV0uMs9G6dd2AxsOIF3ylw\nmZpLxlcg11SW53lnZ9EJ7MUayevk85jbwdMrIeghYF9hmyj1Qe2u0/66MpjR\n36XHWX6ANbHdz5equImol5fDbybGt+AFTvDBtLQx0RPSZQanhptocyVYb9ma\n1uCBK1DfG1vrT+q4OEyvz7pu8LRjArgWolqTqTHrlQ14SEZo/VJ33/fOYLTn\nrjk6rWJsXe9e0mohi8bjFS8ST3Hw+2AlYnG2cow/DyDoLKu5K99kSgdi99lp\nkVLLRsCPint4dgRnnCiMHPGSWX1ipQ8lpGRmIjb9pNl+LPwKsTVEhDBl46cX\noR6r9ImHjeLQCcn3QgVv/JcLuCPU43Sg7p2EiPsyAFUDfodIHyAxfg3OCQ5b\n9/RX\r\n=89J8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmx4HuLzq/6tdZXXys4/o83FOHD2FEHpEj6+x3S/hl5QIhAPH9PWKJ7GujpBldkYxdCCWU+u3VQ3JHgrcRQujoZwLO"}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.1_1624354376307_0.12184058136381437"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.2":{"name":"fastify-mongoose-rest","version":"2.0.2","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"readme":"# Fastify-mongoose-rest\n\nFastify mongoose rest generates simple route handlers & schemas for mongoose models.\n\n## Usage\n\n```\nnpm i -s fastify-mongoose-rest\n```\n\nBasic example:\n\n```ts\nimport Fastify from 'fastify';\nimport FastifySwagger from 'fastify-swagger';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\nimport Mongoose from 'mongoose';\n\nconst schema = new Mongoose.Schema({\n  name: String,\n  age: Number,\n  owner: String,\n});\n\nconst Cat = Mongoose.model('cat', testSchema);\n\nconst validationSchema = {\n  name: {\n    type: 'string',\n  },\n  age: {\n    type: 'number',\n  },\n  owner: {\n    type: 'string',\n  },\n};\n\nasync function run() {\n  const connection = await Mongoose.connect(\n    'mongodb://localhost/fastify-mongoose-rest',\n  );\n  const CatRoutes = FastifyMongooseRest('cats', testModel, validationSchema);\n\n  const fastify = Fastify({});\n  fastify.register(FastifySwagger, { exposeRoute: true });\n\n  Object.values(CatRoutes).map((r) => fastify.route(r));\n\n  fastify.listen(3000);\n}\n\nrun();\n```\n","readmeFilename":"README.md","gitHead":"9f394a984ffe343103c11b0e39df477c52a1bc0d","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Xtao9khfloA08/EoRkWfjYugcjT72wkG6680vKNpXBJH3VvjTSUUuq9BfIXHOZQGBxNir/FfOOJxqbCqtT4zrw==","shasum":"c892cd324c007ef7496e23ca7e62f040ae66c683","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.2.tgz","fileCount":24,"unpackedSize":27845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0bAACRA9TVsSAnZWagAAfFEP/jbu1ZxCrcNpTHeZzxJx\nvztDmj8visi/ZRlOBZfjKDEW/ojc1XJ2cfOxVXlGGIvRjSZw5Zs2zi17K/7m\n4vz/tc04go2HOGthCaM8ITGsR0verY4Ju3QbfQopRUxE8qlpZEiWfMNMEcJE\nPeE9IOi2r08yNXlwOUSsU4ORAT5o+K7HlYXudltt73ui4CkRCwAduoL0/sKV\nAdhL6sads3YcLEdwwLtzfCfiBq2UoE9JYQLbnZe7b6nQrgZmdlKIN+PV030z\nMwThkrmzAX95892P/m+pUO8fdPa20RughTSWcrJlKaA4kdZB82lzzIQfO75B\nCktCMu1hqnbFnu5hKal9pUpp6KoY3Siw+pEVHwbXWKdvDWnyd2PL59UykSz+\n3UTrw8bb2+i6qgMPISpn+O7wR56Z0DB5KEKLZta/YaVhd3Ks+oxyNO59+qzG\nhaDC0jJ1vT+x4kC/XaqKT00oUvj/692Qm3TuuANFYeYn43oUk1mYxwpG8zSW\nfk8eCn30/aC5PkZLJnFZ4WzDBQVO6daArVtbP8WllcxQHBoxoPXL/GJvboFH\nwm31FNj+U9B/7ooXflA7JCc8bXzRDqO8zonqTRlfhs0aU/X9pDN5dqzwCdmU\nKGp1OGSQMJNYzKkrB5Oy0xTCSGPZbhVZF603V8q6JS0bfUdjjvyarvntTu+7\nayCE\r\n=LaIl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLOBCdtXsYPO4bWQNLlxlMrkkjkxuxum+wQikPAS7XQAIgKbodDl12xOA5SUQwQiJarQ8xsKTmXFO0YLJ5xh9geiQ="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.2_1624354816421_0.5551095951012448"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.3":{"name":"fastify-mongoose-rest","version":"2.0.3","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"readme":"# Fastify-mongoose-rest\n\nFastify mongoose rest generates simple route handlers & schemas for mongoose models.\n\n## Usage\n\n```\nnpm i -s fastify-mongoose-rest\n```\n\nBasic example:\n\n```ts\nimport Fastify from 'fastify';\nimport FastifySwagger from 'fastify-swagger';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\nimport Mongoose from 'mongoose';\n\nconst schema = new Mongoose.Schema({\n  name: String,\n  age: Number,\n  owner: String,\n});\n\nconst Cat = Mongoose.model('cat', testSchema);\n\nconst validationSchema = {\n  name: {\n    type: 'string',\n  },\n  age: {\n    type: 'number',\n  },\n  owner: {\n    type: 'string',\n  },\n};\n\nasync function run() {\n  const connection = await Mongoose.connect(\n    'mongodb://localhost/fastify-mongoose-rest',\n  );\n  const CatRoutes = FastifyMongooseRest('cats', testModel, validationSchema);\n\n  const fastify = Fastify({});\n  fastify.register(FastifySwagger, { exposeRoute: true });\n\n  Object.values(CatRoutes).map((r) => fastify.route(r));\n\n  fastify.listen(3000);\n}\n\nrun();\n```\n","readmeFilename":"README.md","gitHead":"c08956633d701c08a4f678d24f11f02ad1565a9a","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-X+Zu8X+HHPFzzvKHRfejLIBkEqAuYmydjAr8cqby69Wc6YrUtEXGCHxWSMkDJvnTU/gCtkxJFFMP0CxHtlAhGg==","shasum":"89dd5b6dab9eaa0bcec4e1bfe5dea8452a9a7626","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.3.tgz","fileCount":24,"unpackedSize":27785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0bFhCRA9TVsSAnZWagAAZz0QAJb+6PpI7SISHSyvkgmm\nBrHbASU5jBuQAjo8DQFH63gD949wCeO1iSdi3u20GhQ9xbdhNsqzOk734D5I\nvZcsO31Ca+0AxYmGQv8nqjQGk3imtcV4yXJeBAtX+L/TLAWGX+Q/1tln+ajf\nuFuOuPrf0WRckm3ESG6j4tjhh71gfXm5JwtmeBDHdH4hEE1a8KP16iLfBdQn\nx3bLSPo6p/2p597zXtGnltuA23AMAq7GRoRmUNQSmxk5zqdXXCxIaLaz9ss5\nRXcZ+KOGk3ym0JyvXT6ocA+sU4L+v3lMqIZqTVetJiPv9xcqv0NQfVd2u2V+\nHj3VLe8HrY3PYAXIntvKNtG6OfBSq8hZl4YsXn8ot+HJmrino/y4E6yjXAXr\nCuqAnaupoiL724eQor0QcKJOa2TIZQdR3sL3vR50zyYacYElh+PmACA+h0iB\n3WSHRBoxzKldo/cZTm5zU3Xpa1wbfXFgrEWodkX3holkjUMUH0nNEBgfVCsA\nfVg+NpJiwFsRiFfPazpfK2rncZqyLsX51nMDlEuPnNrddZ6d11i6Sr4wHeix\nVsKnShfyE4XExVsMtC3rmJHwdIlr51x6oakUMuV8AipsdqmaVdCLJ+Y4Feku\npu0W/WgN7BID3Knaq0brNDEpRJwIMSln4OEKuaOj2YsxttLnw8art/i5z3jM\nLzAf\r\n=MKJI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnfIb50/oEEAoH1fof4OL5E5zR+7jRb6JJJ5ZUk6kqFAiEA0CTozNscYC/Pq8XL7aX2yXkEqiYTNjfK6S3uf8kQjx4="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.3_1624355169455_0.40955919768005344"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.4":{"name":"fastify-mongoose-rest","version":"2.0.4","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"readme":"# Fastify-mongoose-rest\n\nFastify mongoose rest generates simple route handlers & schemas for mongoose models.\n\n## Usage\n\n```\nnpm i -s fastify-mongoose-rest\n```\n\nBasic example:\n\n```ts\nimport Fastify from 'fastify';\nimport FastifySwagger from 'fastify-swagger';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\nimport Mongoose from 'mongoose';\n\nconst schema = new Mongoose.Schema({\n  name: String,\n  age: Number,\n  owner: String,\n});\n\nconst Cat = Mongoose.model('cat', testSchema);\n\nconst validationSchema = {\n  name: {\n    type: 'string',\n  },\n  age: {\n    type: 'number',\n  },\n  owner: {\n    type: 'string',\n  },\n};\n\nasync function run() {\n  const connection = await Mongoose.connect(\n    'mongodb://localhost/fastify-mongoose-rest',\n  );\n  const CatRoutes = FastifyMongooseRest('cats', testModel, validationSchema);\n\n  const fastify = Fastify({});\n  fastify.register(FastifySwagger, { exposeRoute: true });\n\n  Object.values(CatRoutes).map((r) => fastify.route(r));\n\n  fastify.listen(3000);\n}\n\nrun();\n```\n","readmeFilename":"README.md","gitHead":"71f826287a5c5b1f749104ad00e0cdbb31d303ea","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.4","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-81YuEC5ATomk5hEE4MO30rvV0WVjygAGTDVjH4vbt9PwaMjuCRkUc7pIUyKRWNRW+3sNZrJJxfwApvotuSBw3g==","shasum":"d352fde5921b4bfe6f53ab49b5eb66b205f9a806","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.4.tgz","fileCount":24,"unpackedSize":27781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0wifCRA9TVsSAnZWagAAUcUP/1NXE4mnepMOjzdQ5ILP\nRz58KRdyT5dLJa2xgHpIQKi3HrK257VeCrUaJRz0NcVKSlFWXQi++NUzEoJ0\n7Po5lBDwSlaA/tAAS5F17fF29wsuYLfi1jFVgwWmn1iE+VxYGlPlnBOS3PVt\nJTaWAk6v36ReSvht1TsWCRIkROvK3/E5uzs41ncoMQZIPne9rUZWv0+dX0cX\nfl5fxHHG3CEm3jGRg4DqB9Yh32a4yKkUKH9fvap9WxjybmBMiDcLmJ738z7q\ndJOKkNy1qx9aJJoG/5ig8QdjEi/1VSD9O4INjTzj0VvJRa+mufn9pKv4VZ/S\n7c+TVqGGio42I8CKyVTzlJeLsPbzLtjARrdAkZzpPDvDNaF+Oxdq3uL0br08\n6xpSL7cRbAVbknjpMIjgpEiCkWfpaGz378zWAMvSi0VVFy5YGk48gGddBkA3\nujSmwNsGjQ+62IVUMjSn6q/VCvw25Qmk7SH2c3opg4k+MXDyBvtxIWcf43lk\nNTyEpVv5kLnh691l49KnAvnRcCSP5DpXdiMQENv80pKDGfmbFK2408ZjtbRB\n7NEuL+Q1oSCl3bX7V7CUiJ2scMOl+B34214WbIRN680n6SxgQSSr7Pjc9emP\nAaDnrfZnHyzgn9wBJR/S/fdghMPBjUxEhe6L9Uv1EGI+RsVDm6FswhLD8pGU\ns7gF\r\n=5gpn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpB99XftmEdSFoflFqnlAIkTsqqr2uPGm0561pYSF9oQIhALBERdRSp0EO0FL0yClro9c5ss9QnqWTD8df+F7lp07I"}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.4_1624443038661_0.9295005395890332"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.5":{"name":"fastify-mongoose-rest","version":"2.0.5","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"gitHead":"321441c1db7debb8fb103f123ebb100de2655ac8","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.5","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-k8VJH87pi7FT5LJz3csDkgJTbzfy3iLAz7IuPrmeXsyYEtPhoBrkYiPo0WTIuLPvH09IeWDXbGWzdKuuYu3xBA==","shasum":"7a9a935ac0850ed889431ae1c845e381ab78fcb2","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.5.tgz","fileCount":24,"unpackedSize":29647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1GyYCRA9TVsSAnZWagAAhMgP/0VhVmInl4LtxVMC8PPP\nuv7QnymwATg3254p/1cjvO9cyb/JQ8OUCCxW5/PSddv9c+IDvB1CLkRBp9Pq\nw2o3ds6UsGh+Hjuj5KjEkOnuuDn5E02i3V31bzPySmAPO/FKpM5OIL0VHiEh\nxdCLyRFijjiyTXDhzWMN6/F5LB0Ahj2LCVt7dxwJ+wmS3kAHhqll+xDgppHH\nbSZwjZI9vMfcOSXsVsqzzsUxX1Z/mrmqUKsIsQ2UhI6jsfr/60Y1D3gKA8mS\n0NA7VXBjX3IynJz+wo5VCURJABGYdqjnndmXUEoMMBzdhd9Ze504kHYAv3Da\nQeu22aX65uNerd5Hk1vInSIYl+jsVGN2wHrmdu1jBxNV+SOab3B1U6eeHLjV\n4dKvu8efV9ysmwyeZPPlERfBMgO/6mabKOFr+teMxyJkFOi0umykKH52k6t4\nEOwrBxfRNOQTFpnkF8AuzjDIaqEtzDKS2N8cOStZt/pytyoISOOoehdEI3zk\nJ+zOJbddcjnRLW0iolpGd2eapDSI7cIDt8RJoWVT8yJt2JHZU3qC9b8iNBHB\naY02K86iuCwJ0qGn4ovKZs7me/NdhdEg2BoIkWl+qG336VObYVw2UTtVNVVs\nHgWwlgQNfz7BVItvziDHAVo4Cl8VxuIxWMe6IrzYwFg4XBMC1VBAKzB/v7iI\nNWZk\r\n=9xLm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvE3SXGyEGMRn5rtnTq+s5oI6gaYQ5CTpdtUWmcPZp3QIgH5GAcuQ0Ds8U2goGji5U51tliT9ZOC1edmciDe7cr3Q="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.5_1624534167429_0.5682474644695945"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.6":{"name":"fastify-mongoose-rest","version":"2.0.6","description":"Rest API generator tools for fastify and mongoose","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.24","fastify":"^3.17.0","jest":"^24.9.0","mongoose":"^5.12.13","gts":"^3.1.0","typescript":"^4.0.3","@types/node":"^14.11.2"},"dependencies":{"fastify-swagger":"^4.7.0"},"gitHead":"0925b52021be0372af37f4956113099628cba9fd","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.6","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-2xtBaDaizh6jwDJ4oTmrDmWyui3Wx4dZjhoAtI4O0xoo75gYkUSH2IycmHBPTyLn0/Xi+efKDIs4tQc8GMdXvA==","shasum":"9643c6cb31e6875d32442d10ec3c5f78f0a0ad5f","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.6.tgz","fileCount":24,"unpackedSize":29620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1G8bCRA9TVsSAnZWagAAInMP+QHqYElFdbtIj25SR0cw\nE5Wp61Srh//ikEcM5TMDOB1+bhIJeg7Nb39k7hqipEJ3F9gkcMa/Ot4OJA3W\neyxU90TY225rAtGuOGTzR8U20IzjxG3LkrfBL4rCroULChKkoURpaa4JTY/W\nz18hncvG7c1ohmMnnuMB33xAtz5aDOmEc4GQHDEu1dZ0JKO05gC6m4TRQQtQ\nd4zPxQkWdj4EgbMY6Z092FyG0ybqIDr11ofGJ3ATGCIdJPiwMrAMSjQDZ0fr\njT0CEy3GDk8F7AWOYsFmqgCPWtA6X5+10apZwJEXxeN2WrD1ieQGDp8TMxNR\nzoBqTVH2XVOBx19Vd2XkWNHUE3nUMc9eoYnEVNwO7UcPyGf4xDxWSKKpegIy\nPU9A/rkAsyPZCvIIJIUW6qf2rN6zFbWPEagZFc9nLD4ZjrD8e+dMhBj9NUJg\nyXkTN5Yo9ym3otODn1dd0OOcrHpcw35PbR5sL6nsJXje1LDmGfIv78cDLSFt\nhC4q1H3LAyHE5VdmjX/4QM4uGPJGDz1YDmiqvDpaDzojp3ah3GoLqGE1X4b0\nLretffekM/NTQTjibzhpjKgAWqUzjJ4PqTyHDheOCc+3xHTzQOfKgnAzFKyv\nKe7q8yIkSo653MJTj4qK4fF9bNhHaU/lPE2vSe13lYUv74YoReb1/9ymp/bS\ns8J1\r\n=nmpM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGVc68+kHAQLX97sxhedXJBgSW7AnzCp0r7h04r/v/rWAiEA0zZnjFiGYY59/M5hVMCZ35I8/VXu/sVGIWMRLNjdsfU="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.6_1624534811108_0.01014425651494899"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.0.7":{"name":"fastify-mongoose-rest","version":"2.0.7","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"e498eb6732b68a03a92a3863c6c75b2b87a360d4","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.0.7","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-RJIe0Jh7cgSYp3b/+YnpWQIn0t/fLqfbmCFyW4A30lTQsyfAVRdY3T/fgJBmMW6QaxyU+CPYymYOkhw1mAD1DQ==","shasum":"5da535e5d5f13f02fdd4402af9a385b7e00b4608","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.0.7.tgz","fileCount":24,"unpackedSize":30635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8UvhCRA9TVsSAnZWagAAIFsP/08aLJ2xcy45/kuD8X67\n2JsdWGh0e0WSHiiKzC79MVtDSC/pK2d7bLyXAlFV6LL9TLO5E/Z+HSrkc8UP\nkn4knQJRRHYyyTX6iEQeL2JbLPygieawCxFVdLvF5FHXXquxUXwMxUY9cXFp\nIMCeIu8L3ejy9731KYqD19ZHGFDzfK3oqMhKjeK4u9OJkvGmahwhksK3WBer\nuuMMFfHSA7JzbeAKMQ1TzMJp7q978G3lJQe4YWN8shn0h456c0ALTLT1qsjO\nevm02f4XHNm53cwKtOVJl4vA/MtVT9MSTW4fqqUpNlvn1AJL6JYVwmJWTEZ0\n9z0ISsg+B7AigFtZRcIXK6PWDtXTIi08FO96xZ1z1SsiNk//idroR6o8LKVq\n95yIKz+/EMDAyxz77Ha/xDeeP3q9qKmW/ZnP8eKY1gvrziGoYPs5MfzjgJoM\nitzfTvYuR9JwRQYJMbJ3o0fYKZE6HM/QcyaRk8P1q83Y2sxDEMTV5iFDFveQ\npk11lAhyupSWqDCqmu94iwoyu9j+/uiI7fATj42B+ctljDF0929g8G6zyEdv\n5JbZc0q6OV2FkE0qfMTTi8bwP1YTee1cvkPF7cpeBI02cqfHZlTk6BIbW/g5\nAvLgv/4eXLBK+ZdUNP7mFLb5umMsflJSfUVXPtP8TUVJS7cyiGq/lURm3P8W\nH/j3\r\n=Jxxg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD249Xz4Azlc4Uhjj4rOShEwuotwaWl2G9g/I+iz5DLcwIgbPEjwSvEgvp3TYN03IIwDTZ0e/9Y2+8PLSFx1hRRi+s="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.0.7_1626426337458_0.07364435505654399"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.1.0":{"name":"fastify-mongoose-rest","version":"2.1.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"aa84b460fb07bff5fec9117f5e12b150ad4a87bf","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.1.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-HyXzTE9okENdkmxlb/hFx4z6jTArGwnrytVk4ZWf6C1acLGhKTVMLhcBpQ2clGXJGHuSor9pT+ZGYKVYDTWZHA==","shasum":"0801f14065a51ffad78246d91de0eaf72523a6f7","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.1.0.tgz","fileCount":24,"unpackedSize":32266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+WHVCRA9TVsSAnZWagAAEsEP/RPRCqGPMCaClNqrtASO\nZUsYHGRiS2d76QS53LzDBW/CBtkP63rxnRjjRpQe4WyxRlHCdYQUgShPxdUx\np7IFphxbV0PbC8Y5vOGY4hd9PX1NWXw61fUAMF34jUQIIrKrD5dBR0AcOUwV\nmZ6qZkCOmobtnKJitdzBipBl4gb0wXeI8spUrCOAiT9wVF98+rw/+Mt8XU+U\nhfNXEEt26eAON5cQh4eRJWR4mjqHFfbIEIA7Z0q/lceaQkHrfmaUi45ZpGt+\nVrb7fyxbAhBPhDmuTdPjBBtcc6ylNOSSrEuhBPEKiWfNEztv+xCQAFf+2vBK\n8d7DF2JYsnzsre6Wn33KKcMWYODqVukVq+k4mCFno3je+tlOtGTTF5PPSKR3\nuMShGUXx1FH1JLvnGOGMxN0BaV9RUHBA/8uft0ZixYrvOBaIeV1yaSr/MOop\nJax5EqwGUlQOlGI1DNj8ihbv5nzPjGqJX5+t2Z4x1osIxC09GphUvGUFyIpK\nB+RKHKgHME89SKcbDVtEkGB0O5th+bez8B9wNf1tGl3sQxvHx4qXeUjNZ/fN\nvRLoSgnSAjytazB2Rlj0CRWkju9ndmLiMfAldo2Jin+d5Tjk2jDHxStYqi7/\nqxev5j4hPpqDbNvyYeR9XoZ96EH3Vc7FIESbpAASYY17EymOE5pWbIeOaFXw\ngylO\r\n=TFcT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHHohwvGZFgPlOe+vJt+rGyMtEqWKR5wK5pMMBVesIrQIhAJI7z2jUOk8oxLuDJwBKvf0VInX4BedB899wuE9pX4Ee"}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.1.0_1626956245378_0.11506009794238592"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.1.1":{"name":"fastify-mongoose-rest","version":"2.1.1","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"a74945b9a4f8119a30f3dd255a9efc6e99b0e369","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.1.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-HJ9gn3ril8gpQuJ+XW1uWc83kX7F9iITvpv3oUWrcfTUa2qUaZTaLamLheb1v++7hYp410ettqTnBsm3bNeGEg==","shasum":"d6363ab22bdfcef42da6fc934153c02cd9839b2e","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.1.1.tgz","fileCount":24,"unpackedSize":32075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/pQZCRA9TVsSAnZWagAAubcP/0ELgRIxx4a/9kPLxOO7\n1Ok6iTuvnpMr+Dj8nqJv/+mzvoptp9KrUCPEDM3vAnbJYBgv8WLT2VjO9U/o\n1h5nB6FwqngtqR5MIksUS4jUEblfaGDYzXYLTZ5eBkUNleO5gHSV2j7P6Bji\nFgXJnPJ0DhcNbdmfF1JTA1lFK0/vPksMoz3wQhY+D65s9zsFPZs+qw2qUOtx\nTUJHBaMZCn7TBO/nhq/hsYIf1BQQfGdmYNgtzXorEIq56PSgvlmP6Eyzi8XI\namBiKdLXTVE/LzELFcwy2L8F/0w/jmCUu+vYP09YDcgmjzBGjH0RJpbd6L/b\n78gm1bX3xfnoerx8lL8jCRvHjxBdDY2AAJ08OqX/Zj2hND0BQ7BYFEUNh2PL\nLlEJTRCh9PsCeWg3G/BmxlcG0Cw9TBBEWSX7t/55GiN3lnxrpHbjjiQeflGb\nukNOlC2OjM5Zfw9g12tmUjIpWRYIzshKJ4bjpo2QdCKriGb9FAKcrxG3hxfF\nKqAh/S+l3VsY2mWiliYd17EGFTpyo57bRdE5yXlJp79quYIaXXenrOupZe3O\nlx6OpBATZkkFteT26kpbVhE3/suwpPwT/w1n/6u1noEYgi//ptyhF4zNJH3d\nBPHvlxiA/sVwsvF6SYEpMQbnMfUa+gUBlblnn87zcS3g6yqOLNajpwUdiYwI\nDRa+\r\n=h8pa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZFbe3AyTBcP2n3Z2Ns58yKQwGUo7C3ItL3YTiCzp8KAIhAN60aPozIfOwjfUbCogCyCE0Xo282nVJ9faz9WAhgB8W"}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.1.1_1627296792906_0.04007456044753899"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.2.0":{"name":"fastify-mongoose-rest","version":"2.2.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"6faa5a3c5dff4da02df1c616494ace6ce7fce2a3","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.2.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-R3/oBik0S9v/zxmyuO3u+J1/KdQdHH/svZ1t+A+Tu97U0sKl4QMZ11xc6PQ4mENV0sn00ryRIu/1u86fpQAm7w==","shasum":"dde63fb884a98be18dd2019b79d2a18475d885d5","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.2.0.tgz","fileCount":27,"unpackedSize":39635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxHxnCRA9TVsSAnZWagAApk4P/i/gXTGERu35G8b6Bb/X\noYza5QW8Ze2b3g3Mwual+XFrEzjGwb3oYkKf+e3YgxJ0Mv73HLqU8A2OZ73S\nFv+jsJPtCMsk7pdnAW9F/vZ7WXpl1psZaARxoCzq4gJ8fitXsjPbaMKaea9P\nzfmSCrdv+EdULtYkC6qhGpk4bk98qsCGFS5DhcoD/oEz7/suRMhW7/fMcDYV\n14WtyhNp0TXu/ZJklCiLZKpfJUDiH0AGSby84JcEbqAHcZrvK5LS8gL+uVjk\n0cYfhcs4+p/DqlW67hHDm7VZX0NsUF125tWgiku5T31smXcbVVJ3Js6/vJfk\n6/V1oLtOvxq0H8Sdu799aprIzMUqlQUXkZeJb9vdLjoAzy9kLGoYRq9BCcUV\nu/WFP1GCojl2ZjGQgIMz9J3qZjF2E7hvKhgTbHGAxPxvIauDZnPz1N9JzgKF\n4ALb1qC/E9t4KS1vDNPlD/Fl3oQTAq3olQQDz9VPAmUEcP4Afm9O11EMnmH/\n7WedBzDBlScdE8XI3Tq3cT5e6vi0xWHXFTeYP8XQKU+TDLiW92Ea/pRv8slx\nn935Cn8EsC60Gwtn1sgX7ko2SVp3EsOUCf4tIEbXV7wRcUNvYMEzmj7DH7FN\nrfixp7xPVyjxLtZ3uKhZLnOTf5VeRYzxRT0HZj4IsHEArAf0yOkSLy/iHdLm\nmitC\r\n=eTet\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2rn/B4ulueBbakLO1eHcqUTxL+vLZ7oL7gzMFM/Wc8wIhAOTuvlOCRT9w7OT/oddZ2s4YvnmEIuE9dNkZ0V1UsOiu"}]},"_npmUser":{"name":"tiiaelina","email":"tiiaelina@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.2.0_1640266854756_0.5938482201946815"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.3.0":{"name":"fastify-mongoose-rest","version":"2.3.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"60fce9eb8b0420b517aebe7f083e17bd76ed2bbc","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.3.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-YIK3SELkLp4qALTCUHi202tJ5hRlt8FNZm9lTYDd1vYfSzjuisqdmg6fsow0IxNxPLJmIOqGz2NNv7Qjf1hNLg==","shasum":"c547d031bfb938621dd5e663a731a85b02dd84d4","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.3.0.tgz","fileCount":27,"unpackedSize":40222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7mFiCRA9TVsSAnZWagAA++EQAKFvYoOf9AGPeCEFBpkx\nWiy5w+IH1npEzyNpYxM4i1SHDlktfImqy0mXi6CqGMYQa0/55IlHd/E6iNfI\n5uDrczzSaI1MSaycCbjbM9ffx7Y9bUOwVqMm1MMqBAX7K16Bt1eigYqnWtDg\nA/lm6Rzsd1c3JRKg3Ovs9rl3AK/Fn5RCGhWcpgkRav7P4KwIzE6TFRvz9X/A\nlw92zUG7I0vKQ1LM71JmASQYqhwk9+spuH4cWi/51/OFU6ygAyxtCGbmQo3C\nmLPIeMgJ7+I2c2yrm5pZWh/K4bR5YyB4qU5CJtmmjCO38pZXTrYYLXG2AwwO\nKfn+8Kzw6WLMrWCWvSdDMzE0D7gTFJ1gVuYRTWQk3suUxX3KS+V5++r1HsLZ\ncIV2rSrkrVyuzE/6hyZsIbH0edff/EmkdvNsshbzK2vG4sIJ3RviPTnMwSoS\nktocWYtVTWkRXz2nuP/666CAykypGXRmvnNA0FjleIOA9/QV/Skyn9snjJBm\n2H72e0mPpBfgQRZ7XUJ5sc2owVdjViwG04SwZZIRsuML+/mwZpM850fEOviv\nM2z3C3xyoKR/RckQkVhAevDBlE+scy5HomKHyyW66rp0k0rjAUnpsW9aPaUy\n3E+RKWGaVLpGhvz+iz8WN5T8J0emCA88iPyDvKND9h0wHa8AK7hOItTXTlFK\nQRF1\r\n=gf0y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBf/w/5IRmVNdPWKN420pg/zQjEXzBdg3teInHNEhaUAiBxA8D8JVpMi5ku9ZXeKgTk90J6I+mVZGRuguyMrqzdCQ=="}]},"_npmUser":{"name":"tiiaelina","email":"tiiaelina@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.3.0_1643012450137_0.024484263566210362"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.4.0":{"name":"fastify-mongoose-rest","version":"2.4.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"ea5a46c0d5e495609223cce153e4bb7668c8e86a","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.4.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-QNJEC7lpnp0ReJ4ad26m4afrPeFTiBAj7v0Rkua4Twe7/HSJA0p22neixyjYBZiDALCnsgFqQYlfEwZb6/fJEA==","shasum":"1f0c8ba80e5d36cc152a0775277faffe11601c62","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.4.0.tgz","fileCount":27,"unpackedSize":40904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7+f+CRA9TVsSAnZWagAA2PgP/35Z7jMtXqkOR/uQ89nX\nebgBI1OgqnFWfCxM0ms5pPxjVPbN/3dpBpgL5a/zaQznd2GFa8oB7hKhBY7h\nY7961y+t3Xfk1zvu7InhwsNCI1CuxlK7JZSmlmkIcXuy45OYQqe9DVGiBN/m\nxXymJjvss/qu7teE/dQqeD0Vc9vwcT1Q4wxoaxxYSJLPa2886CflMNBzVOel\nYptqTgaXEUAlSqfPGK98qm4HzELasQ+WXfnRkXdyE+gfnttmkpkYtvhbRfWU\nZDV4uq0sVq+4kt95InaWUDDeD3B9nqEzUhvspMbxlAhJMHwr6WN7sUWfRzc0\n6LDj5H//YfEzBl1f6qrdu7YmvDgMN+SmNhAxDeUPXwoxhXtYOFJSIG7KRODo\nLGUnWs3Plmhhkz0WYhyWo0t/lOV7U2vXilhq1IE+0a26FeD9iJkLTT/AkmvP\nXJdAq/3eqZc5VPMBjdU7bcJU99h0hezPuP93r65FZlatsHlAEao5G1+ZqeDE\nJwt8DX3FnZVfhdMi7l2CdnanGiO9S/iRZc/gMuuO4beysja6XqCaW75sCq9P\nddKIEaSw+h6u+8JsFKoja4+v52YBeDGm9AASoON7P7bLmWw90QXcaukPSXfO\nqaLeyM3AIkecsniraNRSBi8Zihk/kZIeYuHibXad2hxTts/QF9oJpKWJFbI3\nSHid\r\n=PkMH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdKLm7gf4d13sj+ZTG8WgMHPJnjQFfTobqJl6/++XVSgIgTXVZKU0pyHul+J1hlpx3q+M3D8fRB7zjPPcvx2tk8+8="}]},"_npmUser":{"name":"tiiaelina","email":"tiiaelina@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.4.0_1643112446044_0.3506276720618833"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"2.4.1":{"name":"fastify-mongoose-rest","version":"2.4.1","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@types/faker":"^5.5.7","@types/jest":"^24.0.24","@types/node":"^14.11.2","@types/supertest":"^2.0.11","faker":"^5.5.3","fastify":"^3.17.0","fastify-swagger":"^4.7.0","gts":"^3.1.0","jest":"^24.9.0","mongodb-memory-server":"^7.2.0","mongoose":"^5.12.13","supertest":"^6.1.3","typescript":"^4.0.3"},"dependencies":{},"gitHead":"c40baa81dfb5cc613ed6c5a1a3b358da0df1239e","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@2.4.1","_nodeVersion":"14.16.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-U2FOdp4xO3ZLZTZBFVlXmXJ5f7ySACBcNdoaD5u2hswVzePiTFwPcM/6zopjpaajBfZnLOBdBLfO5cblgKeEOw==","shasum":"760325d0d50b59d37fed14a144a054299064ef02","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-2.4.1.tgz","fileCount":27,"unpackedSize":40890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHKYjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1LRAApON2k2M+k41rymYFXia0Ya0qf1ZBXHHpNHdGy7ZGHglfHuQe\r\nN/U2hEyIWBS8HSEwJ6WpFICmrXo6NuOKHuaG73CXteGgMB2M/RtYer7oBK0i\r\n4Xhcfe3dMXBOmBICfTiL6d+CKVwEiTZpXcdZo/MM8rbFTxrhpd9muXb1wVmY\r\njUwuYvex+CIBiBfNnBn/CEeKI8IzV87IHpbui9LUHqdFFIpyjtQGWZm1HuOz\r\n9zNPKlnIGTK9GygRhWd6pVyMOJft+ylZzGRAuw2tZuF1WjE8UvW3eRmHU6Dk\r\nf4G9hRKfxWMuh5tp4Kp6o2/Oaah+jLNtVOTC6+EI1IJifZkBrUDPT1TdQFuD\r\nQZ67i6vMMYPAsp13hXSWFGF5kn1rCIF+DMxIjpLJe+oqGWgsyIaqntBbvAZT\r\n8egb/sT9MCNIMKebN2cUdMqJfoq3si7IzxNK1J3OPbkk62fWzd0ylGboJAh3\r\n45aC4m2lJfb7W6JkO7cIsMH0HqWKR4H8x5M6eZmgBPFskntS4rHxPPdcH1XV\r\n/RSoeeOBrckwfxFn/iGDD3qByVFLem2KrFi7b+1qY4qCrrM7cUkqx3SfD7A1\r\nlSv6jr05EnzxLob/B+BAq4q3g47C3WUbW1RcAfz3duB57335mORQIwpMYx3i\r\ntG47JXyb8QRGH4WniO/O7RmQNiEl9djVobA=\r\n=AS8k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzhNfToiSUA6UMX5lrQtdMeu3hwbgw3pg9N+Im66Fu7AiEA/UaJFLKL6a9D1qScmg0j9lQc7vI+GOpyRTVuOMvVpGg="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_2.4.1_1646044707213_0.3484458663831733"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"3.0.0":{"name":"fastify-mongoose-rest","version":"3.0.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^7.3.0","@types/jest":"^24.9.1","@types/node":"^18.6.5","@types/supertest":"^2.0.11","fastify":"^4.4.0","gts":"^3.1.0","jest":"^28.1.3","mongodb-memory-server":"^8.8.0","mongoose":"^6.5.2","supertest":"^6.2.4","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"55b0012994db17279e12c171564121e89f55756c","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@3.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-F1hl4aAZRFJfVrYVtPXYaeuOSq+YT/EfJuiThtj/m0woLHclE0Ss5330NWWrG+kYrBZrzCkw5sco74uPaaPg5A==","shasum":"b127ec11883ba91e6d028cedba050ea685137592","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-3.0.0.tgz","fileCount":27,"unpackedSize":41770,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+2kww2XIzNV8BhRMOJCHe6dSjxuOLZCJ/70g6RW7ohwIgDSH/FOMYlCcAaPXDIJJMufjlNJoy1UFlVcVQSI5ERm0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi80/hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpheQ/+KT1AVu9Ksu8n67h3Ueop2rWeiWC2k5SkyA+SLwkzNdOHiFzZ\r\nsSK+DV1o9qbWqLSUWrUbtD7nicRYlYEeXC82uBBEfaBjp879S9pqIb7itw3M\r\nzPiKO6+TYBmCMrT2LKmETPrQHJrv7vqeOkgCeKVpymgURUhL+aqcOBTUljTq\r\n5rL+34qTZzrH2P4nu3ssena/eKNK4WqT65ju6DUL0yvILN3xiQjrgTuNu2Pp\r\n0XQkxGdNOFp10GcVb1wR3RfMDFk6Kx1UANqbo0zpCo9/Njx/lhOnY7zDEXWF\r\nk+z1q90rX2b63qSB5P8jpPd8Of9raaGKb1x+z7sUcy7+MJSHPVj+fpN5xVgB\r\nvGqblGbEco/CtDpG61HYIyEyFoGwt0TxeJwPYrwF/1SJjw2u/SjLoy50VfkJ\r\nLoXH0i/w1Z3GwQPySJeAWz3WfTRd54atFqNDmOmnhNFT8eOSMhjvvXw5Yex3\r\nyVtBPtxRBpt+FXjwExOx//86pyyWay+9d63PYN7AY8ogbrT3fuPFiRq1MUsV\r\nxwDbA1GHXuMUE+t6x+Hi/6tBlNx+vyRezV9D/jjuFOJWkWMHdo6KgpIib1Dq\r\n67ksb7eSpzK/WTH9LootGO19a2VUa7jc7z4TCgEHjiDMIb50uvo0hYNNqq3o\r\nKxMGlxmFIchNJ8ecUGWv/9pvyDzI+prOCUM=\r\n=aAOB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_3.0.0_1660112865786_0.8148596208481795"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"4.0.0":{"name":"fastify-mongoose-rest","version":"4.0.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^7.3.0","@types/jest":"^24.9.1","@types/node":"^18.6.5","@types/supertest":"^2.0.11","fastify":"^4.4.0","gts":"^3.1.0","jest":"^28.1.3","mongodb-memory-server":"^8.8.0","mongoose":"^6.5.2","supertest":"^6.2.4","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"0281f54baac7f11bfc8612ce963806ced5bf1b95","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@4.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-g7YpLKKkCmhYkvDr05Og6Dw2NoBxk2HFiMit/JzZ/ekhSzxLg/JUplMwlCme48xjT6lvlaoFa6eeV8sABYLCEw==","shasum":"12e3d1cf71c4888cde013c13aedd2ba9bd612c69","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-4.0.0.tgz","fileCount":27,"unpackedSize":42236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx+BmEZwvYZ85yINOnNKQUxw1vgqxlpvdi3z/zV/XX5QIgXAUorAfP9bm9pbIZ4+8vMr7ITvhilk7U9RL15t2BLhs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9LIxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTow/+OEs9B3SCjx7n43V8Xor/eZjZGl83ZfN1EKaN8iplKLQ0fv1F\r\nFPuWs/OsaBSSir6FxcczqVYJtgysKlJjFC/8ZURR6Ts9jAa7R66o/+gIVPJI\r\nx3Q2pHXl9j/k1UVfTqE/5RpIQlvayU6CcAmgJipVt3GbJ7Yz0jLKmiGhTgc5\r\nRKmwyy9OM0dG+l/qgo+CQo0qskMJoiz95qLfekA9gsZAWCYH7tfBFgXPB/+m\r\nyxcfMzak2OiCVV+8ad4FFe70X6fzKBHaFeapEKJggTytfcnUmqSLP7Y1OaK/\r\nGNBlhUiuBRtyx3tS58kjTI8pG9uRL4rCC97fIQGwvrJRxbFHjCau47in6BVW\r\nlxobbwTLlwXaVzbmz6myZDlJDmh9PH+bnsdXNqnH8ztgByayj617AyM6uuHc\r\n7AOQA7S36IvnuSgGQXpZkCbdFIwsq0ZstktOVSEYYaFZUIMZHRCK+OXhfFvY\r\n0XHYnP4GHjsGjMdBuX46WYUmAJp1ufsir52Ayrv8ACvY6g7hZnD46doqCR/d\r\nLgEA3w6LUoJlTXtqkCxIxhHwhdqh22xz9xDFFuWseTDGcTIIl/RHEyzdP01b\r\n2LEcplSI0H+6L82Ukyc5A/Fvq4l1vAGbCpSeFcpYIGoipdJKWPY4I/mCn449\r\nHgV91UpZtOykpWgvPm0dsP1tDsQgfqTkp2I=\r\n=b5jR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_4.0.0_1660203569758_0.5583594341835068"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"4.1.0":{"name":"fastify-mongoose-rest","version":"4.1.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^7.3.0","@types/jest":"^24.9.1","@types/node":"^18.6.5","@types/supertest":"^2.0.11","fastify":"^4.5.3","gts":"^3.1.0","jest":"^28.1.3","mongodb-memory-server":"^8.8.0","mongoose":"^6.5.2","supertest":"^6.2.4","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"7e532724d774f78825eef35ce4ffc7e392fb7f62","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@4.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-OliYtrggETV9qgMrMa554xdZkl9ii0ofzXtHaU3NYU7uvljBnesos5+XembwS4sbqSFHpAhphcMjJpo9cp4T9g==","shasum":"6a9cf2da37231cbe1d19719707fb243b76ce36e6","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-4.1.0.tgz","fileCount":27,"unpackedSize":44621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVGOm3KzLsHXOuKE43Cd2kBN2WRl0UXSbqymGKiQBIDQIgYzpdFOwYPcGKWdEn8TmUolwHJvB7PRyN1j7r5iwcUfE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDzjDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ4Q/+PuJgK+ZXZZR6RGBxmu1bIYuBgXjueExzBfenVOdvbkJDkvMN\r\nJJMHzm+g3kkV26VMlpVLFJiIiAvgjDQsJBx5IzSM2fmeyyi+rBcM5r7qsH3i\r\nE/ERJZZ9oFYBjasgKEfsLNYVsY2I5HxS3hZTkqOHOasJDjde/gR1A1na2C26\r\nE/E/E9PqQztFzZr6fAU80RzYCo4I3RYDNU7kfEX/r1mJwTWsG2Q8gG2NdeyX\r\n91ceKzydeIuR1MXQriwRHrkieG2yU6fEkmqsRuFZI55wiecH5zLCFfluLs9v\r\nsxrxNRhRyvompeYdppyP+7lchesLLQaK8Hjzp6SuPMZiORF6qOKOqDZrxl2+\r\ndr8DyXV8cYN6eTcjCeRMAWSuCla40y7N7YtNJESpXN7gvGVDHNS2sbNHgDLI\r\niBfhGiR+V2tLESXIrGOZmvc2HGKdI0FZp+/u2+beU9PmN0/EHRKQW+urV2Ua\r\npIzQ0Jo62e45u5xdTaIlJCl0g/XLZa8desbspw2R7Wt9cZu2vt1bK6IA8FmK\r\nFcfRN/ufYRmcNSAnznVYn7JUN87oe3T7nngFa7Q+cTxfyQjMIJ98hExv9o6N\r\nhvXogIBIFr+hLi7OyQ050jXV9Ew2ldM4EA/MxB6HEObMIPjAnCkUmSzZJXFJ\r\nCMDTMO2bSqAmI0jQIg4Kupmhiu3zWbW08eM=\r\n=V1mB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_4.1.0_1661941955604_0.9839956939251615"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"4.2.2":{"name":"fastify-mongoose-rest","version":"4.2.2","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^7.3.0","@types/jest":"^24.9.1","@types/node":"^18.6.5","@types/supertest":"^2.0.11","fastify":"^4.5.3","gts":"^3.1.0","jest":"^28.1.3","mongodb-memory-server":"^8.8.0","mongoose":"^6.5.2","supertest":"^6.2.4","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"e5dcc86e6ec4f216ba31e67ba7e80c7160a1f2f6","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@4.2.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-6Vf32UGZO9SfujT74b9oSBxxQ+21qEsOcWERecfeCP1FedUT7fasGax9w1XBjZf8Eg/haaiooJQ9ixmguwy1EQ==","shasum":"b0473ddb2bc293d5466ca4938407eff738d7366a","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-4.2.2.tgz","fileCount":30,"unpackedSize":47754,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUgArBGYg/f5LKfkW2cFrB20OOiMzd1Pcyc9FrQw5AHAiB++6bYGpcRy2njyXiEV9U+Zl7FQ4kkrfbn3k3s72q2Ug=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPVvTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQ+RAAgyiOK/E0tIrErUefR5SCsrBP1UDbAp8NiVXtrnWoujfXLxJy\r\nfC/BTEDUahRfBg7ECjA+aTZPDI5IvoT3rvm2TRfJAmdDHC1KSJ5DLc32JAqD\r\nCO1uQNHpo0qmGYw0pm4q39DbF9rIn60MWfS5/Foj/B1uXv37GJmQungY3iIA\r\nAPLyZOFBaxQENSvfIFvjTY9UeMU6yMijYwx+QVYQwOP0rpeXQgqFMA840Szq\r\nxmR3NMORRaYoASEaNlbei0NIppI/dVCzGxppZe5Jr0nMfTtfdcGf2VQVEINO\r\nF3RXKJetJRL2glzG0x4aFYTN7iojIeCUY6qw4p5NQER9KJo4UPBVu6hegMko\r\nVu7kaS5c9dXMB45c1hTQl/ARc92H/HgS/BCpqTspA6I2A4yIWR0vK4lGNlat\r\n5+FLxsCYjZM1lksEuHc+lTpKM8+fXxoPsGbcq0hRKNy1CZgjguL0Ghgarbfc\r\njjW+M5u/Xh8QAnxGZyifCthdD2ZhMeUDyb3uZ1VVWFLmMzBd7JGXUxtRAQxW\r\n78AATtOOgz0vTBoxTqdTT5iLQXnuZIU8yL9/a60NEY0HLj2gDD6JUwXI9CC+\r\njkgI7f9q4eJfBqjAaur4I8m3mLsxcbdqXrkLxVOCvqiJukTZiy3WzH0EDces\r\nasc2IxOkyb299S82fCV/PP16b6lYILjN+cQ=\r\n=hjhg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_4.2.2_1664965587661_0.7164199418212576"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"4.3.0":{"name":"fastify-mongoose-rest","version":"4.3.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^7.3.0","@types/jest":"^24.9.1","@types/node":"^18.6.5","@types/supertest":"^2.0.11","fastify":"^4.5.3","gts":"^3.1.0","jest":"^28.1.3","mongodb-memory-server":"^8.8.0","mongoose":"^6.5.2","supertest":"^6.2.4","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"943b8927690621a843182464a0318742228b2c0f","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@4.3.0","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-aP8DHDrb3ZuyYObxRYbvJL2F8NAzPgl8RP03w7vRwkG0Scm0HL01yKFTqJxQeKM0ju7yxnXYA3jjLMtbvjRNMA==","shasum":"2505c8f69f0ea180aa912c8bb116de87964e73ec","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-4.3.0.tgz","fileCount":31,"unpackedSize":50622,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLTT4jPEXrio7oQTPWkePOKhU793LuEt7vxLij7EZJOAiEA8RVANIKBVBCXEGNGMy8VVKUinEgfiYApsk7yR67HZfE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSly+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/Wg/8DVqlqsCOKVO/YKtxEN+HK4MFdcNviMpBWDY/xye9Pa+37fDv\r\nF8WFziJOH4bams45TiCz1fZz4ySwrZ1Ajx6NvCQMP3IihWlK3VTX2XdlfZcc\r\n+0Axv0leYAoZ3GCqJomu3ZKptum+EIgqKBFKdsilk4iFca8gVJlTT8BnY+ap\r\nS8ZmkAHUkgr6eFq8pCxL5EwIICD6GR+g+Kt6AZjTFteq9m6xExSFpjwODlls\r\ndC2u9IfMFR8m+jSCx5/GxphhQjzCTViUca9HYoescLEVJAwTZrlnT/zKZPR/\r\nc8wPaS4XaEi5x1zulqH+Atp6J3PPEQcEHtFLK5K4HE+ESao6vUMBluXMzbWc\r\nCaq8TVvtXGiAs1hsEiJ6MqmPnbZbUOBl1gUzu52CNM5rGvxZnnjvNREYoqTM\r\nhK8F19N0uFW1wCgrSmhIHat0pOIhQSVZpcDzs/YUGR7acSCJaPX2QgRq27NX\r\nzMY20aN2+/pmUS+dfyvOOLcZbRiFjVdILgTw4y80YEoNKoM30IlS3Kuo3mBv\r\ntT7i7GS2H83m6ZkvqnHA0Rl8VgK865rfSim5H1yqCWaLsDq1hSWJXpEndV4v\r\nC7akhaHGjvRwpIHp8W6XMOdXkW9iGOkNTs6NrLNxFiFjS+nGYbl8JdgMuu94\r\nXmqsURpLNrR6/pNo1gJ/R39S+UMUd1Cl9eo=\r\n=2gjD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"},{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_4.3.0_1682595005809_0.3710335591745362"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"4.3.1":{"name":"fastify-mongoose-rest","version":"4.3.1","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"tsc","prepare":"npm run compile","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","pretest":"npm run compile","posttest":"npm run lint","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","devDependencies":{"@faker-js/faker":"^8.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.2","@types/supertest":"^2.0.12","fastify":"^4.18.0","gts":"^3.1.1","jest":"^29.5.0","mongodb-memory-server":"^8.13.0","mongoose":"^7.3.1","supertest":"^6.3.3","ts-jest":"^29.1.0","typescript":"^5.1.5"},"gitHead":"6f1d14f7af117a197e4b40e0140c510d345feaa2","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_id":"fastify-mongoose-rest@4.3.1","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-gKKS32bucKm2Pt1v5aFKrXkzlbMzKqV8t6A2JudwTqgsorCKQ+td7OMTxDW0i8n0/Sk9Hly9S8rOJhqFWm2p0w==","shasum":"ef7c0081488e30f320a2efb84973d3d71c5c0d3c","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-4.3.1.tgz","fileCount":30,"unpackedSize":49055,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHw+zhqTaIx2YF7fad8cNXGymHfvVpmtJEmY+Wu3lpaRAiEAnuA9t1Lj0a+coIl5ICtveLCkgbz4UjEJeMClzmktlp8="}]},"_npmUser":{"name":"j3573r","email":"tommihagelberg@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"},{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_4.3.1_1688042933316_0.2463082480109149"},"_hasShrinkwrap":false,"deprecated":"Upgrade to version 5"},"5.0.0":{"name":"fastify-mongoose-rest","version":"5.0.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","test":"jest --coverage --verbose --silent","precompile":"npm run clean","pretest":"npm run lint","prepublishOnly":"npm run test","prepare":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","dependencies":{"mongoose":"^7.5.0"},"devDependencies":{"@faker-js/faker":"^8.0.2","@shelf/jest-mongodb":"^4.1.7","@types/jest":"^29.5.4","@types/node":"^20.6.0","@types/supertest":"^2.0.12","fastify":"^4.22.2","gts":"^5.0.1","jest":"^29.6.4","mongodb-memory-server":"^8.15.1","supertest":"^6.3.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"_id":"fastify-mongoose-rest@5.0.0","gitHead":"09671bbecd75a6bbe1218f37cae3edbfaa9db289","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-gyhiA+R+3vSPWPavoau+sfG9KJeMK93IpEhEZqvtvE/PbC3Q0gY2Vi+sMwiX4pdbbnLK1f//EI6+LHiWwspivw==","shasum":"5ae11903da3a6aab6a7851b6fcd587559e91bf48","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-5.0.0.tgz","fileCount":36,"unpackedSize":75370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3rybQk6AQYzuRE3d7+BdAmmY852eNp2MaKBrzuXCJbAiEA8uqPJADzFQfGR2mTcFNyMMMuh1YMF/gg2m8tiUzTJpU="}]},"_npmUser":{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"},{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_5.0.0_1698915856155_0.8884752111867802"},"_hasShrinkwrap":false},"5.1.0":{"name":"fastify-mongoose-rest","version":"5.1.0","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","test":"jest --coverage --verbose --silent","precompile":"npm run clean","pretest":"npm run lint","prepublishOnly":"npm run test","prepare":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","dependencies":{"mongoose":"^7.5.0"},"devDependencies":{"@faker-js/faker":"^8.0.2","@shelf/jest-mongodb":"^4.1.7","@types/jest":"^29.5.4","@types/node":"^20.6.0","@types/supertest":"^2.0.12","fastify":"^4.22.2","gts":"^5.0.1","jest":"^29.6.4","mongodb-memory-server":"^8.15.1","supertest":"^6.3.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"_id":"fastify-mongoose-rest@5.1.0","gitHead":"2b33fc0b88c08274da7a89e98e10a6bfdcdcf79c","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-8VBRryiEysrSN/Y4gP+eQ9cT4ZAsgat75Bcnygdw9J/CbsVr6jy4XsYIN+gHu70FC+PxLWy2n471s6Dp6NA3vA==","shasum":"f3c767e05647e78b01ca6277cbbcb4d163e783cc","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-5.1.0.tgz","fileCount":36,"unpackedSize":75340,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFbIXA0pXx9QVtDr9XlHsvVqhKQG8fgE7VZfh1thXtuwIgassA9GoH75SAS+rC3CaX+1EuJq243XUknuSut9u9zgc="}]},"_npmUser":{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"},{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_5.1.0_1711453377238_0.8984571675345296"},"_hasShrinkwrap":false},"5.1.1":{"name":"fastify-mongoose-rest","version":"5.1.1","description":"Rest API generator tools for fastify and mongoose","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","test":"jest --coverage --verbose --silent","precompile":"npm run clean","pretest":"npm run lint","prepublishOnly":"npm run test","prepare":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","dependencies":{"mongoose":"^7.5.0"},"devDependencies":{"@faker-js/faker":"^8.0.2","@shelf/jest-mongodb":"^4.1.7","@types/jest":"^29.5.4","@types/node":"^20.6.0","@types/supertest":"^2.0.12","fastify":"^4.22.2","gts":"^5.0.1","jest":"^29.6.4","mongodb-memory-server":"^8.15.1","supertest":"^6.3.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"_id":"fastify-mongoose-rest@5.1.1","gitHead":"3e666a279b374256647283a0ac885b62c87548ec","bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"},"homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-SgQPZbZMNU+jP8ytQoZ28HPiR/TPMDrQGJB6rweGJocsTKPgCvNo6UfJ0lMBuhQH/maAGaSXeyD36UMhTrqt0A==","shasum":"2d39cf37d189c9698cfcd27debea065c8b270269","tarball":"https://registry.npmjs.org/fastify-mongoose-rest/-/fastify-mongoose-rest-5.1.1.tgz","fileCount":36,"unpackedSize":75390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAM4sOy1nba+PYBkOl8vx/hQMBg57ZXAR33rxGat9I6eAiEA17Efh9EqD3ouE9xIqPWhhgYfFkNukunAzsPgUsTFZfQ="}]},"_npmUser":{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},"directories":{},"maintainers":[{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"},{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-mongoose-rest_5.1.1_1714978520377_0.11495009077269924"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-20T12:10:09.118Z","1.0.0":"2019-12-20T12:10:09.232Z","modified":"2024-05-08T07:30:27.591Z","1.0.1":"2019-12-20T12:11:43.756Z","1.0.2":"2019-12-20T12:17:20.379Z","1.0.3":"2019-12-20T12:19:29.539Z","2.0.0":"2021-06-22T09:29:00.082Z","2.0.1":"2021-06-22T09:32:56.407Z","2.0.2":"2021-06-22T09:40:16.542Z","2.0.3":"2021-06-22T09:46:09.609Z","2.0.4":"2021-06-23T10:10:38.816Z","2.0.5":"2021-06-24T11:29:27.622Z","2.0.6":"2021-06-24T11:40:11.263Z","2.0.7":"2021-07-16T09:05:37.575Z","2.1.0":"2021-07-22T12:17:25.533Z","2.1.1":"2021-07-26T10:53:13.066Z","2.2.0":"2021-12-23T13:40:55.139Z","2.3.0":"2022-01-24T08:20:50.275Z","2.4.0":"2022-01-25T12:07:26.262Z","2.4.1":"2022-02-28T10:38:27.378Z","3.0.0":"2022-08-10T06:27:45.936Z","4.0.0":"2022-08-11T07:39:29.942Z","4.1.0":"2022-08-31T10:32:35.793Z","4.2.2":"2022-10-05T10:26:27.820Z","4.3.0":"2023-04-27T11:30:05.979Z","4.3.1":"2023-06-29T12:48:53.560Z","5.0.0":"2023-11-02T09:04:16.497Z","5.1.0":"2024-03-26T11:42:57.390Z","5.1.1":"2024-05-06T06:55:20.510Z"},"maintainers":[{"name":"hyvarmarku","email":"hyvarmarku@hotmail.fi"},{"name":"j3573r","email":"tommihagelberg@gmail.com"},{"name":"jaahuo","email":"jaakko.huomo@gmail.com"},{"name":"tiiaelina","email":"tiiaelina@gmail.com"}],"description":"Rest API generator tools for fastify and mongoose","keywords":["fastify","mongoose","rest","api"],"author":{"name":"Tommi Hagelberg"},"license":"MIT","readme":"<div align=\"center\">\n\n# Fastify Mongoose Rest\n\n</div>\n\n<div align=\"center\">\n\n[![npm](https://img.shields.io/npm/v/fastify-mongoose-rest?style=flat-square)](https://www.npmjs.com/package/fastify-mongoose-rest)\n[![npm](https://img.shields.io/npm/dm/fastify-mongoose-rest?style=flat-square)](https://www.npmjs.com/package/fastify-mongoose-rest)\n[![GitHub](https://img.shields.io/github/license/J3573R/fastify-mongoose-rest?style=flat-square)](https://github.com/J3573R/fastify-mongoose-rest/blob/master/LICENSE.md)\n[![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=fastify-mongoose-rest&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=fastify-mongoose-rest)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/fastify-mongoose-rest?style=flat-square)](https://bundlephobia.com/package/fastify-mongoose-rest@latest)\n[![npm type definitions](https://img.shields.io/npm/types/fastify-mongoose-rest?style=flat-square)](https://www.npmjs.com/package/fastify-mongoose-rest)\n\n</div>\n\n## Table of Contents\n\n- [Features](#features)\n- [Installing](#installing)\n- [Example](#example)\n- [Initialization](#initialization)\n- [Adding routes](#adding-routes)\n- [FastifyMongooseRestOptions](#fastifymongooserestoptions)\n- [Operations](#operations)\n  - [Create](#create)\n  - [Delete](#delete)\n  - [Details](#details)\n  - [Modify](#modify)\n  - [List](#list)\n  - [Search](#search)\n  - [Insert many](#insert-many)\n- [Search parameters](#search-parameters)\n  - [query](#query)\n  - [q](#q)\n  - [populate](#populate)\n  - [projection](#projection)\n  - [select](#select)\n  - [sort](#sort)\n  - [skip](#skip)\n  - [limit](#limit)\n  - [page](#page)\n  - [p](#p)\n  - [pageSize](#pagesize)\n- [Total count parameter](#total-count-parameter)\n- [TypeScript](#typescript)\n- [Credits](#credits)\n- [License](#license)\n\n## Features\n\n- Creates a set of RESTful [Fastify routes](https://fastify.dev/docs/latest/Reference/Routes) of a [Mongoose model](https://mongoosejs.com/docs/api/model.html) for common CRUD operations.\n  - Listing / Searching documents\n  - Details of a document\n  - Inserting a document\n  - Modifying a document\n  - Deleting a document\n  - Inserting multiple documents at once\n- Automatically adds tags, summary, and description for [Open API](https://swagger.io/) documentation using [Fastify Swagger](https://github.com/fastify/fastify-swagger).\n- Validates the request body using [Fastify Schema](https://fastify.dev/docs/latest/Reference/Validation-and-Serialization) supplied in the form of a [JSON Schema](https://json-schema.org/).\n- Pagination support with [page](#page) and [pageSize](#pagesize) parameters.\n\n## Installing\n\nUsing npm:\n\n```bash\n$ npm install fastify-mongoose-rest\n```\n\nUsing yarn:\n\n```bash\n$ yarn add fastify-mongoose-rest\n```\n\nOnce the package is installed, you can import the library in using `import` or `require`:\n\n```js\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\n```\n\nOr using `require`:\n\n```js\nconst FastifyMongooseRest = require('fastify-mongoose-rest');\n```\n\n## Example\n\nBasic usage:\n\n```js\n/* src/models/cat.js */\nimport mongoose from 'mongoose';\n\nconst catSchema = mongoose.Schema({\n  name: String,\n  age: Number,\n  color: String,\n});\n\nexport default mongoose.model('Cat', catSchema);\n\n/* src/routes/cats.js */\nimport Cat from '../models/cat';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\n\nconst catFastify = FastifyMongooseRest('cats', Cat);\n\nexport default function (fastify) {\n  // GET /cats\n  fastify.route(catFastify.list);\n  // POST /cats/search\n  fastify.route(catFastify.search);\n  // GET /cats/:id\n  fastify.route(catFastify.details);\n  // POST /cats\n  fastify.route(catFastify.create);\n  // PATCH /cats/:id\n  fastify.route(catFastify.modify);\n  // DELETE /cats/:id\n  fastify.route(catFastify.delete);\n  // POST /cats/insert-many\n  fastify.route(catFastify.insertMany);\n}\n```\n\nBasic usage with options:\n\n```js\n/* src/models/cat.js */\nimport mongoose from 'mongoose';\n\nconst catSchema = mongoose.Schema({\n  registratin: {\n    type: String,\n    required: true,\n    unique: true,\n  },\n  name: String,\n  age: Number,\n  color: String,\n});\n\nexport default mongoose.model('Cat', catSchema);\n\n/* src/routes/cats.js */\nimport Cat from '../models/cat';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\n\nconst catValidationSchema = {\n  registration: {type: 'string'},\n  name: {type: 'string'},\n  age: {type: 'number'},\n  color: {type: 'string'},\n};\n\nconst catFastify = FastifyMongooseRest('cats', Cat, {\n  validationSchema: catValidationSchema,\n  tags: ['cats'],\n  findProperty: 'registration',\n});\n\nexport default function (fastify) {\n  fastify.route(catFastify.list);\n}\n```\n\nEach of the route objects return a partial Fastify route object, so you can add any other Fastify route options or override existing ones by merging the objects:\n\n```js\n/* src/routes/cats.js */\nimport Cat from '../models/cat';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\n\nconst catValidationSchema = {\n  name: {type: 'string'},\n  age: {type: 'number'},\n  color: {type: 'string'},\n};\n\nconst catFastify = FastifyMongooseRest('cats', Cat, {\n  validationSchema: catValidationSchema,\n});\n\nexport default function (fastify) {\n  fastify.route({\n    ...catFastify.list,\n    schema: {\n      ...catFastify.list.schema,\n      summary: 'List all cats',\n      description: 'List all cats',\n    },\n  });\n}\n```\n\n## Initialization\n\nBasic initialization:\n\n```js\nimport Cat from '../models/cat';\nimport FastifyMongooseRest from 'fastify-mongoose-rest';\n\nconst catFastify = FastifyMongooseRest('cats', Cat);\n```\n\n## Adding routes\n\n```js\n// No changes\nfastify.route(catFastify.list);\n\n// With changes\nfastify.route({\n  ...catFastify.list,\n  schema: {\n    ...catFastify.list.schema,\n    summary: 'List all cats',\n    description: 'List all cats',\n  },\n});\n```\n\n## FastifyMongooseRestOptions\n\nThese are the available configuration options for the `FastifyMongooseRest` function:\n\n```js\n{\n  // `validationSchema` is the schema properties that will be used for validation in create and modify routes\n  // It will also be used to validate returned documents in details, list, and search routes\n  // In the same way this will also change how the output of OpenAPI documentation will look like\n  // This is an optional property\n  validationSchema: {\n    name: { type: 'string' },\n    age: { type: 'number' },\n    color: { type: 'string' },\n  },\n\n  // `tags` is the tags that will be used for Open API documentation\n  // This is an optional property\n  tags: ['cats'],\n\n  // By setting this property, instead of querying by `_id`, the query will be done by the property specified here\n  // This will affect details, delete, and modify operations which use :id as a route parameter\n  // This is an optional property\n  findProperty: 'userId',\n}\n```\n\n## Operations\n\n### Create\n\nThe create operation will insert a new document into the database. Uses the [validation schema](#fastifymongooserestoptions) to validate the request body.\n\n### Delete\n\nThe delete operator will delete a document from the database based on the `:id` route parameter of the request.\n\nThe field used for the query can be changed by setting the `findProperty` option in the [options](#fastifymongooserestoptions) object. The default value is `_id`.\n\n### Details\n\nThe details operation will return a single document from the database based on the `:id` route parameter of the request.\n\nThe field used for the query can be changed by setting the `findProperty` option in the [options](#fastifymongooserestoptions) object. The default value is `_id`.\n\n### Modify\n\nThe modify operation will modify a document from the database based on the `:id` route parameter of the request. Uses the [validation schema](#fastifymongooserestoptions) to validate the request body.\n\nThe field used for the query can be changed by setting the `findProperty` option in the [options](#fastifymongooserestoptions) object. The default value is `_id`.\n\n### List\n\nThe list operation will return a list of documents from the database based on the [search parameters](#search-parameters) from the query string of the request.\n\nSame as the [search operation](#search) but with query parameters instead of a request body.\n\nGiven the [total count parameter](#total-count-parameter) is set to `true`, the response will also include the total count of documents that match the search parameters in the `X-Total-Count` header.\n\n### Search\n\nThe search operation will return a list of documents from the database based on the [search parameters](#search-parameters) from the body of the request.\n\nSame as the [list operation](#list) but with a request body instead of query parameters.\n\nGiven the [total count parameter](#total-count-parameter) is set to `true`, the response will also include the total count of documents that match the search parameters in the `X-Total-Count` header.\n\n### Insert many\n\nThe insert many operation will insert multiple documents into the database. Uses the [validation schema](#fastifymongooserestoptions) to validate the request body.\n\n## Search parameters\n\nThe search parameters are supplied in the request body for [search operation](#search) or as query parameters in the request URL depending for [list operation](#list).\n\n### query\n\n<!-- Will be used as the filter param in the [Mongoose find](<https://mongoosejs.com/docs/api/model.html#Model.find()>) operation. Defaults to `{}`. -->\n\n<!-- Supplied as an object. Can be either a JSON object or a stringified JSON object. -->\n\nThe `query` takes a object as an value that can be either a JSON object from the body, or a stringified JSON object from query string or body.\n\nDefault value is `{}`.\n\nExample:\n\n```JSON\n{\"query\":{\"name\": \"Kitty\",\"age\":2}}\n```\n\nor\n\n```JSON\n{\"query\":\"{\\\"name\\\":\\\"Kitty\\\",\\\"age\\\":2}\"}\n```\n\nMore information: https://mongoosejs.com/docs/api/model.html#Model.find()\n\n### q\n\n`q` is an alias for [query](#query).\n\n```JSON\n{\"q\":{\"name\":\"Kitty\",\"age\":2,}}\n```\n\n### populate\n\n`populate` takes a string, an object, or and array as a value. The object or array can be either in JSON format in the body, or in a stringified JSON format in query string or body.\n\nBy default no population is done.\n\nExamples:\n\n```JSON\n{\"populate\":\"owner\"}\n```\n\n```JSON\n{\"populate\":{\"path\":\"owner\"}}\n```\n\n```JSON\n{\"populate\":\"{\\\"path\\\":\\\"owner\\\"}\"}\n```\n\n```JSON\n{\"populate\":[{\"path\":\"owner\"},{\"path\":\"children\"}]}\n```\n\n```JSON\n{\"populate\":\"[{\\\"path\\\":\\\"owner\\\"},{\\\"path\\\":\\\"children\\\"}]\"}\n```\n\nMore information: https://mongoosejs.com/docs/populate.html\n\n### projection\n\n`projection` takes a string or an object as a value. The object can be either a JSON object from the body, or a stringified JSON object from query string or body.\n\nThe string can be formatted either as a comma separated list or a space separated list.\n\nBy default no projection is done.\n\nExamples:\n\n```JSON\n{\"projection\":\"name\"}\n```\n\n```JSON\n{\"projection\":\"name,age\"}\n```\n\n```JSON\n{\"projection\":\"name age\"}\n```\n\n```JSON\n{\"projection\":{\"name\":1}}\n```\n\n```JSON\n{\"projection\":\"{\\\"name\\\":1}\"}\n```\n\nMore information: https://mongoosejs.com/docs/api/query.html#Query.prototype.projection()\n\n### select\n\n`select` takes a string or an object as a value. The object can be either a JSON object from the body, or a stringified JSON object from query string or body.\n\nThe string can be formatted either as a comma separated list or a space separated list.\n\nBy default no selection is done.\n\nExamples:\n\n```JSON\n{\"select\":\"name\"}\n```\n\n```JSON\n{\"select\":\"name,age\"}\n```\n\n```JSON\n{\"select\":\"name age\"}\n```\n\n```JSON\n{\"select\":{\"name\":1}}\n```\n\n```JSON\n{\"select\":\"{\\\"name\\\":1}\"}\n```\n\nMore information: https://mongoosejs.com/docs/api/query.html#Query.prototype.select()\n\n### sort\n\n`sort` takes a string or an object as a value. The object can be either a JSON object from the body, or a stringified JSON object from query string or body.\n\nThe string can be formatted either as a comma separated list or a space separated list.\n\nBy default no sorting is done.\n\nExamples:\n\n```JSON\n{\"sort\":\"name\"}\n```\n\n```JSON\n{\"sort\":\"name,-age\"}\n```\n\n```JSON\n{\"sort\":\"name -age\"}\n```\n\n```JSON\n{\"sort\":{\"name\":1}}\n```\n\n```JSON\n{\"sort\":\"{\\\"name\\\":1}\"}\n```\n\nMore information: https://mongoosejs.com/docs/api/query.html#Query.prototype.sort()\n\n### skip\n\n`skip` takes a number as a value.\n\nThe `skip` parameter is ignored if [page](#page) or [pageSize](#pagesize) parameters are supplied.\n\nBy default no documents are skipped.\n\nExamples:\n\n```JSON\n{\"skip\":10}\n```\n\nMore information: https://mongoosejs.com/docs/api/query.html#Query.prototype.skip()\n\n### limit\n\n`limit` takes a number as a value.\n\nThe `limit` parameter is ignored if [page](#page) or [pageSize](#pagesize) parameters are supplied.\n\nBy default no documents are limited.\n\nExamples:\n\n```JSON\n{\"limit\":10}\n```\n\nMore information: https://mongoosejs.com/docs/api/query.html#Query.prototype.limit()\n\n### page\n\n`page` takes a positive number as a value.\n\nThe `page` parameter is used to calculate the `skip` parameter with the [pageSize](#pagesize) parameter. Note that this calculation will start from 0.\n\nThe formula is `skip = page * pageSize`. So if `page` was 1 and `pageSize` was 10, then skip would be 10 and it would skip the first 10 documents.\n\nBy default the page is 0 if [pageSize](#pagesize) is supplied or if the supplied value is less than 0.\n\nExamples:\n\n```JSON\n{\"page\":1}\n```\n\n### p\n\n`p` is an alias for [page](#page).\n\n```JSON\n{\"p\":1}\n```\n\n### pageSize\n\n`pageSize` takes a positive number as a value.\n\nThe `pageSize` parameter is used to calculate the `skip` parameter with the [page](#page) parameter.\n\nThe formula is `skip = page * pageSize`. So if `page` was 1 and `pageSize` was 10, then skip would be 10 and it would skip the first 10 documents.\n\nBy default the pageSize is 100 if [page](#page) is supplied or if the supplied value is less than 1.\n\nExamples:\n\n```JSON\n{\"pageSize\":100}\n```\n\n## Total count parameter\n\n`totalCount` takes a boolean as a value. If set to `true`, the response will also include the total count of documents that match the search parameters in the `X-Total-Count` header.\n\nThis parameter is available for both [list](#list) and [search](#search) operations.\n\nInclude the parameter in the payload of the request body for [search operation](#search) or as a query parameter in the request URL for [list operation](#list).\n\n## TypeScript\n\nThis library is written in TypeScript and comes with its own type definitions.\n\n## Credits\n\nThis library is inspired by [restify-mongoose](https://www.npmjs.com/package/restify-mongoose) and is meant to be a replacement for it to be used with [Fastify](https://www.fastify.io/).\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/J3573R/fastify-mongoose-rest#readme","repository":{"type":"git","url":"git+https://github.com/J3573R/fastify-mongoose-rest.git"},"bugs":{"url":"https://github.com/J3573R/fastify-mongoose-rest/issues"}}