import { groq } from "next-sanity"; import { imageQuery } from "./shared/image"; import { bodyQuery } from "./shared/body"; export const TESTIMONIALS_QUERY = groq`*[_type == "testimonial"] | order(orderRank asc, _createdAt asc){ _id, name, title, rating, image{ ${imageQuery} }, body[]{ ${bodyQuery} } }`;