Skip to content

Commit a85d0b5

Browse files
committed
fix: deprecate ne and nin operators for query filters
1 parent f64563c commit a85d0b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ export type ReactionFilters<StreamChatGenerics extends ExtendableGenerics = Defa
14231423
export type ChannelFilters<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = QueryFilters<
14241424
ContainsOperator<StreamChatGenerics['channelType']> & {
14251425
members?:
1426-
| RequireOnlyOne<Pick<QueryFilter<string>, '$in'>>
1426+
| RequireOnlyOne<Pick<QueryFilter<string>, '$in' | '$nin'>>
14271427
| RequireOnlyOne<Pick<QueryFilter<string[]>, '$eq'>>
14281428
| PrimitiveFilter<string[]>;
14291429
} & {

0 commit comments

Comments
 (0)