{"_id":"zenstack-trpc","_rev":"21-262ed24f03b8707ead9afbc452fe49a6","name":"zenstack-trpc","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"name":"zenstack-trpc","version":"0.1.0","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.0","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"57ac28040aeb017b3624a336154773cd7466621e","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.0.tgz","fileCount":12,"integrity":"sha512-P47jgFg/+dkkBW0/tTEdYKWBEf4IOvAWoJiSpZTFnPf2k7uOo2I37IJ59ljbTCM+fekcTh0M2kLGRApBnZEd8g==","signatures":[{"sig":"MEYCIQDNEf2wjR/WWyuSc1dHs4g1UvBEeU9+T59EgotAkSZqnwIhANBze8MfbG/haW+5jCXc1xOBh/0mqCmu0IrUQCdL07r3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49406},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a331f5db8674b9952f16fdd0970b88ec91256bd4","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.0_1767647333454_0.02796173236447186","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"zenstack-trpc","version":"0.1.1","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.1","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"3b9ddafd0246528fab7396e2a54f1dd68a67796a","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.1.tgz","fileCount":12,"integrity":"sha512-cVQS1W18LmFotKKn6l/JA6wBHt95CwuACSDWjhtyATB/yAkWcXG8A6R8/9byM+Tkax+Htr1brNC42j138gsDgQ==","signatures":[{"sig":"MEUCIB0n5oBPXHHFoslZP1Mg+ijCTdAxXnsoqheFD+8TZb++AiEA5VhWNU6mUTJUme/jrzNJG8xZWfpU8HVQe092EWBuWhA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42902},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ba3dd383671f6aaf6d63c3a15a7b689a36891805","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.1_1767652937338_0.6461435707349013","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"zenstack-trpc","version":"0.1.3","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.3","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"9da95035680ca2ab2ea1475015e6fc87f91730ee","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.3.tgz","fileCount":12,"integrity":"sha512-lz6VqEWFayGV8cj0/3N5X1FPppzXqJtwCDUaEmyYoOARrkTfw/81fuwt0gHWJCdp57Fi1fKuBEPsdVqZekyTOQ==","signatures":[{"sig":"MEYCIQDdi8iyQErBLa6pMgMGMd1Q8uh/qSKMQfodFlK784I75AIhAMRdR2EUFOD2DjJmdgu+lvN92k/1wi/XyoBc3SxbXh7B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48352},"main":"./dist/index.js","type":"module","_from":"file:zenstack-trpc-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"_resolved":"/private/var/folders/2d/y4lxzd_j4dq_nk41sbww02600000gn/T/a66515d79dc9c71cb6c213e5de0581b6/zenstack-trpc-0.1.3.tgz","_integrity":"sha512-lz6VqEWFayGV8cj0/3N5X1FPppzXqJtwCDUaEmyYoOARrkTfw/81fuwt0gHWJCdp57Fi1fKuBEPsdVqZekyTOQ==","repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.3_1767739674904_0.1806721792054815","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"zenstack-trpc","version":"0.1.4","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.4","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"ddbd726f057264aec6861894aa672f120d73ff68","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.4.tgz","fileCount":12,"integrity":"sha512-w0qWNOaSE7URrzmmThaSt8k01eaxCRq1EDQ1VVgSYspKkf6ktpC+4C14TJNWXPT1u1SYJwUER6ixGsELFD+2zQ==","signatures":[{"sig":"MEQCIGRBTICS8PwfgIMUcG9+lm0lyDoU0znkkSU2mZNnVFZ2AiB8IFRrm2tew1rv2Gx03yR1bQwjKQOav7QTdmoKoD0NAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48766},"main":"./dist/index.js","type":"module","_from":"file:zenstack-trpc-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"_resolved":"/private/var/folders/2d/y4lxzd_j4dq_nk41sbww02600000gn/T/238821436ee92d5bbb049ecff226dbcb/zenstack-trpc-0.1.4.tgz","_integrity":"sha512-w0qWNOaSE7URrzmmThaSt8k01eaxCRq1EDQ1VVgSYspKkf6ktpC+4C14TJNWXPT1u1SYJwUER6ixGsELFD+2zQ==","repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.4_1767740175121_0.8144196079849588","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"zenstack-trpc","version":"0.1.5","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.5","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"ee1c4fcc53d315ca55aafecf00daa9b52c88d180","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.5.tgz","fileCount":15,"integrity":"sha512-UdtEZe2XEpSZ976cjPu01ghbVnzyVdXAK5FSxPD5WEYS+d2aiT3IqshG3eeXPbc6Ree72UFOk/SnqspHJOUcMw==","signatures":[{"sig":"MEUCIQCKPoFZ2JVh9a5pZLdsbhiBx+68cYcQ0eIMSuEOOvkKGAIgIZwB0KOXXQfTKqWKo49VeGJM1MPBoi+Zse6FQya2mRI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75687},"main":"./dist/index.js","type":"module","_from":"file:zenstack-trpc-0.1.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"_resolved":"/private/var/folders/2d/y4lxzd_j4dq_nk41sbww02600000gn/T/6f38595cec87f081c79d74f0c6e85fef/zenstack-trpc-0.1.5.tgz","_integrity":"sha512-UdtEZe2XEpSZ976cjPu01ghbVnzyVdXAK5FSxPD5WEYS+d2aiT3IqshG3eeXPbc6Ree72UFOk/SnqspHJOUcMw==","repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.5_1767742862268_0.5191136304234634","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"zenstack-trpc","version":"0.1.6","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.6","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"8e356b422714a626c268fe85eb9f469f9fd30a28","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.6.tgz","fileCount":15,"integrity":"sha512-KWmcvx5zyA0jus0bll+lmJoYM5IxGrfFaTDW2kz1KaFU66K7uU3rrcQQJW0QpjYkCd9ejWJsse8MLE8zaoFWNA==","signatures":[{"sig":"MEUCIQDY+MZ+tUawO1WTPX3c59H/6KAYP3IHGuGc+xWvzhFU6gIgMzwJb3KxwOb7Q/fJtD0DuFcujxIn3sypoV/dkF6q0Eo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75759},"main":"./dist/index.js","type":"module","_from":"file:zenstack-trpc-0.1.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"_resolved":"/private/var/folders/2d/y4lxzd_j4dq_nk41sbww02600000gn/T/c76a24521ea4272ec537fe77a4e8c7d9/zenstack-trpc-0.1.6.tgz","_integrity":"sha512-KWmcvx5zyA0jus0bll+lmJoYM5IxGrfFaTDW2kz1KaFU66K7uU3rrcQQJW0QpjYkCd9ejWJsse8MLE8zaoFWNA==","repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.6_1767743104813_0.960313472812542","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"zenstack-trpc","version":"0.1.9","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.9","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"9f002186c778eb9a4ff1c8333812d5f6487604f9","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.9.tgz","fileCount":15,"integrity":"sha512-eRSHWIaoWQOjlhiN32ukGOnPtLIAXdsKpb02lEsjleIpn7OidD+kMvDhBzfDr0iTEy5wDoBPI5oPdo6hRGNSIA==","signatures":[{"sig":"MEQCIFAcA6rkplVBAQ3kC438gVLf95UPvYtVO2JjE8+vC4FxAiANFBabthsFQJHXipryikHfm9qh/jYHM8RfxwwhYPyOiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76922},"main":"./dist/index.js","type":"module","_from":"file:zenstack-trpc-0.1.9.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"olup","email":"loup.topalian@gmail.com"},"_resolved":"/private/var/folders/2d/y4lxzd_j4dq_nk41sbww02600000gn/T/dc3a5c1cb6684b74ab916943d106ecf1/zenstack-trpc-0.1.9.tgz","_integrity":"sha512-eRSHWIaoWQOjlhiN32ukGOnPtLIAXdsKpb02lEsjleIpn7OidD+kMvDhBzfDr0iTEy5wDoBPI5oPdo6hRGNSIA==","repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"10.9.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.9_1767791685773_0.946432488155436","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"zenstack-trpc","version":"0.1.15","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.15","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"0549a117e5a5d8d4b73e5684e7e82336a760a386","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.15.tgz","fileCount":15,"integrity":"sha512-12HBHRV5Z1f5dfZpOeGhaTJgIFwpaMq2a2q3UGz0NvU2vATwCKsWLP1bbR6VD1UIbyr61agPQTWniJRbQW0p3w==","signatures":[{"sig":"MEUCIDusU2paCjGJ7LUcDi5OfF1YpbJUhSa/ZeKodXljmrN1AiEAsFU/Z3Onjk2+b5zYFTIrOM2lQQRws6pX0RD9N4277uE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76964},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e88461c877de7b508cc42f64afeb1e02744447ec","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","prisma":"^7.2.0","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.1.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.15_1767905220699_0.5741253643896937","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"zenstack-trpc","version":"0.1.16","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.16","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"1eacb93c7008efa75b82f15c94c6704016122049","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.16.tgz","fileCount":15,"integrity":"sha512-DhAA04mW0gEzTP2ybKUM2VeFS+1HpndeUxRpKigSayi5Hf0QcyXT2BLhxt5Ugp4AlGtAOxoa82q0dC4jpHa2Uw==","signatures":[{"sig":"MEUCIQCCmyK2NwMOO5KXxjeIabs6qNqmf3BVKKC5+gDT6tbDogIgffyucUKcLdvl28bpDD5oiwJNwcuQSGqej83/+Z+syno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.16","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77520},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"6d3dd20b05e369a0cf57eaefa93a42808cc9594b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.16_1767994208593_0.4313271643816943","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"zenstack-trpc","version":"0.1.17","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.17","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"5b865e6206ac6fff0a88996c6cfc573c0bd820fd","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.17.tgz","fileCount":18,"integrity":"sha512-AnIjsar8TmEklHtRVG5PYtE+E6GelVKtV/0Yr1xAXs1GANn5Lb7JlW2dGB9kGZQgpYbO41belJ3hx8agNLQzOQ==","signatures":[{"sig":"MEUCIQCOI9TkMy3aRioinugeRQReEmXkrXq1ZKmEHqcfsteMNgIgLjyvWPLTfzl95AVtTymYRkmRCtWt1nuGk6nyUopiGvg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.17","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76918},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"5b89d09a177359c09927fbb35729ac9c7fb3b567","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.17_1768079442736_0.045052910033015925","host":"s3://npm-registry-packages-npm-production"}},"0.1.18":{"name":"zenstack-trpc","version":"0.1.18","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.18","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"d599f9ae0429411bbb46c67ee451f15071e3a2d1","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.18.tgz","fileCount":18,"integrity":"sha512-mHsjdD6UNNfH4j571xTrftESbZw131cJMYGhqE9AzIjb9JOktDbpS6xSqFYAvdXHrIUAyouuX0iUPAPmHINavw==","signatures":[{"sig":"MEQCIDZetUGfPcGyievkti5xtVP3AlPmr8trwK0aOzYsNnQ4AiAkzH3437kjTXqu7e0h5Ck/jIBU0OthMLLETQrNpkSNIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.18","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":88486},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"76085d98051e29ecd13fab4f6dc5b54b1337c9ab","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.18_1768217843418_0.8149203798369511","host":"s3://npm-registry-packages-npm-production"}},"0.1.19":{"name":"zenstack-trpc","version":"0.1.19","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.19","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"bea67ead7ba07b8787e97ec69201ecd94a737c6c","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.19.tgz","fileCount":18,"integrity":"sha512-K3K5erZqYMX8YxuYclN7QI3+vx3hmxHjE8AoTHzLuYIWcqZYFhBkY7agaKK5Jcyg5qlyopZUMD9yIAIWLY4JyQ==","signatures":[{"sig":"MEUCIBaDRlzo/fiX3Lw7ZElRHvGLV0k8x+08AsJv1EvWxR0iAiEA8hyziTPQYesxKOr9nKVbD8b9WxTaWN39/VVXzUqV9Ds=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.19","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":88779},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"09f762b2461facdb99e1cefe5746c6f25412a3f6","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.19_1768220473729_0.24917441600480683","host":"s3://npm-registry-packages-npm-production"}},"0.1.20":{"name":"zenstack-trpc","version":"0.1.20","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.20","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"ded5d96754f6108ada026307e2888667fee639b0","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.20.tgz","fileCount":18,"integrity":"sha512-/0UDg3al2AxVj0W6bQQ0iSe7UvAlKfCF2tI2xIw0TEH+YafRWZ2kXtQbwXNJn8fbYQPGnuI3bKRIM2L75IBXOQ==","signatures":[{"sig":"MEUCIFcy7Ft91vrUJhPemINg1M4rbIRJPSaYPtGRmr7ocgjfAiEA4xD/LE8q43NqxLkwfbHP1J4EtYMN7bBSQzAGdgJPZRA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.20","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":89563},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"8c6804da0ed799d719a91bf6a9d6964bca5e3f07","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.20_1768560274174_0.973352481234883","host":"s3://npm-registry-packages-npm-production"}},"0.1.21":{"name":"zenstack-trpc","version":"0.1.21","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.21","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"c9974f0153fc972bc1744565ff4afa563f3c0ca5","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.21.tgz","fileCount":18,"integrity":"sha512-Ce1MyED1OPyMeqMNLZcXQln+LlXkcgtwA4yEoIXg+4Jd62Xvw4BHXoUpHKtZ2I++ruPKehiZfp1x7SFtiDqs5w==","signatures":[{"sig":"MEYCIQCAl4kv9ru0/Se5VcicKhitxxoIaZTXtfUy7oXzdaNYsgIhALA1wzdKYNW+g2bkc/osZD8X+8Bly5qjmhA3Gc04Phui","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":89567},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"8e73e7e4aeb76ee9eb9ed836fb13a92b2c3eb54e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.8.1","@trpc/server":"^11.8.1","better-sqlite3":"^12.5.0","@zenstackhq/orm":"^3.1.0","@trpc/react-query":"^11.8.1","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.21_1770219974175_0.7074215615042585","host":"s3://npm-registry-packages-npm-production"}},"0.1.22":{"name":"zenstack-trpc","version":"0.1.22","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.1.22","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"d5f438fc8dc435ecbce8e4e53d35ee8564ee6e2d","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.1.22.tgz","fileCount":18,"integrity":"sha512-T3C4DESMt5K0frsZQX3TQoRvJawQvcwIoPwPquMN+CeRF3a9BNoqd/yAiWilNaCb00evuiuEPAWsz1lffnNhDg==","signatures":[{"sig":"MEUCIQCDirqjs7m47a1EeE1R+AotfxJfDG1rCfxm4k7xJ/5rrAIgW0tzfRyX5QiG/I25MN1yMnLYIBlaZglhMkb+76XeB00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.1.22","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":89493},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"a49632fd3d99f2f13ece8b8ea32141dab9cac853","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.6.2","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.9.0","@trpc/server":"^11.9.0","better-sqlite3":"^12.5.0","@zenstackhq/cli":"3.3.2","@zenstackhq/orm":"^3.3.2","@trpc/react-query":"^11.9.0","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.0.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.1.22_1770497929017_0.8860485850345825","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"zenstack-trpc","version":"0.2.0","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.2.0","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"3a899366009cbbe21183860ab24a705a4fc98518","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.0.tgz","fileCount":15,"integrity":"sha512-vE+d8ypR7N1B8Z/x3LMs6JsGHF3W5HoL8h4kaTNHDWYck7VxnHM0ZNK/RmsIj/GwBOru2WDNxIgs+HY+XDOZpw==","signatures":[{"sig":"MEUCIQCkiA+KGMfPIBTCypLPCXKR7rQqzztT1ObuFll4FdEq6AIgR15pkpSrIDHeiG7VlWuRCr1+idILYBYEjfxloLwXukM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70572},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"3ad9386129b0140d9502cfdbb49aa3f4d772a017","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.8.0","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.9.0","@trpc/server":"^11.9.0","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.4.0","@zenstackhq/orm":"^3.4.0","@zenstackhq/zod":"^3.4.0","@trpc/react-query":"^11.9.0","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.2.0_1772442649315_0.46728153291466534","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"zenstack-trpc","version":"0.2.1","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.2.1","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"6dd31f0b39e86f2defab46c8509482090691ff11","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.1.tgz","fileCount":15,"integrity":"sha512-Ks7ObiLwc2qsMv8X434SXhL0KaXMSPNNVsRWGNgLBRb8vXu2o2F4uZTYrRmaDmvonbjuRwY0Jw1+yLsHn5WxJQ==","signatures":[{"sig":"MEQCIQD9oizcUWEUBSUv0fahLNW5GBrhgsMMTw+VLZZtot/jsQIfCNZT+zQNbbp+qAdhVrMYFXjYVC/zHxx3mRO1M3nwqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70695},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"c274f6de1e8bb8851f156ed8f3119c8c23e19412","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.8.0","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.5","kysely":"^0.28.9","vitest":"^4.0.16","typescript":"^5.9.3","@types/node":"^25.0.3","@trpc/client":"^11.9.0","@trpc/server":"^11.9.0","better-sqlite3":"^12.5.0","@zenstackhq/cli":"^3.4.0","@zenstackhq/orm":"^3.4.0","@zenstackhq/zod":"^3.4.0","@trpc/react-query":"^11.9.0","@tanstack/react-query":"^5.90.16","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.2.1_1772450315108_0.8351775123456919","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"zenstack-trpc","version":"0.2.2","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.2.2","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"0e6d49b9acac273084e07c067f8d1a01ae9a1ef9","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.2.tgz","fileCount":15,"integrity":"sha512-CGkYUNOLHKz2D5g/touHWYxOi7iBl5SvsxBZ9NkQEG2JTlj3OC8vkI1mQfhh1SuqOOmIBfqAzooBn8RZbgrUvA==","signatures":[{"sig":"MEUCIGVkJ8Kjlhu+/4L++mwWkfhDcYHdKKnUKkpA47oqFmYzAiEA4f/ydLH9Z3IF01OrySQ4I02MnvFO/S4z5utGR0q6NIU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76378},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"630505babea2d4c03147483006125a15ea6602bb","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.11.0","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.6","kysely":"^0.28.15","vitest":"^4.1.3","typescript":"^5.9.3","@types/node":"^25.5.2","@trpc/client":"^11.16.0","@trpc/server":"^11.16.0","better-sqlite3":"^12.8.0","@zenstackhq/cli":"^3.5.6","@zenstackhq/orm":"^3.5.6","@zenstackhq/zod":"^3.5.6","@trpc/react-query":"^11.16.0","@tanstack/react-query":"^5.96.2","@types/better-sqlite3":"^7.6.13","@typescript/native-preview":"7.0.0-dev.20260408.1"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.2.2_1775642076480_0.4555009830928891","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"zenstack-trpc","version":"0.2.3","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.2.3","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"0469cd7383538fec61fb4502029278ed20d3adb7","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.3.tgz","fileCount":15,"integrity":"sha512-rfoh3eHvJXJQJz6tMBdqEp109KAQN0Yy+48CHkGMadj9sAw2oBbEWeI4FzHOlVdUVqj78wJFPH3HembKHffeag==","signatures":[{"sig":"MEUCIQDeDuW1oHaRLXu9+hUBCDZjUb8zwKX19AVssLaYs27vrwIgcqMsEtiFjh8glFtcZ/9hdC4sfYLmNcFsIoAi5T10kMo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77003},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"053e21671fbaa41cc82c862afb2e9d62eb38d63b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.11.0","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","zod":"^4.3.6","kysely":"^0.28.15","vitest":"^4.1.3","typescript":"^5.9.3","@types/node":"^25.5.2","@trpc/client":"^11.16.0","@trpc/server":"^11.16.0","better-sqlite3":"^12.8.0","@zenstackhq/cli":"^3.5.6","@zenstackhq/orm":"^3.5.6","@zenstackhq/zod":"^3.5.6","@trpc/react-query":"^11.16.0","@tanstack/react-query":"^5.96.2","@types/better-sqlite3":"^7.6.13","@typescript/native-preview":"7.0.0-dev.20260408.1"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.2.3_1775657205871_0.8460034763632724","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"zenstack-trpc","version":"0.2.4","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","_id":"zenstack-trpc@0.2.4","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"dist":{"shasum":"ecbc0ce0f70b7e3fcd2a528c435a73b2fbe34536","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.4.tgz","fileCount":15,"integrity":"sha512-Y+xSLGnTlqcCUVnfHgSRqCbReO9NHPdiBTsUkzOiFqatTki0FQeoT+6Zn/dyq6z/ENKvwzCUBEYYo4OhcrqvCw==","signatures":[{"sig":"MEUCIQCrgzD/+y8QV9QbEG5ckE+SS8r9mM6fMZqJIUz/+DMm1wIgPSR/PYVpiB/gWDQEqfe6MIQTImNAhWKtqrlFPDFbdKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80342},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["better-sqlite3"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"38eaba9e2de52a5ff19330ff03db29ae96ceb3f8","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm run build","typecheck:tsgo":"tsgo --noEmit","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"repository":{"url":"git+https://github.com/olup/zenstack-trpc.git","type":"git"},"_npmVersion":"11.12.1","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.33.4","devDependencies":{"tsx":"^4.21.0","zod":"^4.3.6","kysely":"^0.28.15","vitest":"^4.1.3","typescript":"^6.0.3","@types/node":"^25.5.2","@trpc/client":"^11.16.0","@trpc/server":"^11.16.0","better-sqlite3":"^12.8.0","@zenstackhq/cli":"^3.5.6","@zenstackhq/orm":"^3.5.6","@zenstackhq/zod":"^3.5.6","@trpc/react-query":"^11.16.0","@tanstack/react-query":"^5.96.2","@types/better-sqlite3":"^7.6.13","@typescript/native-preview":"7.0.0-dev.20260517.1"},"peerDependencies":{"zod":">=3.0.0 || >=4.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","@trpc/react-query":">=11.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zenstack-trpc_0.2.4_1779357536975_0.41251200519408604","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"zenstack-trpc","version":"0.2.5","description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","type":"module","packageManager":"pnpm@10.33.4","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"pnpm run build","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","typecheck:tests":"tsc -p tsconfig.tests.json --noEmit","typecheck:tsgo":"tsgo --noEmit"},"pnpm":{"onlyBuiltDependencies":["better-sqlite3"]},"keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/olup/zenstack-trpc.git"},"homepage":"https://github.com/olup/zenstack-trpc#readme","bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"engines":{"node":">=18"},"peerDependencies":{"@tanstack/react-query":">=5.0.0","@trpc/react-query":">=11.0.0","@trpc/server":">=11.0.0","@zenstackhq/orm":">=3.4.0","@zenstackhq/zod":">=3.4.0","zod":">=3.0.0 || >=4.0.0"},"peerDependenciesMeta":{"@trpc/react-query":{"optional":true},"@tanstack/react-query":{"optional":true}},"devDependencies":{"@tanstack/react-query":"^5.96.2","@trpc/client":"^11.16.0","@trpc/react-query":"^11.16.0","@trpc/server":"^11.16.0","@types/better-sqlite3":"^7.6.13","@types/node":"^25.5.2","@typescript/native-preview":"7.0.0-dev.20260517.1","@zenstackhq/cli":"^3.5.6","@zenstackhq/orm":"^3.5.6","@zenstackhq/zod":"^3.5.6","better-sqlite3":"^12.8.0","kysely":"^0.28.15","tsx":"^4.21.0","typescript":"^6.0.3","vitest":"^4.1.3","zod":"^4.3.6"},"gitHead":"5e9d439c9996d68bec5dc4bac4c53d89a558bef3","_id":"zenstack-trpc@0.2.5","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-hk0mskHg07PrJluaNFik4IEDtWwoCFOMZU2ySXjT0uVvRpJA4Yi4K/VNG3aFpynNnYS17NKsEfwJKRJcEJK4JA==","shasum":"822b5aa257e41b0b17fdddddd5d40ed05547ff06","tarball":"https://registry.npmjs.org/zenstack-trpc/-/zenstack-trpc-0.2.5.tgz","fileCount":15,"unpackedSize":80945,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zenstack-trpc@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCFY87VA77m7QS0S4LMOh1FAOk0cSxcj/85a8jjwaFXwAIgTOludgkk7DxU4rxUrww7l8XFImXXf6ZilGaSygb1+Pg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a1bc625-2565-42ec-85a7-0bb903e2d3c4"}},"directories":{},"maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zenstack-trpc_0.2.5_1779450803000_0.22078509040782057"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-05T21:08:53.453Z","modified":"2026-05-22T11:53:23.494Z","0.1.0":"2026-01-05T21:08:53.594Z","0.1.1":"2026-01-05T22:42:17.483Z","0.1.3":"2026-01-06T22:47:55.097Z","0.1.4":"2026-01-06T22:56:15.266Z","0.1.5":"2026-01-06T23:41:02.407Z","0.1.6":"2026-01-06T23:45:04.978Z","0.1.9":"2026-01-07T13:14:45.941Z","0.1.15":"2026-01-08T20:47:00.868Z","0.1.16":"2026-01-09T21:30:08.735Z","0.1.17":"2026-01-10T21:10:42.896Z","0.1.18":"2026-01-12T11:37:23.547Z","0.1.19":"2026-01-12T12:21:13.877Z","0.1.20":"2026-01-16T10:44:34.323Z","0.1.21":"2026-02-04T15:46:14.360Z","0.1.22":"2026-02-07T20:58:49.184Z","0.2.0":"2026-03-02T09:10:49.471Z","0.2.1":"2026-03-02T11:18:35.254Z","0.2.2":"2026-04-08T09:54:36.610Z","0.2.3":"2026-04-08T14:06:46.069Z","0.2.4":"2026-05-21T09:58:57.144Z","0.2.5":"2026-05-22T11:53:23.155Z"},"bugs":{"url":"https://github.com/olup/zenstack-trpc/issues"},"license":"MIT","homepage":"https://github.com/olup/zenstack-trpc#readme","keywords":["zenstack","trpc","typescript","orm","prisma","typesafe","api","rpc","router","codegen"],"repository":{"type":"git","url":"git+https://github.com/olup/zenstack-trpc.git"},"description":"Auto-generate type-safe tRPC routers from ZenStack V3 schemas","maintainers":[{"name":"olup","email":"loup.topalian@gmail.com"}],"readme":"# zenstack-trpc\n\nAuto-generate fully type-safe tRPC routers from [ZenStack V3](https://zenstack.dev) schemas.\n\n## Features\n\n- **Zero codegen** - Router generated at runtime from schema metadata\n- **Full type inference** - Input AND output types from your ZenStack schema\n- **Dynamic result typing** - `include`/`select` options reflected in return types\n- **Zod validation** - Runtime input validation built-in\n- **All CRUD operations** - findMany, findUnique, create, update, delete, and more\n- **Standard tRPC** - Works with all tRPC adapters and clients\n\n## Installation\n\n```bash\nnpm install zenstack-trpc @trpc/server @zenstackhq/orm zod\n```\n\n## Quick Start\n\n### 1. Define your ZenStack schema\n\n```prisma\n// schema.zmodel\nmodel User {\n  id        String   @id @default(cuid())\n  email     String   @unique\n  name      String?\n  posts     Post[]\n  createdAt DateTime @default(now())\n  updatedAt DateTime @updatedAt\n}\n\nmodel Post {\n  id        String   @id @default(cuid())\n  title     String\n  content   String?\n  published Boolean  @default(false)\n  author    User     @relation(fields: [authorId], references: [id])\n  authorId  String\n  createdAt DateTime @default(now())\n  updatedAt DateTime @updatedAt\n}\n```\n\n### 2. Generate ZenStack artifacts\n\n```bash\nnpx zenstack generate\n```\n\n### 3. Create the tRPC router\n\n```typescript\n// server/trpc.ts\nimport { initTRPC } from \"@trpc/server\";\nimport { ZenStackClient } from \"@zenstackhq/orm\";\nimport { schema } from \"./zenstack/schema.js\";\nimport { createZenStackRouter } from \"zenstack-trpc\";\n\n// Create your database client\nconst db = new ZenStackClient(schema, {\n  dialect: yourDialect, // Kysely dialect (SQLite, PostgreSQL, MySQL, etc.)\n});\n\n// Create your tRPC instance\nconst t = initTRPC.context<{ db: typeof db }>().create();\n\n// Generate the router\nexport const appRouter = createZenStackRouter(schema, t);\nexport type AppRouter = typeof appRouter;\n```\n\n### 4. Use with tRPC client\n\n```typescript\n// client.ts\nimport { createTRPCClient, httpBatchLink } from \"@trpc/client\";\nimport type { AppRouter } from \"./server/trpc.js\";\n\nconst client = createTRPCClient<AppRouter>({\n  links: [httpBatchLink({ url: \"http://localhost:3000/trpc\" })],\n});\n\n// All operations are fully typed!\nconst users = await client.user.findMany.query();\n\n// Include relations\nconst usersWithPosts = await client.user.findMany.query({\n  include: { posts: true },\n});\n\n// Create with validation\nconst user = await client.user.create.mutate({\n  data: { email: \"alice@example.com\", name: \"Alice\" },\n});\n\n// Update\nawait client.user.update.mutate({\n  where: { id: user.id },\n  data: { name: \"Alice Smith\" },\n});\n```\n\n## Generated Router Structure\n\nFor each model in your schema, the following procedures are generated:\n\n| Queries | Mutations |\n|---------|-----------|\n| findMany | create |\n| findUnique | createMany |\n| findFirst | update |\n| count | updateMany |\n| aggregate | upsert |\n| groupBy | delete |\n| | deleteMany |\n\n## API Reference\n\n### `createZenStackRouter(schema, t, options?)`\n\nGenerates a tRPC router from a ZenStack schema.\n\n```typescript\nimport { initTRPC } from \"@trpc/server\";\nimport { createZenStackRouter } from \"zenstack-trpc\";\n\nconst t = initTRPC.context<{ db: any }>().create();\nconst appRouter = createZenStackRouter(schema, t);\n```\n\nPass a custom base procedure to apply middleware (e.g., auth) to all generated routes:\n\n```typescript\nimport { TRPCError } from \"@trpc/server\";\n\nconst protectedProcedure = t.procedure.use(({ ctx, next }) => {\n  if (!ctx.user) throw new TRPCError({ code: \"UNAUTHORIZED\" });\n  return next({ ctx });\n});\n\nconst appRouter = createZenStackRouter(schema, t, {\n  procedure: protectedProcedure,\n});\n```\n\n### `TypedRouterCaller<SchemaType>`\n\nType helper for server-side caller with full type inference, including dynamic `include`/`select` result typing.\n\n```typescript\nimport type { TypedRouterCaller } from \"zenstack-trpc\";\nimport type { SchemaType } from \"./zenstack/schema.js\";\n\nconst caller = appRouter.createCaller({ db }) as TypedRouterCaller<SchemaType>;\n\n// Return type dynamically includes the posts relation!\nconst usersWithPosts = await caller.user.findMany({ include: { posts: true } });\n// Type: (User & { posts: Post[] })[]\n```\n\n### `ZenStackRouter<Schema>` and `ZenStackRouterRecord<Schema>`\n\nType helpers for the generated router structure:\n\n- **`ZenStackRouter<Schema>`** - The full router type including `_def` and `createCaller`\n- **`ZenStackRouterRecord<Schema>`** - Just the procedure map (useful for type composition)\n\n```typescript\nimport type { ZenStackRouter, ZenStackRouterRecord } from \"zenstack-trpc\";\nimport type { SchemaType } from \"./zenstack/schema.js\";\n\n// The full router type\ntype MyRouter = ZenStackRouter<SchemaType>;\n\n// Just the procedures (for advanced type manipulation)\ntype Procedures = ZenStackRouterRecord<SchemaType>;\n// { user: { findMany: ..., create: ..., ... }, post: { ... }, ... }\n```\n\n### Composable Type System\n\nThe library provides a composable type system for adding full `include`/`select` type inference to tRPC clients. This solves tRPC's limitation where generic type information is lost during type inference.\n\nThe system uses three composable parts:\n1. **`WithZenStack<Schema, Path?>`** - Base type container with your schema and optional nesting path\n2. **`WithReact<...>` / `WithClient<...>`** - Adapter that transforms to React hooks or vanilla client types\n3. **`typedClient<Typed>()`** - Applies the composed types to your client\n\n```typescript\nimport { createTRPCReact } from \"@trpc/react-query\";\nimport { typedClient, type WithZenStack, type WithReact } from \"zenstack-trpc\";\nimport type { AppRouter } from \"./server/trpc.js\";\nimport type { SchemaType } from \"./zenstack/schema.js\";\n\n// Compose your types\ntype Typed = WithReact<WithZenStack<SchemaType>>;\n\n// Apply to client\nconst _trpc = createTRPCReact<AppRouter>();\nexport const trpc = typedClient<Typed>()(_trpc);\n\n// Now includes are fully typed!\nconst { data } = trpc.user.findMany.useQuery({\n  include: { posts: true }\n});\n// data is typed as (User & { posts: Post[] })[] | undefined\n```\n\nFor vanilla tRPC clients, use `WithClient`:\n\n```typescript\nimport { createTRPCClient, httpBatchLink } from \"@trpc/client\";\nimport { typedClient, type WithZenStack, type WithClient } from \"zenstack-trpc\";\n\ntype Typed = WithClient<WithZenStack<SchemaType>>;\n\nconst _client = createTRPCClient<AppRouter>({\n  links: [httpBatchLink({ url: \"http://localhost:3000/trpc\" })],\n});\nexport const client = typedClient<Typed>()(_client);\n\nconst usersWithPosts = await client.user.findMany.query({\n  include: { posts: true }\n});\n// Type: (User & { posts: Post[] })[]\n```\n\n### Nested Namespaces (Merged Routers)\n\nWhen merging the ZenStack router with other routers, you need to cast it to `AnyRouter` for tRPC compatibility:\n\n```typescript\nimport { initTRPC } from \"@trpc/server\";\nimport type { AnyRouter } from \"@trpc/server\";\nimport { createZenStackRouter } from \"zenstack-trpc\";\nimport { schema } from \"./zenstack/schema.js\";\n\nconst t = initTRPC.context<{ db: any }>().create();\n\n// Create the ZenStack router and cast for tRPC compatibility\nconst generatedRouter = createZenStackRouter(schema, t) as unknown as AnyRouter;\n\n// Merge with other routers\nexport const appRouter = t.router({\n  admin: adminRouter,\n  auth: authRouter,\n  generated: generatedRouter,\n});\n```\n\nOn the client side, include the path in `WithZenStack` to get full type inference:\n\n```typescript\nimport { createTRPCReact } from \"@trpc/react-query\";\nimport { typedClient, type WithZenStack, type WithReact } from \"zenstack-trpc\";\nimport type { AppRouter } from \"./server/trpc.js\";\nimport type { SchemaType } from \"./zenstack/schema.js\";\n\n// Single level nesting:\ntype Typed = WithReact<WithZenStack<SchemaType, \"generated\">>;\nconst _trpc = createTRPCReact<AppRouter>();\nexport const trpc = typedClient<Typed>()(_trpc);\n\n// Multi-level nesting (dot notation):\ntype Typed = WithReact<WithZenStack<SchemaType, \"api.db\">>;\nexport const trpc = typedClient<Typed>()(_trpc);\n\n// Now you can use:\n// trpc.generated.user.findMany.useQuery({ include: { posts: true } }) // fully typed\n// trpc.auth.login.useMutation() // other routers unaffected\n// trpc.useUtils().generated.user.findMany.invalidate() // typed query utils\n```\n\n### Custom Adapters\n\nThe composable architecture allows third parties to create custom adapters. An adapter transforms `WithZenStack` into framework-specific types:\n\n```typescript\nimport type { WithZenStack, TypedTRPCReact } from \"zenstack-trpc\";\n\n// Example: Custom adapter for a hypothetical framework\ntype WithMyFramework<T extends WithZenStack<any, any>> =\n  T extends WithZenStack<infer S, infer P>\n    ? { readonly __types: MyFrameworkTypes<S>; readonly __path: P }\n    : never;\n\n// Usage:\ntype Typed = WithMyFramework<WithZenStack<SchemaType, \"db\">>;\nconst client = typedClient<Typed>()(myFrameworkClient);\n```\n\n### Direct Type Access\n\nFor advanced use cases, you can access the underlying types directly:\n\n```typescript\nimport type { TypedTRPCClient, TypedTRPCReact } from \"zenstack-trpc\";\n\n// Manual casting\nconst client = _client as unknown as TypedTRPCClient<SchemaType>;\nconst trpc = _trpc as unknown as TypedTRPCReact<SchemaType>;\n```\n\n### Zod Schema Access\n\nAccess the Zod schemas for custom validation via `createQuerySchemaFactory` from `@zenstackhq/orm`:\n\n```typescript\nimport { createQuerySchemaFactory } from \"@zenstackhq/orm\";\n// or re-exported from zenstack-trpc:\nimport { createQuerySchemaFactory } from \"zenstack-trpc\";\n\nconst factory = createQuerySchemaFactory(schema);\n\n// Get schema for any operation:\nconst findManySchema = factory.makeFindManySchema(\"User\");\nconst createSchema = factory.makeCreateSchema(\"User\");\nconst updateSchema = factory.makeUpdateSchema(\"User\");\n// ... makeFindUniqueSchema, makeFindFirstSchema, makeCreateManySchema,\n//     makeUpdateManySchema, makeUpsertSchema, makeDeleteSchema,\n//     makeDeleteManySchema, makeCountSchema, makeAggregateSchema, makeGroupBySchema\n```\n\n## Compatibility\n\n| zenstack-trpc | @zenstackhq/orm | tRPC | Zod |\n|--------------|----------------|------|-----|\n| `>= 0.2.0`   | `>= 3.4.0`     | `>= 11.0.0` | `>= 3.25.0 \\|\\| >= 4.0.0` |\n| `< 0.2.0`    | `>= 3.0.0`     | `>= 11.0.0` | `>= 3.0.0 \\|\\| >= 4.0.0` |\n\n> **Note:** This library targets ZenStack V3 only. ZenStack V2 is not supported.\n\n## Migration Guide\n\n### `0.1.x` → `0.2.0`\n\n**Requires `@zenstackhq/orm >= 3.4.0`** (upgrade ZenStack first).\n\nInput validation is now powered by ZenStack's built-in `createQuerySchemaFactory` instead of a hand-rolled implementation. This means schemas are guaranteed to stay in sync with the ORM's own type definitions, and ZModel validation attributes (`@email`, `@length`, `@regex`, etc.) are automatically respected.\n\n**Breaking changes:**\n\nThe schema helper functions exported by this library are removed. If you were importing them directly, switch to `createQuerySchemaFactory` from `@zenstackhq/orm`:\n\n```typescript\n// Before (0.1.x)\nimport { createModelSchemas, createWhereSchema } from \"zenstack-trpc\";\nconst schemas = createModelSchemas(schema, \"User\");\nschemas.findMany.parse(input);\nschemas.create.parse(input);\n\n// After (0.2.0)\nimport { createQuerySchemaFactory } from \"@zenstackhq/orm\";\n// or: import { createQuerySchemaFactory } from \"zenstack-trpc\";\n\nconst factory = createQuerySchemaFactory(schema);\nfactory.makeFindManySchema(\"User\").parse(input);\nfactory.makeCreateSchema(\"User\").parse(input);\n```\n\nRemoved exports: `createModelSchemas`, `createWhereSchema`, `createCreateDataSchema`, `createUpdateDataSchema`, `createUniqueWhereSchema`, `createSelectSchema`, `createIncludeSchema`, `createOrderBySchema`.\n\nThe `createZenStackRouter` call itself is unchanged — no migration needed there.\n\n## Requirements\n\n- Node.js >= 18\n- ZenStack V3 (`@zenstackhq/orm >= 3.4.0`)\n- tRPC >= 11.0.0\n- Zod >= 3.25.0 or >= 4.0.0\n\n### Optional (for React hooks)\n\n- `@trpc/react-query` >= 11.0.0\n- `@tanstack/react-query` >= 5.0.0\n\n## License\n\nMIT\n","readmeFilename":"README.md"}