{"_id":"@typeschema/deepkit","_rev":"5-c6e8c57e0949d3a8613a56a21fd61c04","name":"@typeschema/deepkit","dist-tags":{"latest":"0.14.0"},"versions":{"0.13.0":{"name":"@typeschema/deepkit","version":"0.13.0","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","_id":"@typeschema/deepkit@0.13.0","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"homepage":"https://typeschema.com","bugs":{"url":"https://github.com/decs/typeschema/issues"},"//":"This file is partially generated. Only some fields can be modified manually!","dist":{"shasum":"2f4367b9052da9fadb3421dc5e26924ca1130da3","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.13.0.tgz","fileCount":7,"integrity":"sha512-jxIcCyNo27ocuxPBDeqPsFx4BFSszM1oVGkwJMs4cEcWggDlkLlK7PrnGxploo+QCAWkpQToJ1LIXZCiNmOUbg==","signatures":[{"sig":"MEUCIAYktO0WqhNYP7d1oPTwF57hNjeFYxdbnbPjpGFl/zlRAiEAsEDp5Z41ApIo6CjwuQNQjWbyjxW7BXX7ZhHzuEditUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9892},"main":"dist/index.js","_from":"file:typeschema-deepkit-0.13.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"lint":"eslint src --fix","test":"vitest --config ../../vitest.config.ts","build":"tsup --config ../../tsup.config.ts","lint:package":"publint && attw --pack"},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"//version":"This field is manually maintained.","_resolved":"/private/var/folders/dq/77g3z6095pj93wyfv7wj52rm0000gn/T/0aaa556d3fe1bf1a26c09fae24d929f9/typeschema-deepkit-0.13.0.tgz","_integrity":"sha512-jxIcCyNo27ocuxPBDeqPsFx4BFSszM1oVGkwJMs4cEcWggDlkLlK7PrnGxploo+QCAWkpQToJ1LIXZCiNmOUbg==","repository":{"url":"git+https://github.com/decs/typeschema.git","type":"git"},"_npmVersion":"10.2.4","description":"Reusable adapter for Deepkit schemas","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","dependencies":{"@typeschema/core":"0.13.0"},"//description":"This field is manually maintained.","_hasShrinkwrap":false,"devDependencies":{"@deepkit/type":"^1.0.1-alpha.132","@deepkit/type-compiler":"^1.0.1-alpha.123"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.132"},"//devDependencies":"This field is manually maintained.","//peerDependencies":"This field is manually maintained.","peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"//peerDependenciesMeta":"This field is manually maintained.","_npmOperationalInternal":{"tmp":"tmp/deepkit_0.13.0_1708584793656_0.4989200845549069","host":"s3://npm-registry-packages"}},"0.13.1":{"name":"@typeschema/deepkit","version":"0.13.1","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","_id":"@typeschema/deepkit@0.13.1","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"homepage":"https://typeschema.com","bugs":{"url":"https://github.com/decs/typeschema/issues"},"//":"This file is partially generated. Only some fields can be modified manually!","dist":{"shasum":"b732142cb476994b66aed717b23d20f68388c29b","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.13.1.tgz","fileCount":7,"integrity":"sha512-ULAC1cwxnaIXL5ZSYJTZm4u5a19DpVmgdZzKsRfmTyl/FDNQPtel4QM2zxGCIghKByKRTqW4Hl8p8xZt1QBRnA==","signatures":[{"sig":"MEUCIDXXUWKufgMvQL86FeYTMF3q9fhVwy6VD4kADcwkyMBWAiEAvf3WDVhvhXMCipgMBuQeReW2nAK0SLdQTq4zJxQyv5A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10072},"main":"dist/index.js","_from":"file:typeschema-deepkit-0.13.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"lint":"eslint src --fix","test":"vitest --config ../../vitest.config.ts","build":"tsup --config ../../tsup.config.ts","lint:package":"publint && attw --pack"},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"//version":"This field is manually maintained.","_resolved":"/private/var/folders/dq/77g3z6095pj93wyfv7wj52rm0000gn/T/17e29b1d7b1a4bd5fe62645553996a69/typeschema-deepkit-0.13.1.tgz","_integrity":"sha512-ULAC1cwxnaIXL5ZSYJTZm4u5a19DpVmgdZzKsRfmTyl/FDNQPtel4QM2zxGCIghKByKRTqW4Hl8p8xZt1QBRnA==","repository":{"url":"git+https://github.com/decs/typeschema.git","type":"git"},"_npmVersion":"10.2.4","description":"Reusable adapter for Deepkit schemas","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","dependencies":{"@typeschema/core":"0.13.1"},"//description":"This field is manually maintained.","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepkit/type":"^1.0.1-alpha.132","@deepkit/type-compiler":"^1.0.1-alpha.123"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.132"},"//devDependencies":"This field is manually maintained.","//peerDependencies":"This field is manually maintained.","peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"//peerDependenciesMeta":"This field is manually maintained.","_npmOperationalInternal":{"tmp":"tmp/deepkit_0.13.1_1708712690979_0.7509924761339895","host":"s3://npm-registry-packages"}},"0.13.2":{"name":"@typeschema/deepkit","version":"0.13.2","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","_id":"@typeschema/deepkit@0.13.2","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"homepage":"https://typeschema.com","bugs":{"url":"https://github.com/decs/typeschema/issues"},"//":"This file is partially generated. Only some fields can be modified manually!","dist":{"shasum":"5020d52738aafa8242352c36e4178d2291210980","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.13.2.tgz","fileCount":7,"integrity":"sha512-qDcH2Avtk+pC9Mju3m9WTRe4P0rt4JBHqfqXfUs/u0dgjkYFRDBtJv/8ryAKDNSyHtKU01as7bYLs3yImOBZYw==","signatures":[{"sig":"MEUCIQD9yL2XA7lkJrV+ZrEf8taZ6xL1Ktb67KWNv4ayjHX2OQIgaTgLH4wuDufdsqvATN4rpM2x1yOjmQvuVWSY//f8e28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10150},"main":"dist/index.js","_from":"file:typeschema-deepkit-0.13.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"lint":"eslint src --fix","test":"vitest --config ../../vitest.config.ts","build":"tsup --config ../../tsup.config.ts","lint:package":"publint && attw --pack"},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"//version":"This field is manually maintained.","_resolved":"/tmp/81ab0fd1e527e42eb893a39071ec99e9/typeschema-deepkit-0.13.2.tgz","_integrity":"sha512-qDcH2Avtk+pC9Mju3m9WTRe4P0rt4JBHqfqXfUs/u0dgjkYFRDBtJv/8ryAKDNSyHtKU01as7bYLs3yImOBZYw==","repository":{"url":"git+https://github.com/decs/typeschema.git","type":"git"},"_npmVersion":"10.2.4","description":"Reusable adapter for Deepkit schemas","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@typeschema/core":"0.13.2"},"//description":"This field is manually maintained.","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepkit/type":"^1.0.1-alpha.132","@deepkit/type-compiler":"^1.0.1-alpha.123"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.132"},"//devDependencies":"This field is manually maintained.","//peerDependencies":"This field is manually maintained.","peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"//peerDependenciesMeta":"This field is manually maintained.","_npmOperationalInternal":{"tmp":"tmp/deepkit_0.13.2_1709024739197_0.6382310440457526","host":"s3://npm-registry-packages"}},"0.13.3":{"name":"@typeschema/deepkit","version":"0.13.3","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","_id":"@typeschema/deepkit@0.13.3","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"homepage":"https://typeschema.com","bugs":{"url":"https://github.com/decs/typeschema/issues"},"//":"This file is partially generated. Only some fields can be modified manually!","dist":{"shasum":"465e94681d0535e95be0cda65f932a3b5ec8e6e0","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.13.3.tgz","fileCount":7,"integrity":"sha512-WAGb+EdgGImmVgSbWw9QDoRFz3Z8ob0GO8A6i5ChE+fGfa4tUUyW25UruqHj8bQMjF5eAyvmJl4RZxnp2F0M3w==","signatures":[{"sig":"MEQCH0LOnb2GQ7/7IU9FdJIjXrxTVsRbyL0KkcXcyTJZaDMCIQDbSnVmcXwfkTpbt0m1EqqJJ8c1CJj2nQ4t8ge/41zCRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10869},"main":"dist/index.js","_from":"file:typeschema-deepkit-0.13.3.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"lint":"eslint src --fix","test":"vitest --config ../../vitest.config.ts","build":"tsup --config ../../tsup.config.ts","lint:package":"publint && attw --pack"},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"//version":"This field is manually maintained.","_resolved":"/tmp/15f035dcba6150e71ded6e7aad90eb69/typeschema-deepkit-0.13.3.tgz","_integrity":"sha512-WAGb+EdgGImmVgSbWw9QDoRFz3Z8ob0GO8A6i5ChE+fGfa4tUUyW25UruqHj8bQMjF5eAyvmJl4RZxnp2F0M3w==","repository":{"url":"git+https://github.com/decs/typeschema.git","type":"git"},"_npmVersion":"10.2.4","description":"Reusable adapter for Deepkit schemas","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@typeschema/core":"0.13.2"},"//description":"This field is manually maintained.","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepkit/type":"^1.0.1-alpha.132","@deepkit/type-compiler":"^1.0.1-alpha.123"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.132"},"//devDependencies":"This field is manually maintained.","//peerDependencies":{"//":"This field is manually maintained.","@deepkit/type":"Required for validation"},"peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"//peerDependenciesMeta":"This field is manually maintained.","_npmOperationalInternal":{"tmp":"tmp/deepkit_0.13.3_1709278972656_0.5673755068696591","host":"s3://npm-registry-packages"}},"0.13.4":{"name":"@typeschema/deepkit","version":"0.13.4","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","_id":"@typeschema/deepkit@0.13.4","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"homepage":"https://typeschema.com","bugs":{"url":"https://github.com/decs/typeschema/issues"},"//":"This file is partially generated. Only some fields can be modified manually!","dist":{"shasum":"f2739503fb08f4f4da60dd99e5a6fa871e45f515","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.13.4.tgz","fileCount":7,"integrity":"sha512-iFjBYLCesIZXVRN280WhiKvi+sY5hJ9F95pzd318ox7M75C+hLHvV0Lkek7kgZi1RmXyHOUaE0zMIHcuHa29qA==","signatures":[{"sig":"MEYCIQDPRydFpqmrs4cuXAKeHzqfoMGW7Q4FqcYklaX8WKJmLwIhAIReUJ75cgWTec8TSkScBR2AXHJmQ+O1bTwRaHFSleop","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11092},"main":"dist/index.js","_from":"file:typeschema-deepkit-0.13.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"lint":"eslint src --fix","test":"vitest --config ../../vitest.config.ts","build":"tsup --config ../../tsup.config.ts","lint:package":"publint && attw --pack","upgrade:deps":"ncu -u --dep=dev,peer --reject ow"},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"//version":"This field is manually maintained.","_resolved":"/tmp/e9d4ed70b9426219fe9ecdffe5e1d7b4/typeschema-deepkit-0.13.4.tgz","_integrity":"sha512-iFjBYLCesIZXVRN280WhiKvi+sY5hJ9F95pzd318ox7M75C+hLHvV0Lkek7kgZi1RmXyHOUaE0zMIHcuHa29qA==","repository":{"url":"git+https://github.com/decs/typeschema.git","type":"git"},"_npmVersion":"10.2.4","description":"Reusable adapter for Deepkit schemas","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@typeschema/core":"0.13.2"},"//description":"This field is manually maintained.","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepkit/type":"^1.0.1-alpha.139","@deepkit/type-compiler":"^1.0.1-alpha.139"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.139"},"//devDependencies":"This field is manually maintained.","//peerDependencies":{"//":"This field is manually maintained.","@deepkit/type":"Required for validation"},"peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"//peerDependenciesMeta":"This field is manually maintained.","_npmOperationalInternal":{"tmp":"tmp/deepkit_0.13.4_1709410648912_0.5318774508914388","host":"s3://npm-registry-packages"}},"0.14.0":{"//":"This file is partially generated. Only some fields can be modified manually!","name":"@typeschema/deepkit","//version":"This field is manually maintained.","version":"0.14.0","//description":"This field is manually maintained.","description":"Reusable adapter for Deepkit schemas","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"homepage":"https://typeschema.com","license":"MIT","author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/decs/typeschema.git"},"dependencies":{"@typeschema/core":"0.14.0"},"//devDependencies":"This field is manually maintained.","devDependencies":{"@deepkit/type":"^1.0.1-alpha.145","@deepkit/type-compiler":"^1.0.1-alpha.143"},"//peerDependencies":{"//":"This field is manually maintained.","@deepkit/type":"Required for validation"},"peerDependencies":{"@deepkit/type":"^1.0.1-alpha.145"},"//peerDependenciesMeta":"This field is manually maintained.","peerDependenciesMeta":{"@deepkit/type":{"optional":true}},"scripts":{"build":"tsup --config ../../tsup.config.ts","lint":"eslint src --fix","lint:package":"publint && attw --pack","test":"vitest --config ../../vitest.config.ts","upgrade:deps":"ncu -u --dep=dev,peer --reject ow"},"_id":"@typeschema/deepkit@0.14.0","bugs":{"url":"https://github.com/decs/typeschema/issues"},"_integrity":"sha512-LKRdjpmIYkHZc4EvkwIBYOpBOUs1hCXSSlisUZgG4WhPkUC49mIk6B8oYOyHNyXl7KxUToARO/Zl3Ido6eTyyg==","_resolved":"/tmp/4563be934e636fcb0e8d454ffcb80bae/typeschema-deepkit-0.14.0.tgz","_from":"file:typeschema-deepkit-0.14.0.tgz","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-LKRdjpmIYkHZc4EvkwIBYOpBOUs1hCXSSlisUZgG4WhPkUC49mIk6B8oYOyHNyXl7KxUToARO/Zl3Ido6eTyyg==","shasum":"f9f9471a140412549da76f524613f85fee273e5b","tarball":"https://registry.npmjs.org/@typeschema/deepkit/-/deepkit-0.14.0.tgz","fileCount":7,"unpackedSize":11086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQ+7J1scB6qRwxardZRIngaxuiwBrsu5ri1KaHTbe6JAiA4krwWc2qYltT0dU1qNSBcft1701zVxeuPaeOX87udng=="}]},"_npmUser":{"name":"decs","email":"andrefonsecacosta@gmail.com"},"directories":{},"maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deepkit_0.14.0_1724625235552_0.11859415279395136"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-22T06:53:13.560Z","modified":"2024-08-25T22:33:55.925Z","0.13.0":"2024-02-22T06:53:13.843Z","0.13.1":"2024-02-23T18:24:51.152Z","0.13.2":"2024-02-27T09:05:39.372Z","0.13.3":"2024-03-01T07:42:52.797Z","0.13.4":"2024-03-02T20:17:29.060Z","0.14.0":"2024-08-25T22:33:55.711Z"},"bugs":{"url":"https://github.com/decs/typeschema/issues"},"author":{"name":"André Costa","email":"andrefonsecacosta@gmail.com"},"license":"MIT","homepage":"https://typeschema.com","keywords":["typescript","type","schema","adapter","validation","inference","assert"],"repository":{"type":"git","url":"git+https://github.com/decs/typeschema.git"},"description":"Reusable adapter for Deepkit schemas","maintainers":[{"name":"decs","email":"andrefonsecacosta@gmail.com"}],"readme":"<!-- This file is generated. Do not modify it manually! -->\n\n<img src=\"https://typeschema.com/assets/logo.png\" width=\"64px\" alt=\"TypeSchema\" />\n<h1>@typeschema/deepkit</h1>\n<p>\n  <a href=\"https://opensource.org/licenses/MIT\" rel=\"nofollow\"><img src=\"https://img.shields.io/github/license/decs/typeschema\" alt=\"License\"></a>\n  <a href=\"https://bundlephobia.com/package/@typeschema/deepkit\" rel=\"nofollow\"><img src=\"https://img.shields.io/bundlephobia/minzip/%40typeschema%2Fdeepkit\" alt=\"Bundle size\"></a>\n  <a href=\"https://www.npmjs.com/package/@typeschema/deepkit\" rel=\"nofollow\"><img src=\"https://img.shields.io/npm/dw/@typeschema/deepkit.svg\" alt=\"npm downloads\"></a>\n  <a href=\"https://github.com/decs/typeschema/stargazers\" rel=\"nofollow\"><img src=\"https://img.shields.io/github/stars/decs/typeschema\" alt=\"GitHub stars\"></a>\n</p>\n<p>\n  Reusable adapter for Deepkit schemas\n  <br />\n  <a href=\"https://typeschema.com\">https://typeschema.com</a> ✨\n</p>\n\n```ts\nimport {typeOf} from '@deepkit/type';\nimport {initTRPC} from '@trpc/server';\n\nimport {wrap} from '@typeschema/deepkit';\n\nconst schema = typeOf<{name: string}>();\n\nconst t = initTRPC.create();\nconst appRouter = t.router({\n  hello: t.procedure\n    .input(wrap(schema))\n    .query(({input}) => `Hello, ${(input as any).name}!`),\n  //         ^? unknown\n});\n\n```\n\nUse it directly or through [`@typeschema/main`](https://github.com/decs/typeschema/tree/main/packages/main)\n\n## Dependencies\n- [`@deepkit/type`](https://www.npmjs.com/package/@deepkit/type): Required for validation (`^1.0.1-alpha.145`)\n\n## API\n\n### Validation\n- `wrap(schema)`: Returns the wrapped schema with access to its operations\n- `validate(schema, data)`: Returns the validated data or a list of validation issues\n- `assert(schema, data)`: Returns the validated data or throws an `AggregateError`\n","readmeFilename":"README.md"}