import { ISignupOptions } from 'model'
import { email, minLength, required, sameAs } from '@vuelidate/validators'
// import { ValidationRuleset } from 'vuelidate'
import { complexity, complexityUser, registeredemail, registereduser, aportadorexist } from '../../../validation'

export const validations = {
  email: {
    email,
    required
  },
  name: {
    required,
  },
  host: {
    required,
  },
  code: {
    required,
  },
  password: {
    required,
    minLength: minLength(8),
    complexity,
  },
  username: {
    required,
    minLength: minLength(5),
    complexityUser,
  },
}
