/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import { object, string } from "yup";
export default function yupTypeMapper(keys) {
    const shape = keys.reduce((acc, key) => {
        acc[key] = string().required().default('');
        return acc;
    }, {});
    return object(shape);
}
