Tool which generates a typescript client for SurrealDB and zod schema of a given database
MIT License
Bot releases are hidden (Show)
surrealdb.js
to surrealdb
by @zvictor in https://github.com/sebastianwessel/surrealdb-client-generator/pull/53
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.5.3...v2.6.0
Published by sebastianwessel 3 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.5.2...v2.5.3
Published by sebastianwessel 3 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.5.1...v2.5.2
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.5.0...v2.5.1
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.5.1...v2.5.2
Published by sebastianwessel 3 months ago
@hammo92 did amazing work:
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/v2.4.0...v2.5.0
Published by sebastianwessel 3 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/2.3.0...v2.4.0
Published by sebastianwessel 4 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/2.2.0...2.3.0
Published by sebastianwessel 4 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/2.1.0...2.2.0
Published by sebastianwessel 4 months ago
The whole mapping from SurrealQL to zod schema and client generation has been refactored.
This fixes (hopefully) several bugs.
The mapping has been improved. It now supports nested structure definitions.
Special handling for lib surrealdb.node
has been removed completely.
Only surrealdb.js
is supported.
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/2.0.0...2.1.0
Published by sebastianwessel 4 months ago
Version 2 has breaking changes!
The tool now uses surrealdb.js instead of surrealdb.node for interacting with a SurrealDB instance.
The change was made, because it seems that surrealdb.js 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).
Also, option -f, --schemaFile
has no longer a default value assigned, because this was forcing to always write to the database.
schemaFile
, which was forcing to write always to the databasePublished by sebastianwessel 8 months ago
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/1.1.1...1.1.2
Published by sebastianwessel 9 months ago
Bumped dependencies
Full Changelog: https://github.com/sebastianwessel/surrealdb-client-generator/compare/1.1.0...1.1.1
Published by sebastianwessel about 1 year ago
Add support for surrealdb.node package 🎉
Published by sebastianwessel about 1 year ago
First version, which is almost untested.