Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/class-validator/cjs/metadata/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ValidationMetadata = void 0; /** * This metadata contains validation rules. */ class ValidationMetadata { // ------------------------------------------------------------------------- // Constructor // ------------------------------------------------------------------------- constructor(args) { /** * Validation groups used for this validation. */ this.groups = []; /** * Specifies if validated value is an array and each of its item must be validated. */ this.each = false; /* * A transient set of data passed through to the validation result for response mapping */ this.context = undefined; this.type = args.type; this.name = args.name; this.target = args.target; this.propertyName = args.propertyName; this.constraints = args === null || args === void 0 ? void 0 : args.constraints; this.constraintCls = args.constraintCls; this.validationTypeOptions = args.validationTypeOptions; if (args.validationOptions) { this.message = args.validationOptions.message; this.groups = args.validationOptions.groups; this.always = args.validationOptions.always; this.each = args.validationOptions.each; this.context = args.validationOptions.context; } } } exports.ValidationMetadata = ValidationMetadata; //# sourceMappingURL=ValidationMetadata.js.map