@burdenoff/microfe-conversations 2026.530.1 → 2026.601.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/ConversationsAdminRoutes.js +19 -21
- package/dist/conversations/ConversationsAdminRoutes.js.map +1 -1
- package/dist/conversations/hooks/useConversationQueries.js +46 -36
- package/dist/conversations/hooks/useConversationQueries.js.map +1 -1
- package/dist/conversations/hooks/useMessageQueries.js +2 -1
- package/dist/conversations/hooks/useMessageQueries.js.map +1 -1
- package/dist/conversations/hooks/useMessageSubscriptions.js +22 -23
- package/dist/conversations/hooks/useMessageSubscriptions.js.map +1 -1
- package/dist/conversations/pages/ConversationAdminPages.js +60 -38
- package/dist/conversations/pages/ConversationAdminPages.js.map +1 -1
- package/dist/conversations/pages/ConversationDetailPage.js +237 -179
- package/dist/conversations/pages/ConversationDetailPage.js.map +1 -1
- package/dist/conversations/providers/ConversationsProvider.js +75 -67
- package/dist/conversations/providers/ConversationsProvider.js.map +1 -1
- package/dist/generated/wspace-operations.js +82 -58
- package/dist/generated/wspace-operations.js.map +1 -1
- package/package.json +1 -1
|
@@ -126,14 +126,23 @@ e`
|
|
|
126
126
|
success
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
`;
|
|
130
|
+
var l = e`
|
|
130
131
|
mutation LeaveConversation($conversationId: ID!) {
|
|
131
132
|
leaveConversation(conversationId: $conversationId) {
|
|
132
133
|
conversationId
|
|
133
134
|
success
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
|
-
|
|
137
|
+
`;
|
|
138
|
+
function u(e) {
|
|
139
|
+
let r = {
|
|
140
|
+
...n,
|
|
141
|
+
...e
|
|
142
|
+
};
|
|
143
|
+
return t.useMutation(l, r);
|
|
144
|
+
}
|
|
145
|
+
e`
|
|
137
146
|
mutation UpdateParticipantRole($input: UpdateParticipantRoleInput!) {
|
|
138
147
|
updateParticipantRole(input: $input) {
|
|
139
148
|
id
|
|
@@ -148,7 +157,7 @@ e`
|
|
|
148
157
|
}
|
|
149
158
|
}
|
|
150
159
|
`;
|
|
151
|
-
var
|
|
160
|
+
var d = e`
|
|
152
161
|
mutation SendMessage($input: SendMessageInput!) {
|
|
153
162
|
sendMessage(input: $input) {
|
|
154
163
|
message {
|
|
@@ -201,14 +210,14 @@ var l = e`
|
|
|
201
210
|
}
|
|
202
211
|
}
|
|
203
212
|
`;
|
|
204
|
-
function
|
|
213
|
+
function f(e) {
|
|
205
214
|
let r = {
|
|
206
215
|
...n,
|
|
207
216
|
...e
|
|
208
217
|
};
|
|
209
|
-
return t.useMutation(
|
|
218
|
+
return t.useMutation(d, r);
|
|
210
219
|
}
|
|
211
|
-
var
|
|
220
|
+
var p = e`
|
|
212
221
|
mutation EditMessage($input: EditMessageInput!) {
|
|
213
222
|
editMessage(input: $input) {
|
|
214
223
|
id
|
|
@@ -226,14 +235,14 @@ var d = e`
|
|
|
226
235
|
}
|
|
227
236
|
}
|
|
228
237
|
`;
|
|
229
|
-
function
|
|
238
|
+
function m(e) {
|
|
230
239
|
let r = {
|
|
231
240
|
...n,
|
|
232
241
|
...e
|
|
233
242
|
};
|
|
234
|
-
return t.useMutation(
|
|
243
|
+
return t.useMutation(p, r);
|
|
235
244
|
}
|
|
236
|
-
var
|
|
245
|
+
var h = e`
|
|
237
246
|
mutation DeleteMessage($id: ID!, $hard: Boolean) {
|
|
238
247
|
deleteMessage(id: $id, hard: $hard) {
|
|
239
248
|
messageId
|
|
@@ -241,14 +250,14 @@ var p = e`
|
|
|
241
250
|
}
|
|
242
251
|
}
|
|
243
252
|
`;
|
|
244
|
-
function
|
|
253
|
+
function g(e) {
|
|
245
254
|
let r = {
|
|
246
255
|
...n,
|
|
247
256
|
...e
|
|
248
257
|
};
|
|
249
|
-
return t.useMutation(
|
|
258
|
+
return t.useMutation(h, r);
|
|
250
259
|
}
|
|
251
|
-
var
|
|
260
|
+
var _ = e`
|
|
252
261
|
mutation AddReaction($messageId: ID!, $emoji: String!) {
|
|
253
262
|
addReaction(messageId: $messageId, emoji: $emoji) {
|
|
254
263
|
id
|
|
@@ -259,14 +268,14 @@ var h = e`
|
|
|
259
268
|
}
|
|
260
269
|
}
|
|
261
270
|
`;
|
|
262
|
-
function
|
|
271
|
+
function v(e) {
|
|
263
272
|
let r = {
|
|
264
273
|
...n,
|
|
265
274
|
...e
|
|
266
275
|
};
|
|
267
|
-
return t.useMutation(
|
|
276
|
+
return t.useMutation(_, r);
|
|
268
277
|
}
|
|
269
|
-
var
|
|
278
|
+
var y = e`
|
|
270
279
|
mutation RemoveReaction($messageId: ID!, $emoji: String!) {
|
|
271
280
|
removeReaction(messageId: $messageId, emoji: $emoji) {
|
|
272
281
|
messageId
|
|
@@ -275,98 +284,98 @@ var _ = e`
|
|
|
275
284
|
}
|
|
276
285
|
}
|
|
277
286
|
`;
|
|
278
|
-
function
|
|
287
|
+
function b(e) {
|
|
279
288
|
let r = {
|
|
280
289
|
...n,
|
|
281
290
|
...e
|
|
282
291
|
};
|
|
283
|
-
return t.useMutation(
|
|
292
|
+
return t.useMutation(y, r);
|
|
284
293
|
}
|
|
285
|
-
var
|
|
294
|
+
var x = e`
|
|
286
295
|
mutation MuteConversation($conversationId: ID!) {
|
|
287
296
|
muteConversation(conversationId: $conversationId) {
|
|
288
297
|
id
|
|
289
298
|
}
|
|
290
299
|
}
|
|
291
300
|
`;
|
|
292
|
-
function
|
|
301
|
+
function S(e) {
|
|
293
302
|
let r = {
|
|
294
303
|
...n,
|
|
295
304
|
...e
|
|
296
305
|
};
|
|
297
|
-
return t.useMutation(
|
|
306
|
+
return t.useMutation(x, r);
|
|
298
307
|
}
|
|
299
|
-
var
|
|
308
|
+
var C = e`
|
|
300
309
|
mutation PinConversation($conversationId: ID!) {
|
|
301
310
|
pinConversation(conversationId: $conversationId) {
|
|
302
311
|
id
|
|
303
312
|
}
|
|
304
313
|
}
|
|
305
314
|
`;
|
|
306
|
-
function
|
|
315
|
+
function w(e) {
|
|
307
316
|
let r = {
|
|
308
317
|
...n,
|
|
309
318
|
...e
|
|
310
319
|
};
|
|
311
|
-
return t.useMutation(
|
|
320
|
+
return t.useMutation(C, r);
|
|
312
321
|
}
|
|
313
|
-
var
|
|
322
|
+
var T = e`
|
|
314
323
|
mutation PinMessageByHook($messageId: ID!) {
|
|
315
324
|
pinMessage(messageId: $messageId) {
|
|
316
325
|
id
|
|
317
326
|
}
|
|
318
327
|
}
|
|
319
328
|
`;
|
|
320
|
-
function
|
|
329
|
+
function E(e) {
|
|
321
330
|
let r = {
|
|
322
331
|
...n,
|
|
323
332
|
...e
|
|
324
333
|
};
|
|
325
|
-
return t.useMutation(
|
|
334
|
+
return t.useMutation(T, r);
|
|
326
335
|
}
|
|
327
|
-
var
|
|
336
|
+
var D = e`
|
|
328
337
|
mutation UnmuteConversation($conversationId: ID!) {
|
|
329
338
|
unmuteConversation(conversationId: $conversationId) {
|
|
330
339
|
id
|
|
331
340
|
}
|
|
332
341
|
}
|
|
333
342
|
`;
|
|
334
|
-
function
|
|
343
|
+
function O(e) {
|
|
335
344
|
let r = {
|
|
336
345
|
...n,
|
|
337
346
|
...e
|
|
338
347
|
};
|
|
339
|
-
return t.useMutation(
|
|
348
|
+
return t.useMutation(D, r);
|
|
340
349
|
}
|
|
341
|
-
var
|
|
350
|
+
var k = e`
|
|
342
351
|
mutation UnpinConversation($conversationId: ID!) {
|
|
343
352
|
unpinConversation(conversationId: $conversationId) {
|
|
344
353
|
id
|
|
345
354
|
}
|
|
346
355
|
}
|
|
347
356
|
`;
|
|
348
|
-
function
|
|
357
|
+
function A(e) {
|
|
349
358
|
let r = {
|
|
350
359
|
...n,
|
|
351
360
|
...e
|
|
352
361
|
};
|
|
353
|
-
return t.useMutation(
|
|
362
|
+
return t.useMutation(k, r);
|
|
354
363
|
}
|
|
355
|
-
var
|
|
364
|
+
var j = e`
|
|
356
365
|
mutation UnpinMessageByHook($messageId: ID!) {
|
|
357
366
|
unpinMessage(messageId: $messageId) {
|
|
358
367
|
id
|
|
359
368
|
}
|
|
360
369
|
}
|
|
361
370
|
`;
|
|
362
|
-
function
|
|
371
|
+
function M(e) {
|
|
363
372
|
let r = {
|
|
364
373
|
...n,
|
|
365
374
|
...e
|
|
366
375
|
};
|
|
367
|
-
return t.useMutation(
|
|
376
|
+
return t.useMutation(j, r);
|
|
368
377
|
}
|
|
369
|
-
var
|
|
378
|
+
var N = e`
|
|
370
379
|
mutation UpdateConversationByHook($input: UpdateConversationInput!) {
|
|
371
380
|
updateConversation(input: $input) {
|
|
372
381
|
success
|
|
@@ -399,14 +408,14 @@ var j = e`
|
|
|
399
408
|
}
|
|
400
409
|
}
|
|
401
410
|
`;
|
|
402
|
-
function
|
|
411
|
+
function P(e) {
|
|
403
412
|
let r = {
|
|
404
413
|
...n,
|
|
405
414
|
...e
|
|
406
415
|
};
|
|
407
|
-
return t.useMutation(
|
|
416
|
+
return t.useMutation(N, r);
|
|
408
417
|
}
|
|
409
|
-
var
|
|
418
|
+
var F = e`
|
|
410
419
|
query GetConversation($id: ID!) {
|
|
411
420
|
conversation(id: $id) {
|
|
412
421
|
id
|
|
@@ -442,6 +451,21 @@ var N = e`
|
|
|
442
451
|
customAvatar
|
|
443
452
|
}
|
|
444
453
|
memberCount
|
|
454
|
+
members(first: 25) {
|
|
455
|
+
totalCount
|
|
456
|
+
edges {
|
|
457
|
+
node {
|
|
458
|
+
id
|
|
459
|
+
userId
|
|
460
|
+
role
|
|
461
|
+
status
|
|
462
|
+
joinedAt
|
|
463
|
+
leftAt
|
|
464
|
+
customTitle
|
|
465
|
+
customAvatar
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
445
469
|
unreadCount
|
|
446
470
|
mentionCount
|
|
447
471
|
features {
|
|
@@ -458,14 +482,14 @@ var N = e`
|
|
|
458
482
|
}
|
|
459
483
|
}
|
|
460
484
|
`;
|
|
461
|
-
function
|
|
485
|
+
function I(e) {
|
|
462
486
|
let r = {
|
|
463
487
|
...n,
|
|
464
488
|
...e
|
|
465
489
|
};
|
|
466
|
-
return t.useQuery(
|
|
490
|
+
return t.useQuery(F, r);
|
|
467
491
|
}
|
|
468
|
-
var
|
|
492
|
+
var L = e`
|
|
469
493
|
query GetConversations($first: Int, $after: String, $filter: ConversationFilter, $sort: ConversationSort) {
|
|
470
494
|
conversations(first: $first, after: $after, filter: $filter, sort: $sort) {
|
|
471
495
|
edges {
|
|
@@ -525,14 +549,14 @@ var F = e`
|
|
|
525
549
|
}
|
|
526
550
|
}
|
|
527
551
|
`;
|
|
528
|
-
function
|
|
552
|
+
function R(e) {
|
|
529
553
|
let r = {
|
|
530
554
|
...n,
|
|
531
555
|
...e
|
|
532
556
|
};
|
|
533
|
-
return t.useQuery(
|
|
557
|
+
return t.useQuery(L, r);
|
|
534
558
|
}
|
|
535
|
-
var
|
|
559
|
+
var z = e`
|
|
536
560
|
query GetMessages($conversationId: ID!, $first: Int, $after: String, $before: String, $filter: MessageFilter) {
|
|
537
561
|
messages(
|
|
538
562
|
conversationId: $conversationId
|
|
@@ -614,12 +638,12 @@ var L = e`
|
|
|
614
638
|
}
|
|
615
639
|
}
|
|
616
640
|
`;
|
|
617
|
-
function
|
|
641
|
+
function B(e) {
|
|
618
642
|
let r = {
|
|
619
643
|
...n,
|
|
620
644
|
...e
|
|
621
645
|
};
|
|
622
|
-
return t.useQuery(
|
|
646
|
+
return t.useQuery(z, r);
|
|
623
647
|
}
|
|
624
648
|
e`
|
|
625
649
|
query GetPresence($userIds: [ID!]!) {
|
|
@@ -695,7 +719,7 @@ e`
|
|
|
695
719
|
}
|
|
696
720
|
}
|
|
697
721
|
`;
|
|
698
|
-
var
|
|
722
|
+
var V = e`
|
|
699
723
|
query SearchConversations($query: String!, $first: Int, $after: String, $filter: ConversationFilter) {
|
|
700
724
|
searchConversations(
|
|
701
725
|
query: $query
|
|
@@ -751,12 +775,12 @@ var z = e`
|
|
|
751
775
|
}
|
|
752
776
|
}
|
|
753
777
|
`;
|
|
754
|
-
function
|
|
778
|
+
function H(e) {
|
|
755
779
|
let r = {
|
|
756
780
|
...n,
|
|
757
781
|
...e
|
|
758
782
|
};
|
|
759
|
-
return t.useQuery(
|
|
783
|
+
return t.useQuery(V, r);
|
|
760
784
|
}
|
|
761
785
|
e`
|
|
762
786
|
query SearchMessagesByHook($query: String!, $conversationId: ID, $first: Int) {
|
|
@@ -818,7 +842,7 @@ e`
|
|
|
818
842
|
}
|
|
819
843
|
}
|
|
820
844
|
`;
|
|
821
|
-
var
|
|
845
|
+
var U = e`
|
|
822
846
|
subscription ConversationAdded {
|
|
823
847
|
conversationAdded {
|
|
824
848
|
id
|
|
@@ -833,7 +857,7 @@ var V = e`
|
|
|
833
857
|
updatedAt
|
|
834
858
|
}
|
|
835
859
|
}
|
|
836
|
-
`,
|
|
860
|
+
`, W = e`
|
|
837
861
|
subscription ConversationUpdated($conversationId: ID!) {
|
|
838
862
|
conversationUpdated(conversationId: $conversationId) {
|
|
839
863
|
changes
|
|
@@ -849,14 +873,14 @@ var V = e`
|
|
|
849
873
|
}
|
|
850
874
|
}
|
|
851
875
|
}
|
|
852
|
-
`,
|
|
876
|
+
`, G = e`
|
|
853
877
|
subscription ConversationDeleted($conversationId: ID!) {
|
|
854
878
|
conversationDeleted(conversationId: $conversationId) {
|
|
855
879
|
conversationId
|
|
856
880
|
deletedBy
|
|
857
881
|
}
|
|
858
882
|
}
|
|
859
|
-
`,
|
|
883
|
+
`, K = e`
|
|
860
884
|
subscription ParticipantChanged($conversationId: ID!) {
|
|
861
885
|
participantChanged(conversationId: $conversationId) {
|
|
862
886
|
changeType
|
|
@@ -876,7 +900,7 @@ var V = e`
|
|
|
876
900
|
}
|
|
877
901
|
}
|
|
878
902
|
}
|
|
879
|
-
`,
|
|
903
|
+
`, q = e`
|
|
880
904
|
subscription MessageAdded($conversationId: ID!) {
|
|
881
905
|
messageAdded(conversationId: $conversationId) {
|
|
882
906
|
id
|
|
@@ -937,7 +961,7 @@ var V = e`
|
|
|
937
961
|
}
|
|
938
962
|
}
|
|
939
963
|
}
|
|
940
|
-
`,
|
|
964
|
+
`, J = e`
|
|
941
965
|
subscription MessageUpdated($conversationId: ID!) {
|
|
942
966
|
messageUpdated(conversationId: $conversationId) {
|
|
943
967
|
id
|
|
@@ -952,7 +976,7 @@ var V = e`
|
|
|
952
976
|
updatedAt
|
|
953
977
|
}
|
|
954
978
|
}
|
|
955
|
-
`,
|
|
979
|
+
`, Y = e`
|
|
956
980
|
subscription MessageDeleted($conversationId: ID!) {
|
|
957
981
|
messageDeleted(conversationId: $conversationId) {
|
|
958
982
|
conversationId
|
|
@@ -1008,6 +1032,6 @@ e`
|
|
|
1008
1032
|
}
|
|
1009
1033
|
`;
|
|
1010
1034
|
//#endregion
|
|
1011
|
-
export {
|
|
1035
|
+
export { U as ConversationAddedDocument, G as ConversationDeletedDocument, W as ConversationUpdatedDocument, z as GetMessagesDocument, q as MessageAddedDocument, Y as MessageDeletedDocument, J as MessageUpdatedDocument, K as ParticipantChangedDocument, v as useAddReactionMutation, o as useArchiveConversationMutation, i as useCreateConversationMutation, g as useDeleteMessageMutation, m as useEditMessageMutation, I as useGetConversationQuery, R as useGetConversationsQuery, B as useGetMessagesQuery, u as useLeaveConversationMutation, S as useMuteConversationMutation, w as usePinConversationMutation, E as usePinMessageByHookMutation, b as useRemoveReactionMutation, H as useSearchConversationsQuery, f as useSendMessageMutation, c as useUnarchiveConversationMutation, O as useUnmuteConversationMutation, A as useUnpinConversationMutation, M as useUnpinMessageByHookMutation, P as useUpdateConversationByHookMutation };
|
|
1012
1036
|
|
|
1013
1037
|
//# sourceMappingURL=wspace-operations.js.map
|