1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.IsIPv4 = void 0;
|
4 | const attribute_service_1 = require("../model/column/attribute-service");
|
5 | /**
|
6 | * Checks for IPv4 (129.89.23.1)
|
7 | */
|
8 | function IsIPv4(target, propertyName) {
|
9 | (0, attribute_service_1.addAttributeOptions)(target, propertyName, {
|
10 | validate: {
|
11 | isIPv4: true,
|
12 | },
|
13 | });
|
14 | }
|
15 | exports.IsIPv4 = IsIPv4;
|
16 | //# sourceMappingURL=is-ip-v4.js.map |
\ | No newline at end of file |