{"_id":"prisma-client-types-generator","_rev":"8-c546d04e92c6453a7483d96d02c3730d","name":"prisma-client-types-generator","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"prisma-client-types-generator","version":"0.0.1","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@0.0.1","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"dist":{"shasum":"f637430a8186202290f84be39ff1468973b5efb3","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-0.0.1.tgz","fileCount":6,"integrity":"sha512-z+9M1er3kzCnHVHclZDLTiwM23FQM1Y36L87B3tyx79YLkYHLKO/Cf1mC0Cp1d0arTG9F+ar0rpWGdErn8FCFA==","signatures":[{"sig":"MEUCIQDdQG/vLLi8gknJxT1U2klbVQtNovqZ4IyWw+yw890gzAIgEAkBTi2xKyitfQXitxgmW84x0x7Kf8vK4hwHk2ydK18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15398},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"pnpm prisma generate --schema test/schemas/full.prisma","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/private/var/folders/hp/6whm15ss4m9c0md15g1720nc0000gp/T/f7051a4cee06e2f0247afe1a5b51dbe8/prisma-client-types-generator-0.0.1.tgz","_integrity":"sha512-z+9M1er3kzCnHVHclZDLTiwM23FQM1Y36L87B3tyx79YLkYHLKO/Cf1mC0Cp1d0arTG9F+ar0rpWGdErn8FCFA==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@prisma/generator-helper":"^5.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","jest":"^29.7.0","tsup":"^8.3.5","prisma":"^5.22.0","ts-node":"^10.9.2","typescript":"^5.7.2","@babel/core":"7.26.0","@types/jest":"^29.5.14","@types/node":"^22.9.3","deverything":"^1.10.1","@prisma/client":"^5.22.0","@changesets/cli":"^2.27.10","@babel/preset-env":"^7.26.0","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=5","@prisma/client":">=5"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_0.0.1_1732492326450_0.06886934218634244","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"prisma-client-types-generator","version":"0.0.2","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@0.0.2","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"dist":{"shasum":"301d866a2e4eb5acca569e281ce8f4a70dc43efc","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-0.0.2.tgz","fileCount":6,"integrity":"sha512-nisF4/AozrksDpFkeE4LV6DLOBLspuyNQjtOhi3dpG9NiLcPL6xYqqzAN71i3MoCE1enxe7TCGablaXTKxPVaQ==","signatures":[{"sig":"MEUCIQDCXyxw0Yi8+b6curFa1k6+5wVGqgrjeWLTEJ2uwZvC+gIgXMF6EHauvRGNPa0OOXV/uY+F0CUEZA/MfRoOSz9qOJ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15398},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"pnpm prisma generate --schema test/schemas/full.prisma","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/tmp/32d53d7badc185087b2ec3d6557ed056/prisma-client-types-generator-0.0.2.tgz","_integrity":"sha512-nisF4/AozrksDpFkeE4LV6DLOBLspuyNQjtOhi3dpG9NiLcPL6xYqqzAN71i3MoCE1enxe7TCGablaXTKxPVaQ==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@prisma/generator-helper":"^5.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","jest":"^29.7.0","tsup":"^8.3.5","prisma":"^5.22.0","ts-node":"^10.9.2","typescript":"^5.7.2","@babel/core":"7.26.0","@types/jest":"^29.5.14","@types/node":"^22.9.3","deverything":"^1.10.1","@prisma/client":"^5.22.0","@changesets/cli":"^2.27.10","@babel/preset-env":"^7.26.0","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=5","@prisma/client":">=5"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_0.0.2_1732494275614_0.3285585026082942","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"prisma-client-types-generator","version":"0.0.3","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@0.0.3","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"bin":{"prisma-client-types-generator":"dist/index.js"},"dist":{"shasum":"64668bee503757bd4f180681c2db95703b71c63a","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-0.0.3.tgz","fileCount":6,"integrity":"sha512-ENbR3rwKH4uNdRDk6Da5Fls9oVyKxYWh9k9AoAEC1ykr4Ktoofz7e0hScrmScohYNAR9eQgPYEWaVKiA4x/w6Q==","signatures":[{"sig":"MEYCIQDN9dlCiCj0FeBCg6/FBjiMR5pM7dTS4KydmB9BJuq6LwIhAIYGBbva4zhvx7IkSNp4oYy4yxH6bINmFAYttYRdcTdp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15631},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-0.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"pnpm prisma generate --schema test/schemas/full.prisma","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/tmp/ed9f44ca225152f556a2d1fc349fcf19/prisma-client-types-generator-0.0.3.tgz","_integrity":"sha512-ENbR3rwKH4uNdRDk6Da5Fls9oVyKxYWh9k9AoAEC1ykr4Ktoofz7e0hScrmScohYNAR9eQgPYEWaVKiA4x/w6Q==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@prisma/generator-helper":"^5.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","jest":"^29.7.0","tsup":"^8.3.5","prisma":"^5.22.0","ts-node":"^10.9.2","typescript":"^5.7.2","@babel/core":"7.26.0","@types/jest":"^29.5.14","@types/node":"^22.9.3","deverything":"^1.10.1","@prisma/client":"^5.22.0","@changesets/cli":"^2.27.10","@babel/preset-env":"^7.26.0","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=5","@prisma/client":">=5"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_0.0.3_1732494741440_0.986927261373","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"prisma-client-types-generator","version":"0.1.0","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@0.1.0","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"bin":{"prisma-client-types-generator":"dist/index.js"},"dist":{"shasum":"f25f04a462b5890a5a81f6a0b1c571018b1c95e7","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-0.1.0.tgz","fileCount":7,"integrity":"sha512-LcwSsj6uOzNoWjw6ARVPrF3Oa4sa5sy9mSYDng7YM7gI3wzYfNAPYjFv+lUeUhaRhaoIjpE55/cyUCNwx9Lmmw==","signatures":[{"sig":"MEUCIQD82ISNIz/1RE3fdeS45kXEkr5+bBdBaI25WDq6IsMXBQIgM/z8HlPdaivPlDv8D2w80fCAYxCFLgoG8cfq51ebc1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20550},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"sh ./test/test.sh","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm test && pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/tmp/d3676499acde61e94adaf8b02acf6e4f/prisma-client-types-generator-0.1.0.tgz","_integrity":"sha512-LcwSsj6uOzNoWjw6ARVPrF3Oa4sa5sy9mSYDng7YM7gI3wzYfNAPYjFv+lUeUhaRhaoIjpE55/cyUCNwx9Lmmw==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@prisma/generator-helper":"^5.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","tsx":"^4.19.2","jest":"^29.7.0","tsup":"^8.3.5","prisma":"^5.22.0","ts-node":"^10.9.2","typescript":"^5.7.2","@babel/core":"7.26.0","@types/jest":"^29.5.14","@types/node":"^22.9.3","deverything":"^1.10.1","@prisma/client":"^5.22.0","@changesets/cli":"^2.27.10","@babel/preset-env":"^7.26.0","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=5","@prisma/client":">=5"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_0.1.0_1732498160908_0.8451568921021244","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"prisma-client-types-generator","version":"0.1.1","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@0.1.1","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"bin":{"prisma-client-types-generator":"dist/index.js"},"dist":{"shasum":"6fa3896e0496f5df6ddd506a480dd8beaf14919c","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-0.1.1.tgz","fileCount":6,"integrity":"sha512-vpNw59L6g8gRiv8CpuQGl52xSWZC+HbveenuEp1ItMnEpmdCvinD4wrl6g/0iYf/jiQ8Ko44QV8ZPcsCW61bqg==","signatures":[{"sig":"MEUCIQCy89xtcodya+8sYcFtd63DY8mZ8PU0UtEUi8POQJLibwIgBvc3/YS9rPkELzH5qgZMtzo/qjSNIf9nUEkkoTeWZec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15904},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"sh ./test/test.sh","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","prepublish":"pnpm test && pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/tmp/b7c2b5bf4d2b380b51afa099f76155b8/prisma-client-types-generator-0.1.1.tgz","_integrity":"sha512-vpNw59L6g8gRiv8CpuQGl52xSWZC+HbveenuEp1ItMnEpmdCvinD4wrl6g/0iYf/jiQ8Ko44QV8ZPcsCW61bqg==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@prisma/generator-helper":"^5.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","tsx":"^4.19.2","jest":"^29.7.0","tsup":"^8.3.5","prisma":"^5.22.0","ts-node":"^10.9.2","typescript":"^5.7.2","@babel/core":"7.26.0","@types/jest":"^29.5.14","@types/node":"^22.9.3","deverything":"^1.10.1","@prisma/client":"^5.22.0","@changesets/cli":"^2.27.10","@babel/preset-env":"^7.26.0","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=5","@prisma/client":">=5"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_0.1.1_1732823910026_0.09386311943820824","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"prisma-client-types-generator","version":"1.0.0","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@1.0.0","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"bin":{"prisma-client-types-generator":"dist/index.js"},"dist":{"shasum":"75137e4a736ef5a88fa6ad5803dd898662f46561","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-1.0.0.tgz","fileCount":6,"integrity":"sha512-VPrhAZmCg/I50IKRkl7y3z5y5kebK11MRJsoAaM+vThQdb25nhmLy96/jHptS4YBb8enxTtpNVH50C7uZeeWNg==","signatures":[{"sig":"MEYCIQDRJbjRm7Cd5iqireEumOtDMmqTMqWPhvbwVjGjA4jizgIhAOzO5P5oeqODDTQqef+1GUmLD72Skhp2tHZ5T9vV9ME/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20642},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"sh ./test/test.sh","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm test && pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/private/var/folders/hp/6whm15ss4m9c0md15g1720nc0000gp/T/d8b8f4c4819a8dfc93529a4fcd34f692/prisma-client-types-generator-1.0.0.tgz","_integrity":"sha512-VPrhAZmCg/I50IKRkl7y3z5y5kebK11MRJsoAaM+vThQdb25nhmLy96/jHptS4YBb8enxTtpNVH50C7uZeeWNg==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.9.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"22.13.1","dependencies":{"@prisma/generator-helper":"^6.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","tsx":"^4.19.3","jest":"^29.7.0","tsup":"^8.4.0","prisma":"^6.5.0","ts-node":"^10.9.2","typescript":"^5.8.2","@babel/core":"7.26.10","@types/jest":"^29.5.14","@types/node":"^22.13.11","deverything":"^3.0.0","@prisma/client":"^6.5.0","@changesets/cli":"^2.28.1","@babel/preset-env":"^7.26.9","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=6","@prisma/client":">=6"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_1.0.0_1742673183880_0.0018625138216430415","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"prisma-client-types-generator","version":"1.1.0","keywords":["prisma","generator","types","safe","client"],"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","_id":"prisma-client-types-generator@1.1.0","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"homepage":"https://github.com/codeledge/prisma-tools#readme","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"bin":{"prisma-client-types-generator":"dist/index.js"},"dist":{"shasum":"be473b6ca04985f24f6528b00a092ccfbc45ad0f","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-1.1.0.tgz","fileCount":6,"integrity":"sha512-Z4ZNNkbPAeno+mEQqZjx7vUXaiVTS/FCHbH/Pix+VtGhd+hWoF9Y6Fp4MZQvcXyehHPjOgVbDF6O5eQ+h0L+gQ==","signatures":[{"sig":"MEUCIQDmB4caLW4fg/uZ7LmlGcFQi2voQ/rO2dAdCMuyZNirPAIgLk0nAI4yC1zPVgDQeTMF+w+SLtm/JXuRGJ7ropHE+uQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22816},"main":"./dist/index.js","_from":"file:prisma-client-types-generator-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"pnpm build --watch","lint":"eslint src --fix","test":"sh ./test/test.sh","build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","release":"pnpm changeset && pnpm changeset version","prepublish":"pnpm test && pnpm build"},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"_resolved":"/tmp/77386299ba14bd3d4c9822d9cd68bf84/prisma-client-types-generator-1.1.0.tgz","_integrity":"sha512-Z4ZNNkbPAeno+mEQqZjx7vUXaiVTS/FCHbH/Pix+VtGhd+hWoF9Y6Fp4MZQvcXyehHPjOgVbDF6O5eQ+h0L+gQ==","repository":{"url":"git+https://github.com/codeledge/prisma-tools.git","type":"git","directory":"packages/prisma-client-types-generator"},"_npmVersion":"10.8.2","description":"Generate safe types for the browser and other uses","directories":{},"_nodeVersion":"20.19.2","dependencies":{"@prisma/generator-helper":"^6.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","tsx":"^4.19.3","jest":"^29.7.0","tsup":"^8.4.0","prisma":"^6.5.0","ts-node":"^10.9.2","typescript":"^5.8.2","@babel/core":"7.26.10","@types/jest":"^29.5.14","@types/node":"^22.13.11","deverything":"^3.0.0","@prisma/client":"^6.5.0","@changesets/cli":"^2.28.1","@babel/preset-env":"^7.26.9","eslint-config-custom":"0.0.0","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"prisma":">=6","@prisma/client":">=6"},"_npmOperationalInternal":{"tmp":"tmp/prisma-client-types-generator_1.1.0_1749417268305_0.08558121435731203","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"prisma-client-types-generator","version":"2.0.0","description":"Generate safe types for the browser and other uses","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","bin":{"prisma-client-types-generator":"dist/index.js"},"keywords":["prisma","generator","types","safe","client"],"repository":{"type":"git","url":"git+https://github.com/codeledge/prisma-tools.git","directory":"packages/prisma-client-types-generator"},"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","peerDependencies":{"@prisma/client":">=7","prisma":">=7"},"dependencies":{"@prisma/generator-helper":"^7.2.0"},"devDependencies":{"@babel/core":"7.26.10","@babel/preset-env":"^7.26.9","@babel/preset-typescript":"^7.26.0","@changesets/cli":"^2.28.1","@prisma/client":"^7.2.0","@types/jest":"^29.5.14","@types/node":"^22.13.11","deverything":"^3.0.0","jest":"^29.7.0","prisma":"^7.2.0","ts-node":"^10.9.2","tsd":"^0.31.2","tsup":"^8.4.0","tsx":"^4.19.3","typescript":"^5.8.2","eslint-config-custom":"0.0.0"},"scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --treeshake","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","dev":"pnpm build --watch","lint":"eslint src --fix","prepublish":"pnpm test && pnpm build","release":"pnpm changeset && pnpm changeset version","test":"sh ./test/test.sh"},"_id":"prisma-client-types-generator@2.0.0","bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"homepage":"https://github.com/codeledge/prisma-tools#readme","_integrity":"sha512-pRjOWn1MuVqGujiFafacQnQRali1eFmnHJKkS1f8ldcmHMUjQuWW4rek4j3/H7aDLMUVuiLmzKr9Rboi19GVAQ==","_resolved":"/private/var/folders/x0/s8jq5_617sz0b23_v6sr51wr0000gn/T/063e7c139d7aee466f28b3eb355389b1/prisma-client-types-generator-2.0.0.tgz","_from":"file:prisma-client-types-generator-2.0.0.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-pRjOWn1MuVqGujiFafacQnQRali1eFmnHJKkS1f8ldcmHMUjQuWW4rek4j3/H7aDLMUVuiLmzKr9Rboi19GVAQ==","shasum":"b119ac4e081b39bf057744c8dec284ed048dc996","tarball":"https://registry.npmjs.org/prisma-client-types-generator/-/prisma-client-types-generator-2.0.0.tgz","fileCount":6,"unpackedSize":22810,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC0gsAgjW3g2ztuNZbMetklZPZqlkJKsc7VPi+jqvTPmwIgC/ycH+L2iYfzfQLYhv945QQV4bOoAfjXHJlxck2fnEw="}]},"_npmUser":{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"},"directories":{},"maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prisma-client-types-generator_2.0.0_1766504011321_0.044620807464440304"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-24T23:52:06.348Z","modified":"2025-12-23T15:33:31.732Z","0.0.1":"2024-11-24T23:52:06.645Z","0.0.2":"2024-11-25T00:24:35.813Z","0.0.3":"2024-11-25T00:32:21.612Z","0.1.0":"2024-11-25T01:29:21.068Z","0.1.1":"2024-11-28T19:58:30.204Z","1.0.0":"2025-03-22T19:53:04.059Z","1.1.0":"2025-06-08T21:14:28.495Z","2.0.0":"2025-12-23T15:33:31.520Z"},"bugs":{"url":"https://github.com/codeledge/prisma-tools/issues"},"author":{"name":"Orlando Groppo","email":"orlando.groppo@gmail.com"},"license":"MIT","homepage":"https://github.com/codeledge/prisma-tools#readme","keywords":["prisma","generator","types","safe","client"],"repository":{"type":"git","url":"git+https://github.com/codeledge/prisma-tools.git","directory":"packages/prisma-client-types-generator"},"description":"Generate safe types for the browser and other uses","maintainers":[{"name":"orlandogroppo","email":"orlando.groppo@gmail.com"}],"readme":"# Prisma Client Types Generator\n\nA tool to generate TypeScript types from your Prisma schema, can be safely imported on the browser.\n\n## what does it do\n\nThis package generates TypeScript types from your Prisma schema file that can be safely used in browser environments. Unlike the types generated by Prisma Client, these types:\n\n- Are pure TypeScript types with no runtime dependencies\n- Can be imported directly in browser code without bundling issues\n- Don't include any Prisma-specific runtime code or decorators\n- Only include the type information needed for type checking and IDE support\n\nThis is particularly useful when you want to share types between your backend and frontend code without bringing in the full Prisma Client library to the browser.\n\nFor example, if you have a Prisma model it will generate:\n\n- ModelValues => the scalars\n- ModelKeys => the unique keys\n- Model => keys and values, as they are represented in the database\n- ModelExtended => the model with all the relations\n\n## Usage Examples\n\n### 1. Basic Setup\n\nFirst, add the generator to your `schema.prisma`:\n\n```prisma\ngenerator types {\n  provider = \"prisma-client-types-generator\"\n  output   = \"./generated/types.ts\"\n}\n```\n\n### 2. Example Prisma Schema\n\n```prisma\nmodel User {\n  id        Int      @id @default(autoincrement())\n  email     String   @unique\n  name      String?\n  posts     Post[]\n  createdAt DateTime @default(now())\n}\n\nmodel Post {\n  id        Int      @id @default(autoincrement())\n  title     String\n  content   String?\n  author    User     @relation(fields: [authorId], references: [id])\n  authorId  Int\n  createdAt DateTime @default(now())\n}\n```\n\n### 3. Generated Types Usage\n\nAfter running `prisma generate`, you can use the generated types in your frontend code:\n\n```typescript\nimport type { User, UserExtended, Post, PostExtended } from \"./generated/types\";\n\n// Basic type usage\nconst user: User = {\n  id: 1,\n  email: \"user@example.com\",\n  name: \"John Doe\",\n  createdAt: new Date(),\n};\n\n// Using extended types with relations\nconst postWithAuthor: PostExtended = {\n  id: 1,\n  title: \"My First Post\",\n  content: \"Hello World!\",\n  authorId: 1,\n  createdAt: new Date(),\n  author: {\n    id: 1,\n    email: \"user@example.com\",\n    name: \"John Doe\",\n    createdAt: new Date(),\n  },\n};\n\n// Type-safe API responses\nasync function fetchUser(id: number): Promise<UserExtended> {\n  const response = await fetch(`/api/users/${id}`);\n  return response.json();\n}\n```\n\n### 4. Configuration Options\n\nYou can customize the generator output using configuration options in your `schema.prisma`:\n\n```prisma\ngenerator types {\n  provider = \"prisma-client-types-generator\"\n  output   = \"./generated/types.ts\"\n  config   = {\n    pascalCase = true\n    aliases    = \"./prisma/aliases.ts\"\n  }\n}\n```\n\nThen create a file `prisma/aliases.ts` with your type aliases:\n\n```typescript\n// prisma/aliases.ts\n// CommonJS style (recommended for compatibility with require)\nmodule.exports = {\n  outdated_legacy_table: \"NewModelName\",\n  outdated_legacy_enum: \"NewEnumName\",\n};\n\n// Or ESM style (if you're using ESM modules)\nexport default {\n  outdated_legacy_table: \"NewModelName\",\n  outdated_legacy_enum: \"NewEnumName\",\n};\n```\n\nThe aliases file should export a default object where:\n\n- Keys are the model names from your Prisma schema\n- Values are the desired type names in the generated output\n\n### 5. Type Safety in API Routes\n\n```typescript\nimport type { User, Post } from \"./generated/types\";\n\n// Type-safe API route handler\nexport async function createPost(\n  data: Omit<Post, \"id\" | \"createdAt\">\n): Promise<Post> {\n  // Your API logic here\n  return {\n    id: 1,\n    ...data,\n    createdAt: new Date(),\n  };\n}\n```\n\nThese types can be safely used in both frontend and backend code, providing type safety without bringing in the full Prisma Client runtime.\n","readmeFilename":"README.md"}