@codingfactory/messenger-client 0.2.27 → 0.2.29
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/dist/index.js +897 -892
- package/dist/stores/messaging.d.ts +15 -0
- package/package.json +1 -1
|
@@ -150,6 +150,7 @@ interface MessagingState {
|
|
|
150
150
|
_pendingSendIds: Set<string>;
|
|
151
151
|
_activeDetailSubscriptions: Set<string>;
|
|
152
152
|
_activeGlobalConversationSubscriptions: Set<string>;
|
|
153
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
153
154
|
}
|
|
154
155
|
export declare const useMessagingStore: import("pinia").StoreDefinition<"messaging", MessagingState, {
|
|
155
156
|
getConversationById: (state: {
|
|
@@ -407,6 +408,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
407
408
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
408
409
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
409
410
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
411
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
410
412
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (id: string) => Conversation | undefined;
|
|
411
413
|
getMessagesByConversationId: (state: {
|
|
412
414
|
conversations: {
|
|
@@ -663,6 +665,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
663
665
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
664
666
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
665
667
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
668
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
666
669
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (conversationId: string) => Message[];
|
|
667
670
|
getTypingUsers: (state: {
|
|
668
671
|
conversations: {
|
|
@@ -919,6 +922,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
919
922
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
920
923
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
921
924
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
925
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
922
926
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (conversationId: string) => TypingUser[];
|
|
923
927
|
unreadConversationsCount: (state: {
|
|
924
928
|
conversations: {
|
|
@@ -1175,6 +1179,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
1175
1179
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1176
1180
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1177
1181
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1182
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
1178
1183
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => number;
|
|
1179
1184
|
unreadCount: (state: {
|
|
1180
1185
|
conversations: {
|
|
@@ -1431,6 +1436,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
1431
1436
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1432
1437
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1433
1438
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1439
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
1434
1440
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => number;
|
|
1435
1441
|
totalUnreadCount: (state: {
|
|
1436
1442
|
conversations: {
|
|
@@ -1687,6 +1693,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
1687
1693
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1688
1694
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1689
1695
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1696
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
1690
1697
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => number;
|
|
1691
1698
|
sortedFolders: (state: {
|
|
1692
1699
|
conversations: {
|
|
@@ -1943,6 +1950,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
1943
1950
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1944
1951
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1945
1952
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
1953
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
1946
1954
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => ConversationFolder[];
|
|
1947
1955
|
folderById: (state: {
|
|
1948
1956
|
conversations: {
|
|
@@ -2199,6 +2207,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
2199
2207
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2200
2208
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2201
2209
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2210
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
2202
2211
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (id: string) => ConversationFolder | undefined;
|
|
2203
2212
|
conversationsInFolder: (state: {
|
|
2204
2213
|
conversations: {
|
|
@@ -2455,6 +2464,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
2455
2464
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2456
2465
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2457
2466
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2467
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
2458
2468
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (folderId: string) => Conversation[];
|
|
2459
2469
|
hasMoreMessages: (state: {
|
|
2460
2470
|
conversations: {
|
|
@@ -2711,6 +2721,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
2711
2721
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2712
2722
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2713
2723
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2724
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
2714
2725
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (conversationId: string) => boolean;
|
|
2715
2726
|
isLoadingMessages: (state: {
|
|
2716
2727
|
conversations: {
|
|
@@ -2967,6 +2978,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
2967
2978
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2968
2979
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2969
2980
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
2981
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
2970
2982
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => (conversationId: string) => boolean;
|
|
2971
2983
|
requestConversations: (state: {
|
|
2972
2984
|
conversations: {
|
|
@@ -3223,6 +3235,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
3223
3235
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3224
3236
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3225
3237
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3238
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
3226
3239
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => Conversation[];
|
|
3227
3240
|
requestCount: (state: {
|
|
3228
3241
|
conversations: {
|
|
@@ -3479,6 +3492,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
3479
3492
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3480
3493
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3481
3494
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3495
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
3482
3496
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => number;
|
|
3483
3497
|
unreadRequestCount: (state: {
|
|
3484
3498
|
conversations: {
|
|
@@ -3735,6 +3749,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
3735
3749
|
_pendingSendIds: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3736
3750
|
_activeDetailSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3737
3751
|
_activeGlobalConversationSubscriptions: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
3752
|
+
activeListFilter: ConversationListFilter | undefined;
|
|
3738
3753
|
} & import("pinia").PiniaCustomStateProperties<MessagingState>) => number;
|
|
3739
3754
|
}, {
|
|
3740
3755
|
normalizeFolderAssignmentsState(): void;
|