diff --git a/src/types.ts b/src/types.ts index 0034aa24c..b784d0243 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']