@szegedsw/lib-node
Version:
A little framework published by Szeged Software Zrt. in order to enhance api endpoint security and create reuseable code. Email module, Logging system, and much more. Further improvements are expected.
36 lines • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldType = void 0;
// eslint-disable-next-line no-shadow
var FieldType;
(function (FieldType) {
/**
* @see min: the minimum number that can be assigned
* @see max: the maximum number that can be assigned
*/
FieldType["number"] = "number";
/**
* @see min: the minimum date that can be assigned
* @see max: the maximum date that can be assigned
*/
FieldType["date"] = "date";
/**
* @see min: the minimum length of the string
* @see max: the maximum length of the string
*/
FieldType["string"] = "string";
/**
* @see min: not used
* @see max: not used
* @see validators: not used
*/
FieldType["boolean"] = "boolean";
/**
* @see min: the minimum length of the array
* @see max: the maximum length of the array
* @see validators: validators will be run against JSON.stringify() result...
*/
FieldType["array"] = "array";
FieldType["object"] = "object";
})(FieldType = exports.FieldType || (exports.FieldType = {}));
//# sourceMappingURL=ifield.interface.js.map