Wrote an article
Following the post on GraphQL queries with no Apollo client and no urql...

here's how you can generate TypeScript types from GraphQL APIs using graphql-codegen in ❤️ Svelte

also see how to do auth

hope you find it useful!

https://rodneylab.com/sveltekit-graphql-type-generation/