const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.js');

//#region ../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/metadata/ValidationMetadata.js
var require_ValidationMetadata = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/metadata/ValidationMetadata.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	/**
	* This metadata contains validation rules.
	*/
	var ValidationMetadata = class {
		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;
			this.context = void 0;
			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;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_ValidationMetadata();
  }
});