From a700df33464e16c2589b4306d9bcb48b049e41d5 Mon Sep 17 00:00:00 2001 From: Antti Kupila Date: Thu, 24 Oct 2024 14:44:38 +0300 Subject: [PATCH] add queryChannels filter & sort params --- src/types.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 0034aa24c3..b784d02435 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1500,6 +1500,9 @@ export type ChannelFilters[Key] >; + } & { + archived?: boolean; + pinned?: boolean; } >; @@ -1807,7 +1810,8 @@ export type ReactionSortBase = | ChannelSortBase - | Array>; + | Array> + | { pinned_at: AscDesc }; export type ChannelSortBase = Sort< StreamChatGenerics['channelType']