zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
11 lines • 402 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.validation = void 0;
const enums_1 = require("../types/enums");
function validation(schema) {
return (target, propertyKey) => {
Reflect.defineMetadata(enums_1.REFLECT_METADATA.VALIDATION_SCHEMA, schema, target, propertyKey);
};
}
exports.validation = validation;
//# sourceMappingURL=validation.js.map