2
0

(condition) Add more comparison operators

Including starts with, ends with, does not contain, is empty

Closes #410
This commit is contained in:
Baptiste Arnaud
2023-03-29 15:18:52 +02:00
parent bb45b33928
commit 80b7dbd19e
3 changed files with 39 additions and 8 deletions

View File

@ -13,9 +13,13 @@ export enum ComparisonOperators {
EQUAL = 'Equal to',
NOT_EQUAL = 'Not equal',
CONTAINS = 'Contains',
NOT_CONTAINS = 'Does not contain',
GREATER = 'Greater than',
LESS = 'Less than',
IS_SET = 'Is set',
IS_EMPTY = 'Is empty',
STARTS_WITH = 'Starts with',
ENDS_WITH = 'Ends with',
}
const comparisonSchema = z.object({