Add one field for each new filter type (number, integer, boolean, string)

[MAILPOET-4624]
[MAILPOET-5001]
[MAILPOET-5187]
This commit is contained in:
Jan Jakes
2023-04-14 15:21:24 +02:00
committed by Aschepikov
parent 0cd14002ec
commit ee0c3f4bbf
3 changed files with 44 additions and 16 deletions

View File

@@ -7,9 +7,11 @@ use MailPoet\Automation\Engine\Integration\Payload;
class Field {
public const TYPE_BOOLEAN = 'boolean';
public const TYPE_INTEGER = 'integer';
public const TYPE_NUMBER = 'number';
public const TYPE_STRING = 'string';
public const TYPE_ENUM = 'enum';
public const TYPE_ENUM_ARRAY = 'enum_array';
public const TYPE_DATETIME = 'datetime';
/** @var string */
private $key;