|
|
@ -52,6 +52,19 @@ export default class Filter { |
|
|
|
| 'is' |
|
|
|
| 'is' |
|
|
|
| 'btw' |
|
|
|
| 'btw' |
|
|
|
| 'nbtw'; |
|
|
|
| 'nbtw'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
comparison_sub_op?: |
|
|
|
|
|
|
|
| 'today' |
|
|
|
|
|
|
|
| 'tomorrow' |
|
|
|
|
|
|
|
| 'yesterday' |
|
|
|
|
|
|
|
| 'one_week_ago' |
|
|
|
|
|
|
|
| 'one_week_from_now' |
|
|
|
|
|
|
|
| 'one_month_ago' |
|
|
|
|
|
|
|
| 'one_month_from_now' |
|
|
|
|
|
|
|
| 'number_of_days_ago' |
|
|
|
|
|
|
|
| 'number_of_days_from_now' |
|
|
|
|
|
|
|
| 'exact_date'; |
|
|
|
|
|
|
|
|
|
|
|
value?: string; |
|
|
|
value?: string; |
|
|
|
|
|
|
|
|
|
|
|
logical_op?: string; |
|
|
|
logical_op?: string; |
|
|
@ -86,6 +99,7 @@ export default class Filter { |
|
|
|
'fk_hook_id', |
|
|
|
'fk_hook_id', |
|
|
|
'fk_column_id', |
|
|
|
'fk_column_id', |
|
|
|
'comparison_op', |
|
|
|
'comparison_op', |
|
|
|
|
|
|
|
'comparison_sub_op', |
|
|
|
'value', |
|
|
|
'value', |
|
|
|
'fk_parent_id', |
|
|
|
'fk_parent_id', |
|
|
|
'is_group', |
|
|
|
'is_group', |
|
|
@ -223,6 +237,7 @@ export default class Filter { |
|
|
|
const updateObj = extractProps(filter, [ |
|
|
|
const updateObj = extractProps(filter, [ |
|
|
|
'fk_column_id', |
|
|
|
'fk_column_id', |
|
|
|
'comparison_op', |
|
|
|
'comparison_op', |
|
|
|
|
|
|
|
'comparison_sub_op', |
|
|
|
'value', |
|
|
|
'value', |
|
|
|
'fk_parent_id', |
|
|
|
'fk_parent_id', |
|
|
|
'is_group', |
|
|
|
'is_group', |
|
|
|