@burdenoff/microfe-conversations 2026.527.2 → 2026.528.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/ConversationsUserRoutes.js +6 -6
- package/dist/conversations/ConversationsUserRoutes.js.map +1 -1
- package/dist/conversations/components/ConversationRow.js +176 -0
- package/dist/conversations/components/ConversationRow.js.map +1 -0
- package/dist/conversations/components/EmptyState.js +10 -21
- package/dist/conversations/components/EmptyState.js.map +1 -1
- package/dist/conversations/components/InboxLayout.js +185 -0
- package/dist/conversations/components/InboxLayout.js.map +1 -0
- package/dist/conversations/components/PageLayout.js +16 -34
- package/dist/conversations/components/PageLayout.js.map +1 -1
- package/dist/conversations/components/PageSection.js +10 -19
- package/dist/conversations/components/PageSection.js.map +1 -1
- package/dist/conversations/hooks/useConversationQueries.js +48 -34
- package/dist/conversations/hooks/useConversationQueries.js.map +1 -1
- package/dist/conversations/pages/ConversationListPage.js +187 -226
- package/dist/conversations/pages/ConversationListPage.js.map +1 -1
- package/dist/conversations/pages/ConversationsLandingPage.js +93 -103
- package/dist/conversations/pages/ConversationsLandingPage.js.map +1 -1
- package/dist/conversations/pages/ConversationsSettingsPage.js +201 -182
- package/dist/conversations/pages/ConversationsSettingsPage.js.map +1 -1
- package/dist/generated/wspace-operations.js +72 -56
- package/dist/generated/wspace-operations.js.map +1 -1
- package/package.json +2 -2
- package/dist/conversations/components/ConversationCard.js +0 -119
- package/dist/conversations/components/ConversationCard.js.map +0 -1
|
@@ -75,6 +75,22 @@ function o(e) {
|
|
|
75
75
|
};
|
|
76
76
|
return t.useMutation(a, r);
|
|
77
77
|
}
|
|
78
|
+
var s = e`
|
|
79
|
+
mutation UnarchiveConversation($id: ID!) {
|
|
80
|
+
unarchiveConversation(id: $id) {
|
|
81
|
+
id
|
|
82
|
+
state
|
|
83
|
+
updatedAt
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`;
|
|
87
|
+
function c(e) {
|
|
88
|
+
let r = {
|
|
89
|
+
...n,
|
|
90
|
+
...e
|
|
91
|
+
};
|
|
92
|
+
return t.useMutation(s, r);
|
|
93
|
+
}
|
|
78
94
|
e`
|
|
79
95
|
mutation DeleteConversation($id: ID!) {
|
|
80
96
|
deleteConversation(id: $id) {
|
|
@@ -132,7 +148,7 @@ e`
|
|
|
132
148
|
}
|
|
133
149
|
}
|
|
134
150
|
`;
|
|
135
|
-
var
|
|
151
|
+
var l = e`
|
|
136
152
|
mutation SendMessage($input: SendMessageInput!) {
|
|
137
153
|
sendMessage(input: $input) {
|
|
138
154
|
message {
|
|
@@ -185,14 +201,14 @@ var s = e`
|
|
|
185
201
|
}
|
|
186
202
|
}
|
|
187
203
|
`;
|
|
188
|
-
function
|
|
204
|
+
function u(e) {
|
|
189
205
|
let r = {
|
|
190
206
|
...n,
|
|
191
207
|
...e
|
|
192
208
|
};
|
|
193
|
-
return t.useMutation(
|
|
209
|
+
return t.useMutation(l, r);
|
|
194
210
|
}
|
|
195
|
-
var
|
|
211
|
+
var d = e`
|
|
196
212
|
mutation EditMessage($input: EditMessageInput!) {
|
|
197
213
|
editMessage(input: $input) {
|
|
198
214
|
id
|
|
@@ -210,14 +226,14 @@ var l = e`
|
|
|
210
226
|
}
|
|
211
227
|
}
|
|
212
228
|
`;
|
|
213
|
-
function
|
|
229
|
+
function f(e) {
|
|
214
230
|
let r = {
|
|
215
231
|
...n,
|
|
216
232
|
...e
|
|
217
233
|
};
|
|
218
|
-
return t.useMutation(
|
|
234
|
+
return t.useMutation(d, r);
|
|
219
235
|
}
|
|
220
|
-
var
|
|
236
|
+
var p = e`
|
|
221
237
|
mutation DeleteMessage($id: ID!, $hard: Boolean) {
|
|
222
238
|
deleteMessage(id: $id, hard: $hard) {
|
|
223
239
|
messageId
|
|
@@ -225,14 +241,14 @@ var d = e`
|
|
|
225
241
|
}
|
|
226
242
|
}
|
|
227
243
|
`;
|
|
228
|
-
function
|
|
244
|
+
function m(e) {
|
|
229
245
|
let r = {
|
|
230
246
|
...n,
|
|
231
247
|
...e
|
|
232
248
|
};
|
|
233
|
-
return t.useMutation(
|
|
249
|
+
return t.useMutation(p, r);
|
|
234
250
|
}
|
|
235
|
-
var
|
|
251
|
+
var h = e`
|
|
236
252
|
mutation AddReaction($messageId: ID!, $emoji: String!) {
|
|
237
253
|
addReaction(messageId: $messageId, emoji: $emoji) {
|
|
238
254
|
id
|
|
@@ -243,14 +259,14 @@ var p = e`
|
|
|
243
259
|
}
|
|
244
260
|
}
|
|
245
261
|
`;
|
|
246
|
-
function
|
|
262
|
+
function g(e) {
|
|
247
263
|
let r = {
|
|
248
264
|
...n,
|
|
249
265
|
...e
|
|
250
266
|
};
|
|
251
|
-
return t.useMutation(
|
|
267
|
+
return t.useMutation(h, r);
|
|
252
268
|
}
|
|
253
|
-
var
|
|
269
|
+
var _ = e`
|
|
254
270
|
mutation RemoveReaction($messageId: ID!, $emoji: String!) {
|
|
255
271
|
removeReaction(messageId: $messageId, emoji: $emoji) {
|
|
256
272
|
messageId
|
|
@@ -259,98 +275,98 @@ var h = e`
|
|
|
259
275
|
}
|
|
260
276
|
}
|
|
261
277
|
`;
|
|
262
|
-
function
|
|
278
|
+
function v(e) {
|
|
263
279
|
let r = {
|
|
264
280
|
...n,
|
|
265
281
|
...e
|
|
266
282
|
};
|
|
267
|
-
return t.useMutation(
|
|
283
|
+
return t.useMutation(_, r);
|
|
268
284
|
}
|
|
269
|
-
var
|
|
285
|
+
var y = e`
|
|
270
286
|
mutation MuteConversation($conversationId: ID!) {
|
|
271
287
|
muteConversation(conversationId: $conversationId) {
|
|
272
288
|
id
|
|
273
289
|
}
|
|
274
290
|
}
|
|
275
291
|
`;
|
|
276
|
-
function
|
|
292
|
+
function b(e) {
|
|
277
293
|
let r = {
|
|
278
294
|
...n,
|
|
279
295
|
...e
|
|
280
296
|
};
|
|
281
|
-
return t.useMutation(
|
|
297
|
+
return t.useMutation(y, r);
|
|
282
298
|
}
|
|
283
|
-
var
|
|
299
|
+
var x = e`
|
|
284
300
|
mutation PinConversation($conversationId: ID!) {
|
|
285
301
|
pinConversation(conversationId: $conversationId) {
|
|
286
302
|
id
|
|
287
303
|
}
|
|
288
304
|
}
|
|
289
305
|
`;
|
|
290
|
-
function
|
|
306
|
+
function S(e) {
|
|
291
307
|
let r = {
|
|
292
308
|
...n,
|
|
293
309
|
...e
|
|
294
310
|
};
|
|
295
|
-
return t.useMutation(
|
|
311
|
+
return t.useMutation(x, r);
|
|
296
312
|
}
|
|
297
|
-
var
|
|
313
|
+
var C = e`
|
|
298
314
|
mutation PinMessageByHook($messageId: ID!) {
|
|
299
315
|
pinMessage(messageId: $messageId) {
|
|
300
316
|
id
|
|
301
317
|
}
|
|
302
318
|
}
|
|
303
319
|
`;
|
|
304
|
-
function
|
|
320
|
+
function w(e) {
|
|
305
321
|
let r = {
|
|
306
322
|
...n,
|
|
307
323
|
...e
|
|
308
324
|
};
|
|
309
|
-
return t.useMutation(
|
|
325
|
+
return t.useMutation(C, r);
|
|
310
326
|
}
|
|
311
|
-
var
|
|
327
|
+
var T = e`
|
|
312
328
|
mutation UnmuteConversation($conversationId: ID!) {
|
|
313
329
|
unmuteConversation(conversationId: $conversationId) {
|
|
314
330
|
id
|
|
315
331
|
}
|
|
316
332
|
}
|
|
317
333
|
`;
|
|
318
|
-
function
|
|
334
|
+
function E(e) {
|
|
319
335
|
let r = {
|
|
320
336
|
...n,
|
|
321
337
|
...e
|
|
322
338
|
};
|
|
323
|
-
return t.useMutation(
|
|
339
|
+
return t.useMutation(T, r);
|
|
324
340
|
}
|
|
325
|
-
var
|
|
341
|
+
var D = e`
|
|
326
342
|
mutation UnpinConversation($conversationId: ID!) {
|
|
327
343
|
unpinConversation(conversationId: $conversationId) {
|
|
328
344
|
id
|
|
329
345
|
}
|
|
330
346
|
}
|
|
331
347
|
`;
|
|
332
|
-
function
|
|
348
|
+
function O(e) {
|
|
333
349
|
let r = {
|
|
334
350
|
...n,
|
|
335
351
|
...e
|
|
336
352
|
};
|
|
337
|
-
return t.useMutation(
|
|
353
|
+
return t.useMutation(D, r);
|
|
338
354
|
}
|
|
339
|
-
var
|
|
355
|
+
var k = e`
|
|
340
356
|
mutation UnpinMessageByHook($messageId: ID!) {
|
|
341
357
|
unpinMessage(messageId: $messageId) {
|
|
342
358
|
id
|
|
343
359
|
}
|
|
344
360
|
}
|
|
345
361
|
`;
|
|
346
|
-
function
|
|
362
|
+
function A(e) {
|
|
347
363
|
let r = {
|
|
348
364
|
...n,
|
|
349
365
|
...e
|
|
350
366
|
};
|
|
351
|
-
return t.useMutation(
|
|
367
|
+
return t.useMutation(k, r);
|
|
352
368
|
}
|
|
353
|
-
var
|
|
369
|
+
var j = e`
|
|
354
370
|
mutation UpdateConversationByHook($input: UpdateConversationInput!) {
|
|
355
371
|
updateConversation(input: $input) {
|
|
356
372
|
success
|
|
@@ -383,14 +399,14 @@ var k = e`
|
|
|
383
399
|
}
|
|
384
400
|
}
|
|
385
401
|
`;
|
|
386
|
-
function
|
|
402
|
+
function M(e) {
|
|
387
403
|
let r = {
|
|
388
404
|
...n,
|
|
389
405
|
...e
|
|
390
406
|
};
|
|
391
|
-
return t.useMutation(
|
|
407
|
+
return t.useMutation(j, r);
|
|
392
408
|
}
|
|
393
|
-
var
|
|
409
|
+
var N = e`
|
|
394
410
|
query GetConversation($id: ID!) {
|
|
395
411
|
conversation(id: $id) {
|
|
396
412
|
id
|
|
@@ -442,14 +458,14 @@ var j = e`
|
|
|
442
458
|
}
|
|
443
459
|
}
|
|
444
460
|
`;
|
|
445
|
-
function
|
|
461
|
+
function P(e) {
|
|
446
462
|
let r = {
|
|
447
463
|
...n,
|
|
448
464
|
...e
|
|
449
465
|
};
|
|
450
|
-
return t.useQuery(
|
|
466
|
+
return t.useQuery(N, r);
|
|
451
467
|
}
|
|
452
|
-
var
|
|
468
|
+
var F = e`
|
|
453
469
|
query GetConversations($first: Int, $after: String, $filter: ConversationFilter, $sort: ConversationSort) {
|
|
454
470
|
conversations(first: $first, after: $after, filter: $filter, sort: $sort) {
|
|
455
471
|
edges {
|
|
@@ -509,14 +525,14 @@ var N = e`
|
|
|
509
525
|
}
|
|
510
526
|
}
|
|
511
527
|
`;
|
|
512
|
-
function
|
|
528
|
+
function I(e) {
|
|
513
529
|
let r = {
|
|
514
530
|
...n,
|
|
515
531
|
...e
|
|
516
532
|
};
|
|
517
|
-
return t.useQuery(
|
|
533
|
+
return t.useQuery(F, r);
|
|
518
534
|
}
|
|
519
|
-
var
|
|
535
|
+
var L = e`
|
|
520
536
|
query GetMessages($conversationId: ID!, $first: Int, $after: String, $before: String, $filter: MessageFilter) {
|
|
521
537
|
messages(
|
|
522
538
|
conversationId: $conversationId
|
|
@@ -598,12 +614,12 @@ var F = e`
|
|
|
598
614
|
}
|
|
599
615
|
}
|
|
600
616
|
`;
|
|
601
|
-
function
|
|
617
|
+
function R(e) {
|
|
602
618
|
let r = {
|
|
603
619
|
...n,
|
|
604
620
|
...e
|
|
605
621
|
};
|
|
606
|
-
return t.useQuery(
|
|
622
|
+
return t.useQuery(L, r);
|
|
607
623
|
}
|
|
608
624
|
e`
|
|
609
625
|
query GetPresence($userIds: [ID!]!) {
|
|
@@ -679,7 +695,7 @@ e`
|
|
|
679
695
|
}
|
|
680
696
|
}
|
|
681
697
|
`;
|
|
682
|
-
var
|
|
698
|
+
var z = e`
|
|
683
699
|
query SearchConversations($query: String!, $first: Int, $after: String, $filter: ConversationFilter) {
|
|
684
700
|
searchConversations(
|
|
685
701
|
query: $query
|
|
@@ -735,12 +751,12 @@ var L = e`
|
|
|
735
751
|
}
|
|
736
752
|
}
|
|
737
753
|
`;
|
|
738
|
-
function
|
|
754
|
+
function B(e) {
|
|
739
755
|
let r = {
|
|
740
756
|
...n,
|
|
741
757
|
...e
|
|
742
758
|
};
|
|
743
|
-
return t.useQuery(
|
|
759
|
+
return t.useQuery(z, r);
|
|
744
760
|
}
|
|
745
761
|
e`
|
|
746
762
|
query SearchMessagesByHook($query: String!, $conversationId: ID, $first: Int) {
|
|
@@ -802,7 +818,7 @@ e`
|
|
|
802
818
|
}
|
|
803
819
|
}
|
|
804
820
|
`;
|
|
805
|
-
var
|
|
821
|
+
var V = e`
|
|
806
822
|
subscription ConversationAdded {
|
|
807
823
|
conversationAdded {
|
|
808
824
|
id
|
|
@@ -817,7 +833,7 @@ var z = e`
|
|
|
817
833
|
updatedAt
|
|
818
834
|
}
|
|
819
835
|
}
|
|
820
|
-
`,
|
|
836
|
+
`, H = e`
|
|
821
837
|
subscription ConversationUpdated($conversationId: ID!) {
|
|
822
838
|
conversationUpdated(conversationId: $conversationId) {
|
|
823
839
|
changes
|
|
@@ -833,14 +849,14 @@ var z = e`
|
|
|
833
849
|
}
|
|
834
850
|
}
|
|
835
851
|
}
|
|
836
|
-
`,
|
|
852
|
+
`, U = e`
|
|
837
853
|
subscription ConversationDeleted($conversationId: ID!) {
|
|
838
854
|
conversationDeleted(conversationId: $conversationId) {
|
|
839
855
|
conversationId
|
|
840
856
|
deletedBy
|
|
841
857
|
}
|
|
842
858
|
}
|
|
843
|
-
`,
|
|
859
|
+
`, W = e`
|
|
844
860
|
subscription ParticipantChanged($conversationId: ID!) {
|
|
845
861
|
participantChanged(conversationId: $conversationId) {
|
|
846
862
|
changeType
|
|
@@ -860,7 +876,7 @@ var z = e`
|
|
|
860
876
|
}
|
|
861
877
|
}
|
|
862
878
|
}
|
|
863
|
-
`,
|
|
879
|
+
`, G = e`
|
|
864
880
|
subscription MessageAdded($conversationId: ID!) {
|
|
865
881
|
messageAdded(conversationId: $conversationId) {
|
|
866
882
|
id
|
|
@@ -921,7 +937,7 @@ var z = e`
|
|
|
921
937
|
}
|
|
922
938
|
}
|
|
923
939
|
}
|
|
924
|
-
`,
|
|
940
|
+
`, K = e`
|
|
925
941
|
subscription MessageUpdated($conversationId: ID!) {
|
|
926
942
|
messageUpdated(conversationId: $conversationId) {
|
|
927
943
|
id
|
|
@@ -936,7 +952,7 @@ var z = e`
|
|
|
936
952
|
updatedAt
|
|
937
953
|
}
|
|
938
954
|
}
|
|
939
|
-
`,
|
|
955
|
+
`, q = e`
|
|
940
956
|
subscription MessageDeleted($conversationId: ID!) {
|
|
941
957
|
messageDeleted(conversationId: $conversationId) {
|
|
942
958
|
conversationId
|
|
@@ -992,6 +1008,6 @@ e`
|
|
|
992
1008
|
}
|
|
993
1009
|
`;
|
|
994
1010
|
//#endregion
|
|
995
|
-
export {
|
|
1011
|
+
export { V as ConversationAddedDocument, U as ConversationDeletedDocument, H as ConversationUpdatedDocument, L as GetMessagesDocument, G as MessageAddedDocument, q as MessageDeletedDocument, K as MessageUpdatedDocument, W as ParticipantChangedDocument, g as useAddReactionMutation, o as useArchiveConversationMutation, i as useCreateConversationMutation, m as useDeleteMessageMutation, f as useEditMessageMutation, P as useGetConversationQuery, I as useGetConversationsQuery, R as useGetMessagesQuery, b as useMuteConversationMutation, S as usePinConversationMutation, w as usePinMessageByHookMutation, v as useRemoveReactionMutation, B as useSearchConversationsQuery, u as useSendMessageMutation, c as useUnarchiveConversationMutation, E as useUnmuteConversationMutation, O as useUnpinConversationMutation, A as useUnpinMessageByHookMutation, M as useUpdateConversationByHookMutation };
|
|
996
1012
|
|
|
997
1013
|
//# sourceMappingURL=wspace-operations.js.map
|