Support date conditions more consistently with the API
This means we support created_before
/created_after
/updated_before
/updated_after
directly rather than having date.condition
and date.attribute
.
Maybe just date.interval_condition
so it looks like:
conditions:
date:
interval_condition: updated_before
interval_type: days
interval: 5
Converted from:
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: days
interval: 5
Of course, we should make it backward compatible.
The following discussion from !158 (merged) should be addressed:
-
@godfat started a discussion: (+2 comments) We may want to add compatibility layer with the same terminology from API at some point
🤔
Edited by Lin Jen-Shin