class ValidateAllowIpTransformation

Validation transformation that allows IP addresses.

Constructors

new
ValidateAllowIpTransformation(logger?: ILogger)

Creates a new ValidateAllowIpTransformation

Properties

readonly
name: string

Human-readable name of the transformation

The transformation type identifier

Methods

executeSync(rules: string[]): string[]

Executes the validation transformation synchronously.

Usage

import { ValidateAllowIpTransformation } from ".";