{"_id":"@castore/event-type-zod","_rev":"8-bf11b319a06ed371564f8f81266e065a","name":"@castore/event-type-zod","dist-tags":{"latest":"2.4.2"},"versions":{"2.0.0":{"name":"@castore/event-type-zod","version":"2.0.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.0.0","maintainers":[{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"julietteff","email":"juliettef@theodo.fr"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"26c53b0964c4335a20fe79741d9ce2ebdaa9d4bb","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.0.0.tgz","fileCount":17,"integrity":"sha512-5pCLiFgRM0krz4YpQZSrYRC88tqmo6Z9Un+2otWduYZgeq2T/0ERN0mqLI3BcplCV+wzU1+gwirLGXvHe842oQ==","signatures":[{"sig":"MEYCIQC8VbxGsxOnQiSERhbiRSuG0mwLIeXdkkM9FgmXOV8ahQIhAOgh77KuVFQXV4Sze1eVU+rR6K1pIxLS/+vxWMD9YcQt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83568},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"a00ddf6ae99fbe78737f648da21dc7aad4883733","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"9.8.1","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.0.0_1698427508583_0.8242222904399341","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@castore/event-type-zod","version":"2.1.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.1.0","maintainers":[{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"julietteff","email":"juliettef@theodo.fr"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"94b24cbbe918173018cf42ba7fea1c15601f983b","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.1.0.tgz","fileCount":17,"integrity":"sha512-+6tYPILNvd+KGRC65K7gJDd8iikn4H3dcILVWeKjQUXDYU4D4FWBPMeUZt53IgV9CR+hzuW8rN0F+YU4njVvkg==","signatures":[{"sig":"MEYCIQCH8ITd5wAuIvnBgDs4UI7ZopcK278D12V1QZGcYD0oJwIhANqTTZLcufYvQPKdmArkGwFICpKfZkeKJ7u028ZodbpR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83568},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"80c3a1f242e1f30f789312fc5a421789f189beb5","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"9.8.1","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.1.0_1699022245228_0.35939346150234375","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@castore/event-type-zod","version":"2.2.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.2.0","maintainers":[{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"julietteff","email":"juliettef@theodo.fr"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"614cb236820b4f648b57a8a80799fc0b14f14f33","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.2.0.tgz","fileCount":17,"integrity":"sha512-YoMGu5Z3iTC2riz+RBuHeksuM/aN0T2Wlf6LgLWWsEoMMJsgUdjmSeJw5ifdPoFYOQHFuEWtSsmbSyLDP5KDWg==","signatures":[{"sig":"MEUCIG0cHEXMts4RW4Xh8k6QWQvK8TKPEIIFmoQmyxX23tokAiEAznhah75SFDYsIeW2Zu62PRQc0Of6tq4K6ydbu5t/NQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85898},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"3cedccd6195f6afd90b6dcb30fd3511bacb4b5e7","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"10.2.3","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.2.0_1705427185274_0.19200109730366433","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@castore/event-type-zod","version":"2.3.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.3.0","maintainers":[{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"julietteff","email":"juliettef@theodo.fr"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"b9e42afa1bb1a536cab30ae1b730f7b193f48bca","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.3.0.tgz","fileCount":17,"integrity":"sha512-tw09VkzRxZ4f0r1eI70f+O3F8MARKqJuZeiq4CcIiwlptxzqK/QATugXLAy3s47liJjIQOoCij3Pv2R4UZx1NQ==","signatures":[{"sig":"MEYCIQD21fsT0zTsjE0tLHHy5g9D6438m1HxJG5Y9yh2xr/f5AIhANc7q/D4zBYYRsRhBOzmGwwcOBHKfvb6+shMh+8N+fqp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85926},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"aa8c8f824db8f4e38afd58f7b9f389c7211acd26","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"10.2.4","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.3.0_1710957112705_0.9168152900674849","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@castore/event-type-zod","version":"2.3.1","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.3.1","maintainers":[{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"julietteff","email":"juliettef@theodo.fr"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"83d2059f767845e1a91766caa75aec1a8a0c1b0d","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.3.1.tgz","fileCount":17,"integrity":"sha512-gihUOomwr6FO2h+q2ba4SLLAGpi2YV0AAx1d9CpZ8xoN2JVFHBIXd4ehVg9iFS3hCgzlSXkv9KOy8sOw/gfr4Q==","signatures":[{"sig":"MEYCIQCRiiptpv3dRLgFTs0pSUJgzyFWpjG7SJh3bD/Ncsu77AIhAO/ZKbty7M2meXkpmUwcSR6l0FM8tPWljmOF41d275ba","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85926},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"ec117c540dcadb351b35e349f04dc9f4d7937a38","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"10.5.0","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.3.1_1714035434865_0.4072625745433671","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@castore/event-type-zod","version":"2.4.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.4.0","maintainers":[{"name":"julietteff","email":"juliettef@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"thomasaribart","email":"thomas.aribart@gmail.com"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"bb82444633e53036b2702a992d6cdec57655230b","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.4.0.tgz","fileCount":17,"integrity":"sha512-wml7YDBY4VS36mL/snOmv7N7qGXP4LgVw6OVMdmx6gF+BKc5kd9rDBjhg+hS1ceMRaIfhQGz9cbUel2hqYjq9A==","signatures":[{"sig":"MEUCIQC2yQ0tE2TF3LGJX+By/wEichz3jPGTsVkG9jE2Qj2/ugIgLrc85iokmMjK9/JLNrbxhaRCr8XDbc2gpdlogc0EIew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85926},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"313e001988903763e7eb169751114c5f71cc3efe","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"10.8.2","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.4.0_1739877941984_0.16934569750941053","host":"s3://npm-registry-packages-npm-production"}},"2.4.1":{"name":"@castore/event-type-zod","version":"2.4.1","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-zod@2.4.1","maintainers":[{"name":"julietteff","email":"juliettef@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"thomasaribart","email":"thomas.aribart@gmail.com"}],"homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"dist":{"shasum":"8ec4656af317cd0e5033a5094bc099f039128cfe","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.4.1.tgz","fileCount":17,"integrity":"sha512-IG0t3aXWPcXclwOl5FyYrNNI8wquTX+fhQAxVSXYr0LsIq2dJOTg7zYWk4XkGmavHL+Vxt0/51tz0hTd2Jt3og==","signatures":[{"sig":"MEQCIEEel6xzhS97Te00MqCE4KBURidr5nU089nAU0wcu7oPAiAoZMMMDzwJjxbA/B1y/+icN62MNvBgp2eaNoOAz0tYMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85926},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","gitHead":"28c9f4e5c7c7527b6d3b5e5d9834789c2e64fd5e","scripts":{"test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","lint-fix":"yarn linter-base-config --fix","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","test-linter":"yarn linter-base-config .","lint-fix-all":"yarn lint-fix .","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test-circular":"yarn depcruise --validate dependency-cruiser.js .","linter-base-config":"eslint --ext=js,ts"},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"repository":{"url":"git+https://github.com/castore-dev/castore.git","type":"git"},"_npmVersion":"10.8.2","description":"DRY Castore EventType definition using zod","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.15.1","eslint":"^8.14.0","vitest":"^0.26.2","ts-node":"^10.7.0","prettier":"^2.6.2","tsc-alias":"^1.8.7","@babel/cli":"^7.17.6","typescript":"^4.6.3","@babel/core":"^7.17.9","@types/node":"^17.0.29","ts-toolbelt":"^9.6.0","concurrently":"^7.1.0","@castore/core":"workspace:","@babel/preset-env":"^7.16.11","dependency-cruiser":"^11.7.0","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"peerDependencies":{"zod":"^3.0.0","@castore/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-zod_2.4.1_1740488544849_0.8497315591237056","host":"s3://npm-registry-packages-npm-production"}},"2.4.2":{"name":"@castore/event-type-zod","description":"DRY Castore EventType definition using zod","license":"MIT","homepage":"https://github.com/castore-dev/castore#readme","bugs":{"url":"https://github.com/castore-dev/castore/issues"},"repository":{"type":"git","url":"git+https://github.com/castore-dev/castore.git"},"keywords":["event","source","store","typescript"],"publishConfig":{"access":"public"},"sideEffects":false,"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/types/index.d.ts","scripts":{"lint-fix":"yarn linter-base-config --fix","lint-fix-all":"yarn lint-fix .","linter-base-config":"eslint --ext=js,ts","package":"rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types","package-cjs":"NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps","package-esm":"NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps","package-types":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","test":"yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter","test-circular":"yarn depcruise --validate dependency-cruiser.js .","test-linter":"yarn linter-base-config .","test-type":"tsc --noEmit --emitDeclarationOnly false","test-unit":"yarn vitest run --passWithNoTests","transpile":"babel src --extensions .ts --quiet","watch":"rm -rf dist && concurrently 'yarn:package-* --watch'"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/core":"^7.17.9","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@castore/core":"workspace:","@types/node":"^17.0.29","babel-plugin-module-resolver":"^4.1.0","concurrently":"^7.1.0","dependency-cruiser":"^11.7.0","eslint":"^8.14.0","prettier":"^2.6.2","ts-node":"^10.7.0","ts-toolbelt":"^9.6.0","tsc-alias":"^1.8.7","typescript":"^4.6.3","vitest":"^0.26.2","zod":"^3.15.1"},"maintainers":[{"name":"julietteff","email":"juliettef@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"thomasaribart","email":"thomas.aribart@gmail.com"}],"nx":{"targets":{"package":{"outputs":["packages/event-type-zod/dist"]}}},"peerDependencies":{"@castore/core":"^2.0.0","zod":"^3.0.0"},"version":"2.4.2","_id":"@castore/event-type-zod@2.4.2","gitHead":"fd79dfcc42ef28d216b08007edacd21208ba1876","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-hBfIxXWbmGPaCxSe1+RqgYtYz+fzvb4e6ToBMBXZlf7+fnTGB4IXBOIMXtLjt21BhexQ7RR1fWkzHt9cAfanYg==","shasum":"923e279eb459f62e1998159ec9e13831f8c5f102","tarball":"https://registry.npmjs.org/@castore/event-type-zod/-/event-type-zod-2.4.2.tgz","fileCount":17,"unpackedSize":85926,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEtP8eXmeeEj8CkjQ29rSWOnpB6RU6xm3hzt9QP99XiCAiBsGNTO9F8y8BeRNABWJ3ipiKRO7cZhkWF5l2Wu3MydEw=="}]},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/event-type-zod_2.4.2_1744991108232_0.49891689583154397"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-27T17:25:08.486Z","modified":"2025-04-18T15:45:08.757Z","2.0.0":"2023-10-27T17:25:08.847Z","2.1.0":"2023-11-03T14:37:25.405Z","2.2.0":"2024-01-16T17:46:25.447Z","2.3.0":"2024-03-20T17:51:52.892Z","2.3.1":"2024-04-25T08:57:15.060Z","2.4.0":"2025-02-18T11:25:42.163Z","2.4.1":"2025-02-25T13:02:25.015Z","2.4.2":"2025-04-18T15:45:08.534Z"},"bugs":{"url":"https://github.com/castore-dev/castore/issues"},"license":"MIT","homepage":"https://github.com/castore-dev/castore#readme","keywords":["event","source","store","typescript"],"repository":{"type":"git","url":"git+https://github.com/castore-dev/castore.git"},"description":"DRY Castore EventType definition using zod","maintainers":[{"name":"julietteff","email":"juliettef@theodo.fr"},{"name":"charlesgery","email":"charles.gery@gmail.com"},{"name":"valentinbeggi","email":"valentinbe@theodo.fr"},{"name":"thomasaribart","email":"thomas.aribart@gmail.com"}],"readme":"# Zod Event\n\nDRY Castore [`EventType`](https://castore-dev.github.io/castore/docs/event-sourcing/events/) definition using [`zod`](https://github.com/colinhacks/zod).\n\n## 📥 Installation\n\n```bash\n# npm\nnpm install @castore/event-type-zod\n\n# yarn\nyarn add @castore/event-type-zod\n```\n\nThis package has `@castore/core` and `zod` (above v3) as peer dependencies, so you will have to install them as well:\n\n```bash\n# npm\nnpm install @castore/core zod\n\n# yarn\nyarn add @castore/core zod\n```\n\n## 👩‍💻 Usage\n\n```ts\nimport z from 'zod';\n\nimport { ZodEventType } from '@castore/event-type-zod';\n\nconst pokemonAppearedPayloadSchema = z.object({\n  name: z.string(),\n  level: z.number(),\n});\n\nconst pokemonAppearedMetadataSchema = z.object({\n  trigger: z.enum(['random', 'scripted']).optional(),\n});\n\n// 👇 generics are correctly inferred\nconst pokemonAppearedEventType = new ZodEventType({\n  type: 'POKEMON_APPEARED',\n  payloadSchema: pokemonAppearedPayloadSchema,\n  metadataSchema: pokemonAppearedMetadataSchema,\n});\n```\n\n👇 Equivalent to:\n\n```ts\nimport { EventType } from '@castore/core';\n\nconst pokemonAppearedEventType = new EventType<\n  'POKEMON_APPEARED',\n  { name: string; level: number },\n  { trigger?: 'random' | 'scripted' }\n>({ type: 'POKEMON_APPEARED' });\n```\n\n## ⚙️ Properties & Methods\n\n`ZodEventType` implements the [`EventType`](https://castore-dev.github.io/castore/docs/event-sourcing/events/) class and adds the following properties to it:\n\n- <code>payloadSchema <i>(?object)</i></code>: The event type payload zod schema\n\n```ts\nconst payloadSchema = pokemonAppearedEventType.payloadSchema;\n// => pokemonAppearedPayloadSchema\n```\n\n- <code>metadataSchema <i>(?object)</i></code>: The event type metadata zod schema\n\n```ts\nconst metadataSchema = pokemonAppearedEventType.metadataSchema;\n// => pokemonAppearedMetadataSchema\n```\n","readmeFilename":"README.md"}