import { required, email, numeric, sameAs, requiredUnless, requiredIf } from "vuelidate/lib/validators";
import authenticationHandler from '../authenticationHandler'
export default {
    validations: {
        parameters: {
            name: {
                required
            },
            email: {
                required,
                email
            },
            phone: {
                required,
                numeric
            },
            password: {
                required
            },
            password_confirmation: {
                required,
                sameAs: sameAs('password')
            },
        }
    },
    mixins: [authenticationHandler]
}