Files
im/store/getters.js
T

24 lines
1.4 KiB
JavaScript
Raw Normal View History

2025-11-07 09:56:20 +08:00
export default {
2025-11-23 01:01:52 +08:00
storeConversationList: (state) => state.conversation.conversationList,
storeCurrentConversation: (state) => state.conversation.currentConversation,
storeUnReadCount: (state) => state.conversation.unReadCount,
storeCurrentGroup: (state) => state.conversation.currentGroup,
storeCurrentMemberInGroup: (state) => state.conversation.currentMemberInGroup,
storeFriendList: (state) => state.contact.friendList,
storeBlackList: (state) => state.contact.blackList,
storeGroupList: (state) => state.contact.groupList,
storeRecvFriendApplications: (state) => state.contact.recvFriendApplications,
storeSentFriendApplications: (state) => state.contact.sentFriendApplications,
storeRecvGroupApplications: (state) => state.contact.recvGroupApplications,
storeSentGroupApplications: (state) => state.contact.sentGroupApplications,
2025-11-27 03:55:38 +08:00
storeUnHandleFriendApplicationNum: (state) => state.contact.unHandleFriendApplicationNum,
2025-11-23 01:01:52 +08:00
storeHistoryMessageList: (state) => state.message.historyMessageList,
storeHasMoreMessage: (state) => state.message.hasMoreMessage,
storeSelfInfo: (state) => state.user.selfInfo,
storeCurrentUserID: (state) => state.user.selfInfo.userID,
storeIsSyncing: (state) => state.user.isSyncing,
storeReinstall: (state) => state.user.reinstall,
storeProgress: (state) => state.user.progress,
storeAuthData: (state) => state.user.authData,
config: (state) => state.system.config,
};