@burdenoff/microfe-conversations 2026.928.1 → 2026.1006.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/dist/conversations/components/ConversationRow.js +1 -1
- package/dist/conversations/components/ConversationRow.js.map +1 -1
- package/dist/conversations/components/NewConversationDialog.js +135 -133
- package/dist/conversations/components/NewConversationDialog.js.map +1 -1
- package/dist/conversations/hooks/useConversationQueries.js +66 -49
- package/dist/conversations/hooks/useConversationQueries.js.map +1 -1
- package/dist/generated/wspace-operations.js +87 -32
- package/dist/generated/wspace-operations.js.map +1 -1
- package/package.json +1 -1
|
@@ -368,35 +368,35 @@ function A(e) {
|
|
|
368
368
|
};
|
|
369
369
|
return t.useMutation(k, r);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var ee = e`
|
|
372
372
|
mutation UnpinConversation($conversationId: ID!) {
|
|
373
373
|
unpinConversation(conversationId: $conversationId) {
|
|
374
374
|
id
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
`;
|
|
378
|
-
function
|
|
378
|
+
function j(e) {
|
|
379
379
|
let r = {
|
|
380
380
|
...n,
|
|
381
381
|
...e
|
|
382
382
|
};
|
|
383
|
-
return t.useMutation(
|
|
383
|
+
return t.useMutation(ee, r);
|
|
384
384
|
}
|
|
385
|
-
var
|
|
385
|
+
var M = e`
|
|
386
386
|
mutation UnpinMessageByHook($messageId: ID!) {
|
|
387
387
|
unpinMessage(messageId: $messageId) {
|
|
388
388
|
id
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
`;
|
|
392
|
-
function
|
|
392
|
+
function N(e) {
|
|
393
393
|
let r = {
|
|
394
394
|
...n,
|
|
395
395
|
...e
|
|
396
396
|
};
|
|
397
|
-
return t.useMutation(
|
|
397
|
+
return t.useMutation(M, r);
|
|
398
398
|
}
|
|
399
|
-
var
|
|
399
|
+
var P = e`
|
|
400
400
|
mutation UpdateConversationByHook($input: UpdateConversationInput!) {
|
|
401
401
|
updateConversation(input: $input) {
|
|
402
402
|
success
|
|
@@ -429,14 +429,14 @@ var F = e`
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
`;
|
|
432
|
-
function
|
|
432
|
+
function F(e) {
|
|
433
433
|
let r = {
|
|
434
434
|
...n,
|
|
435
435
|
...e
|
|
436
436
|
};
|
|
437
|
-
return t.useMutation(
|
|
437
|
+
return t.useMutation(P, r);
|
|
438
438
|
}
|
|
439
|
-
var
|
|
439
|
+
var I = e`
|
|
440
440
|
query GetConversation($id: ID!) {
|
|
441
441
|
conversation(id: $id) {
|
|
442
442
|
id
|
|
@@ -503,14 +503,14 @@ var L = e`
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
`;
|
|
506
|
-
function
|
|
506
|
+
function L(e) {
|
|
507
507
|
let r = {
|
|
508
508
|
...n,
|
|
509
509
|
...e
|
|
510
510
|
};
|
|
511
|
-
return t.useQuery(
|
|
511
|
+
return t.useQuery(I, r);
|
|
512
512
|
}
|
|
513
|
-
var
|
|
513
|
+
var R = e`
|
|
514
514
|
query GetConversations($first: Int, $after: String, $filter: ConversationFilter, $sort: ConversationSort) {
|
|
515
515
|
conversations(first: $first, after: $after, filter: $filter, sort: $sort) {
|
|
516
516
|
edges {
|
|
@@ -571,14 +571,14 @@ var z = e`
|
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
`;
|
|
574
|
-
function
|
|
574
|
+
function z(e) {
|
|
575
575
|
let r = {
|
|
576
576
|
...n,
|
|
577
577
|
...e
|
|
578
578
|
};
|
|
579
|
-
return t.useQuery(
|
|
579
|
+
return t.useQuery(R, r);
|
|
580
580
|
}
|
|
581
|
-
var
|
|
581
|
+
var B = e`
|
|
582
582
|
query GetMessages($conversationId: ID!, $first: Int, $after: String, $before: String, $filter: MessageFilter) {
|
|
583
583
|
messages(
|
|
584
584
|
conversationId: $conversationId
|
|
@@ -661,12 +661,67 @@ var V = e`
|
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
663
|
`;
|
|
664
|
-
function
|
|
664
|
+
function V(e) {
|
|
665
665
|
let r = {
|
|
666
666
|
...n,
|
|
667
667
|
...e
|
|
668
668
|
};
|
|
669
|
-
return t.useQuery(
|
|
669
|
+
return t.useQuery(B, r);
|
|
670
|
+
}
|
|
671
|
+
var H = e`
|
|
672
|
+
query GetOrCreateDirectConversation($userId: ID!) {
|
|
673
|
+
getOrCreateDirectConversation(userId: $userId) {
|
|
674
|
+
id
|
|
675
|
+
workspaceId
|
|
676
|
+
type
|
|
677
|
+
title
|
|
678
|
+
description
|
|
679
|
+
avatar
|
|
680
|
+
state
|
|
681
|
+
visibility
|
|
682
|
+
isGroup
|
|
683
|
+
createdBy
|
|
684
|
+
createdAt
|
|
685
|
+
updatedAt
|
|
686
|
+
currentUserMembership {
|
|
687
|
+
id
|
|
688
|
+
role
|
|
689
|
+
status
|
|
690
|
+
lastReadMessageId
|
|
691
|
+
lastReadAt
|
|
692
|
+
unreadCount
|
|
693
|
+
mentionCount
|
|
694
|
+
notificationLevel
|
|
695
|
+
isMuted
|
|
696
|
+
isPinned
|
|
697
|
+
pinnedOrder
|
|
698
|
+
canSendMessages
|
|
699
|
+
canAddMembers
|
|
700
|
+
canRemoveMembers
|
|
701
|
+
joinedAt
|
|
702
|
+
customTitle
|
|
703
|
+
customAvatar
|
|
704
|
+
}
|
|
705
|
+
memberCount
|
|
706
|
+
unreadCount
|
|
707
|
+
mentionCount
|
|
708
|
+
features {
|
|
709
|
+
threads
|
|
710
|
+
reactions
|
|
711
|
+
mentions
|
|
712
|
+
calls
|
|
713
|
+
apps
|
|
714
|
+
polls
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
`;
|
|
719
|
+
function U(e) {
|
|
720
|
+
let r = {
|
|
721
|
+
...n,
|
|
722
|
+
...e
|
|
723
|
+
};
|
|
724
|
+
return t.useLazyQuery(H, r);
|
|
670
725
|
}
|
|
671
726
|
e`
|
|
672
727
|
query GetPresence($userIds: [ID!]!) {
|
|
@@ -743,7 +798,7 @@ e`
|
|
|
743
798
|
}
|
|
744
799
|
}
|
|
745
800
|
`;
|
|
746
|
-
var
|
|
801
|
+
var W = e`
|
|
747
802
|
query GetWorkspaceDirectory($filter: WorkspaceDirectoryFilter, $pagination: PaginationInput) {
|
|
748
803
|
workspaceDirectory(filter: $filter, pagination: $pagination) {
|
|
749
804
|
totalCount
|
|
@@ -756,14 +811,14 @@ var U = e`
|
|
|
756
811
|
}
|
|
757
812
|
}
|
|
758
813
|
`;
|
|
759
|
-
function
|
|
814
|
+
function G(e) {
|
|
760
815
|
let r = {
|
|
761
816
|
...n,
|
|
762
817
|
...e
|
|
763
818
|
};
|
|
764
|
-
return t.useQuery(
|
|
819
|
+
return t.useQuery(W, r);
|
|
765
820
|
}
|
|
766
|
-
var
|
|
821
|
+
var K = e`
|
|
767
822
|
query SearchConversations($query: String!, $first: Int, $after: String, $filter: ConversationFilter) {
|
|
768
823
|
searchConversations(
|
|
769
824
|
query: $query
|
|
@@ -820,12 +875,12 @@ var G = e`
|
|
|
820
875
|
}
|
|
821
876
|
}
|
|
822
877
|
`;
|
|
823
|
-
function
|
|
878
|
+
function q(e) {
|
|
824
879
|
let r = {
|
|
825
880
|
...n,
|
|
826
881
|
...e
|
|
827
882
|
};
|
|
828
|
-
return t.useQuery(
|
|
883
|
+
return t.useQuery(K, r);
|
|
829
884
|
}
|
|
830
885
|
e`
|
|
831
886
|
query SearchMessagesByHook($query: String!, $conversationId: ID, $first: Int) {
|
|
@@ -888,7 +943,7 @@ e`
|
|
|
888
943
|
}
|
|
889
944
|
}
|
|
890
945
|
`;
|
|
891
|
-
var
|
|
946
|
+
var J = e`
|
|
892
947
|
subscription ConversationAdded {
|
|
893
948
|
conversationAdded {
|
|
894
949
|
id
|
|
@@ -903,7 +958,7 @@ var q = e`
|
|
|
903
958
|
updatedAt
|
|
904
959
|
}
|
|
905
960
|
}
|
|
906
|
-
`,
|
|
961
|
+
`, Y = e`
|
|
907
962
|
subscription ConversationUpdated($conversationId: ID!) {
|
|
908
963
|
conversationUpdated(conversationId: $conversationId) {
|
|
909
964
|
changes
|
|
@@ -919,14 +974,14 @@ var q = e`
|
|
|
919
974
|
}
|
|
920
975
|
}
|
|
921
976
|
}
|
|
922
|
-
`,
|
|
977
|
+
`, X = e`
|
|
923
978
|
subscription ConversationDeleted($conversationId: ID!) {
|
|
924
979
|
conversationDeleted(conversationId: $conversationId) {
|
|
925
980
|
conversationId
|
|
926
981
|
deletedBy
|
|
927
982
|
}
|
|
928
983
|
}
|
|
929
|
-
`,
|
|
984
|
+
`, Z = e`
|
|
930
985
|
subscription ParticipantChanged($conversationId: ID!) {
|
|
931
986
|
participantChanged(conversationId: $conversationId) {
|
|
932
987
|
changeType
|
|
@@ -946,7 +1001,7 @@ var q = e`
|
|
|
946
1001
|
}
|
|
947
1002
|
}
|
|
948
1003
|
}
|
|
949
|
-
`,
|
|
1004
|
+
`, Q = e`
|
|
950
1005
|
subscription MessageAdded($conversationId: ID!) {
|
|
951
1006
|
messageAdded(conversationId: $conversationId) {
|
|
952
1007
|
id
|
|
@@ -1008,7 +1063,7 @@ var q = e`
|
|
|
1008
1063
|
}
|
|
1009
1064
|
}
|
|
1010
1065
|
}
|
|
1011
|
-
`,
|
|
1066
|
+
`, $ = e`
|
|
1012
1067
|
subscription MessageUpdated($conversationId: ID!) {
|
|
1013
1068
|
messageUpdated(conversationId: $conversationId) {
|
|
1014
1069
|
id
|
|
@@ -1023,7 +1078,7 @@ var q = e`
|
|
|
1023
1078
|
updatedAt
|
|
1024
1079
|
}
|
|
1025
1080
|
}
|
|
1026
|
-
`,
|
|
1081
|
+
`, te = e`
|
|
1027
1082
|
subscription MessageDeleted($conversationId: ID!) {
|
|
1028
1083
|
messageDeleted(conversationId: $conversationId) {
|
|
1029
1084
|
conversationId
|
|
@@ -1079,6 +1134,6 @@ e`
|
|
|
1079
1134
|
}
|
|
1080
1135
|
`;
|
|
1081
1136
|
//#endregion
|
|
1082
|
-
export {
|
|
1137
|
+
export { J as ConversationAddedDocument, X as ConversationDeletedDocument, Y as ConversationUpdatedDocument, B as GetMessagesDocument, Q as MessageAddedDocument, te as MessageDeletedDocument, $ as MessageUpdatedDocument, Z as ParticipantChangedDocument, b as useAddReactionMutation, o as useArchiveConversationMutation, i as useCreateConversationMutation, v as useDeleteMessageMutation, g as useEditMessageMutation, L as useGetConversationQuery, z as useGetConversationsQuery, V as useGetMessagesQuery, U as useGetOrCreateDirectConversationLazyQuery, G as useGetWorkspaceDirectoryQuery, f as useLeaveConversationMutation, u as useMarkConversationAsReadMutation, w as useMuteConversationMutation, E as usePinConversationMutation, O as usePinMessageByHookMutation, S as useRemoveReactionMutation, q as useSearchConversationsQuery, m as useSendMessageMutation, c as useUnarchiveConversationMutation, A as useUnmuteConversationMutation, j as useUnpinConversationMutation, N as useUnpinMessageByHookMutation, F as useUpdateConversationByHookMutation };
|
|
1083
1138
|
|
|
1084
1139
|
//# sourceMappingURL=wspace-operations.js.map
|