"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.URL = void 0;

var _validator = _interopRequireDefault(require("validator"));

var _validators = require("./validators");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/**
 * @memberOf module:types
 * @typedef {String} URL
 */
var URL = (0, _validators.makeValidator)(_validator["default"].isURL, 'Not a valid URL.');
exports.URL = URL;