Files
frontend/src/stores/index.ts
lafay f6176c945b
Some checks failed
Frontend CI / build-and-push-web (push) Successful in 3m13s
Frontend CI / build-android-apk (push) Has been cancelled
Frontend CI / ota-android (push) Has been cancelled
feat(CallScreen): enhance video call functionality and UI updates
- Integrated video call support by adding local and remote video stream handling.
- Implemented state management for video track detection in both local and peer streams.
- Updated UI to conditionally render video components based on the presence of video tracks.
- Added video toggle functionality to enable or disable local video during calls.
- Enhanced incoming call modal to display call type (voice or video).
- Refactored call store to manage call types and video state more effectively.
2026-03-28 00:56:52 +08:00

81 lines
2.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 状态管理 Store 导出
*/
export { useAuthStore, useCurrentUser, useIsAuthenticated, useAuthLoading } from './authStore';
export {
useUserStore,
usePosts,
useNotifications,
useNotificationBadge,
useMessageUnreadCount,
useSearchHistory
} from './userStore';
// MessageManager 新架构导出(已替换 conversationStore
export { messageManager } from './messageManager';
export type {
MessageEvent,
MessageEventType,
MessageSubscriber,
MessageManagerConversationListDeps,
} from './messageManager';
export {
CONVERSATION_LIST_PAGE_SIZE,
type ConversationListPage,
type IConversationListPagedSource,
type RemoteConversationListSourceKind,
NetworkRemoteConversationListPagedSource,
SqliteConversationListPagedSource,
createRemoteConversationListSource,
} from './conversationListSources';
export {
GROUP_MEMBER_LIST_PAGE_SIZE,
type GroupMemberListSourceKind,
type IGroupMemberListPagedSource,
NetworkCursorGroupMemberListPagedSource,
NetworkOffsetGroupMemberListPagedSource,
createRemoteGroupMemberListSource,
} from './groupMemberListSources';
export { enrichGroupMembersWithUserProfiles } from './groupMemberProfileResolver';
export { postManager } from './postManager';
export { groupManager } from './groupManager';
export { userManager } from './userManager';
export {
useHomeTabBarVisibilityStore,
} from './homeTabBarVisibilityStore';
export {
useHomeTabPressStore,
} from './homeTabPressStore';
export { callStore } from './callStore';
export type { CallType, CallSession, CallStatus } from './callStore';
export {
useAppColors,
useThemePreference,
useResolvedColorScheme,
useSetThemePreference,
usePaperThemeFromStore,
ThemeBootstrap,
useThemeStore,
type ThemePreference,
type ResolvedScheme,
} from './themeStore';
export {
useConversations as useMessageManagerConversations,
useMessages,
useSendMessage,
useMarkAsRead,
useUnreadCount,
useTotalUnreadCount,
useConversation as useMessageManagerConversation,
useMessageManager,
useChat,
useMessageList,
useMessageListRefresh,
useCreateConversation,
useUpdateConversation,
useSystemUnreadCount as useMessageManagerSystemUnreadCount,
useGroupTyping,
useGroupMuted,
} from './messageManagerHooks';