opts.input is of type undifined
RegisterSchema is a zod schema comming from an another file
it is giving me the error opts.input is of type undefined
register: publicProcedure.input(
RegisterSchema
).mutation(async (opts) => {
//checking for existing user
const existingUser = await db.select().from(user).where(eq(user.email, opts.input.email));