{"_id":"@vibeorm/schema","_rev":"17-cf3658e04ec973a26c1d5f08560158ae","name":"@vibeorm/schema","dist-tags":{"alpha":"2.0.0-alpha.8","latest":"2.4.0"},"versions":{"2.0.0-alpha.1":{"name":"@vibeorm/schema","version":"2.0.0-alpha.1","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.1","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"f5305942678ca23b2d0f5219da23007136db92db","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-QxKfARIIj0bNfO30/mJkvaqYchUaAEzkLTGdO57NX2/19YOSw6T24SUnC89eF5JHmm4QVePEt6Sp/ojXgzD7cQ==","signatures":[{"sig":"MEUCICcOOgNsNZo22wkpbBvWQRszGUgaHi8nNejOuZLrNOifAiEAheQcQ2YljcYTLK5N2ueN9XF2f///jzHWWRdsp1afEfk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117685},"type":"module","shasum":"f5305942678ca23b2d0f5219da23007136db92db","engines":{"bun":">=1.2.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-QxKfARIIj0bNfO30/mJkvaqYchUaAEzkLTGdO57NX2/19YOSw6T24SUnC89eF5JHmm4QVePEt6Sp/ojXgzD7cQ==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.1_1785941769649_0.26901702398446425","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.2":{"name":"@vibeorm/schema","version":"2.0.0-alpha.2","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.2","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"c94a5aee38a6f7b55971a6ba03878c6e80fb17a3","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.2.tgz","fileCount":22,"integrity":"sha512-S1EXsacTn9IqF50MrrO/qY0ul+qsgRpdemMUMgITN08q3CQ59vxJVZpUrCKeRdnINl5dOzaGNDtbiOh+DE8RZw==","signatures":[{"sig":"MEUCIQC97dpZ+NqNfC9Wm82xBdOPCknOmB499n3siE+6I54Y1wIgdNqu0wMAo+kmLzc5gln7PnuNHcKRqUT9RQ2AjC+tdwk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135108},"type":"module","shasum":"c94a5aee38a6f7b55971a6ba03878c6e80fb17a3","engines":{"bun":">=1.2.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-S1EXsacTn9IqF50MrrO/qY0ul+qsgRpdemMUMgITN08q3CQ59vxJVZpUrCKeRdnINl5dOzaGNDtbiOh+DE8RZw==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.2_1785960193003_0.10175457163866763","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.3":{"name":"@vibeorm/schema","version":"2.0.0-alpha.3","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.3","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"f4a78c58f6d3f4d435acdd7afbb772733870c56c","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.3.tgz","fileCount":22,"integrity":"sha512-/IJmwkjQh0MEDTRwTgtOmiFw2eJBqnEPNPsdnsZ34zbhR8TvTx1Ln6HghXnB9EzIE5aUSrpr7fC/fXkoQWfrGg==","signatures":[{"sig":"MEQCIFjblwHdI17Bok0Oad/IZB1EW7+J9p66hEwp49SzwIyPAiBsjB/m4SPbs4sn8NCkYsIXNlGd37VAjHfwwTIA7AzJ1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135128},"type":"module","shasum":"f4a78c58f6d3f4d435acdd7afbb772733870c56c","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-/IJmwkjQh0MEDTRwTgtOmiFw2eJBqnEPNPsdnsZ34zbhR8TvTx1Ln6HghXnB9EzIE5aUSrpr7fC/fXkoQWfrGg==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.3_1786363929493_0.7712814397793011","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.4":{"name":"@vibeorm/schema","version":"2.0.0-alpha.4","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.4","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"280488f90b110b18e91e5562f8c90805a5dac362","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.4.tgz","fileCount":22,"integrity":"sha512-tRKJ8IVQUPOW4eQxTLfg/8s0x+wNLVngxrGp0p0dEU8FzLSvuMZfmmbIhCO1MRVlMIvnJ+UigsoEWNyZ8HWRNQ==","signatures":[{"sig":"MEQCIF7jeN1GoGw7t0fFJ1evMCs/Vi07qi+wVRkyMI+jM+yFAiArs/3L67XUILdXiHtj7OMjayVQoACqGzIxhb5W3tmQ3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142061},"type":"module","shasum":"280488f90b110b18e91e5562f8c90805a5dac362","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-tRKJ8IVQUPOW4eQxTLfg/8s0x+wNLVngxrGp0p0dEU8FzLSvuMZfmmbIhCO1MRVlMIvnJ+UigsoEWNyZ8HWRNQ==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.4_1786401588786_0.0639103458012642","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.5":{"name":"@vibeorm/schema","version":"2.0.0-alpha.5","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.5","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"24684c6ba1ca4b0319fcc607566c4f26a6f81d33","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.5.tgz","fileCount":22,"integrity":"sha512-3O1Yz7NUUbC0V9h/Cg4uta5Gb3LUcRMt9xL8tevse96QOIT71v5zZuXmaoAQUaW0EFzVxpZAZReYbII2o+CZZw==","signatures":[{"sig":"MEUCIDGJfAXFWMKEBh/+l3f28sprwYVgEvnkXEuLrpFQYaDxAiEAg5e5KSBdczfhepYQRaF1yNM4B7hVThH5PD52rZWBRQE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":151476},"type":"module","shasum":"24684c6ba1ca4b0319fcc607566c4f26a6f81d33","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-3O1Yz7NUUbC0V9h/Cg4uta5Gb3LUcRMt9xL8tevse96QOIT71v5zZuXmaoAQUaW0EFzVxpZAZReYbII2o+CZZw==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.5_1786478322292_0.7039303034083515","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.6":{"name":"@vibeorm/schema","version":"2.0.0-alpha.6","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.6","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"838d56f40c0a0738375710475f9f03a2d9218e16","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.6.tgz","fileCount":22,"integrity":"sha512-eIayXiI8XOW4Cwz7H/kNLvIG46GSEiFAoSRqQTqTunVdu0st3Bf9ZoUmDtkbBIDuBwUUABwvui0o9f1qQWJv2Q==","signatures":[{"sig":"MEUCIQDwbBAHfUQ/KcZ85OWBGDT1/b3E+wEWgC8wQ9twSHin9gIgSnYE+DWc/Avh/0rKqRH4GJZBIYNvkLQkhR2jC1PQWVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158471},"type":"module","shasum":"838d56f40c0a0738375710475f9f03a2d9218e16","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-eIayXiI8XOW4Cwz7H/kNLvIG46GSEiFAoSRqQTqTunVdu0st3Bf9ZoUmDtkbBIDuBwUUABwvui0o9f1qQWJv2Q==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.6_1787058267470_0.9935443235219714","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.7":{"name":"@vibeorm/schema","version":"2.0.0-alpha.7","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.7","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"dcf27e7f7b8ce72a28710a6e967ee2ff6e792465","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.7.tgz","fileCount":22,"integrity":"sha512-PCDXHtswLfF+SvXnZOEvmZ3FYOdm79Dy2I5oao5oOOQ2jqvIkeXIW15TMjrLgV4EtL6WJcctGsNvPg5iB/QyBw==","signatures":[{"sig":"MEUCIQCpJl5JGw7JwMwgCqPSvH6lZ4xsUP/VfMREOr9/HVVk+AIgfM8AiQuCGj3HhuZ/SL9zPx+UDjQK6bBoLI6/1+tulhw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167390},"type":"module","shasum":"dcf27e7f7b8ce72a28710a6e967ee2ff6e792465","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-PCDXHtswLfF+SvXnZOEvmZ3FYOdm79Dy2I5oao5oOOQ2jqvIkeXIW15TMjrLgV4EtL6WJcctGsNvPg5iB/QyBw==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.7_1788103859402_0.2756313753334654","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.8":{"name":"@vibeorm/schema","version":"2.0.0-alpha.8","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0-alpha.8","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"779dbc3eee879c076d090a8edfa02c444415b561","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0-alpha.8.tgz","fileCount":24,"integrity":"sha512-PDVYW3vuvWdbBU85VNnp62cOdF8fWpztUOzSFhouPt5GPkdyZElSTP50HOMs+VrRpzAgkQRHclQNkfTXfS0QqQ==","signatures":[{"sig":"MEUCIBl0bVu7WKHrBb/8tpnntxuuP3RnfZQcarVbZUXsFnATAiEAkqGdMzFL3T0LQnul7aNsh1NEgFz4PPyf/wscEVlXC70=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":263592},"type":"module","shasum":"779dbc3eee879c076d090a8edfa02c444415b561","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-PDVYW3vuvWdbBU85VNnp62cOdF8fWpztUOzSFhouPt5GPkdyZElSTP50HOMs+VrRpzAgkQRHclQNkfTXfS0QqQ==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0-alpha.8_1788791487026_0.20292918327220932","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@vibeorm/schema","version":"2.0.0","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.0.0","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"c19e2104606a51e8c8d401adb64a3e3d2d4ee658","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.0.0.tgz","fileCount":26,"integrity":"sha512-4z5NvDUl3eOai8FOPymLhC71sEfNo0HyPRd28Dt/VEj/tv45cQBzMO7LI3VYud9OzbGzlxNFRdm5Xjj9xHpnOQ==","signatures":[{"sig":"MEYCIQDSZql1MGpzlUe1mqODzKK5/NtuAiuOHIDSwAlmUcNZQwIhANUZokoA8nBEvYgFWCXKY8pHbqvIZENxUcN70QLGW2r0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":282398},"type":"module","shasum":"c19e2104606a51e8c8d401adb64a3e3d2d4ee658","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-4z5NvDUl3eOai8FOPymLhC71sEfNo0HyPRd28Dt/VEj/tv45cQBzMO7LI3VYud9OzbGzlxNFRdm5Xjj9xHpnOQ==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0_1788863371999_0.5988982140187054","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@vibeorm/schema","version":"2.1.0","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.1.0","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"cb9fdafce42f96b5f348f6d9e29c7ff67a141568","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.1.0.tgz","fileCount":32,"integrity":"sha512-Sd3AoYH6M8O+0+uXDE9Y2PeENmJ1m0dGKXtJZUnBU3klM+UkCCqUD4P2nDxVxjuSPhNRQdKELlEEGn0x69Q+EA==","signatures":[{"sig":"MEUCIQD8F89+hSAkzsDax0jm8kDUbLX+odS3C9+W6Qkd+gb0WgIgU38oxGXLI7xYoM3kyRVD86AWqOKCy/yjdLjrLdiTEHo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355805},"type":"module","shasum":"cb9fdafce42f96b5f348f6d9e29c7ff67a141568","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-Sd3AoYH6M8O+0+uXDE9Y2PeENmJ1m0dGKXtJZUnBU3klM+UkCCqUD4P2nDxVxjuSPhNRQdKELlEEGn0x69Q+EA==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.1.0_1789130367465_0.6525010860557019","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@vibeorm/schema","version":"2.1.1","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.1.1","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"14193da53154049492e987c2481bb61dfe8c3421","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.1.1.tgz","fileCount":32,"integrity":"sha512-I/HQZf7xSPqIQPSutcCBRABmWwjU4kDp5oA7fQ9CI4QLXtMkuc5X897fTECdHyurfnZCDZ+KZ1RNQZoWf9ZfzQ==","signatures":[{"sig":"MEUCIQDA4Q3FtNnL3hF9XT/glWUrEk5MIKeiubO9JlwlK05wDwIgSgAffdc0yDUabVTJ6pWMN30U+/BFZNrrndUTGPo4ZaA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355884},"type":"module","shasum":"14193da53154049492e987c2481bb61dfe8c3421","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-I/HQZf7xSPqIQPSutcCBRABmWwjU4kDp5oA7fQ9CI4QLXtMkuc5X897fTECdHyurfnZCDZ+KZ1RNQZoWf9ZfzQ==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.1.1_1789147020749_0.8308840196825409","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@vibeorm/schema","version":"2.2.0","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.2.0","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"e197f69a52b4545bf1df8136a2d07de5ca1e6227","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.2.0.tgz","fileCount":34,"integrity":"sha512-oyUFgt2FnDQTeUp77pTSXwLzqWTMgn4Fh414kGjPxlDdFKqjFiExu8TRM5WbfTTRnVzj6075czn0Sg3MqycYdA==","signatures":[{"sig":"MEUCIQCK+A5SIbCPjNITEze2bR0Y4SmjU9BvqVOKtdtuJuVzXwIgQW/yjoPVlYiD3UaInjP/ndjWtk2TcwlRBlhFb0TC4ls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":368223},"type":"module","shasum":"e197f69a52b4545bf1df8136a2d07de5ca1e6227","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-oyUFgt2FnDQTeUp77pTSXwLzqWTMgn4Fh414kGjPxlDdFKqjFiExu8TRM5WbfTTRnVzj6075czn0Sg3MqycYdA==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.0_1789242210226_0.3531564229798845","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@vibeorm/schema","version":"2.3.0","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"author":"VibeORM contributors","license":"MIT","_id":"@vibeorm/schema@2.3.0","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"0f217ab1239e0dfe28c891841854d1b159b02df7","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.3.0.tgz","fileCount":34,"integrity":"sha512-Tm+/KDmitZ+q0u+rdnj91xG6cTkNq15N52UylWwx+wgufKOt0R5o94/soYey7FDOlE81muGljmyZhQyV2KGx/A==","signatures":[{"sig":"MEUCICYuFQgVkrwvxvJXkJIEIjzJdFFbQ39Mf/05P+dBy+9UAiEA5pgaDz4DLJDtQLXJIcySsP3pfDe8MEKKrXY+Rp2TBss=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDZilCRlsz+KoL0cvRePLSnDIKxwIA3LT/PZOENPxa9SAIhAN8a+sijPT9JzeL/kr2baIaTb97eazvl2pBB6u5lNSdH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":371074},"type":"module","shasum":"0f217ab1239e0dfe28c891841854d1b159b02df7","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"_integrity":"sha512-Tm+/KDmitZ+q0u+rdnj91xG6cTkNq15N52UylWwx+wgufKOt0R5o94/soYey7FDOlE81muGljmyZhQyV2KGx/A==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"_nodeVersion":"26.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/schema_2.3.0_1789576745804_0.6573400923298836","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"_id":"@vibeorm/schema@2.4.0","bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"dist":{"shasum":"955807b0c4069cc36fc7d06bc5e2e31f5d589adb","tarball":"https://registry.npmjs.org/@vibeorm/schema/-/schema-2.4.0.tgz","fileCount":36,"integrity":"sha512-1R3M9CNtE2zyTflG89rg3txiAsfXfp1E6E+gnk2sfOQeZ7vQ4G1/9ougZrD6bbd8tTYksLBRHZxrs/W/b1jv6w==","signatures":[{"sig":"MEUCIQDah21vmGU8UHDy9OecXMyqUJkaBlzO1D2ckicYGXQMAAIgdK2JTWrX/02kC1K0jcwsWUxHvTRx6ZvcZtNYwIn3+YI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAKgucAEj9aezT8KKuKA6jvvAgoZWqhgezYITb3swCXQAiEAtvUdInpnRpd7TDVkpMNMZr7c96p+MndxWShJc/dANvQ="}],"unpackedSize":430064},"name":"@vibeorm/schema","type":"module","author":"VibeORM contributors","shasum":"955807b0c4069cc36fc7d06bc5e2e31f5d589adb","engines":{"bun":">=1.2.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"license":"MIT","version":"2.4.0","_npmUser":{"name":"skriken","email":"skriken@xnx.no"},"homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"_integrity":"sha512-1R3M9CNtE2zyTflG89rg3txiAsfXfp1E6E+gnk2sfOQeZ7vQ4G1/9ougZrD6bbd8tTYksLBRHZxrs/W/b1jv6w==","repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.8.3","description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","directories":{},"maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"_nodeVersion":"26.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_2.4.0_1789710386820_0.02618604707538208"}}},"time":{"created":"2026-08-05T14:56:09.493Z","modified":"2026-09-18T05:46:27.175Z","2.0.0-alpha.1":"2026-08-05T14:56:09.817Z","2.0.0-alpha.2":"2026-08-05T20:03:13.170Z","2.0.0-alpha.3":"2026-08-10T12:12:09.664Z","2.0.0-alpha.4":"2026-08-10T22:39:48.946Z","2.0.0-alpha.5":"2026-08-11T19:58:42.432Z","2.0.0-alpha.6":"2026-08-18T13:04:27.617Z","2.0.0-alpha.7":"2026-08-30T15:30:59.536Z","2.0.0-alpha.8":"2026-09-07T14:31:27.162Z","2.0.0":"2026-09-08T10:29:32.152Z","2.1.0":"2026-09-11T12:39:27.612Z","2.1.1":"2026-09-11T17:17:00.890Z","2.2.0":"2026-09-12T19:43:30.360Z","2.3.0":"2026-09-16T16:39:05.888Z","2.4.0":"2026-09-18T05:46:26.974Z"},"bugs":{"url":"https://github.com/vibeorm/vibeorm/issues"},"author":"VibeORM contributors","license":"MIT","homepage":"https://github.com/vibeorm/vibeorm/tree/master/packages/schema#readme","keywords":["orm","typescript","sql","database","bun","type-safe","schema","prisma","schema-ir","validation"],"repository":{"url":"https://github.com/vibeorm/vibeorm.git","type":"git","directory":"packages/schema"},"description":"Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2","maintainers":[{"name":"skriken","email":"skriken@xnx.no"}],"readme":"# @vibeorm/schema\n\n> Part of **[VibeORM](https://github.com/vibeorm/vibeorm)** — a type-safe TypeScript ORM for Bun and Node. Prisma-schema or TypeScript-DSL input, a canonical schema IR, a generated client, and a dialect-aware SQL layer over PostgreSQL, PGlite, SQLite and MySQL.\n\nThe canonical Schema IR: the data shape every other VibeORM package reads. It exists as its own package because the parser, the DSL, the generator, migrate and the runtime all need the same schema type without depending on each other.\n\n```bash\nbun add @vibeorm/schema\n```\n\n> **Stable.** `2.0.0`, published under the `latest` dist-tag. The v1 line stays installable as `vibeorm@1`.\n\nMost users never install this directly — it ships as a dependency of [`vibeorm`](https://www.npmjs.com/package/vibeorm). Reach for it when you are building tooling on the IR or SQL layer.\n\n## What it exports\n\n- **The IR types**: `SchemaIR`, `ModelIR`, `FieldIR`, `RelationIR`, `IndexIR`, `IndexFieldIR`, `EnumIR`, `DatasourceIR`, `ExtensionDeclIR`, plus the enumerations `FieldType`, `ScalarType`, `RelationType`, `IndexKind`, `CascadeAction`, `DefaultValueIR`. Helpers: `isEnumType`, `providerToDialect`, `DIALECTS`.\n- **Validation**: `validateSchemaIR({ schema })` returns `ValidationIssue[]`; `assertValidSchemaIR` throws instead. Both are shared by the parser and the DSL, so an IR built either way is held to one set of structural rules.\n- **Dialect identity**: the `Provider` and `Dialect` types, and the `DialectCapabilities` / `FullTextEngine` shapes. The capability *tables* themselves live in [`@vibeorm/sql`](https://github.com/vibeorm/vibeorm/tree/master/packages/sql); this package only fixes their shape.\n- **Errors**: `VibeError`, the `VibeErrorCode` union, the `VIBE_ERROR_CODES` list, and the constructors `internalError` and `unsupportedCapability`. Every error VibeORM throws is a `VibeError` with a stable `code`, so callers branch on codes and never on message text.\n- **Reserved names**: `RESERVED_CLIENT_NAMES`, `RESERVED_DELEGATE_NAMES`, `isReservedClientName`, `isReservedDelegateName` — the collision guard between user models and the client surface.\n- **The implicit many-to-many rule**: `implicitJoinTable` and `ImplicitJoinTable`. One shared definition of the join table an implicit m2m relation maps to, used by the parser and by migrate. Self relations are refused rather than supported (`validateSchemaIR` rule `implicit-self-many-to-many`): one model name on both ends means both relation fields would own column `\"A\"`. The function still derives a self join table's NAME, because introspection and the migration differ must recognise one that already exists in a database.\n- **The extension framework**: `defineExtension`, `buildExtensionRegistry`, `extensionDeclarations`, `mergeExtensionDeclarations`, `extensionManifestEntry`, `extensionOptionsHash`, `EMPTY_EXTENSION_REGISTRY`, and the `VibeExtension` / `ExtensionRegistry` types.\n\n## The error codes\n\n| Code | Meaning |\n|---|---|\n| `VIBE_NOT_FOUND` | `findUniqueOrThrow` / `findFirstOrThrow` / `update` / `delete` target missing |\n| `VIBE_UNIQUE_VIOLATION` | unique constraint violation (driver-mapped) |\n| `VIBE_FK_VIOLATION` | foreign key constraint violation (driver-mapped) |\n| `VIBE_VALIDATION` | input failed validation before reaching the database |\n| `VIBE_SCHEMA_INVALID` | schema failed structural validation |\n| `VIBE_UNSUPPORTED_CAPABILITY` | feature requested on a dialect that does not support it |\n| `VIBE_STALE_CLIENT` | generated client is stale relative to config/schema |\n| `VIBE_CONFIG` | configuration problem (config file, flags, env) |\n| `VIBE_MIGRATION` | migration engine failure, including checksum mismatch |\n| `VIBE_TRANSACTION` | transaction begin/commit/rollback/serialization failure |\n| `VIBE_ADAPTER` | driver or connection failure without a more specific code |\n| `VIBE_INTERNAL` | invariant broken inside VibeORM; always a bug |\n\n## Why the IR is the only currency\n\nBoth schema inputs compile to `SchemaIR`: the `.prisma` parser ([`@vibeorm/parser`](https://github.com/vibeorm/vibeorm/tree/master/packages/parser)) and the TypeScript DSL ([`@vibeorm/dsl`](https://github.com/vibeorm/vibeorm/tree/master/packages/dsl)). Nothing downstream parses schema text.\n\nThe generator, migrate and the runtime read the IR and only the IR. That is what makes the two input formats interchangeable, and what makes `vibeorm convert` a mechanical translation in both directions rather than a rewrite.\n\n## Links\n\n- [Documentation](https://github.com/vibeorm/vibeorm/tree/master/docs)\n- [Getting started](https://github.com/vibeorm/vibeorm/blob/master/docs/getting-started.md)\n- [Repository and issues](https://github.com/vibeorm/vibeorm)\n- MIT licensed\n","readmeFilename":"README.md"}