{"repo":"sebastianwessel/surrealdb-client-generator","free":true,"listed":false,"github":"https://github.com/sebastianwessel/surrealdb-client-generator","clone":"git clone https://github.com/sebastianwessel/surrealdb-client-generator.git","description":"Tool which generates a typescript client for SurrealDB and zod schema of a given database","language":"TypeScript","stars":113,"topics":["client","client-generator","database","generator","schema","surrealdb","typescript","zod"],"license":"MIT","category":"databases-storage","readme_excerpt":"SurrealDB Client & Zod Schema Generator SurrealDB Schema Generator is a handy tool that simplifies the process of generating zod schemas and TypeScript clients for SurrealDB based on your provided database schema. Its primary purpose is to offer a fundamental starting point, not to replace a full-blown automated ORM. Features - Generate zod schemas and TypeScript clients for SurrealDB. - Utilize your existing database schema created with excellent tools like surrealist.app. - Benefit from a user-friendly Designer in Surrealist to craft your data model effortlessly. - Export your schema from Surrealist and use it with this tool. - Choose to generate only zod schemas or include a basic TypeScript client. - Utilize zod schemas for CIRQL if needed. Documentation - User and maintainer docs: docs/ - Contribution guide: CONTRIBUTING.md 🚨 Warning Version 2.x Version 2 has breaking changes! The tool now uses surrealdb instead of surrealdb.node for interacting with a SurrealDB instance. The change was made, because it seems that surrealdb is closer to the SurrealDB development process and more up to date in general. This means, the option \"memory\" for connections is no longer available, and you need to run against a real running SurrealDB instance (use docker). Compatibility Notes - Internal dependency was upgraded to zod@4 . - Generated schema snippets are intentionally kept within APIs that are compatible with both Zod 3 and Zod 4 (for consumers who still validate with Zod 3 in thei","default_branch":null,"files":null,"tree":[],"storefront":"/r/sebastianwessel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sebastianwessel/surrealdb-client-generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}