UNPKG

verificator

Version:

Client and server-side validation JavaScript library

19 lines (16 loc) 505 B
'use strict'; exports.__esModule = true; exports.stopValidate = exports.startValidate = undefined; var _types = require('../constants/types'); var startValidate = exports.startValidate = function startValidate(attribute) { return { type: _types.START_VALIDATE, payload: { attribute: attribute } }; }; var stopValidate = exports.stopValidate = function stopValidate(attribute) { return { type: _types.STOP_VALIDATE, payload: { attribute: attribute } }; };