Releases: s4s0l/sqlc-gen-typescript
Releases · s4s0l/sqlc-gen-typescript
v0.0.3
I would highly suggest not to download it from here but rather build it by yourself, but if for whatever reason you trust me, you can use it like:
version: "2"
plugins:
- name: ts
wasm:
url: https://github.com/s4s0l/sqlc-gen-typescript/releases/download/v0.0.3/sqlc-gen-typescript-libsql.wasm
sha256: 612bcf944f1e66e9da24d01df8978737df64e56638513ada882a7dfaf96f71e6
sql:
- schema: "your-schema.sql"
queries: "your-query.sql"
engine: "sqlite"
codegen:
- plugin: ts
out: your/output/dir
options:
runtime: node
driver: libsqlv0.0.2
I would highly suggest not to download it from here but rather build it by yourself, but if for whatever reason you trust me, you can use it like:
version: "2"
plugins:
- name: ts
wasm:
url: https://github.com/s4s0l/sqlc-gen-typescript/releases/download/v0.0.2/sqlc-gen-typescript-libsql.wasm
sha256: 18be485818533a7abde7a682b63df37bbc651ee21af1953988596badd780c733
sql:
- schema: "your-schema.sql"
queries: "your-query.sql"
engine: "sqlite"
codegen:
- plugin: ts
out: your/output/dir
options:
runtime: node
driver: libsqlv0.0.1
I would highly suggest not to download it from here but rather build it by yourself, but if for whatever reason you trust me, you can use it like:
version: "2"
plugins:
- name: ts
wasm:
url: https://github.com/s4s0l/sqlc-gen-typescript/releases/download/v0.0.1/sqlc-gen-typescript-libsql.wasm
sha256: 4aa545eb7c568ed4a09f0dfd0b9a34fe293d4c3f2faed4e630661e9fcc0a2963
sql:
- schema: "your-schema.sql"
queries: "your-query.sql"
engine: "sqlite"
codegen:
- plugin: ts
out: your/output/dir
options:
runtime: node
driver: libsql