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