bb-plane-fork/packages/shared-state/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
..
store [WEB-5804] refactor: decouple filter value types from filter configurations (#8441) 2025-12-24 21:03:22 +05:30
utils [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
index.ts [WEB-4885] feat: new filters architecture and UI components (#7802) 2025-09-16 21:15:08 +05:30