Inferring types on the server - Better Auth