import * as x from 'x-value'; export const Username = x.string.refined<'username'>(value => x.refinement(/^[a-z0-9_.-]+$/.test(value), value), );