* Add quick toggle conditions (Show Completed, Show Archived, Hide Recurring) * These are syntactic sugar that programmatically modify the root query
( query: FilterQuery, toggle: QuickFilterToggle, enabled: boolean )
| 579 | * These are syntactic sugar that programmatically modify the root query |
| 580 | */ |
| 581 | addQuickToggleCondition( |
| 582 | query: FilterQuery, |
| 583 | toggle: QuickFilterToggle, |
| 584 | enabled: boolean |
| 585 | ): FilterQuery { |
| 586 | return applyQuickToggleCondition(query, toggle, enabled, () => FilterUtils.generateId()); |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * Validate and normalize a filter query |
nothing calls this directly
no test coverage detected