stream-chat-react-native-core 6.6.7 → 7.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
- package/lib/commonjs/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
- package/lib/commonjs/components/Attachment/Attachment.js +3 -3
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +2 -4
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useChannelDataState.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +10 -7
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/utils/index.js.map +1 -1
- package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageData.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useStreamingMessage.js.map +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useLastReadData.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/commonjs/components/Poll/Poll.js.map +1 -1
- package/lib/commonjs/components/Poll/components/Button.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollState.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/store/apis/getChannels.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/getMembers.js.map +1 -1
- package/lib/commonjs/store/apis/getReactions.js.map +1 -1
- package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/getReads.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/updatePollMessage.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -1
- package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToPoll.js +1 -0
- package/lib/commonjs/store/mappers/mapStorableToPoll.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/commonjs/types/stream-chat-common-custom-data.d.js +2 -0
- package/lib/commonjs/types/stream-chat-common-custom-data.d.js.map +1 -0
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/ACITriggerSettings.js.map +1 -1
- package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
- package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
- package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/queryMembers.js.map +1 -1
- package/lib/commonjs/utils/queryUsers.js.map +1 -1
- package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
- package/lib/commonjs/utils/utils.js +23 -22
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
- package/lib/module/components/AITypingIndicatorView/hooks/useAIState.js.map +1 -1
- package/lib/module/components/Attachment/Attachment.js +3 -3
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +2 -4
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useChannelDataState.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +10 -7
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/utils/index.js.map +1 -1
- package/lib/module/components/ChannelList/utils.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useIsChannelMuted.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageEditedTimestamp.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListBottom.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList/ReactionListTop.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/StreamingMessageView.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageData.js.map +1 -1
- package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/module/components/Message/hooks/useStreamingMessage.js.map +1 -1
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useLastReadData.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/module/components/Poll/Poll.js.map +1 -1
- package/lib/module/components/Poll/components/Button.js.map +1 -1
- package/lib/module/components/Poll/components/PollAnswersList.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollOptionFullResults.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollState.js.map +1 -1
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/threadsContext/ThreadListItemContext.js.map +1 -1
- package/lib/module/contexts/threadsContext/ThreadsContext.js +1 -1
- package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/store/apis/getChannels.js.map +1 -1
- package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/getMembers.js.map +1 -1
- package/lib/module/store/apis/getReactions.js.map +1 -1
- package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/module/store/apis/getReads.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/updatePollMessage.js.map +1 -1
- package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -1
- package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToPoll.js +1 -0
- package/lib/module/store/mappers/mapStorableToPoll.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/module/types/stream-chat-common-custom-data.d.js +2 -0
- package/lib/module/types/stream-chat-common-custom-data.d.js.map +1 -0
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/ACITriggerSettings.js.map +1 -1
- package/lib/module/utils/DBSyncManager.js.map +1 -1
- package/lib/module/utils/addReactionToLocalState.js.map +1 -1
- package/lib/module/utils/i18n/Streami18n.js.map +1 -1
- package/lib/module/utils/queryMembers.js.map +1 -1
- package/lib/module/utils/queryUsers.js.map +1 -1
- package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/module/utils/removeReservedFields.js.map +1 -1
- package/lib/module/utils/utils.js +23 -22
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts +3 -4
- package/lib/typescript/components/AITypingIndicatorView/AITypingIndicatorView.d.ts.map +1 -1
- package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts +1 -2
- package/lib/typescript/components/AITypingIndicatorView/hooks/useAIState.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +4 -5
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -4
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Card.d.ts +3 -4
- package/lib/typescript/components/Attachment/Card.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +4 -5
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -4
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts +4 -5
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -3
- package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy.d.ts +5 -6
- package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +2 -3
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +2 -3
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +2 -3
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +2 -3
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +3 -4
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +2 -3
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -2
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -4
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +2 -3
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -4
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +4 -5
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +8 -9
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +9 -9
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts +23 -24
- package/lib/typescript/components/Channel/hooks/useChannelDataState.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -2
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +2 -3
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +2 -3
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +2 -3
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +2 -3
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +10 -11
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -2
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts +7 -8
- package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +17 -17
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -4
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +6 -6
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +4 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +4 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts +6 -6
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +4 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +4 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +6 -6
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +6 -6
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +6 -6
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +4 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +3 -4
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts +2 -3
- package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -2
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +6 -7
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useSelectedChannelState.d.ts +6 -7
- package/lib/typescript/components/ChannelList/hooks/useSelectedChannelState.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts +12 -13
- package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/utils.d.ts +8 -9
- package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +3 -4
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -4
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -4
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +4 -5
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +2 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +2 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +2 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +2 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +2 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +3 -4
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -2
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts +1 -2
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelMuted.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +4 -5
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts +2 -3
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -2
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -2
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts +4 -4
- package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -2
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -2
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -2
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +3 -4
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +9 -10
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +11 -12
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +9 -10
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +9 -10
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts +19 -20
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +4 -5
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts +2 -3
- package/lib/typescript/components/Message/MessageSimple/MessageEditedTimestamp.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +5 -6
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -3
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +5 -6
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts +4 -5
- package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListBottom.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts +4 -5
- package/lib/typescript/components/Message/MessageSimple/ReactionList/ReactionListTop.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts +2 -3
- package/lib/typescript/components/Message/MessageSimple/StreamingMessageView.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +3 -4
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -2
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -2
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +3 -4
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageData.d.ts +2 -3
- package/lib/typescript/components/Message/hooks/useMessageData.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts +5 -6
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts +2 -3
- package/lib/typescript/components/Message/hooks/useStreamingMessage.d.ts.map +1 -1
- package/lib/typescript/components/Message/utils/messageActions.d.ts +4 -5
- package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -2
- package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -4
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +3 -4
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -4
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -5
- package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -4
- package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -4
- package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +1 -2
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts +3 -4
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts +3 -4
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts +3 -4
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -3
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -3
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -3
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -2
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts +1 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts +6 -7
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -4
- package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/StickyHeader.d.ts +1 -2
- package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -2
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -4
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts +4 -5
- package/lib/typescript/components/MessageList/hooks/useLastReadData.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +6 -7
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +1 -2
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -2
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +2 -3
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +3 -4
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +3 -4
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +1 -2
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -2
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +2 -3
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts +2 -3
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts +2 -2
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts +3 -3
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts +5 -6
- package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
- package/lib/typescript/components/Poll/Poll.d.ts +2 -3
- package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/Button.d.ts +4 -5
- package/lib/typescript/components/Poll/components/Button.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollAnswersList.d.ts +2 -3
- package/lib/typescript/components/Poll/components/PollAnswersList.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts +4 -5
- package/lib/typescript/components/Poll/components/PollResults/PollOptionFullResults.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts +7 -8
- package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollState.d.ts +3 -4
- package/lib/typescript/components/Poll/hooks/usePollState.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts +3 -4
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts +6 -7
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +2 -3
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts +1 -2
- package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +15 -15
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +15 -16
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +11 -12
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +6 -7
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -1
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +11 -12
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -1
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts +11 -12
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -1
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +7 -7
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +12 -13
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +36 -36
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -2
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +2 -2
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +63 -64
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +1 -2
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +1 -2
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +6 -7
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -1
- package/lib/typescript/contexts/pollContext/pollContext.d.ts +7 -8
- package/lib/typescript/contexts/pollContext/pollContext.d.ts.map +1 -1
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +18 -19
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +10 -11
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
- package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts +9 -10
- package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts.map +1 -1
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +6 -7
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts +6 -7
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +112 -3
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelMessages.d.ts +2 -3
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannels.d.ts +2 -3
- package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +4 -5
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/getMembers.d.ts +2 -3
- package/lib/typescript/store/apis/getMembers.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReactions.d.ts +2 -3
- package/lib/typescript/store/apis/getReactions.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts +4 -5
- package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReads.d.ts +2 -3
- package/lib/typescript/store/apis/getReads.d.ts.map +1 -1
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +3 -4
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/updatePollMessage.d.ts +3 -4
- package/lib/typescript/store/apis/updatePollMessage.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +2 -3
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -1
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +3 -4
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -2
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +1 -2
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +2 -3
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts +2 -3
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +2 -3
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToPoll.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToPoll.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -2
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +38 -30
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/ACITriggerSettings.d.ts +14 -15
- package/lib/typescript/utils/ACITriggerSettings.d.ts.map +1 -1
- package/lib/typescript/utils/DBSyncManager.d.ts +8 -9
- package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -1
- package/lib/typescript/utils/addReactionToLocalState.d.ts +3 -4
- package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +3 -4
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/queryMembers.d.ts +4 -5
- package/lib/typescript/utils/queryMembers.d.ts.map +1 -1
- package/lib/typescript/utils/queryUsers.d.ts +5 -6
- package/lib/typescript/utils/queryUsers.d.ts.map +1 -1
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts +3 -4
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
- package/lib/typescript/utils/removeReservedFields.d.ts +1 -2
- package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -1
- package/lib/typescript/utils/utils.d.ts +10 -10
- package/lib/typescript/utils/utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +5 -10
- package/src/components/AITypingIndicatorView/hooks/useAIState.ts +9 -17
- package/src/components/Attachment/Attachment.tsx +15 -29
- package/src/components/Attachment/AttachmentActions.tsx +10 -24
- package/src/components/Attachment/Card.tsx +14 -36
- package/src/components/Attachment/FileAttachment.tsx +11 -24
- package/src/components/Attachment/FileAttachmentGroup.tsx +16 -29
- package/src/components/Attachment/Gallery.tsx +25 -47
- package/src/components/Attachment/GalleryImage.tsx +4 -10
- package/src/components/Attachment/Giphy.tsx +19 -31
- package/src/components/Attachment/utils/buildGallery/buildGallery.ts +2 -5
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +10 -8
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +5 -7
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +3 -5
- package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +4 -9
- package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +2 -6
- package/src/components/Attachment/utils/getAspectRatio.ts +2 -4
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +16 -38
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +2 -5
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +13 -19
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +17 -22
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +19 -32
- package/src/components/Channel/Channel.tsx +118 -164
- package/src/components/Channel/hooks/useChannelDataState.ts +38 -59
- package/src/components/Channel/hooks/useCreateChannelContext.ts +3 -6
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +3 -6
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +3 -6
- package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +2 -5
- package/src/components/Channel/hooks/useCreatePaginatedMessageListContext.ts +4 -6
- package/src/components/Channel/hooks/useCreateThreadContext.ts +2 -5
- package/src/components/Channel/hooks/useCreateTypingContext.ts +2 -7
- package/src/components/Channel/hooks/useMessageListPagination.tsx +34 -40
- package/src/components/ChannelList/ChannelList.tsx +36 -44
- package/src/components/ChannelList/ChannelListMessenger.tsx +12 -37
- package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +15 -21
- package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +10 -18
- package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +10 -18
- package/src/components/ChannelList/hooks/listeners/useChannelMemberUpdated.ts +17 -23
- package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +13 -18
- package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +11 -19
- package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +14 -24
- package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +17 -23
- package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +14 -20
- package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +11 -16
- package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +8 -16
- package/src/components/ChannelList/hooks/useChannelMembershipState.ts +4 -14
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -6
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +20 -25
- package/src/components/ChannelList/hooks/useSelectedChannelState.ts +9 -17
- package/src/components/ChannelList/hooks/utils/index.ts +10 -33
- package/src/components/ChannelList/utils.ts +9 -23
- package/src/components/ChannelPreview/ChannelAvatar.tsx +6 -14
- package/src/components/ChannelPreview/ChannelPreview.tsx +6 -14
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -11
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +9 -28
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +4 -11
- package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +2 -9
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +3 -11
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +1 -1
- package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +0 -1
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +7 -11
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +3 -14
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -13
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +3 -14
- package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts +2 -8
- package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +26 -54
- package/src/components/Chat/Chat.tsx +11 -24
- package/src/components/Chat/hooks/handleEventToSyncDB.ts +1 -8
- package/src/components/Chat/hooks/useAppSettings.ts +2 -5
- package/src/components/Chat/hooks/useCreateChatClient.ts +4 -6
- package/src/components/Chat/hooks/useCreateChatContext.ts +3 -6
- package/src/components/Chat/hooks/useIsOnline.ts +2 -9
- package/src/components/Chat/hooks/useMutedUsers.ts +3 -11
- package/src/components/Chat/hooks/useSyncDatabase.ts +3 -11
- package/src/components/ImageGallery/ImageGallery.tsx +26 -38
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +1 -1
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +1 -1
- package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +1 -1
- package/src/components/ImageGallery/__tests__/ImageGalleryOverlay.test.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +17 -31
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +13 -23
- package/src/components/ImageGallery/components/ImageGrid.tsx +15 -39
- package/src/components/Message/Message.tsx +47 -75
- package/src/components/Message/MessageSimple/MessageAvatar.tsx +11 -25
- package/src/components/Message/MessageSimple/MessageBounce.tsx +12 -27
- package/src/components/Message/MessageSimple/MessageContent.tsx +17 -27
- package/src/components/Message/MessageSimple/MessageDeleted.tsx +11 -25
- package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx +4 -11
- package/src/components/Message/MessageSimple/MessageFooter.tsx +14 -27
- package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +3 -11
- package/src/components/Message/MessageSimple/MessageReplies.tsx +11 -25
- package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx +4 -13
- package/src/components/Message/MessageSimple/MessageSimple.tsx +13 -25
- package/src/components/Message/MessageSimple/MessageStatus.tsx +9 -21
- package/src/components/Message/MessageSimple/MessageTextContainer.tsx +16 -33
- package/src/components/Message/MessageSimple/ReactionList/ReactionListBottom.tsx +11 -24
- package/src/components/Message/MessageSimple/ReactionList/ReactionListTop.tsx +10 -23
- package/src/components/Message/MessageSimple/StreamingMessageView.tsx +4 -10
- package/src/components/Message/MessageSimple/utils/renderText.tsx +6 -14
- package/src/components/Message/hooks/useCreateMessageContext.ts +4 -6
- package/src/components/Message/hooks/useMessageActionHandlers.ts +6 -9
- package/src/components/Message/hooks/useMessageActions.tsx +11 -15
- package/src/components/Message/hooks/useMessageData.ts +4 -12
- package/src/components/Message/hooks/useProcessReactions.ts +11 -27
- package/src/components/Message/hooks/useStreamingMessage.ts +4 -9
- package/src/components/Message/utils/messageActions.ts +6 -12
- package/src/components/MessageInput/AttachButton.tsx +2 -9
- package/src/components/MessageInput/CommandsButton.tsx +8 -22
- package/src/components/MessageInput/FileUploadPreview.tsx +14 -26
- package/src/components/MessageInput/ImageUploadPreview.tsx +12 -24
- package/src/components/MessageInput/InputButtons.tsx +9 -23
- package/src/components/MessageInput/MessageInput.tsx +27 -36
- package/src/components/MessageInput/SendButton.tsx +6 -23
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +3 -10
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +12 -22
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +11 -22
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +11 -22
- package/src/components/MessageInput/components/InputEditingStateHeader.tsx +6 -9
- package/src/components/MessageInput/components/InputGiphySearch.tsx +7 -11
- package/src/components/MessageInput/components/InputReplyStateHeader.tsx +4 -9
- package/src/components/MessageInput/hooks/useCooldown.ts +5 -7
- package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +2 -6
- package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +2 -6
- package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +2 -6
- package/src/components/MessageList/MessageList.tsx +72 -94
- package/src/components/MessageList/MessageSystem.tsx +3 -10
- package/src/components/MessageList/StickyHeader.tsx +1 -4
- package/src/components/MessageList/TypingIndicator.tsx +2 -5
- package/src/components/MessageList/TypingIndicatorContainer.tsx +12 -22
- package/src/components/MessageList/__tests__/useMessageList.test.tsx +1 -1
- package/src/components/MessageList/hooks/useLastReadData.ts +5 -13
- package/src/components/MessageList/hooks/useMessageList.ts +20 -33
- package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +4 -5
- package/src/components/MessageList/hooks/useTypingString.ts +4 -7
- package/src/components/MessageList/utils/filterTypingUsers.ts +6 -15
- package/src/components/MessageList/utils/getDateSeparators.ts +3 -12
- package/src/components/MessageList/utils/getGroupStyles.ts +8 -18
- package/src/components/MessageList/utils/getLastReceivedMessage.ts +1 -6
- package/src/components/MessageList/utils/getReadStates.ts +4 -9
- package/src/components/MessageMenu/MessageMenu.tsx +6 -13
- package/src/components/MessageMenu/MessageReactionPicker.tsx +4 -10
- package/src/components/MessageMenu/MessageUserReactions.tsx +4 -6
- package/src/components/MessageMenu/MessageUserReactionsItem.tsx +7 -8
- package/src/components/MessageMenu/hooks/useFetchReactions.ts +5 -10
- package/src/components/Poll/Poll.tsx +3 -12
- package/src/components/Poll/components/Button.tsx +3 -11
- package/src/components/Poll/components/PollAnswersList.tsx +2 -5
- package/src/components/Poll/components/PollResults/PollOptionFullResults.tsx +5 -7
- package/src/components/Poll/components/PollResults/PollResultItem.tsx +8 -12
- package/src/components/Poll/hooks/usePollState.ts +4 -12
- package/src/components/Reply/Reply.tsx +18 -43
- package/src/components/Thread/Thread.tsx +15 -29
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +0 -3
- package/src/components/Thread/components/ThreadFooterComponent.tsx +11 -25
- package/src/components/ThreadList/ThreadList.tsx +3 -5
- package/src/contexts/channelContext/ChannelContext.tsx +15 -27
- package/src/contexts/channelsContext/ChannelsContext.tsx +17 -25
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +18 -44
- package/src/contexts/channelsStateContext/useChannelState.ts +13 -26
- package/src/contexts/chatContext/ChatContext.tsx +11 -18
- package/src/contexts/debugContext/DebugContext.tsx +13 -20
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +9 -19
- package/src/contexts/messageContext/MessageContext.tsx +13 -21
- package/src/contexts/messageInputContext/MessageInputContext.tsx +57 -84
- package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +6 -13
- package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +3 -8
- package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +6 -10
- package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +4 -8
- package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +1 -1
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +3 -7
- package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +4 -11
- package/src/contexts/messagesContext/MessagesContext.tsx +64 -80
- package/src/contexts/overlayContext/OverlayContext.tsx +2 -5
- package/src/contexts/overlayContext/OverlayProvider.tsx +3 -7
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +6 -13
- package/src/contexts/pollContext/pollContext.tsx +6 -10
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +29 -58
- package/src/contexts/threadContext/ThreadContext.tsx +10 -20
- package/src/contexts/threadsContext/ThreadListItemContext.tsx +10 -16
- package/src/contexts/threadsContext/ThreadsContext.tsx +7 -17
- package/src/contexts/typingContext/TypingContext.tsx +6 -15
- package/src/hooks/useTranslatedMessage.ts +1 -6
- package/src/mock-builders/api/channelMocks.tsx +0 -2
- package/src/store/apis/getChannelMessages.ts +3 -6
- package/src/store/apis/getChannels.ts +6 -9
- package/src/store/apis/getChannelsForFilterSort.ts +4 -8
- package/src/store/apis/getMembers.ts +3 -10
- package/src/store/apis/getReactions.ts +3 -6
- package/src/store/apis/getReactionsforFilterSort.ts +4 -8
- package/src/store/apis/getReads.ts +3 -10
- package/src/store/apis/queries/selectChannelIdsForFilterSort.ts +3 -6
- package/src/store/apis/updatePollMessage.ts +3 -6
- package/src/store/apis/upsertChannelDataFromChannel.ts +2 -5
- package/src/store/apis/utils/convertFilterSortToQuery.ts +3 -7
- package/src/store/mappers/mapChannelDataToStorable.ts +1 -7
- package/src/store/mappers/mapChannelToStorable.ts +2 -8
- package/src/store/mappers/mapMemberToStorable.ts +2 -5
- package/src/store/mappers/mapReadToStorable.ts +2 -5
- package/src/store/mappers/mapStorableToChannel.ts +2 -8
- package/src/store/mappers/mapStorableToMember.ts +2 -5
- package/src/store/mappers/mapStorableToMessage.ts +3 -8
- package/src/store/mappers/mapStorableToPoll.ts +3 -6
- package/src/store/mappers/mapStorableToReaction.ts +2 -6
- package/src/store/mappers/mapStorableToRead.ts +1 -7
- package/src/store/mappers/mapStorableToUser.ts +1 -6
- package/src/types/stream-chat-common-custom-data.d.ts +42 -0
- package/src/types/types.ts +45 -45
- package/src/utils/ACITriggerSettings.ts +20 -37
- package/src/utils/DBSyncManager.ts +6 -31
- package/src/utils/addReactionToLocalState.ts +3 -7
- package/src/utils/i18n/Streami18n.ts +2 -4
- package/src/utils/queryMembers.ts +17 -38
- package/src/utils/queryUsers.ts +10 -15
- package/src/utils/removeReactionFromLocalState.ts +3 -7
- package/src/utils/removeReservedFields.ts +5 -7
- package/src/utils/utils.ts +31 -51
- package/src/version.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapChannelDataToStorable:
|
|
3
|
+
export declare const mapChannelDataToStorable: (channel: ChannelResponse) => TableRow<"channels">;
|
|
5
4
|
//# sourceMappingURL=mapChannelDataToStorable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapChannelDataToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapChannelDataToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapChannelDataToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapChannelDataToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,wBAAwB,GAAI,SAAS,eAAe,KAAG,QAAQ,CAAC,UAAU,CAsDtF,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Channel } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapChannelToStorable:
|
|
3
|
+
export declare const mapChannelToStorable: (channel: Channel) => TableRow<"channels"> | undefined;
|
|
5
4
|
//# sourceMappingURL=mapChannelToStorable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapChannelToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapChannelToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,aAAa,CAAC;AAI5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapChannelToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapChannelToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,aAAa,CAAC;AAI5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,KAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,SAyD9E,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ChannelMemberResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapMemberToStorable:
|
|
3
|
+
export declare const mapMemberToStorable: ({ cid, member, }: {
|
|
5
4
|
cid: string;
|
|
6
|
-
member: ChannelMemberResponse
|
|
5
|
+
member: ChannelMemberResponse;
|
|
7
6
|
}) => TableRow<"members">;
|
|
8
7
|
//# sourceMappingURL=mapMemberToStorable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapMemberToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapMemberToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapMemberToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapMemberToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,mBAAmB,GAAI,kBAGjC;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,qBAAqB,CAAC;CAC/B,KAAG,QAAQ,CAAC,SAAS,CA6BrB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReadResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapReadToStorable:
|
|
3
|
+
export declare const mapReadToStorable: ({ cid, read, }: {
|
|
5
4
|
cid: string;
|
|
6
|
-
read: ReadResponse
|
|
5
|
+
read: ReadResponse;
|
|
7
6
|
}) => TableRow<"reads">;
|
|
8
7
|
//# sourceMappingURL=mapReadToStorable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapReadToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapReadToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapReadToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapReadToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,gBAG/B;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,YAAY,CAAC;CACpB,KAAG,QAAQ,CAAC,OAAO,CASnB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelAPIResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapStorableToChannel:
|
|
3
|
+
export declare const mapStorableToChannel: (channelRow: TableRow<"channels">) => Omit<ChannelAPIResponse, "duration" | "messages" | "members" | "pinned_messages">;
|
|
5
4
|
//# sourceMappingURL=mapStorableToChannel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToChannel.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToChannel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToChannel.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToChannel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,oBAAoB,GAC/B,YAAY,QAAQ,CAAC,UAAU,CAAC,KAC/B,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,CAwDlF,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelMemberResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRowJoinedUser } from '../types';
|
|
4
|
-
export declare const mapStorableToMember:
|
|
3
|
+
export declare const mapStorableToMember: (memberRow: TableRowJoinedUser<"members">) => ChannelMemberResponse;
|
|
5
4
|
//# sourceMappingURL=mapStorableToMember.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToMember.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToMember.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,mBAAmB,GAC9B,WAAW,kBAAkB,CAAC,SAAS,CAAC,KACvC,qBA8BF,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { MessageResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow, TableRowJoinedUser } from '../types';
|
|
4
|
-
export declare const mapStorableToMessage:
|
|
3
|
+
export declare const mapStorableToMessage: ({ currentUserId, messageRow, pollRow, reactionRows, }: {
|
|
5
4
|
currentUserId: string;
|
|
6
5
|
messageRow: TableRowJoinedUser<"messages">;
|
|
7
6
|
pollRow: TableRow<"poll">;
|
|
8
7
|
reactionRows: TableRowJoinedUser<"reactions">[];
|
|
9
|
-
}) => MessageResponse
|
|
8
|
+
}) => MessageResponse;
|
|
10
9
|
//# sourceMappingURL=mapStorableToMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOnD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOnD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,oBAAoB,GAAI,uDAKlC;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC3C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,YAAY,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;CACjD,KAAG,eA+BH,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PollResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapStorableToPoll:
|
|
3
|
+
export declare const mapStorableToPoll: (pollRow: TableRow<"poll">) => PollResponse;
|
|
5
4
|
//# sourceMappingURL=mapStorableToPoll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToPoll.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToPoll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoB,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToPoll.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToPoll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoB,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,SAAS,QAAQ,CAAC,MAAM,CAAC,KAAG,YAgD7D,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ReactionResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRowJoinedUser } from '../types';
|
|
4
|
-
export declare const mapStorableToReaction:
|
|
3
|
+
export declare const mapStorableToReaction: (reactionRow: TableRowJoinedUser<"reactions">) => ReactionResponse;
|
|
5
4
|
//# sourceMappingURL=mapStorableToReaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToReaction.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToReaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToReaction.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToReaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,qBAAqB,GAChC,aAAa,kBAAkB,CAAC,WAAW,CAAC,KAC3C,gBAYF,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ReadResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRowJoinedUser } from '../types';
|
|
4
|
-
export declare const mapStorableToRead:
|
|
3
|
+
export declare const mapStorableToRead: (row: TableRowJoinedUser<"reads">) => ReadResponse;
|
|
5
4
|
//# sourceMappingURL=mapStorableToRead.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToRead.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToRead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToRead.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToRead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAAI,KAAK,kBAAkB,CAAC,OAAO,CAAC,KAAG,YAQpE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { UserResponse } from 'stream-chat';
|
|
2
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
2
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapStorableToUser:
|
|
3
|
+
export declare const mapStorableToUser: (userRow: TableRow<"users">) => UserResponse;
|
|
5
4
|
//# sourceMappingURL=mapStorableToUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToUser.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mapStorableToUser.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,SAAS,QAAQ,CAAC,OAAO,CAAC,KAAG,YAa9D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChannelFilters, ChannelSort, ChannelState
|
|
1
|
+
import type { ChannelFilters, ChannelSort, ChannelState } from 'stream-chat';
|
|
2
2
|
import type { FileStateValue } from '../utils/utils';
|
|
3
3
|
export declare enum FileTypes {
|
|
4
4
|
Audio = "audio",
|
|
@@ -45,6 +45,39 @@ export type FileUpload = {
|
|
|
45
45
|
url?: string;
|
|
46
46
|
waveform_data?: number[];
|
|
47
47
|
};
|
|
48
|
+
export interface DefaultAttachmentType {
|
|
49
|
+
duration?: number;
|
|
50
|
+
file_size?: number;
|
|
51
|
+
mime_type?: string;
|
|
52
|
+
originalFile?: File;
|
|
53
|
+
originalImage?: Partial<Asset>;
|
|
54
|
+
waveform_data?: number[];
|
|
55
|
+
}
|
|
56
|
+
export interface DefaultUserType {
|
|
57
|
+
image?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface DefaultChannelType {
|
|
60
|
+
[key: string]: unknown;
|
|
61
|
+
image?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DefaultCommandType {
|
|
64
|
+
flag: unknown;
|
|
65
|
+
imgur: unknown;
|
|
66
|
+
}
|
|
67
|
+
export interface DefaultEventType {
|
|
68
|
+
}
|
|
69
|
+
export interface DefaultMemberType {
|
|
70
|
+
}
|
|
71
|
+
export interface DefaultMessageType {
|
|
72
|
+
}
|
|
73
|
+
export interface DefaultPollOptionType {
|
|
74
|
+
}
|
|
75
|
+
export interface DefaultPollType {
|
|
76
|
+
}
|
|
77
|
+
export interface DefaultReactionType {
|
|
78
|
+
}
|
|
79
|
+
export interface DefaultThreadType {
|
|
80
|
+
}
|
|
48
81
|
export type ImageUpload = {
|
|
49
82
|
file: Partial<Asset>;
|
|
50
83
|
id: string;
|
|
@@ -53,44 +86,19 @@ export type ImageUpload = {
|
|
|
53
86
|
url?: string;
|
|
54
87
|
width?: number;
|
|
55
88
|
};
|
|
56
|
-
export type DefaultAttachmentType = UnknownType & {
|
|
57
|
-
duration?: number;
|
|
58
|
-
file_size?: number;
|
|
59
|
-
mime_type?: string;
|
|
60
|
-
originalFile?: File;
|
|
61
|
-
originalImage?: Partial<Asset>;
|
|
62
|
-
waveform_data?: number[];
|
|
63
|
-
};
|
|
64
89
|
export type Reaction = {
|
|
65
90
|
id: string;
|
|
66
91
|
name: string;
|
|
67
92
|
type: string;
|
|
68
93
|
image?: string;
|
|
69
94
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
interface DefaultChannelType extends UnknownType {
|
|
74
|
-
[key: string]: unknown;
|
|
75
|
-
image?: string;
|
|
76
|
-
}
|
|
77
|
-
export interface DefaultStreamChatGenerics extends ExtendableGenerics {
|
|
78
|
-
attachmentType: DefaultAttachmentType;
|
|
79
|
-
channelType: DefaultChannelType;
|
|
80
|
-
commandType: LiteralStringForUnion;
|
|
81
|
-
eventType: UnknownType;
|
|
82
|
-
memberType: UnknownType;
|
|
83
|
-
messageType: UnknownType;
|
|
84
|
-
reactionType: UnknownType;
|
|
85
|
-
userType: DefaultUserType;
|
|
86
|
-
}
|
|
87
|
-
export type ChannelListEventListenerOptions<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
|
|
88
|
-
filters?: ChannelFilters<StreamChatGenerics>;
|
|
89
|
-
sort?: ChannelSort<StreamChatGenerics>;
|
|
95
|
+
export type ChannelListEventListenerOptions = {
|
|
96
|
+
filters?: ChannelFilters;
|
|
97
|
+
sort?: ChannelSort;
|
|
90
98
|
};
|
|
91
99
|
export type UnknownType = Record<string, unknown>;
|
|
92
100
|
export type ValueOf<T> = T[keyof T];
|
|
93
|
-
export type ChannelUnreadState
|
|
101
|
+
export type ChannelUnreadState = Omit<ValueOf<ChannelState['read']>, 'user'>;
|
|
94
102
|
export declare enum AndroidOutputFormat {
|
|
95
103
|
DEFAULT = 0,
|
|
96
104
|
THREE_GPP = 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|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yBAAyB,CAAC,EAAE,6BAA6B,CAAC;IAC1D,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;CAC/C;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC,CAAC"}
|
|
@@ -2,18 +2,17 @@ import type { Channel, CommandResponse, StreamChat } from 'stream-chat';
|
|
|
2
2
|
import type { EmojiSearchIndex, MentionAllAppUsersQuery } from '../contexts/messageInputContext/MessageInputContext';
|
|
3
3
|
import type { SuggestionCommand, SuggestionComponentType, SuggestionUser } from '../contexts/suggestionsContext/SuggestionsContext';
|
|
4
4
|
import { Emoji } from '../emoji-data';
|
|
5
|
-
import type { DefaultStreamChatGenerics } from '../types/types';
|
|
6
5
|
export type TriggerSettingsOutputType = {
|
|
7
6
|
caretPosition: string;
|
|
8
7
|
key: string;
|
|
9
8
|
text: string;
|
|
10
9
|
};
|
|
11
|
-
export type TriggerSettings
|
|
10
|
+
export type TriggerSettings = {
|
|
12
11
|
'/'?: {
|
|
13
|
-
dataProvider: (query: CommandResponse
|
|
12
|
+
dataProvider: (query: CommandResponse['name'], text: string, onReady?: (data: CommandResponse[], q: CommandResponse['name']) => void, options?: {
|
|
14
13
|
limit?: number;
|
|
15
|
-
}) => SuggestionCommand
|
|
16
|
-
output: (entity: CommandResponse
|
|
14
|
+
}) => SuggestionCommand[];
|
|
15
|
+
output: (entity: CommandResponse) => TriggerSettingsOutputType;
|
|
17
16
|
type: SuggestionComponentType;
|
|
18
17
|
};
|
|
19
18
|
':'?: {
|
|
@@ -22,20 +21,20 @@ export type TriggerSettings<StreamChatGenerics extends DefaultStreamChatGenerics
|
|
|
22
21
|
type: SuggestionComponentType;
|
|
23
22
|
};
|
|
24
23
|
'@'?: {
|
|
25
|
-
callback: (item: SuggestionUser
|
|
26
|
-
dataProvider: (query: SuggestionUser
|
|
24
|
+
callback: (item: SuggestionUser) => void;
|
|
25
|
+
dataProvider: (query: SuggestionUser['name'], _: string, onReady?: (data: SuggestionUser[], q: SuggestionUser['name']) => void, options?: {
|
|
27
26
|
limit?: number;
|
|
28
27
|
mentionAllAppUsersEnabled?: boolean;
|
|
29
|
-
mentionAllAppUsersQuery?: MentionAllAppUsersQuery
|
|
30
|
-
}) => SuggestionUser
|
|
31
|
-
output: (entity: SuggestionUser
|
|
28
|
+
mentionAllAppUsersQuery?: MentionAllAppUsersQuery;
|
|
29
|
+
}) => SuggestionUser[] | Promise<void> | void;
|
|
30
|
+
output: (entity: SuggestionUser) => TriggerSettingsOutputType;
|
|
32
31
|
type: SuggestionComponentType;
|
|
33
32
|
};
|
|
34
33
|
};
|
|
35
|
-
export type ACITriggerSettingsParams
|
|
36
|
-
channel: Channel
|
|
37
|
-
client: StreamChat
|
|
38
|
-
onMentionSelectItem: (item: SuggestionUser
|
|
34
|
+
export type ACITriggerSettingsParams = {
|
|
35
|
+
channel: Channel;
|
|
36
|
+
client: StreamChat;
|
|
37
|
+
onMentionSelectItem: (item: SuggestionUser) => void;
|
|
39
38
|
emojiSearchIndex?: EmojiSearchIndex;
|
|
40
39
|
};
|
|
41
40
|
export declare const isCommandTrigger: (trigger: Trigger) => trigger is "/";
|
|
@@ -53,5 +52,5 @@ export type Trigger = '/' | '@' | ':';
|
|
|
53
52
|
* previous call without waiting for a1. So in this case, we want to execute onReady, when trailing
|
|
54
53
|
* end of debounce executes.
|
|
55
54
|
*/
|
|
56
|
-
export declare const ACITriggerSettings:
|
|
55
|
+
export declare const ACITriggerSettings: ({ channel, client, emojiSearchIndex, onMentionSelectItem, }: ACITriggerSettingsParams) => TriggerSettings;
|
|
57
56
|
//# sourceMappingURL=ACITriggerSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ACITriggerSettings.d.ts","sourceRoot":"","sources":["../../../src/utils/ACITriggerSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMxE,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACf,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ACITriggerSettings.d.ts","sourceRoot":"","sources":["../../../src/utils/ACITriggerSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMxE,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACf,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAItC,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,CAAC,EAAE;QACJ,YAAY,EAAE,CACZ,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,EAC9B,IAAI,EAAE,MAAM,EACZ,O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QAC9D,IAAI,EAAE,uBAAuB,CAAC;KAC/B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,mBAAmB,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IACpD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,GAAsB,CAAC;AAEtF,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,GAAsB,CAAC;AAEpF,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,GAAsB,CAAC;AAEtF,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEtC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,GAAI,6DAKhC,wBAAwB,KAAG,eA2K5B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { StreamChat } from 'stream-chat';
|
|
2
2
|
import type { PendingTask } from '../store/types';
|
|
3
|
-
import type { DefaultStreamChatGenerics } from '../types/types';
|
|
4
3
|
export declare class DBSyncManager {
|
|
5
4
|
static syncStatus: boolean;
|
|
6
5
|
static listeners: Array<(status: boolean) => void>;
|
|
@@ -29,21 +28,21 @@ export declare class DBSyncManager {
|
|
|
29
28
|
static onSyncStatusChange: (listener: (status: boolean) => void) => {
|
|
30
29
|
unsubscribe: () => void;
|
|
31
30
|
};
|
|
32
|
-
static sync:
|
|
31
|
+
static sync: (client: StreamChat) => Promise<void>;
|
|
33
32
|
static syncAndExecutePendingTasks: () => Promise<void>;
|
|
34
|
-
static queueTask:
|
|
35
|
-
client: StreamChat
|
|
33
|
+
static queueTask: ({ client, task }: {
|
|
34
|
+
client: StreamChat;
|
|
36
35
|
task: PendingTask;
|
|
37
36
|
}) => Promise<(import("stream-chat").APIResponse & {
|
|
38
|
-
message: import("stream-chat").MessageResponse
|
|
37
|
+
message: import("stream-chat").MessageResponse;
|
|
39
38
|
}) | undefined>;
|
|
40
|
-
static executeTask:
|
|
41
|
-
client: StreamChat
|
|
39
|
+
static executeTask: ({ client, task }: {
|
|
40
|
+
client: StreamChat;
|
|
42
41
|
task: PendingTask;
|
|
43
42
|
}) => Promise<import("stream-chat").APIResponse & {
|
|
44
|
-
message: import("stream-chat").MessageResponse
|
|
43
|
+
message: import("stream-chat").MessageResponse;
|
|
45
44
|
}>;
|
|
46
|
-
static executePendingTasks:
|
|
45
|
+
static executePendingTasks: (client: StreamChat) => Promise<void>;
|
|
47
46
|
static dropPendingTasks: (conditions: {
|
|
48
47
|
messageId: string;
|
|
49
48
|
}) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DBSyncManager.d.ts","sourceRoot":"","sources":["../../../src/utils/DBSyncManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,UAAU,EAAE,MAAM,aAAa,CAAC;AAUhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DBSyncManager.d.ts","sourceRoot":"","sources":["../../../src/utils/DBSyncManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,UAAU,EAAE,MAAM,aAAa,CAAC;AAUhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAuBlD,qBAAa,aAAa;IACxB,MAAM,CAAC,UAAU,UAAS;IAC1B,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC,CAAM;IACxD,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAQ;IACxC,MAAM,CAAC,yBAAyB,EAAE;QAAE,WAAW,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,IAAI,CAAQ;IAE5E;;;OAGG;IACH,MAAM,CAAC,aAAa,gBAAyB;IAE7C;;;;;OAKG;IACH,MAAM,CAAC,IAAI,GAAU,QAAQ,UAAU,mBAkCrC;IAEF;;;;;OAKG;IACH,MAAM,CAAC,kBAAkB,GAAI,UAAU,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI;;MAQ9D;IAEF,MAAM,CAAC,IAAI,GAAU,QAAQ,UAAU,mBA8CrC;IAEF,MAAM,CAAC,0BAA0B,sBAO/B;IAEF,MAAM,CAAC,SAAS,GAAU,kBAAkB;QAAE,MAAM,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,WAAW,CAAA;KAAE;;oBAkBnF;IAEF,MAAM,CAAC,WAAW,GAAU,kBAAkB;QAAE,MAAM,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,WAAW,CAAA;KAAE;;OAgBrF;IAEF,MAAM,CAAC,mBAAmB,GAAU,QAAQ,UAAU,mBA0BpD;IAEF,MAAM,CAAC,gBAAgB,GAAU,YAAY;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,mBAYhE;CACH"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { Channel, UserResponse } from 'stream-chat';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
channel: Channel<StreamChatGenerics>;
|
|
2
|
+
export declare const addReactionToLocalState: ({ channel, enforceUniqueReaction, messageId, reactionType, user, }: {
|
|
3
|
+
channel: Channel;
|
|
5
4
|
enforceUniqueReaction: boolean;
|
|
6
5
|
messageId: string;
|
|
7
6
|
reactionType: string;
|
|
8
|
-
user: UserResponse
|
|
7
|
+
user: UserResponse;
|
|
9
8
|
}) => void;
|
|
10
9
|
//# sourceMappingURL=addReactionToLocalState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addReactionToLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/addReactionToLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3E,
|
|
1
|
+
{"version":3,"file":"addReactionToLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/addReactionToLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3E,eAAO,MAAM,uBAAuB,GAAI,oEAMrC;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB,SAwFA,CAAC"}
|
|
@@ -21,7 +21,6 @@ import 'dayjs/locale/tr';
|
|
|
21
21
|
* sure we don't mess up languages in other places in the app.
|
|
22
22
|
*/
|
|
23
23
|
import 'dayjs/locale/en';
|
|
24
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
25
24
|
type DateTimeParserModule = typeof Dayjs | typeof momentTimezone;
|
|
26
25
|
type Streami18nOptions = {
|
|
27
26
|
DateTimeParser?: DateTimeParserModule;
|
|
@@ -58,7 +57,7 @@ export declare class Streami18n {
|
|
|
58
57
|
tDateTimeParser: TDateTimeParser;
|
|
59
58
|
translations: {
|
|
60
59
|
[key: string]: {
|
|
61
|
-
[key: string]: Partial<typeof enTranslations
|
|
60
|
+
[key: string]: Partial<typeof enTranslations>;
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
63
|
/**
|
|
@@ -123,7 +122,7 @@ export declare class Streami18n {
|
|
|
123
122
|
/** Returns all the translation dictionary for all inbuilt-languages */
|
|
124
123
|
getTranslations: () => {
|
|
125
124
|
[key: string]: {
|
|
126
|
-
[key: string]:
|
|
125
|
+
[key: string]: Partial<{
|
|
127
126
|
"1 Reply": string;
|
|
128
127
|
"1 Thread Reply": string;
|
|
129
128
|
"Add a comment": string;
|
|
@@ -275,7 +274,7 @@ export declare class Streami18n {
|
|
|
275
274
|
/**
|
|
276
275
|
* Register translation
|
|
277
276
|
*/
|
|
278
|
-
registerTranslation(language: string, translation: Partial<typeof enTranslations
|
|
277
|
+
registerTranslation(language: string, translation: Partial<typeof enTranslations>, customDayjsLocale?: Partial<ILocale>): void;
|
|
279
278
|
addOrUpdateLocale(key: string, config: Partial<ILocale>): void;
|
|
280
279
|
/**
|
|
281
280
|
* Changes the language.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAEzB;;;;GAIG;AACH,OAAO,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,cAAc,MAA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aAM9B;IAEF,uBAAuB,aAWrB;IAEF,qEAAqE;IACrE,cAAc,+BAA2B;IAEzC,2CAA2C;IAC3C,qBAAqB,iBAAwC;IAE7D,uEAAuE;IACvE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAmBpB;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,CAAC,OAAO,cAAc,CAAC,EAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { Channel, StreamChat, User } from 'stream-chat';
|
|
2
2
|
import type { SuggestionUser } from '../contexts/suggestionsContext/SuggestionsContext';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export type QueryMembersFunction<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = (client: StreamChat<StreamChatGenerics>, channel: Channel<StreamChatGenerics>, query: SuggestionUser<StreamChatGenerics>['name'], onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void, options?: {
|
|
3
|
+
export declare const getMembersAndWatchers: (channel: Channel) => User[];
|
|
4
|
+
export type QueryMembersFunction = (client: StreamChat, channel: Channel, query: SuggestionUser['name'], onReady?: (users: SuggestionUser[]) => void, options?: {
|
|
6
5
|
limit?: number;
|
|
7
6
|
}) => Promise<void>;
|
|
8
|
-
export declare const queryMembersDebounced: import("lodash").DebouncedFunc<(
|
|
7
|
+
export declare const queryMembersDebounced: import("lodash").DebouncedFunc<(client: StreamChat, channel: Channel, query: SuggestionUser["name"], onReady?: (users: SuggestionUser[]) => void, options?: {
|
|
9
8
|
limit?: number;
|
|
10
|
-
}) => Promise<void
|
|
9
|
+
}) => Promise<void>>;
|
|
11
10
|
//# sourceMappingURL=queryMembers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryMembers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryMembers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAA4B,UAAU,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;
|
|
1
|
+
{"version":3,"file":"queryMembers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryMembers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAA4B,UAAU,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAYxF,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,WAiBrD,CAAC;AAKF,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,EAC3C,OAAO,CAAC,EAAE;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;AAuCnB,eAAO,MAAM,qBAAqB,0CApCxB,UAAU,WACT,OAAO,SACT,cAAc,CAAC,MAAM,CAAC,YACnB,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,YAClC;IACP,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,KACA,OAAO,CAAC,IAAI,CAAC,CAgCd,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import type { StreamChat } from 'stream-chat';
|
|
2
2
|
import type { MentionAllAppUsersQuery } from '../contexts/messageInputContext/MessageInputContext';
|
|
3
3
|
import type { SuggestionUser } from '../contexts/suggestionsContext/SuggestionsContext';
|
|
4
|
-
|
|
5
|
-
export type QueryUsersFunction<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = (client: StreamChat<StreamChatGenerics>, query: SuggestionUser<StreamChatGenerics>['name'], onReady?: (users: SuggestionUser<StreamChatGenerics>[]) => void, options?: {
|
|
4
|
+
export type QueryUsersFunction = (client: StreamChat, query: SuggestionUser['name'], onReady?: (users: SuggestionUser[]) => void, options?: {
|
|
6
5
|
limit?: number;
|
|
7
|
-
mentionAllAppUsersQuery?: MentionAllAppUsersQuery
|
|
6
|
+
mentionAllAppUsersQuery?: MentionAllAppUsersQuery;
|
|
8
7
|
}) => Promise<void>;
|
|
9
|
-
export declare const queryUsersDebounced: import("lodash").DebouncedFunc<(
|
|
8
|
+
export declare const queryUsersDebounced: import("lodash").DebouncedFunc<(client: StreamChat, query: SuggestionUser["name"], onReady?: (users: SuggestionUser[]) => void, options?: {
|
|
10
9
|
limit?: number;
|
|
11
|
-
mentionAllAppUsersQuery?: MentionAllAppUsersQuery
|
|
12
|
-
}) => Promise<void
|
|
10
|
+
mentionAllAppUsersQuery?: MentionAllAppUsersQuery;
|
|
11
|
+
}) => Promise<void>>;
|
|
13
12
|
//# sourceMappingURL=queryUsers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryUsers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryUsers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;
|
|
1
|
+
{"version":3,"file":"queryUsers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryUsers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAExF,MAAM,MAAM,kBAAkB,GAAG,CAC/B,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,EAC3C,OAAO,CAAC,EAAE;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;AAyCnB,eAAO,MAAM,mBAAmB,0CAtCtB,UAAU,SACX,cAAc,CAAC,MAAM,CAAC,YACnB,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,YAClC;IACP,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD,KACA,OAAO,CAAC,IAAI,CAAC,CAkCd,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Channel, UserResponse } from 'stream-chat';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
channel: Channel<StreamChatGenerics>;
|
|
2
|
+
export declare const removeReactionFromLocalState: ({ channel, messageId, reactionType, user, }: {
|
|
3
|
+
channel: Channel;
|
|
5
4
|
messageId: string;
|
|
6
5
|
reactionType: string;
|
|
7
|
-
user: UserResponse
|
|
6
|
+
user: UserResponse;
|
|
8
7
|
}) => void;
|
|
9
8
|
//# sourceMappingURL=removeReactionFromLocalState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeReactionFromLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/removeReactionFromLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIzD,
|
|
1
|
+
{"version":3,"file":"removeReactionFromLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/removeReactionFromLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIzD,eAAO,MAAM,4BAA4B,GAAI,6CAK1C;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB,SA0CA,CAAC"}
|