{"_id":"@ddadaal/next-typed-api-routes","_rev":"25-454e72387d54c5db58cb2de3d09f30d4","name":"@ddadaal/next-typed-api-routes","dist-tags":{"latest":"0.2.12"},"versions":{"0.1.0":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.0","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","exports":"./dist/index.modern.js","main":"dist/index.cjs","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10"},"gitHead":"1ee19b1a44869fb8bfb00eddb062672839bd4245","_id":"@ddadaal/next-typed-api-routes@0.1.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-QczWV2wdEegU2iXfFHMoN0/flZiGrfAsYM+zZeepBJ/QQf1D+FYDi+KGDmD1ZECIm1Wmg8DWLC91+/XZ+GS4Bw==","shasum":"556875d4a1eb71cb46729fc84d76dcf0a567c7ea","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.0.tgz","fileCount":32,"unpackedSize":132703,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE4GekBFjiLp2HtzdAP6wE/gFHcqNw0diN4x5TunSLQwIgdrCrd22sf5q1GbmQLENu53GiYHq8XYGvFpWnZEjAtfE="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.0_1632915035580_0.14608377231474834"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.1","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","exports":"./dist/index.modern.js","main":"dist/index.cjs","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","yargs":"^17.2.1","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3"},"gitHead":"6f0f9ae320abd2abd197a2856915decbce54cd8b","_id":"@ddadaal/next-typed-api-routes@0.1.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-bLjYG0EwDngCYyMFhsuMK0E30IxYL5XRihiCZ6f1kJ23bxtdQXdRlMtq28enBl5KQJ3D57znqKc5I4abYfSX4g==","shasum":"13a268f2971518602c99817b7e2f4e04908aa195","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.1.tgz","fileCount":32,"unpackedSize":132899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvOEdx5432kfWIkZX7nTs+YL4Jv0j6aI9HEIBGLeUGbAiEAuaK+gluiq9xdUgtYJtOynREmoNsunB3soE3giBVS1+U="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.1_1632915642729_0.4302478623726522"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.2","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","exports":"./dist/index.modern.js","main":"dist/index.cjs","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","yargs":"^17.2.1","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3"},"gitHead":"d18a99a0a9e150e6ec15dd3669a7d758ebcc1745","_id":"@ddadaal/next-typed-api-routes@0.1.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-kSVXvnDWSArPTBEkiCxTpHp5cExwfXjrHqEU6SYtxEPus/PAU1zEcrwkjN6cwr6UKEoybqZnlVPMx28g07gjvw==","shasum":"e057d940680e0d1889c62ad3159db4dc2a73380c","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.2.tgz","fileCount":32,"unpackedSize":131747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcHgROdQ1AepCtejIQzy5mhJwqUIVwZ3TLrUV0NeNx4AiAZu5pV57QiY0yXc4F0KABSIA0Ju8TlKPnM27wv/L1/Lw=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.2_1632925815478_0.27708975001024694"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.3":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.3","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","yargs":"^17.2.1","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3"},"gitHead":"f077aeecd794badb850af9ee3295bb98fad8d925","_id":"@ddadaal/next-typed-api-routes@0.1.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-o7mCpcR2QILMkKpYUPmpM1muWDV8igQe12EKdQ81dWp+X1kgqTn7F8YoIJ1oVjRDiDTFFQexaTcJ/2fvl+eyPA==","shasum":"482ef058c8e17750d93976e3a5de93b3bad5e740","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.3.tgz","fileCount":31,"unpackedSize":86191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBOWFuDJFDZT3SFx/jJcouEs42uIjcfCpS9YdwxI+5FAiAR83gBIu1qCZOsNOYl2666+I9y7PX4PuhKUkN/fVrkHA=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.3_1632967488554_0.5456124656469954"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.4":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.4","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","yargs":"^17.2.1","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3"},"gitHead":"17f463e63f994f8c9ebf9e30702f75e2ddb99a3e","_id":"@ddadaal/next-typed-api-routes@0.1.4","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-D1xfVyNP84dsxEQH9T+pnwS4gk3mGHOJEr9LLIAuFdCOiZe1/Jyt/m3HMZqVIzNpJXGHD7OSdwgKUyzIfYt4IQ==","shasum":"34041851f03fee2b9af365a312ae09d6f4f48192","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.4.tgz","fileCount":32,"unpackedSize":86321,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2hikc1K5h00iR5gUlv2AvKfTiUvux7G+frT4rfO1fhAIhAL75nXyjZj+mvmaw+EIo8wuJwD7vhwsX2Co2Lr9yM250"}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.4_1632969251138_0.47830424025258456"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.5":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.5","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"6ea76915cea858f15920cbda383ab7d1cbab5cb8","_id":"@ddadaal/next-typed-api-routes@0.1.5","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-pOCQxXfpU6xnL+46RRlgmoVhP1agO3XgJTb9ch3/x0OiShFomfBKdCPnZIRuRUGuPmThNSaaMia1V3dRGRPIIA==","shasum":"e0a8ad111b67afcf9905a85429ace35c4a36e5f1","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.5.tgz","fileCount":32,"unpackedSize":86724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGy953JauQfz9JdUjgmkGEawpDaBYDzupFlCHCHzhUF6AiAAolnfdoq8y0BpqNkEzub3+DOyxbWJ6J2asBr1YMFY8Q=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.5_1632969862256_0.08335360802126335"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.6":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.6","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"96cf505c4c0919820cca362068410bf24c79da7b","_id":"@ddadaal/next-typed-api-routes@0.1.6","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Y6t8aNPfDI2T7wJHRpYEXZDsWNejzrqxcLzO5511+5XSjPvlr47UeB2iA3K3+vb5Qp3WbCDiOBUThyil0QkulQ==","shasum":"e12c5f847e38931678999f459b437031825def6f","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.6.tgz","fileCount":32,"unpackedSize":86987,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYe9VNVDZB4FTeD6ozdAGMWzsM4yC1nI0bnVdM6oEEWAiBUSE/+nO/4CPehPHJ7uxZwq+VkSvppmJH8hGNgaI0dAg=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.6_1634045316870_0.291115136219146"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.7":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.7","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"31596ae66458c23c4f4d464c5d0b2b7c58773636","_id":"@ddadaal/next-typed-api-routes@0.1.7","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-jIvZBrwOy4LPAayVB4x5hkinubLg0swRaqti8RxkVooOfDrTZKab17jodxUWJMxfDqluP80gxynK1U1k0g+/bA==","shasum":"564f315eb8e3c1f80af30da607180f277c09a811","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.7.tgz","fileCount":31,"unpackedSize":83114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7A6t2uuHy3MWU/RAGMeY1IaTupdc+OvmQx/yNNG5F6wIgfuxprr3JwsitBIyXbiTV+aDWa5No9OqDTPVz2z3axTc="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.7_1634045364443_0.7643426910784135"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.8":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.8","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"c49d87db3043c99d8a0234f9471b5fcd20573f27","_id":"@ddadaal/next-typed-api-routes@0.1.8","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-QQKiaklWqJ6TPGkaEBRj4LyQy7ebrRs/r+HSXwUve80N64/gwhPNvO6fd86HjDXJ38SucACSQE7WiwVm3tk4TA==","shasum":"f3d48f21a5f217df81376d275aa03592acdebe31","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.8.tgz","fileCount":31,"unpackedSize":83480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6N1SrTukI2EpjEHLlS51WuYzNOZvizdZ7fZkG3nt6OAiEAlnwXLtKilbR5s9aesATRN3LKjbn/703SWSioa9SIMHM="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.8_1634046533714_0.3920931805574219"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.9":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.9","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"fcc47d672b134256d42991b8d5db3d643084a139","_id":"@ddadaal/next-typed-api-routes@0.1.9","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-vQ7QyTHqqHG5TdXkKnbIuSAQzF6jomNaqjdqiUdi0V9hRBGUpa707VVrK7M2/xxz0p6YJdRMSR6j6y2skHB/aw==","shasum":"6c362bd0cca1d8e55272e576d9333d4efbb186b4","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.9.tgz","fileCount":31,"unpackedSize":85232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAvPtLkNIxKssE0llWska1BZH0Gpm1ieEd3MHHDfxrYAiEAsCJMfYfBK0hfb646/h+5iz+uE2Yp4bfwrI4BY1xcjh0="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.9_1636012050531_0.04846275305029191"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.10":{"name":"@ddadaal/next-typed-api-routes","version":"0.1.10","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","types":"dist/index.d.ts","bin":{"ntar":"dist/cli/index.js"},"scripts":{"build-lib":"microbundle src/index.ts --format esm,cjs","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf dist && npm run build-lib && npm run build-cli","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","standard-version":"^9.3.1","microbundle":"^0.13.3"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"178fe26f99fcff39f6f43f757ca2c3f92d1a2dc0","_id":"@ddadaal/next-typed-api-routes@0.1.10","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-zmHr483jxEtvdQE4Fk7MQaxJSuh5sMa9enQMJV12JQJ02IDe+vG8IJh1haFfFpD7o6Kca+acsCdLTPxEHuDV9w==","shasum":"f0ab0c1de9eff2cc58a1f428d014ab88c90da494","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.1.10.tgz","fileCount":31,"unpackedSize":85232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMmPnzMg85jCStvxszE5eaPdFMYufIpQTiFisLsOXS3AiEAk//uGPMs6jQHQGBxfc+nLSDxxnnMTQbpoL13e5kRW/E="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.1.10_1636031629686_0.7433246909345939"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.0","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"9741323f5c2e84c66f2d6be5efc1275d1be466e1","_id":"@ddadaal/next-typed-api-routes@0.2.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-SXl/ceEeEMnJ0qP+ru+j8SlF6OCGTOn0rlzOfHJsgJJMTIweZ98fTjIlOGl/OgVJc5f37iVLQnvqjeAkjNs4HA==","shasum":"753bf1b71efd9fe32ad658d1386f83a2d8fa809e","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.0.tgz","fileCount":31,"unpackedSize":86848,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkRGWmHzNFq7BJgwkAIIKB/PGZOhNtZZzSAEh3ot7N8QIgSi9WMYZLjgei78yl7rRiUHXyq29mIYpNv+jF0F7UvSA="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.0_1636216113278_0.5716497838879468"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.1":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.1","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"3bf70a8f1b61bfae826b790115fcc1369f4d2a71","_id":"@ddadaal/next-typed-api-routes@0.2.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-FDhqe5TsGEkvyHLv5wP9jH+zOM0ovgbDa5SI+MmyQtjsFCyDE9ineNM6yfb53AUiz328vBx02+cq1aPZu8spyA==","shasum":"2e2a80ea190b4ec566b19eb984b8bc2c12f46d5f","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.1.tgz","fileCount":31,"unpackedSize":87918,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJJXQGGiZT9VWy7uVTiz8ud1TcJe27rZv7UgFvAN+AGAiEAlXwBkGDLAr1Rm+aFjqKIamyGoCNJI2sYWI6M2NVupNk="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.1_1636425238417_0.5670905779332374"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.2":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.2","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"ee5f708d5a5dba5414a88a9d0746bdcdce660269","_id":"@ddadaal/next-typed-api-routes@0.2.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-QaFe8gOTsjniVJ+FPiJfH3W4q73n9DSI/konheS8GcEe28OrDpkqfo10dbfL3sd/WdXNZpGuKC49VAuBD/0Pbg==","shasum":"2796a8e4771d8ff0147b2ae929bd44425984e259","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.2.tgz","fileCount":31,"unpackedSize":88281,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF77rcWsIb91Oc0FtXYU1F1ju/+bffRk+B2Cwc9x6gflAiEAxHXo2jjClNBEo422qkDYrEt0NRPt9pj3uaffB5s+j8c="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.2_1636444206030_0.3344104956352212"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.3":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.3","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"e3f0a286d439e02f55e09b37678f732beebc4b29","_id":"@ddadaal/next-typed-api-routes@0.2.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-BjDwyVJov1Q3qFZJym4wOMIs7dPSrzuKw4XVUOPkG7RTHo0IH57r+BbezzhkY6fQ4wiOE/HtD+iZ7bpc3RRe7g==","shasum":"aad032964a9bf4d1e537280ee2bd0ec81ec1254d","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.3.tgz","fileCount":31,"unpackedSize":88661,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmzf8w2M2HHrwq0GwDlIlIgWPoWT+Y3dQJ9mBHjdI0VwIgd/GzrlufMg/ZVBKgn3wOyNtbKLLg1QfQOeMs4vVu57k="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.3_1636445384245_0.046166836579021986"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.4":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.4","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"935aab799bdf556dbfafa89658fcf010759c5674","_id":"@ddadaal/next-typed-api-routes@0.2.4","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-vnsjv61tP79Ya7npiG8x37tl+j/A9/s7IkXoG0VsxtLIn6J09VwYDhafdY9+ONP3RNN26Mkx7+GcfOZxgxnuOA==","shasum":"e75ed5f37317c1445821b6fc0409535696e463ad","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.4.tgz","fileCount":31,"unpackedSize":89040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKd0Zo+k4ftKohv7MejYHQJFXtWynJTUi4yaMI+1VTMAiAelJ29a6Q/PKyIq6UtwQR+glkSPEThCH6RrIXWBnGUhg=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.4_1636447115600_0.7835939815188981"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.5":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.5","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"b622281f576f1f4042aa5f90daf8cd2be0a1a9e8","_id":"@ddadaal/next-typed-api-routes@0.2.5","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-tlKh/4tyEV9Kx59V+K7arhubPUE3h6dx/f4uuLeCi4Tuokba36UfbCZHde9MSOHs1BN5jX6m+PA5bRVpoqqg8g==","shasum":"b3cdfd9a2fcadc9c223c17b9d10eadc2607b1e26","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.5.tgz","fileCount":32,"unpackedSize":92192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIW7zf8denldmHPWv3bU3BhXU3mJrqwwHhUGiw94EqnAIhAOOZl1n1QjV3fE4jpzn438dHzJA8RSRxFxHvQ3+WxOQa"}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.5_1636632656097_0.4690403251280244"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.6":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.6","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"53efa5d38e24e2b23f583a47c9f3c31a9138bd02","_id":"@ddadaal/next-typed-api-routes@0.2.6","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-K4f10eQ1VMKOd4f5YqszXir2LzH1M/051K7lKor1qwAu3/9CCp4ATj8B6ZvfjDy6OcPwQUW3tjky6Wk5Zmcavw==","shasum":"91bb20e387d27f2ac88a182a863c707af922a147","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.6.tgz","fileCount":31,"unpackedSize":89102,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYhpFBnatIaXdZ1F4lHhw1/wmaOVuzG5TmE1j8JUqbNAiAuWTvnfcbWzRljTTk9JgQ9/+E7XUVX7ADFGsA29QSiMg=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.6_1636632792030_0.29297946368183014"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.7":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.7","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"f0ad0edac58161022d23760cbf1690d970373c75","_id":"@ddadaal/next-typed-api-routes@0.2.7","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-S5L2izR2Ls0YUDN7psq/n1Fdq5JP5DEVSRvMea+5FMWBtf03BOk4cJxbO85mrrGNmVvAwfeKX4Bmx1GpzxGGZA==","shasum":"8bf6d02f16abb66bfb3bad36500c21ab1d627842","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.7.tgz","fileCount":32,"unpackedSize":89599,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAfe7nG75+61FmUmjNcjoP+C5DbDQipp0fQOIU9TDydAiEAn4s5tJj2lBp8IHB60S30yoFiy/gaTlLHKc/La2eO3Po="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.7_1636635421070_0.2748311119956717"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.8":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.8","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"f74531640e8e83dbda69867182fa866ff7394ae3","_id":"@ddadaal/next-typed-api-routes@0.2.8","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-xgZbu41W4qYf1Cbpn1VxL0qq6OoszEQbzcSb+o3n87DD+5sVTqzwmbDOlm+CoBqdZeGXN/uJI5CvkedUTB+HqA==","shasum":"b2c98a240793e1282e16fa43cee785b6d440e80a","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.8.tgz","fileCount":32,"unpackedSize":90179,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA2c35wGIcurh54/GTuH9+b2Ar9fID23tI6uvzBI2NkAIgd7gKIrpyibj/FTYfz5+P1980Ksypo0z00JdAkF2dvRw="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.8_1636638306720_0.962396002295927"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.9":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.9","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"861e10b409a2475e9f603e794b5be03cf7fbb6de","_id":"@ddadaal/next-typed-api-routes@0.2.9","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-pU8RPjzT/MdG5JkiV7K/igBw7ohVSttYNccd7wps31QhRnuIzF1KkC/viwwdsfmD+x11RstX57+5W0Mwwu4CtA==","shasum":"12f767161d634b999f85a7b7ec21944a799ab99b","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.9.tgz","fileCount":32,"unpackedSize":90467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7kIYsf08CcNxfStercRiJIyvzuuSijP/5XGCoz37QhwIgBpNl2p9yLHmaG/ygN8kNj3qQr3y/fYTjG6mc8PaDEsg="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.9_1636640959840_0.1900103145233265"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.10":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.10","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^7.28.0","@types/jest":"27.0.2","@types/node":"^16.10.1","@typescript-eslint/eslint-plugin":"4.32.0","@typescript-eslint/parser":"4.32.0","eslint":"^7.32.0","eslint-plugin-react":"7.26.0","rimraf":"^3.0.2","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.6.3","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.10","long":"^4.0.0","ts-json-schema-generator":"^0.95.0","typescript":"^4.4.3","yargs":"^17.2.1"},"gitHead":"c241d4ccaff8caa9ff3d88470c538fe401a301f4","_id":"@ddadaal/next-typed-api-routes@0.2.10","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-JjF1XMNBNbA7SrN9HuGqW13ZjGQlCfgAiNh1reuEfKs1SaaUtUKc9oD3l6f7Oa3koISDqqIQ9JA/eTmXPRTYnw==","shasum":"575d1b5fbd6197e7d7b493b2b7ed9e0d991915f4","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.10.tgz","fileCount":32,"unpackedSize":90806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWDQrMCt3J89xjO4wdcjZ6uOsQ35z5i0JE6PKQEoorfgIhAL+x/vWX0QJdRnk5pSJz97dLHIW0iLB5jHh44YPr7Eey"}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.10_1636641995046_0.5333469101438972"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.11":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.11","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^8.2.0","@types/jest":"27.0.2","@types/node":"^16.11.7","@typescript-eslint/eslint-plugin":"5.4.0","@typescript-eslint/parser":"5.4.0","eslint":"^8.2.0","eslint-plugin-react":"7.27.0","rimraf":"^3.0.2","rollup":"^2.60.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.2","ts-json-schema-generator":"^0.97.0","typescript":"~4.4.3","yargs":"^17.2.1"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.8.1","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.12","tslib":"^2.3.1"},"gitHead":"04f9052e4b1b4d1392c66bf14cbaf0b8ef2ac087","_id":"@ddadaal/next-typed-api-routes@0.2.11","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-fdicAE18Pi5ULXb+mjPMBvDCNR54eDpAb4qip298hSM4OsnsT40K1q7JQ/XcVwFAM81q+tC4DrRD2Wh00iFQPg==","shasum":"dfe922691a7dcf6d1af31911200312ca291f6112","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.11.tgz","fileCount":32,"unpackedSize":90896,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKNxuy17hd9VmmiIimeUlUvQtwHmouRdBZZjkZuVvqtAiACXuFWRmxIiIPl9xSeHH3i26+OPYqx7IXmAjXGiNrVgA=="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.11_1637284676064_0.12224963781534592"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.12":{"name":"@ddadaal/next-typed-api-routes","version":"0.2.12","description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","main":"lib/server.js","types":"lib/server.d.ts","bin":{"ntar":"lib/cli/index.js"},"scripts":{"build-client":"rollup --config rollup.client.ts --configPlugin typescript","build-server":"rollup --config rollup.server.ts --configPlugin typescript","build-cli":"tsc --project tsconfig.cli.json","build":"rimraf lib && npm run build-cli && npm run build-client && npm run build-server","test":"echo \"Error: no test specified\" && exit 1","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"keywords":["next","typescript"],"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"license":"MIT","bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-typescript":"^8.3.0","@types/eslint":"^8.2.0","@types/jest":"27.0.2","@types/node":"^16.11.7","@typescript-eslint/eslint-plugin":"5.4.0","@typescript-eslint/parser":"5.4.0","eslint":"^8.2.0","eslint-plugin-react":"7.27.0","rimraf":"^3.0.2","rollup":"^2.60.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.3.2"},"peerDependencies":{"next":">=11.x"},"dependencies":{"ajv":"^8.8.1","ajv-formats":"^2.1.1","ajv-formats-draft2019":"^1.6.1","fast-json-stringify":"^2.7.12","tslib":"^2.3.1","ts-json-schema-generator":"^0.97.0","typescript":"~4.4.3","yargs":"^17.2.1"},"gitHead":"f4751b902f5afb34c9c037075a2bb8556451e2ea","_id":"@ddadaal/next-typed-api-routes@0.2.12","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-zKVRzHq+jwLx2d7M5XeUWJ0ofQQbOLnuTr4km9fGLtPTjG5yGHrFBckL1llDeNVCEHv+nMA7cmAkGevdiGY95w==","shasum":"f626dc07d422f5cf22cdb38fc55ea8edd2dfaa10","tarball":"https://registry.npmjs.org/@ddadaal/next-typed-api-routes/-/next-typed-api-routes-0.2.12.tgz","fileCount":32,"unpackedSize":91165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlv5bCRA9TVsSAnZWagAAJ48P/ApxkF4oZ8UMl6tBKKg5\nnc5uUvOw0A5MN0WUcwK9Z5FxWpPQgCTKmLeYszsIbgkUwHFmS2MOY8qZEpm6\nK6VNmu0waJ2wcaYFiBRVtQPkVMNRzByU5FJmvtQFWxi3gzqX6/uN8KH39J5Y\nuoCvmUPRYOqfVDh9pQ0i38PyHhQbPlWwiTpqHxqqd480J5+spXD88VB9c3nc\nobY1M6/ouMvH1HtcbiSrCjCDHQKIlEHtnrRmc5gduwc2GEnPujd98KzcuGTw\nCKcfcLEhBa4Owuz+zX778+H6KzFF7GosnmV6NAb4rByhP/erOSPEpzDPIrAG\ncngIq0LbZKSZlQL1s0slDHHU2VB+F+OBjBjvkTcPm0W1AvyK3JkHIAx0MxIY\nqnI62UgPUg8+aZrqcoQEI/h7eYZrfs3wTpfpxkMn8yzaALIqnvwQWQ0DcADw\n2Yi1C1eudjktRHGhsGPGd1I1S+d8s8O5WPl1Dt+goTNiuc9VCzyBH4/O6/6E\nG/jx9m1j2ZUx0EkiMIvM2TVZfX2p7ATP868KjkCexlkyhai3X6+N7xzAOjvC\n5Wmf1mG2jK13fEY2v7fpBIQUYoZ0y+9TdWdQh2HpmkaO/VeU8WG4tSzXvw3l\nwsg+B71A/LqUZkxzphsRM8CUpN9Gh9foSnKYdcY2odR7b7prtnMpZnhkz+Gh\nYFl7\r\n=bmyG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWu2vN8P3IBgvGiPLS2DM2wvzSkXye/TWvAiikzqzxFgIgPkHySsAunpAkssCVVXxG/+A/5izRjD6RTt+UDC3HoKg="}]},"_npmUser":{"name":"ddadaal","email":"ddadaal@outlook.com"},"directories":{},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-typed-api-routes_0.2.12_1637285467114_0.6514990703736068"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2021-09-29T11:30:35.512Z","0.1.0":"2021-09-29T11:30:35.730Z","modified":"2022-04-05T03:24:13.123Z","0.1.1":"2021-09-29T11:40:42.863Z","0.1.2":"2021-09-29T14:30:15.606Z","0.1.3":"2021-09-30T02:04:48.801Z","0.1.4":"2021-09-30T02:34:11.286Z","0.1.5":"2021-09-30T02:44:22.416Z","0.1.6":"2021-10-12T13:28:37.017Z","0.1.7":"2021-10-12T13:29:24.589Z","0.1.8":"2021-10-12T13:48:53.890Z","0.1.9":"2021-11-04T07:47:30.679Z","0.1.10":"2021-11-04T13:13:49.864Z","0.2.0":"2021-11-06T16:28:33.447Z","0.2.1":"2021-11-09T02:33:58.576Z","0.2.2":"2021-11-09T07:50:06.202Z","0.2.3":"2021-11-09T08:09:44.421Z","0.2.4":"2021-11-09T08:38:35.835Z","0.2.5":"2021-11-11T12:10:56.264Z","0.2.6":"2021-11-11T12:13:12.154Z","0.2.7":"2021-11-11T12:57:01.198Z","0.2.8":"2021-11-11T13:45:06.930Z","0.2.9":"2021-11-11T14:29:19.975Z","0.2.10":"2021-11-11T14:46:35.317Z","0.2.11":"2021-11-19T01:17:56.228Z","0.2.12":"2021-11-19T01:31:07.287Z"},"maintainers":[{"name":"ddadaal","email":"ddadaal@outlook.com"}],"description":"Make Next.js API Routes strongly typed with routes and clients type completion and auto-generated parameter validation","homepage":"https://github.com/ddadaal/next-typed-api-routes#readme","keywords":["next","typescript"],"repository":{"type":"git","url":"git+https://github.com/ddadaal/next-typed-api-routes.git"},"author":{"name":"Chen Junda","email":"ddadaal@outlook.com","url":"https://ddadaal.me"},"bugs":{"url":"https://github.com/ddadaal/next-typed-api-routes/issues"},"license":"MIT","readme":"# next-typed-api-routes\n\n![npm](https://img.shields.io/npm/v/@ddadaal/next-typed-api-routes)\n\nWrite a `Schema` interface in your API route file, and you get\n\n- route parameters validation and type completion\n- typed API clients\n- faster JSON response serialization\n\nall at one command!\n\n# Requirement for the target Next.js Project\n\n1. Use [TypeScript](https://nextjs.org/docs/basic-features/typescript)\n2. Set `\"baseUrl\": \".\"` in `tsconfig.json` `compilerOptions` part\n\n```json\n{\n  \"compilerOptions\": {\n    \"baseUrl\": \".\"\n  }\n}\n```\n3. All codes should live in `src` dir [next.js src directory](https://nextjs.org/docs/advanced-features/src-directory)\n\n# Get Started\n\n1. Install the package in your Next.js TypeScript project\n\n```bash\nnpm install --save @ddadaal/next-typed-api-routes\n```\n\n2. Create a API route `src/pages/api/test.ts` with the following content\n\n```ts\nimport { route } from \"@ddadaal/next-typed-api-routes\";\n\ninterface Value {\n  articleId: number;\n}\n\nexport interface TestApiSchema {\n  method: \"POST\";\n\n  query: {\n    a?: string | number;\n  };\n\n  body: {\n    test: string;\n  };\n\n  responses: {\n    200: { test: string; }\n    403: { message: string; }\n  }\n}\n\nexport default route<TestApiSchema>(\"TestApiSchema\", async (req) => {\n  const { a } = req.query;\n  const { test } = req.body;\n\n  return { 200: { test: test + \"\" + a } };\n});\n```\n\n3. Run `npx ntar schema && npx ntar client`\n\n`schemas.json` will be generated at the module folder under `node_modules`. You should never edit it directly. The project cannot start without this file.\n\n`src/apis/api.ts` will be generated at `src/apis`.\n\n4. Import the `api` variable from `src/apis/api.ts` to use the client.\n\n```ts\nimport { api } from \"src/apis/api\";\n\napi.testApi({ query: {}, body: { test: \"123\" } })\n  .httpError(403, ({ message }) => { console.log(403, message); })\n  .then(({ test }) => { console.log(test); });\n```\n\n5. **Important** Add `ntar schema` to `postinstall` script in your `package.json`\n\nso that `schemas.json` will be generated every time your project is `npm install`ed. \n\n```json\n{\n  \"scripts\": {\n    \"postinstall\": \"ntar schema\"\n  }\n}\n```\n\n# Updating existing API Routes\n\nTo convert a normal API Routes to a type checked one, all you need to do is\n\n1. Write a valid `Schema` interface\n2. Wrap the handler function with `route` function, specify the name of Schema interface as the type argument and first argument\n\nThe Get Started part provides an example of a correctly formatted API route file. `ntar` will report errors if Incorrect route file is found.\n\nRun `ntar schema` when the `Schema` interface is changed.\n\nRun `ntar client` when the HTTP method or URL or the name of schema is changed.\n\n# Schema Interface Specification\n\nThe shape of Schema interface is defined as follows:\n\n```ts\n// The name of the schema must be unique across the whole project\ninterface TestSchema {\n  // Required. Must be a valid CAPITALIZED string literal type of HTTP method (GET, POST, PATCH)\n  method: \"POST\";\n\n  // Optional. Define the path param and query (to align with next.js)\n  query: {\n    // Supports most type constructs\n    property?: string | number | AnotherInterface | Pick<{ number: string }, \"number\">;\n    \n    /**\n     * You can also use jsdoc for more specific limits\n     * You can use keywords and values from JSON Schema Draft-07\n     * @format email\n     * @maxLength 50\n     */\n    anotherProperty: string;\n  }\n\n  // Optional. Define the body\n  body: {\n    // Supports most type constructs\n    property?: string | number | AnotherInterface | Pick<{ number: string }, \"number\">;\n  } \n\n  // Required. Define the responses\n  responses: {\n    // Key as response code. \n    // Only one [200, 300) response should exist. It will be considered by clients as the success response\n    // If the success response has no payload, the status code must be 204.\n    200: {\n      // Supports most type constructs\n      property?: string | number | AnotherInterface | Pick<{ number: string }, \"number\">;\n    };\n\n    // If the code has no payload, set the type to null\n    404: null;\n  }\n}\n```\n\n# Tips\n\n- All schemas and used models must have globally unique name\n- Return a `{ [statusCode]: payload }` object in a route to take advantages of response body type check and faster JSON serialization\n- To ensure that client bundle doesn't include unnecessary packages (e.g. `ajv`, `fast-json-stringify`, which are only used in server side), \n    - import packages only from `@ddadaal/next-typed-api-routes/lib/client` in client files, \n    - import types with `import type` clause\n\n# Thanks\n\n- [`Ajv`](https://ajv.js.org/) for JSON Schema validation\n- [`vega/ts-json-schema-generator`](https://github.com/vega/ts-json-schema-generator) for generating json schema from typescript\n- [`fast-json-stringify`](https://github.com/fastify/fast-json-stringify) for faster JSON response serialization\n- [`fastify`](https://github.com/fastify/fastify) for inspiration or unified validation and serialization using JSON schema\n\n# Roadmap\n\n- [ ] More configurations\n\n# Development\n\n```\nnpm install\nnpm install --no-save next\n```\n\n# License\n\nMIT\n\n","readmeFilename":"README.md"}