crelte / queries / Query
Type Alias: Query
ts
type Query = string | GqlQuery;A GraphQL query
When importing a graphql file you will get a string with the name of the query or you can use the gql template function to create an GqlQuery. Alternatively you can use the name of the query directly, note thought that this will not reload when you're query changes.