Skip to content

Commit

Permalink
Merge branch 'master' into feature/real-time-indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede authored Apr 30, 2024
2 parents 7782047 + 65174a5 commit 1cb4019
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export type QueryReactionsOptions = Pager;

export type QueryReactionsAPIResponse<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = APIResponse & {
reactions: ReactionResponse<StreamChatGenerics>[];
next?: string;
};

export type QueryChannelsAPIResponse<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = APIResponse & {
Expand Down Expand Up @@ -1392,11 +1393,7 @@ export type ReactionFilters<StreamChatGenerics extends ExtendableGenerics = Defa
created_at?:
| RequireOnlyOne<Pick<QueryFilter<PollResponse['created_at']>, '$eq' | '$gt' | '$lt' | '$gte' | '$lte'>>
| PrimitiveFilter<PollResponse['created_at']>;
} & {
[Key in keyof Omit<ReactionResponse<StreamChatGenerics>, 'user_id' | 'type' | 'created_at'>]: RequireOnlyOne<
QueryFilter<ReactionResponse<StreamChatGenerics>[Key]>
>;
}
}
>;

export type ChannelFilters<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = QueryFilters<
Expand Down

0 comments on commit 1cb4019

Please sign in to comment.