import { required, numeric } from "vuelidate/lib/validators";

export default {
    validations: {
        parameters: {
            type: {
                required
            },
            description: {
                required
            },
            width: {
                required,
                numeric
            },
            height: {
                required,
                numeric
            },
            length: {
                required,
                numeric
            },
            weight: {
                required,
                numeric
            },
            quantity: {
                required,
                numeric
            },
            reference: {
                required
            }
        }
    },
}