Skip to content

Commit 5032d6f

Browse files
authored
feat(ts): allow filters in rule condition (#1247)
fixes #1246
1 parent 74972a1 commit 5032d6f

File tree

1 file changed

+5
-0
lines changed
  • packages/client-search/src/types

1 file changed

+5
-0
lines changed

packages/client-search/src/types/Rule.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ export type Condition = {
133133
*/
134134
readonly pattern?: string;
135135

136+
/**
137+
* Apply this rule only when the filter matches.
138+
*/
139+
readonly filters?: string;
140+
136141
/**
137142
* is | startsWith | endsWith | contains: Whether the pattern must match the beginning or the end of the query string, or both, or none.
138143
*/

0 commit comments

Comments
 (0)