import { numberValidator , timeIntervalInputValidator } from '../../common/util/validators' ; export const validateLookbackInterval = timeIntervalInputValidator ( ) ; export const validateTopNBucket = numberValidator ( { min : 1 } ) ;