{"_id":"@adaskothebeast/typewriter-schema","_rev":"5-b8544b9082a23ed294c2172df9ec133a","name":"@adaskothebeast/typewriter-schema","dist-tags":{"latest":"11.0.1"},"versions":{"10.0.0":{"name":"@adaskothebeast/typewriter-schema","version":"10.0.0","keywords":["typewriter","typescript","schema","dotnet","json"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-schema@10.0.0","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"2bbf24fcaede451b73a540185233f8e7fcb4dffc","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-schema/-/typewriter-schema-10.0.0.tgz","fileCount":14,"integrity":"sha512-aY4nub5DVa1xJkIgl5qJ9dWWjaL6maRvX/g0D6EMsE4gldCi/90wzQ9iA8dcZzI/kzJDJy0WJpqxEJsM0JE4hA==","signatures":[{"sig":"MEYCIQCTeqBw5Jhh5SVs1C3QKJ2/rYT4KZdk2ncjKdH2+c0gTAIhAKLMNyxf2AKBk0lCbyPp71ke+9eoWoPWRiQg0TY6h3YV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25170},"main":"./index.esm.js","module":"./index.esm.js","gitHead":"d939a562c5f5947e98df253b28d384399481063e","_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"_npmVersion":"11.16.0","description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typewriter-schema_10.0.0_1785247064800_0.09838822616459764","host":"s3://npm-registry-packages-npm-production"}},"10.0.1":{"name":"@adaskothebeast/typewriter-schema","version":"10.0.1","keywords":["typewriter","typescript","schema","dotnet","json"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-schema@10.0.1","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"271696b466e093895c93844e7563fa775c55ece8","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-schema/-/typewriter-schema-10.0.1.tgz","fileCount":7,"integrity":"sha512-Iboqy3rDl7/xxwKqP1ZumtI/U2xEjOiXtw/8dbs3TS9egN6FG/zj2c8v10oo0ZYnUvoPEV7efL1TnZYoRdax4w==","signatures":[{"sig":"MEQCIE5vBegSvHauO73WP2Nx2L9tG0E4Vym4xX+IYI3rET3dAiB37O5DoYoARS253BsQHB1LKez0l3EgzmkL7Ut8oi3iWw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-schema@10.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16337},"main":"./index.esm.js","type":"module","types":"./index.d.ts","module":"./index.esm.js","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d249ac03-861b-4898-b44d-de1ec7c1f90e"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"_npmVersion":"11.16.0","description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typewriter-schema_10.0.1_1785250686920_0.008628453840428651","host":"s3://npm-registry-packages-npm-production"}},"10.0.2":{"name":"@adaskothebeast/typewriter-schema","version":"10.0.2","keywords":["typewriter","typescript","schema","dotnet","json"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-schema@10.0.2","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"62a4f091a88cfe9d97ae9c9e8ac378b26c63b602","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-schema/-/typewriter-schema-10.0.2.tgz","fileCount":7,"integrity":"sha512-iXqxPSoXygOpcAtR2/78CAnN6IXG+FzK5Gcx9vrDWf3vmWBny8IbiMt5a8ywpo+ISDf4J2LcUzIWGLSYoAKFDw==","signatures":[{"sig":"MEYCIQD3MNnBpXl7LHRBaYT3WHeRXj0ZWZUKmIV8qRNX0CB6wwIhAL3c2oUkw38P6r5N5m+gVmS1xlWzQ7Dp+1Zl0DfUhAjq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-schema@10.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16337},"main":"./index.esm.js","type":"module","types":"./index.d.ts","module":"./index.esm.js","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d249ac03-861b-4898-b44d-de1ec7c1f90e"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"_npmVersion":"11.16.0","description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typewriter-schema_10.0.2_1785252306488_0.623954932312839","host":"s3://npm-registry-packages-npm-production"}},"11.0.0":{"name":"@adaskothebeast/typewriter-schema","version":"11.0.0","keywords":["typewriter","typescript","schema","dotnet","json"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-schema@11.0.0","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-schema#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"5f0a963a638ba11b7844637fbb9e2b4b93f84454","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-schema/-/typewriter-schema-11.0.0.tgz","fileCount":11,"integrity":"sha512-iP2JAThQ2WdqTTRJAaJtMSEd41Ex/2DwYk50N1xhlr1lzz/MRQ3lbIHmh5vYkU21m4S8r3G+048U0ma3xs5xzg==","signatures":[{"sig":"MEQCIEfYIHM5Cud5FvP+4uIqsD1JPgFiiIsPt+lS7cCwfdvXAiA0VvKKaVWZq7gV1P8uQpw6kyavo+8tb4S6FYkSQHm2aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHJCHywhNo4sdwlfP9PygKOFlr4XN+/pz5+xZ2kru4VbAiEAoSHVS7ytEumFrzE5aniZi0Q8k7cWcBmvt03VoxEzKQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-schema@11.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31937},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.esm.js","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./index.d.ts","default":"./index.esm.js"},"require":{"types":"./index.d.cts","default":"./index.cjs"}},"./package.json":"./package.json"},"gitHead":"23dc193eb4d8d834b51de51e1900225a26c143ff","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d249ac03-861b-4898-b44d-de1ec7c1f90e"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"_npmVersion":"11.19.0","description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typewriter-schema_11.0.0_1790551336532_0.4638722260403807","host":"s3://npm-registry-packages-npm-production"}},"11.0.1":{"_id":"@adaskothebeast/typewriter-schema@11.0.1","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"fbb55ac55cd4e77c70e05fd8ba2fe3edddc038ae","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-schema/-/typewriter-schema-11.0.1.tgz","fileCount":11,"integrity":"sha512-u+ugNs9uuYUlhlZdz/0BMElMc9zmqNPR9j41G0QuoThNtLe6umnJ25HED9HjT+AZqGhoJHi3eRaE9ABW84Kumg==","signatures":[{"sig":"MEUCIQCpLD4/tCBHLnWn1qp5tKqWYyzHC9S4s98IJWiq6TM5vAIgC15tqPHEPDVG4ydbVzdtnR74bKo7pJIhh45quvBG+LI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDqjGcI6IDxXbGxoeK1NzXsANhuI1xK7Is7ug/jESTjCwIhALO6GQ/K+yFdwKimE1S/xT2ZCGqYPzzLddbfx/xRQAjh"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-schema@11.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31937},"main":"./index.cjs","name":"@adaskothebeast/typewriter-schema","type":"module","types":"./index.d.ts","author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"module":"./index.esm.js","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./index.d.ts","default":"./index.esm.js"},"require":{"types":"./index.d.cts","default":"./index.cjs"}},"./package.json":"./package.json"},"gitHead":"f9edf319c5e23bf1a17f5ec4eb8dac0008b9fd26","license":"MIT","version":"11.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"d249ac03-861b-4898-b44d-de1ec7c1f90e"}},"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-schema#readme","keywords":["typewriter","typescript","schema","dotnet","json"],"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"_npmVersion":"11.19.0","description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typewriter-schema_11.0.1_1790750008700_0.9610997698104851"}}},"time":{"created":"2026-07-28T13:57:44.620Z","modified":"2026-09-30T06:33:29.159Z","10.0.0":"2026-07-28T13:57:44.955Z","10.0.1":"2026-07-28T14:58:07.062Z","10.0.2":"2026-07-28T15:25:06.631Z","11.0.0":"2026-09-27T23:22:16.612Z","11.0.1":"2026-09-30T06:33:28.787Z"},"bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-schema#readme","keywords":["typewriter","typescript","schema","dotnet","json"],"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-schema"},"description":"Runtime schema descriptors for Typewriter-generated TypeScript contracts.","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"readme":"# Typewriter Schema\n\nRuntime schema descriptors for Typewriter-generated TypeScript contracts.\n\n```bash\nnpm install @adaskothebeast/typewriter-schema\n```\n\n```ts\nimport { defineTypeRegistry, schema } from '@adaskothebeast/typewriter-schema';\nimport type Decimal from 'decimal.js';\n\ninterface Invoice {\n  amount: Decimal;\n  displayName: string;\n}\n\nexport const InvoiceSchema = schema.object<Invoice>({\n  amount: schema.property(schema.decimal<Decimal>('string')),\n  displayName: schema.property(schema.string(), 'display_name'),\n});\n\nexport const apiTypeRegistry = defineTypeRegistry({\n  'Contracts.Invoice': InvoiceSchema,\n});\n```\n\nDescriptors support primitives, Decimal, UUID, Temporal values, arrays, records, nullability, references, discriminated unions, and custom types.\n","readmeFilename":"README.md"}