Skip to content

Commit

Permalink
Merge pull request #687 from revolist/filter-type
Browse files Browse the repository at this point in the history
feat: filter type extention
  • Loading branch information
revolist authored Feb 18, 2025
2 parents 616765e + c949c12 commit 648f56e
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 648f56e

Please sign in to comment.