Skip to content

Commit

Permalink
feat: filter type extention
Browse files Browse the repository at this point in the history
  • Loading branch information
m2a2x committed Feb 18, 2025
1 parent b626989 commit c949c12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs
Submodule docs updated 235 files
9 changes: 5 additions & 4 deletions src/plugins/filter/filter.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ export type FilterCaptions = {
or: string;
};

export type FilterLocalization = {
export interface FilterLocalization {
captions: FilterCaptions;
filterNames: Record<FilterType, string>;
};
}
/**
* Filter configuration for a column. This is the type of the `filter` property on a column.
*/
export type ColumnFilterConfig = {
export interface ColumnFilterConfig {
/**
* The collection of filters to be applied to the column.
*/
Expand Down Expand Up @@ -102,7 +102,8 @@ export type ColumnFilterConfig = {
* when the user clicks on the filter button.
*/
disableDynamicFiltering?: boolean;
};
}

export type FilterCollectionItem = {
type: FilterType;
value?: any;
Expand Down

0 comments on commit c949c12

Please # to comment.