Browse Source

feat(nocodb): add comparison_sub_op in Filter.ts

pull/5185/head
Wing-Kam Wong 2 years ago
parent
commit
872eb89022
  1. 15
      packages/nocodb/src/lib/models/Filter.ts

15
packages/nocodb/src/lib/models/Filter.ts

@ -52,6 +52,19 @@ export default class Filter {
| 'is'
| 'btw'
| '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;
logical_op?: string;
@ -86,6 +99,7 @@ export default class Filter {
'fk_hook_id',
'fk_column_id',
'comparison_op',
'comparison_sub_op',
'value',
'fk_parent_id',
'is_group',
@ -223,6 +237,7 @@ export default class Filter {
const updateObj = extractProps(filter, [
'fk_column_id',
'comparison_op',
'comparison_sub_op',
'value',
'fk_parent_id',
'is_group',

Loading…
Cancel
Save