Skip to content

Commit

Permalink
feat(ts): allow filters in rule condition (#1247)
Browse files Browse the repository at this point in the history
fixes #1246
  • Loading branch information
Haroenv authored Feb 4, 2021
1 parent 74972a1 commit 5032d6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/client-search/src/types/Rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ export type Condition = {
*/
readonly pattern?: string;

/**
* Apply this rule only when the filter matches.
*/
readonly filters?: string;

/**
* is | startsWith | endsWith | contains: Whether the pattern must match the beginning or the end of the query string, or both, or none.
*/
Expand Down

0 comments on commit 5032d6f

Please sign in to comment.