{"_id":"@ronin/schema","_rev":"4645049","name":"@ronin/schema","description":"Allows for defining the schema of a RONIN database in code.","dist-tags":{"latest":"0.1.6"},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"time":{"modified":"2026-04-10T20:13:39.000Z","created":"2024-12-16T15:42:53.504Z","0.1.6":"2025-01-07T10:41:56.102Z","0.1.5-leo-ron-1097-experimental-23":"2025-01-07T09:23:15.404Z","0.1.5":"2025-01-06T19:37:30.929Z","0.1.4-leo-ron-1071-experimental-21":"2025-01-06T19:28:22.191Z","0.1.4-corny-ron-1071-experimental-15":"2025-01-05T10:04:30.814Z","0.1.4":"2025-01-01T11:08:02.575Z","0.1.3-leo-ron-1071-experimental-10":"2025-01-01T09:05:44.855Z","0.1.3":"2024-12-31T07:55:23.812Z","0.1.2-corny-ron-1071-experimental-6":"2024-12-19T17:50:05.547Z","0.1.2":"2024-12-18T15:45:11.652Z","0.1.1-corny-ron-1071-experimental-4":"2024-12-18T13:37:23.502Z","0.1.1":"2024-12-16T17:24:41.118Z","0.1.0":"2024-12-16T15:42:53.504Z"},"users":{},"author":{"name":"ronin"},"versions":{"0.1.6":{"name":"@ronin/schema","version":"0.1.6","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./schema":"./dist/schema.js","./queries":"./dist/queries.js"},"typesVersions":{"*":{"schema":["./dist/schema"],"queries":["./dist/queries"]}},"scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","devDependencies":{"@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.8","@types/bun":"1.1.14","ronin":"5.3.5","tsup":"8.3.5"},"_id":"@ronin/schema@0.1.6","gitHead":"d672a6e8040192a9df7398ed7f531ec1de2a897b","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"1a8141981801998952b3a6a99fcdd18d089e250a","size":22549,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.6.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.6_1736246515920_0.5157390921371445"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-07T10:41:56.102Z","publish_time":1736246516102,"_source_registry_name":"default","_cnpm_publish_time":1736246516102},"0.1.5-leo-ron-1097-experimental-23":{"name":"@ronin/schema","version":"0.1.5-leo-ron-1097-experimental-23","keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","_id":"@ronin/schema@0.1.5-leo-ron-1097-experimental-23","maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"dist":{"shasum":"7446d9e3f701eb062c6e6f78fde97533ab362bed","size":19658,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.5-leo-ron-1097-experimental-23.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.5-leo-ron-1097-experimental-23.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"174c1a8c507bb3fd1010a7006807edad1bce2ea5","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","test":"bun test","build":"tsup ./src/index.ts --dts --dts-resolve --format esm","format":"biome check --write && biome format --write","prepare":"bun run build","lint:tsc":"tsc --pretty","lint:biome":"biome check"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"_npmVersion":"10.8.2","description":"Allows for defining the schema of a RONIN database in code.","directories":{},"_nodeVersion":"18.20.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"8.3.5","ronin":"5.3.5","@types/bun":"1.1.14","@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.8"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.1.5-leo-ron-1097-experimental-23_1736241795253_0.04434531343152215","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-01-07T09:23:15.404Z","publish_time":1736241795404,"_source_registry_name":"default","_cnpm_publish_time":1736241795404},"0.1.5":{"name":"@ronin/schema","version":"0.1.5","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --dts-resolve --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","devDependencies":{"@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.8","@types/bun":"1.1.14","ronin":"5.3.5","tsup":"8.3.5"},"_id":"@ronin/schema@0.1.5","gitHead":"4ce5c63806eaf299927ea7ef0d6944c2a635e069","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"6ce1f7fc0a66dc47d94e65982c5f62d4e0063f3a","size":19661,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.5.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.5_1736192250723_0.1275745861235249"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-06T19:37:30.929Z","publish_time":1736192250929,"_source_registry_name":"default","_cnpm_publish_time":1736192250929},"0.1.4-leo-ron-1071-experimental-21":{"name":"@ronin/schema","version":"0.1.4-leo-ron-1071-experimental-21","keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","_id":"@ronin/schema@0.1.4-leo-ron-1071-experimental-21","maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"dist":{"shasum":"17a0f74f190859d10d465a0b31cbeeac138dace6","size":19687,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.4-leo-ron-1071-experimental-21.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.4-leo-ron-1071-experimental-21.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"07e0bb802b1297aef93ff77a255e516f9e6d5f86","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","test":"bun test","build":"tsup ./src/index.ts --dts --dts-resolve --format esm","format":"biome check --write && biome format --write","prepare":"bun run build","lint:tsc":"tsc --pretty","lint:biome":"biome check"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"_npmVersion":"10.8.2","description":"Allows for defining the schema of a RONIN database in code.","directories":{},"_nodeVersion":"18.20.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"8.3.5","ronin":"5.3.5","@types/bun":"1.1.14","@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.8"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.1.4-leo-ron-1071-experimental-21_1736191701986_0.0739214549857734","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-01-06T19:28:22.191Z","publish_time":1736191702191,"_source_registry_name":"default","_cnpm_publish_time":1736191702191},"0.1.4-corny-ron-1071-experimental-15":{"name":"@ronin/schema","version":"0.1.4-corny-ron-1071-experimental-15","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --dts-resolve --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","devDependencies":{"@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.1","@types/bun":"1.1.14","ronin":"5.3.5","tsup":"8.3.5"},"_id":"@ronin/schema@0.1.4-corny-ron-1071-experimental-15","readmeFilename":"README.md","gitHead":"090babb91e9a2b47722729d490d71cc512834971","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"6d2b8f6cc2a7c3b44ec739d5c5ab1d8af2d3c4e3","size":19713,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.4-corny-ron-1071-experimental-15.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.4-corny-ron-1071-experimental-15.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.4-corny-ron-1071-experimental-15_1736071470624_0.6357197061802571"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-05T10:04:30.814Z","publish_time":1736071470814,"_source_registry_name":"default","_cnpm_publish_time":1736071470814},"0.1.4":{"name":"@ronin/schema","version":"0.1.4","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --dts-resolve --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","devDependencies":{"@biomejs/biome":"1.9.4","@ronin/compiler":"0.13.1","@types/bun":"1.1.14","ronin":"5.3.5","tsup":"8.3.5"},"_id":"@ronin/schema@0.1.4","gitHead":"4982f2f3a025d0b8e9d8121eaf785307470e7ac7","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"b52cb74272955d739b31de72f1c431972d2b98fd","size":19382,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.4.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.4_1735729682416_0.17630402028747616"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-01T11:08:02.575Z","publish_time":1735729682575,"_source_registry_name":"default","_cnpm_publish_time":1735729682575},"0.1.3-leo-ron-1071-experimental-10":{"name":"@ronin/schema","version":"0.1.3-leo-ron-1071-experimental-10","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.12.4","@types/bun":"1.1.10","ronin":"5.2.0","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.3-leo-ron-1071-experimental-10","readmeFilename":"README.md","gitHead":"c07cec6c723e66a5a5ca10221de13e1fd4cf466d","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"60a89ae94ac45a4349b39f053485513c14f507ca","size":8443,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.3-leo-ron-1071-experimental-10.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.3-leo-ron-1071-experimental-10.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.3-leo-ron-1071-experimental-10_1735722344683_0.7666289594537721"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-01T09:05:44.855Z","publish_time":1735722344855,"_source_registry_name":"default","_cnpm_publish_time":1735722344855},"0.1.3":{"name":"@ronin/schema","version":"0.1.3","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.12.4","@types/bun":"1.1.10","ronin":"5.2.0","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.3","gitHead":"a5b31d9564a6e544afb3d7b61ba21daf6e57f4b5","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"a3440f26ad79168a416ab25d7790b78785e9c798","size":8299,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.3.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.3_1735631723655_0.8265007052362625"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-31T07:55:23.812Z","publish_time":1735631723812,"_source_registry_name":"default","_cnpm_publish_time":1735631723812},"0.1.2-corny-ron-1071-experimental-6":{"name":"@ronin/schema","version":"0.1.2-corny-ron-1071-experimental-6","keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","_id":"@ronin/schema@0.1.2-corny-ron-1071-experimental-6","maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"dist":{"shasum":"6d90fe87efaf3aff1ef7bcec17f2714b13174b88","size":8325,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.2-corny-ron-1071-experimental-6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.2-corny-ron-1071-experimental-6.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"0b7bef494ea25aec9c2b167d2d4cbb034779778c","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","format":"biome check --write && biome format --write","prepare":"bun run build","lint:tsc":"tsc --pretty","lint:biome":"biome check"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"_npmVersion":"10.8.2","description":"Allows for defining the schema of a RONIN database in code.","directories":{},"_nodeVersion":"18.20.5","dependencies":{"zod":"3.23.8","ronin":"5.2.0","@types/bun":"1.1.10","@ronin/compiler":"0.12.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"8.3.0","typescript":"5.6.3","@biomejs/biome":"1.9.2"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.1.2-corny-ron-1071-experimental-6_1734630605342_0.06882757953323826","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2024-12-19T17:50:05.547Z","publish_time":1734630605547,"_source_registry_name":"default","_cnpm_publish_time":1734630605547},"0.1.2":{"name":"@ronin/schema","version":"0.1.2","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.12.4","@types/bun":"1.1.10","ronin":"5.2.0","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.2","gitHead":"e04d7571a946c0f28c91137037cae164a0128395","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"e1f8efc77ca5d97d336ba0b7c9d798fe3878d958","size":8175,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.2.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.2_1734536711464_0.293205919125175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-18T15:45:11.652Z","publish_time":1734536711652,"_source_registry_name":"default","_cnpm_publish_time":1734536711652},"0.1.1-corny-ron-1071-experimental-4":{"name":"@ronin/schema","version":"0.1.1-corny-ron-1071-experimental-4","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.12.4","@types/bun":"1.1.10","ronin":"5.2.0","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.1-corny-ron-1071-experimental-4","readmeFilename":"README.md","gitHead":"86640e854bbda24d48bb3fd7e3d2675ea705b9b8","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"3b262d33a474344ad22490b6af61d0787acedf4c","size":8200,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.1-corny-ron-1071-experimental-4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.1-corny-ron-1071-experimental-4.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.1-corny-ron-1071-experimental-4_1734529043301_0.39159853889307294"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-18T13:37:23.502Z","publish_time":1734529043502,"_source_registry_name":"default","_cnpm_publish_time":1734529043502},"0.1.1":{"name":"@ronin/schema","version":"0.1.1","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.12.4","@types/bun":"1.1.10","ronin":"5.1.4","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.1","gitHead":"4bbe61569e27d5675aee1ea396a1ad3772686663","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"shasum":"8e04cf96f6b2f4164c2ec15514680924b75a4495","size":8175,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.1.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.1_1734369880949_0.07381099162980043"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-16T17:24:41.118Z","publish_time":1734369881118,"_source_registry_name":"default","_cnpm_publish_time":1734369881118},"0.1.0":{"name":"@ronin/schema","version":"0.1.0","type":"module","description":"Allows for defining the schema of a RONIN database in code.","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"bun run --bun lint:tsc && bun run --bun lint:biome","lint:biome":"biome check","lint:tsc":"tsc --pretty","format":"biome check --write && biome format --write","test":"bun test","build":"tsup ./src/index.ts --dts --format esm","prepare":"bun run build"},"keywords":["database","schema","primitives"],"author":{"name":"ronin"},"license":"Apache-2.0","dependencies":{"@ronin/compiler":"0.10.3","@types/bun":"1.1.10","@types/title":"3.4.3","ronin":"5.0.1","title":"3.5.3","zod":"3.23.8"},"devDependencies":{"@biomejs/biome":"1.9.2","tsup":"8.3.0","typescript":"5.6.3"},"_id":"@ronin/schema@0.1.0","gitHead":"7126a86041f84e7ed5300da0d1587efa52cf44d1","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"shasum":"cae28ba5ed262928f92caeba9a9e7c379b87e123","size":8282,"noattachment":false,"key":"/@ronin/schema/-/@ronin/schema-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ronin/schema/download/@ronin/schema-0.1.0.tgz"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"maintainers":[{"name":"codenn","email":""},{"name":"juriadams","email":""},{"name":"leo","email":"799947425@qq.com"},{"name":"nurodev","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.0_1734363773314_0.30722877315193076"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-16T15:42:53.504Z","publish_time":1734363773504,"_source_registry_name":"default","_cnpm_publish_time":1734363773504}},"readme":"# RONIN Schema\n\n[![tests](https://img.shields.io/github/actions/workflow/status/ronin-co/schema/validate.yml?label=tests)](https://github.com/ronin-co/schema/actions/workflows/validate.yml)\n[![code coverage](https://img.shields.io/codecov/c/github/ronin-co/schema)](https://codecov.io/github/ronin-co/schema)\n[![install size](https://packagephobia.com/badge?p=@ronin/schema)](https://packagephobia.com/result?p=@ronin/schema)\n\nThis package provides all primitives necessary for defining a [RONIN database schema](https://ronin.co/docs/platform/schemas-in-code) in code.\n\n## Setup\n\nYou don't need to install this package explicitly, as it is already included in the [RONIN client](https://github.com/ronin-co/client).\n\nHowever, we would be excited to welcome your feature suggestions or bug fixes for the RONIN schema. Read on to learn more about how to suggest changes.\n\n## Contributing\n\nTo start contributing code, first make sure you have [Bun](https://bun.sh) installed, which is a JavaScript runtime.\n\nNext, [clone the repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) and install its dependencies:\n\n```bash\nbun install\n```\n\nOnce that's done, link the package to make it available to all of your local projects:\n\n```bash\nbun link\n```\n\nInside your project, you can then run the following command, which is similar to `bun add @ronin/schema` or `npm install @ronin/schema`, except that it doesn't install `@ronin/schema` from npm, but instead uses your local clone of the package:\n\n```bash\nbun link @ronin/schema\n```\n\nIf your project is not yet compatible with [Bun](https://bun.sh), feel free to replace all of the occurrences of the word `bun` in the commands above with `npm` instead.\n\nYou will just need to make sure that, once you [create a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request#creating-the-pull-request) on the current repo, it will not contain a `package-lock.json` file, which is usually generated by npm. Instead, we're using the `bun.lockb` file for this purpose (locking sub dependencies to a certain version).\n\n### Transpilation\n\nIn order to be compatible with a wide range of projects, the source code of the `schema` repo needs to be compiled (transpiled) whenever you make changes to it. To automate this, you can keep this command running in your terminal:\n\n```bash\nbun run dev\n```\n\nWhenever you make a change to the source code, it will then automatically be transpiled again.\n\n### Running Tests\n\nThe RONIN schema has 100% test coverage, which means that every single line of code is tested automatically, to ensure that any change to the source code doesn't cause a regression.\n\nBefore you create a pull request on the `schema` repo, it is therefore advised to run those tests in order to ensure everything works as expected:\n\n```bash\n# Run all tests\nbun test\n\n# Alternatively, run a single test\nbun test -t 'your test name'\n```","_attachments":{},"license":"Apache-2.0"}