// resolvers.ts export const resolvers = { Mutation: { submitForm: async (_: any, { input }: any) => { const { name, email, phone, location, info } = input; // Handle your logic here (e.g., save to DB) console.log("Form submission received:", input); return { success: true, message: "Form submitted successfully!", }; }, }, };