import { required as createRequiredValidator , number as createNumberValidator , } from 'react-admin' ; export const required = createRequiredValidator ( ) ; export const number = createNumberValidator ( ) ;