All files / dist/utils constants.js

100% Statements 8/8
100% Branches 0/0
100% Functions 0/0
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56  12x 12x 12x             12x             12x         12x             12x                     12x                              
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.STRING_VALIDATOR_TYPES = exports.NUMBER_VALIDATOR_TYPES = exports.DATE_VALIDATOR_TYPES = exports.BOOLEAN_VALIDATOR_TYPES = exports.ARRAY_VALIDATOR_TYPES = exports.TYPES = void 0;
exports.TYPES = {
    ARRAY: "array",
    BOOLEAN: "boolean",
    DATE: "date",
    NUMBER: 'number',
    STRING: 'string'
};
exports.ARRAY_VALIDATOR_TYPES = {
    CONTAINS: "contains",
    EQUAL: "equal",
    REQUIRED: "required",
    SIZE: "size",
    TYPE: "type"
};
exports.BOOLEAN_VALIDATOR_TYPES = {
    EQUAL: "equal",
    REQUIRED: "required",
    TYPE: "type"
};
exports.DATE_VALIDATOR_TYPES = {
    AFTER: "after",
    BEFORE: "before",
    EQUAL: "equal",
    REQUIRED: "required",
    TYPE: "type"
};
exports.NUMBER_VALIDATOR_TYPES = {
    EQUAL: "equal",
    IN: "in",
    INTEGER: "integer",
    LATITUDE: "latitude",
    LONGITUDE: "longitude",
    MAX: "max",
    MIN: "min",
    REQUIRED: "required",
    TYPE: "type"
};
exports.STRING_VALIDATOR_TYPES = {
    ALPHANUMERIC: "alphanumeric",
    CREDIT_CARD: "creditcard",
    EMAIL: "email",
    EQUAL: "equal",
    FQDN: "fqdn",
    IN: "in",
    ISBN: "isbn",
    MAXLENGTH: "maxlength",
    MINLENGTH: "minlength",
    NUMERIC: "numeric",
    REQUIRED: "required",
    TYPE: "type",
    URL: "url"
};