{"_id":"@castore/event-type-json-schema","_rev":"8-25269fef0bccb8dbc6775deece2aa660","name":"@castore/event-type-json-schema","dist-tags":{"latest":"2.4.2"},"versions":{"2.0.0":{"name":"@castore/event-type-json-schema","version":"2.0.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"f80c48ebd3d223e8ddaca076fd232bb8f0b90503","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.0.0.tgz","fileCount":17,"integrity":"sha512-nZZOn7p0kIYTMWsrrkdHQ/JKP1IY8qMHk6ipO9UMhDtUktTKTLdimoweFPDr1pFc9/GV7XUD+kQMiwzf3aal7g==","signatures":[{"sig":"MEUCIETGklphbAaIkktm6sBc0jAWMC3qN5N6l8c4xuF8K8GjAiEAqQ/8JmS6L8x2LofiPuAacN2nHOvdC+Dtied2E2SXOwA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100361},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.0.0_1698427505742_0.17489971637263135","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@castore/event-type-json-schema","version":"2.1.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"1e899af03554c48b2c726cd730505c22cd156288","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.1.0.tgz","fileCount":17,"integrity":"sha512-G0/Gsp/QIq57MQUczPjbT65LASIwGul0Fr+qu+o5H5PixLKslCEI0Hzy0npNVix1y9BuI7AAXzU7SnfxzJAoJQ==","signatures":[{"sig":"MEUCIQDvhfxPPnkkAuocEvbWc6cA3Z2aIkh6pw5flL9ClxlKbAIgL+L9+gyClqnpqYVfopJ/D70HGIB7AtiH0OQEZCPH5Kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100361},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.1.0_1699022241715_0.9160706476390243","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@castore/event-type-json-schema","version":"2.2.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"cdce00f134db00cebb90af619e1a9d4077158768","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.2.0.tgz","fileCount":17,"integrity":"sha512-9Xi5ESI5IoC7TNWvhjeLtz5wv5mU6OUPE4XHLi/vc3K3GUhA0q6XN/KGFP7V2zkjlwtCp7NwWdNfWpDmSgQFGQ==","signatures":[{"sig":"MEYCIQDABztcAS0Tv1vvQUCODFbo9ICpTQ3KybKgyy4r333NKAIhAN0kpe00EuskBA/n0Jh/dkKv+HXhMEbsFyp3IbLVJxJ0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102705},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.2.0_1705427182470_0.15125963630519323","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@castore/event-type-json-schema","version":"2.3.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"ca1aef38d8e2d5c9d915d85825e13cb276d4cbe4","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.3.0.tgz","fileCount":17,"integrity":"sha512-UYWYgJvDRmIaBiJLqBzMx7m0Wz6ERBtLBRq9enKlmN7sWl+WPSAbJaw5jIkEfBUpC4R1KUK5zraBOLMTlc6Qhw==","signatures":[{"sig":"MEQCIEv1YPhlbkcj11CnnadDNtZMMd5IBx/QVLT50d24S32oAiA+AnxCp4aLf3Xe+vusbUCcFzMQ0a66CNG9Fbz7U11tgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102733},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.3.0_1710957107456_0.47644658585127986","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@castore/event-type-json-schema","version":"2.3.1","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"c3fed4ba9de73280b439c407975269975b2e1c9b","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.3.1.tgz","fileCount":17,"integrity":"sha512-Jclo5wv7yq5pvPBArypmlOrC+xDtR0fAfHTS3OQF2nxfMirE2hGC1d0ei8NeUwll1uYaLsSLoQzMTnHG1n0Kww==","signatures":[{"sig":"MEYCIQDj5mAHCC0pyzcX3bGSL55tSJ+m3yTVIf8hKqlFcXlp6wIhAL23Ar07ad7LyQY5I71fgiRmbZPxVcFBWQCLDGaCWUWC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102733},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.3.1_1714035432074_0.06009949610845067","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@castore/event-type-json-schema","version":"2.4.0","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"422552771ba173388842868c9d909a3c9fb3a168","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.4.0.tgz","fileCount":17,"integrity":"sha512-KgeBheU+S7VuwrOdkONM4NVv3qcSiE5TFl+xPq61LEROPkuGEamOHykZeyJ0agjb+VjxETKSAq1A8o9uplCH5A==","signatures":[{"sig":"MEYCIQDkqN5VOloY7AbBF1q/WakD+pZY0ENSEi4O1nOP74Dx1gIhAP9GIkiBmWtYAONfS2qIilAlA4Hi4qpQsLwebLNLMTaz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102733},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.4.0_1739877939242_0.763944788206607","host":"s3://npm-registry-packages-npm-production"}},"2.4.1":{"name":"@castore/event-type-json-schema","version":"2.4.1","keywords":["event","source","store","typescript"],"license":"MIT","_id":"@castore/event-type-json-schema@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-json-schema/dist"]}}},"dist":{"shasum":"30bdf8cfe54246fa5848e5a35b7a20663e615916","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.4.1.tgz","fileCount":17,"integrity":"sha512-nWGebag8QR5mj9ADml79LS/eX0cW2POJKA5C6QYAxS4NyKuP45k2sLZY7Y333qHxrrR5R6DEDBSM0EO/6LIu8Q==","signatures":[{"sig":"MEUCIFmGBp38IDowdwNyrVBRQ9z0FLAkIIT1gj3/5xx2iocJAiEA5hjSPbXc+e2lp4Txw4i805doRa/xvKPecn16Sqfi+oI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102733},"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 JSON Schemas and json-schema-to-ts","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"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","json-schema-to-ts":"^2.5.4","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":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/event-type-json-schema_2.4.1_1740488541133_0.3648667765859186","host":"s3://npm-registry-packages-npm-production"}},"2.4.2":{"name":"@castore/event-type-json-schema","description":"DRY Castore EventType definition using JSON Schemas and json-schema-to-ts","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","json-schema-to-ts":"^2.5.4","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"},"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-json-schema/dist"]}}},"peerDependencies":{"@castore/core":"^2.0.0","json-schema-to-ts":"^2.0.0"},"version":"2.4.2","_id":"@castore/event-type-json-schema@2.4.2","gitHead":"fd79dfcc42ef28d216b08007edacd21208ba1876","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-K7GWyN2IXw3Iit2yRcGeCP95fcDNQzVjch+n+7gr+HF1tgFT76itFFdOpHXwzm2ZRicucTRw9ZOKTH6OV3FJSQ==","shasum":"92766383d7bb6901e522aa22182863f1be1f4379","tarball":"https://registry.npmjs.org/@castore/event-type-json-schema/-/event-type-json-schema-2.4.2.tgz","fileCount":17,"unpackedSize":102733,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDlqgrY/p8uvDbmjDfkaBYy1LqrJqaKklywmc1pINom5gIhAO2MNHv0wfoTUz8AeasZGN3cslEbF6Hm3EmI79UzAdT+"}]},"_npmUser":{"name":"thomasaribart","email":"thomas.aribart@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/event-type-json-schema_2.4.2_1744991105056_0.43773715623701936"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-27T17:25:05.662Z","modified":"2025-04-18T15:45:05.506Z","2.0.0":"2023-10-27T17:25:06.016Z","2.1.0":"2023-11-03T14:37:21.902Z","2.2.0":"2024-01-16T17:46:22.657Z","2.3.0":"2024-03-20T17:51:47.625Z","2.3.1":"2024-04-25T08:57:12.299Z","2.4.0":"2025-02-18T11:25:39.465Z","2.4.1":"2025-02-25T13:02:21.335Z","2.4.2":"2025-04-18T15:45:05.250Z"},"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 JSON Schemas and json-schema-to-ts","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":"# JSON Schema Event\n\nDRY Castore [`EventType`](https://castore-dev.github.io/castore/docs/event-sourcing/events/) definition using [JSON Schemas](http://json-schema.org/understanding-json-schema/reference/index.html) and [`json-schema-to-ts`](https://github.com/ThomasAribart/json-schema-to-ts)\n\n## 📥 Installation\n\n```bash\n# npm\nnpm install @castore/event-type-json-schema\n\n# yarn\nyarn add @castore/event-type-json-schema\n```\n\nThis package has `@castore/core` and `json-schema-to-ts` (above v2) as peer dependencies, so you will have to install them as well:\n\n```bash\n# npm\nnpm install @castore/core json-schema-to-ts\n\n# yarn\nyarn add @castore/core json-schema-to-ts\n```\n\n## 👩‍💻 Usage\n\n```ts\nimport { JSONSchemaEventType } from '@castore/event-type-json-schema';\n\nconst pokemonAppearedPayloadSchema = {\n  type: 'object',\n  properties: {\n    name: { type: 'string' },\n    level: { type: 'integer' },\n  },\n  required: ['name', 'level'],\n  additionalProperties: false,\n} as const; // 👈 Don't forget the \"as const\" statement\n// (Cf json-schema-to-ts documentation)\n\nconst pokemonAppearedMetadataSchema = {\n  type: 'object',\n  properties: {\n    trigger: { enum: ['random', 'scripted'] },\n  },\n  additionalProperties: false,\n} as const;\n\n// 👇 generics are correctly inferred\nconst pokemonAppearedEventType = new JSONSchemaEventType({\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`JSONSchemaEventType` 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 JSON schema\n\n```ts\nconst payloadSchema = pokemonAppearedEventType.payloadSchema;\n// => pokemonAppearedPayloadSchema\n```\n\n- <code>metadataSchema <i>(?object)</i></code>: The event type metadata JSON schema\n\n```ts\nconst metadataSchema = pokemonAppearedEventType.metadataSchema;\n// => pokemonAppearedMetadataSchema\n```\n","readmeFilename":"README.md"}