I have a query that returns a list of results but I am using it in this case to get one object:
import { resultsQuery } from "@/graphql/query.js";