Files
frontend/src/stores/index.ts
lafay b19a2ced6f
All checks were successful
Frontend CI / build-and-push-web (push) Successful in 5m2s
Frontend CI / ota-android (push) Successful in 11m28s
Frontend CI / build-android-apk (push) Successful in 1h0m58s
feat(CallFeature): implement call functionality and integrate WebSocket signaling
- Updated app.json to include microphone permissions and background audio support.
- Added call-related dependencies in package.json and package-lock.json.
- Enhanced ChatScreen to initiate calls and handle call actions.
- Introduced call components in the layout for incoming call handling.
- Expanded WebSocket service to manage call signaling messages and events.
- Refactored authStore to initialize call state on user authentication.
2026-03-27 17:12:19 +08:00

80 lines
2.1 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 {
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';