UNPKG

454 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.Min = void 0;
4const attribute_service_1 = require("../model/column/attribute-service");
5/**
6 * Only allow values >= limit
7 */
8function Min(limit) {
9 return (target, propertyName) => (0, attribute_service_1.addAttributeOptions)(target, propertyName, {
10 validate: {
11 min: limit,
12 },
13 });
14}
15exports.Min = Min;
16//# sourceMappingURL=min.js.map
\No newline at end of file