Keep in mind that WunderGraph is frontend framework-agnostic, so you can use it with any frontend framework, not just Next.js.
To define your first TypeScript Operation, create a new file in the
Now you can use the operation in your NextJS page.
Types are shared between client and server, that's why we call this isomorphic TypeScript APIs.
If you want to learn more about this feature, how to use it with mutations and subscriptions, have a look at the reference documentation.