I'm curious if this sounds crazy or not, but I'm looking to take the GQL queries Payload CMS makes possible and automatically make them available on the Next.JS side of my application.
Is there a tool or common methodology for this? I noticed types and schema are exportable by default. Not sure if these are related to a potential solution.