Artifact Content
Not logged in

Artifact 37bdea641e894aa918e9169daa8100b11d077629:


import {createValidator, required, minLength, email, uuid, username} from 'utils/validation'

const RegisterValidation = createValidator({
  username: [required, username],
  email: [required, email],
  password: [required, minLength(5)],
  inviteCode: [uuid]
})
export default RegisterValidation