Sdílet prostřednictvím


MatchCondition interface

Definujte podmínky shody.

Vlastnosti

matchValues

Porovná hodnotu.

matchVariables

Seznam proměnných shody

negationConditon

Bez ohledu na to, jestli se jedná o negované podmínky, nebo ne.

operator

Operátor, který se má shodovat.

transforms

Seznam transformací

Podrobnosti vlastnosti

matchValues

Porovná hodnotu.

matchValues: string[]

Hodnota vlastnosti

string[]

matchVariables

Seznam proměnných shody

matchVariables: MatchVariable[]

Hodnota vlastnosti

negationConditon

Bez ohledu na to, jestli se jedná o negované podmínky, nebo ne.

negationConditon?: boolean

Hodnota vlastnosti

boolean

operator

Operátor, který se má shodovat.

operator: "Any" | "Contains" | "Equal" | "IPMatch" | "LessThan" | "GreaterThan" | "LessThanOrEqual" | "GreaterThanOrEqual" | "BeginsWith" | "EndsWith" | "Regex" | "GeoMatch"

Hodnota vlastnosti

"Any" | "Contains" | "Equal" | "IPMatch" | "LessThan" | "GreaterThan" | "LessThanOrEqual" | "GreaterThanOrEqual" | "BeginsWith" | "EndsWith" | "Regex" | "GeoMatch"

transforms

Seznam transformací

transforms?: ("Uppercase" | "Lowercase" | "Trim" | "UrlDecode" | "UrlEncode" | "RemoveNulls" | "HtmlEntityDecode")[]

Hodnota vlastnosti

("Uppercase" | "Lowercase" | "Trim" | "UrlDecode" | "UrlEncode" | "RemoveNulls" | "HtmlEntityDecode")[]