bb-plane-fork/packages/utils/src
Prateek Shourya f04be48f61
[WEB-5804] refactor: decouple filter value types from filter configurations (#8441)
* [WEB-5804] refactor: decouple filter value types from filter configurations

Remove value type constraints from filter configurations to support
operator-specific value types. Different operators can accept different
value types for the same filter property, so value types should be
determined at the operator level rather than the filter level.

- Remove generic value type parameter from TFilterConfig
- Update TOperatorConfigMap to accept union of all value types
- Simplify filter config factory signatures across all filter types
- Add forceUpdate parameter to updateConditionValue method

* refactor: remove filter value type constraints from filter configurations

Eliminate the generic value type parameter from filter configurations to allow for operator-specific value types. This change enhances flexibility by enabling different operators to accept various value types for the same filter property.

- Updated TFilterConfig and related interfaces to remove value type constraints
- Adjusted filter configuration methods and types accordingly
- Refactored date operator support to align with the new structure
2025-12-24 21:03:22 +05:30
..
editor chore: run fixes (#8257) 2025-12-08 22:26:50 +05:30
permission [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
rich-filters [WEB-5804] refactor: decouple filter value types from filter configurations (#8441) 2025-12-24 21:03:22 +05:30
theme [WEB-5772] chore: theme switcher and editor colors enhancements (#8436) 2025-12-23 18:09:26 +05:30
work-item chore: run fixes (#8257) 2025-12-08 22:26:50 +05:30
work-item-filters [WEB-5804] refactor: decouple filter value types from filter configurations (#8441) 2025-12-24 21:03:22 +05:30
array.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
attachment.ts [WIKI-181] refactor: make file handling generic in editor (#7046) 2025-05-12 18:37:36 +05:30
auth.ts chore: run fixes (#8257) 2025-12-08 22:26:50 +05:30
calendar.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
color.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
common.ts [WEB-5602] feat: new design system (#8220) 2025-12-12 20:50:14 +05:30
cycle.ts chore: run fixes (#8257) 2025-12-08 22:26:50 +05:30
datetime.ts [WEB-5027] fix: replace lodash package with lodash-es (#7856) 2025-09-26 17:59:31 +05:30
distribution-update.ts fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
emoji.ts fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
estimates.ts chore: run fixes (#8257) 2025-12-08 22:26:50 +05:30
file.ts [WEB-5093] improvement: adds content-based MIME type detection for uploads #7925 2025-10-09 12:22:43 +05:30
filter.ts [WEB-4951] [WEB-4884] feat: work item filters revamp (#7810) 2025-09-19 18:27:36 +05:30
get-icon-for-link.ts [WEB-3892] chore: link item improvements (#6944) 2025-04-17 20:08:53 +05:30
index.ts feat: custom theming enhancements (#8342) 2025-12-16 18:17:59 +05:30
intake.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
loader.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
math.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
module.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
notification.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
page.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
project-views.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
project.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
router.ts fix: docker build (#7220) 2025-06-17 14:08:50 +05:30
string.ts refactor: sanitize HTML function (#8307) 2025-12-11 13:30:31 +05:30
subscription.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
tab-indices.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
theme-legacy.ts feat: custom theming enhancements (#8342) 2025-12-16 18:17:59 +05:30
tlds.ts [WEB-5048] chore: implements esm exports for all packages (#7816) 2025-10-06 21:01:32 +05:30
url.ts [WEB-5048] chore: implements esm exports for all packages (#7816) 2025-10-06 21:01:32 +05:30
workspace.ts [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30