SQLC can generate typesafe code for interacting with your database. This is done via code-generation.
I thought it would be nice to use vite to hide the code generation and instead import the .sql
files where the queries are defined directly.
Thanks to Typescript's typeRoots
option this is still entirely typesafe,
but offers a better editing experience IMO.