@liveblocks/react 3.21.0-exp9 → 3.21.0-private2
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/_private.cjs +7 -7
- package/dist/_private.d.cts +2 -2
- package/dist/_private.d.ts +2 -2
- package/dist/_private.js +1 -1
- package/dist/{chunk-FYYTV2LI.js → chunk-4W555EA4.js} +70 -18
- package/dist/chunk-4W555EA4.js.map +1 -0
- package/dist/{chunk-LERP7BXQ.cjs → chunk-K73KKSIG.cjs} +83 -31
- package/dist/chunk-K73KKSIG.cjs.map +1 -0
- package/dist/{chunk-F264VH6K.cjs → chunk-OJVNHN7I.cjs} +2 -2
- package/dist/chunk-OJVNHN7I.cjs.map +1 -0
- package/dist/{chunk-D4HKLRQT.js → chunk-XJISWPDJ.js} +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{room-B51WdzoQ.d.cts → room-gISRc7sm.d.cts} +6 -1
- package/dist/{room-B51WdzoQ.d.ts → room-gISRc7sm.d.ts} +6 -1
- package/dist/suspense.cjs +4 -4
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-F264VH6K.cjs.map +0 -1
- package/dist/chunk-FYYTV2LI.js.map +0 -1
- package/dist/chunk-LERP7BXQ.cjs.map +0 -1
- /package/dist/{chunk-D4HKLRQT.js.map → chunk-XJISWPDJ.js.map} +0 -0
|
@@ -338,7 +338,7 @@ function matchesThreadsQuery(thread, q, subscriptions) {
|
|
|
338
338
|
if (subscriptions) {
|
|
339
339
|
subscription = _optionalChain([subscriptions, 'optionalAccess', _2 => _2[_core.getSubscriptionKey.call(void 0, "thread", thread.id)]]);
|
|
340
340
|
}
|
|
341
|
-
return (q.resolved === void 0 || thread.resolved === q.resolved) && (q.subscribed === void 0 || q.subscribed === true && subscription !== void 0 || q.subscribed === false && subscription === void 0);
|
|
341
|
+
return (q.resolved === void 0 || thread.resolved === q.resolved) && (q.visibility === void 0 || thread.visibility === q.visibility) && (q.subscribed === void 0 || q.subscribed === true && subscription !== void 0 || q.subscribed === false && subscription === void 0);
|
|
342
342
|
}
|
|
343
343
|
function matchesThreadMetadata(thread, q) {
|
|
344
344
|
const metadata = thread.metadata;
|
|
@@ -3678,6 +3678,9 @@ function getRoomExtrasForClient(client) {
|
|
|
3678
3678
|
}
|
|
3679
3679
|
return extras;
|
|
3680
3680
|
}
|
|
3681
|
+
function getThreadVisibility(store, threadId) {
|
|
3682
|
+
return _optionalChain([store, 'access', _60 => _60.outputs, 'access', _61 => _61.threads, 'access', _62 => _62.get, 'call', _63 => _63(), 'access', _64 => _64.getEvenIfDeleted, 'call', _65 => _65(threadId), 'optionalAccess', _66 => _66.visibility]);
|
|
3683
|
+
}
|
|
3681
3684
|
function makeRoomExtrasForClient(client) {
|
|
3682
3685
|
const store = getUmbrellaStoreForClient(client);
|
|
3683
3686
|
function onMutationFailure(optimisticId, context, innerError) {
|
|
@@ -3686,8 +3689,8 @@ function makeRoomExtrasForClient(client) {
|
|
|
3686
3689
|
if (innerError.status === 403) {
|
|
3687
3690
|
const detailedMessage = [
|
|
3688
3691
|
innerError.message,
|
|
3689
|
-
_optionalChain([innerError, 'access',
|
|
3690
|
-
_optionalChain([innerError, 'access',
|
|
3692
|
+
_optionalChain([innerError, 'access', _67 => _67.details, 'optionalAccess', _68 => _68.suggestion]),
|
|
3693
|
+
_optionalChain([innerError, 'access', _69 => _69.details, 'optionalAccess', _70 => _70.docs])
|
|
3691
3694
|
].filter(Boolean).join("\n");
|
|
3692
3695
|
_core.console.error(detailedMessage);
|
|
3693
3696
|
}
|
|
@@ -3909,7 +3912,7 @@ function RoomProviderInner(props) {
|
|
|
3909
3912
|
}
|
|
3910
3913
|
function useRoom_withRoomContext(RoomContext, options) {
|
|
3911
3914
|
const room = useRoomOrNull(RoomContext);
|
|
3912
|
-
if (room === null && !_optionalChain([options, 'optionalAccess',
|
|
3915
|
+
if (room === null && !_optionalChain([options, 'optionalAccess', _71 => _71.allowOutsideRoom])) {
|
|
3913
3916
|
throw new Error("RoomProvider is missing from the React tree.");
|
|
3914
3917
|
}
|
|
3915
3918
|
return room;
|
|
@@ -4470,7 +4473,7 @@ function useSearchComments_withRoomContext(RoomContext, options) {
|
|
|
4470
4473
|
const room = useRoom_withRoomContext(RoomContext);
|
|
4471
4474
|
const queryKey = _core.stableStringify.call(void 0, [room.id, options.query]);
|
|
4472
4475
|
_react.useEffect.call(void 0, () => {
|
|
4473
|
-
const currentRequestId = (_nullishCoalesce(_optionalChain([currentRequestInfo, 'access',
|
|
4476
|
+
const currentRequestId = (_nullishCoalesce(_optionalChain([currentRequestInfo, 'access', _72 => _72.current, 'optionalAccess', _73 => _73.id]), () => ( 0))) + 1;
|
|
4474
4477
|
const controller = new AbortController();
|
|
4475
4478
|
currentRequestInfo.current = { id: currentRequestId, controller };
|
|
4476
4479
|
setResult((result2) => {
|
|
@@ -4487,12 +4490,12 @@ function useSearchComments_withRoomContext(RoomContext, options) {
|
|
|
4487
4490
|
{ signal: controller.signal }
|
|
4488
4491
|
).then(({ data }) => {
|
|
4489
4492
|
if (controller.signal.aborted) return;
|
|
4490
|
-
if (_optionalChain([currentRequestInfo, 'access',
|
|
4493
|
+
if (_optionalChain([currentRequestInfo, 'access', _74 => _74.current, 'optionalAccess', _75 => _75.id]) !== currentRequestId) return;
|
|
4491
4494
|
setResult({ isLoading: false, results: data });
|
|
4492
4495
|
currentRequestInfo.current = null;
|
|
4493
4496
|
}).catch((err) => {
|
|
4494
4497
|
if (controller.signal.aborted) return;
|
|
4495
|
-
if (_optionalChain([currentRequestInfo, 'access',
|
|
4498
|
+
if (_optionalChain([currentRequestInfo, 'access', _76 => _76.current, 'optionalAccess', _77 => _77.id]) !== currentRequestId) return;
|
|
4496
4499
|
setResult({ isLoading: false, error: err });
|
|
4497
4500
|
currentRequestInfo.current = null;
|
|
4498
4501
|
});
|
|
@@ -4528,6 +4531,7 @@ function useCreateRoomThread(roomId) {
|
|
|
4528
4531
|
const metadata = _nullishCoalesce(options.metadata, () => ( {}));
|
|
4529
4532
|
const commentMetadata = _nullishCoalesce(options.commentMetadata, () => ( {}));
|
|
4530
4533
|
const attachments = options.attachments;
|
|
4534
|
+
const visibility = _nullishCoalesce(options.visibility, () => ( "public"));
|
|
4531
4535
|
const threadId = _core.createThreadId.call(void 0, );
|
|
4532
4536
|
const commentId = _core.createCommentId.call(void 0, );
|
|
4533
4537
|
const createdAt = /* @__PURE__ */ new Date();
|
|
@@ -4551,7 +4555,8 @@ function useCreateRoomThread(roomId) {
|
|
|
4551
4555
|
roomId,
|
|
4552
4556
|
metadata,
|
|
4553
4557
|
comments: [newComment],
|
|
4554
|
-
resolved: false
|
|
4558
|
+
resolved: false,
|
|
4559
|
+
visibility
|
|
4555
4560
|
};
|
|
4556
4561
|
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
4557
4562
|
const optimisticId = store.optimisticUpdates.add({
|
|
@@ -4559,12 +4564,13 @@ function useCreateRoomThread(roomId) {
|
|
|
4559
4564
|
thread: newThread,
|
|
4560
4565
|
roomId
|
|
4561
4566
|
});
|
|
4562
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
4567
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _78 => _78.map, 'call', _79 => _79((attachment) => attachment.id)]);
|
|
4563
4568
|
client[_core.kInternal].httpClient.createThread({
|
|
4564
4569
|
roomId,
|
|
4565
4570
|
threadId,
|
|
4566
4571
|
commentId,
|
|
4567
4572
|
body,
|
|
4573
|
+
visibility,
|
|
4568
4574
|
metadata,
|
|
4569
4575
|
commentMetadata,
|
|
4570
4576
|
attachmentIds
|
|
@@ -4580,6 +4586,7 @@ function useCreateRoomThread(roomId) {
|
|
|
4580
4586
|
threadId,
|
|
4581
4587
|
commentId,
|
|
4582
4588
|
body,
|
|
4589
|
+
visibility,
|
|
4583
4590
|
metadata,
|
|
4584
4591
|
commentMetadata
|
|
4585
4592
|
},
|
|
@@ -4604,7 +4611,7 @@ function useDeleteRoomThread(roomId) {
|
|
|
4604
4611
|
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
4605
4612
|
const userId = getCurrentUserId(client);
|
|
4606
4613
|
const existing = store.outputs.threads.get().get(threadId);
|
|
4607
|
-
if (_optionalChain([existing, 'optionalAccess',
|
|
4614
|
+
if (_optionalChain([existing, 'optionalAccess', _80 => _80.comments, 'optionalAccess', _81 => _81[0], 'optionalAccess', _82 => _82.userId]) !== userId) {
|
|
4608
4615
|
throw new Error("Only the thread creator can delete the thread");
|
|
4609
4616
|
}
|
|
4610
4617
|
const optimisticId = store.optimisticUpdates.add({
|
|
@@ -4613,7 +4620,11 @@ function useDeleteRoomThread(roomId) {
|
|
|
4613
4620
|
threadId,
|
|
4614
4621
|
deletedAt: /* @__PURE__ */ new Date()
|
|
4615
4622
|
});
|
|
4616
|
-
client[_core.kInternal].httpClient.deleteThread({
|
|
4623
|
+
client[_core.kInternal].httpClient.deleteThread({
|
|
4624
|
+
roomId,
|
|
4625
|
+
threadId,
|
|
4626
|
+
visibility: existing.visibility
|
|
4627
|
+
}).then(
|
|
4617
4628
|
() => {
|
|
4618
4629
|
store.deleteThread(threadId, optimisticId);
|
|
4619
4630
|
},
|
|
@@ -4650,7 +4661,12 @@ function useEditRoomThreadMetadata(roomId) {
|
|
|
4650
4661
|
threadId,
|
|
4651
4662
|
updatedAt
|
|
4652
4663
|
});
|
|
4653
|
-
client[_core.kInternal].httpClient.editThreadMetadata({
|
|
4664
|
+
client[_core.kInternal].httpClient.editThreadMetadata({
|
|
4665
|
+
roomId,
|
|
4666
|
+
threadId,
|
|
4667
|
+
metadata,
|
|
4668
|
+
visibility: getThreadVisibility(store, threadId)
|
|
4669
|
+
}).then(
|
|
4654
4670
|
(metadata2) => (
|
|
4655
4671
|
// Replace the optimistic update by the real thing
|
|
4656
4672
|
store.patchThread(threadId, optimisticId, { metadata: metadata2 }, updatedAt)
|
|
@@ -4697,7 +4713,13 @@ function useEditRoomCommentMetadata(roomId) {
|
|
|
4697
4713
|
metadata,
|
|
4698
4714
|
updatedAt
|
|
4699
4715
|
});
|
|
4700
|
-
client[_core.kInternal].httpClient.editCommentMetadata({
|
|
4716
|
+
client[_core.kInternal].httpClient.editCommentMetadata({
|
|
4717
|
+
roomId,
|
|
4718
|
+
threadId,
|
|
4719
|
+
commentId,
|
|
4720
|
+
metadata,
|
|
4721
|
+
visibility: getThreadVisibility(store, threadId)
|
|
4722
|
+
}).then(
|
|
4701
4723
|
(updatedMetadata) => (
|
|
4702
4724
|
// Replace the optimistic update by the real thing
|
|
4703
4725
|
store.editCommentMetadata(
|
|
@@ -4756,14 +4778,15 @@ function useCreateRoomComment(roomId) {
|
|
|
4756
4778
|
type: "create-comment",
|
|
4757
4779
|
comment
|
|
4758
4780
|
});
|
|
4759
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
4781
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _83 => _83.map, 'call', _84 => _84((attachment) => attachment.id)]);
|
|
4760
4782
|
client[_core.kInternal].httpClient.createComment({
|
|
4761
4783
|
roomId,
|
|
4762
4784
|
threadId,
|
|
4763
4785
|
commentId,
|
|
4764
4786
|
body,
|
|
4765
4787
|
metadata,
|
|
4766
|
-
attachmentIds
|
|
4788
|
+
attachmentIds,
|
|
4789
|
+
visibility: getThreadVisibility(store, threadId)
|
|
4767
4790
|
}).then(
|
|
4768
4791
|
(newComment) => {
|
|
4769
4792
|
store.createComment(newComment, optimisticId);
|
|
@@ -4834,14 +4857,15 @@ function useEditRoomComment(roomId) {
|
|
|
4834
4857
|
metadata: updatedMetadata
|
|
4835
4858
|
}
|
|
4836
4859
|
});
|
|
4837
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
4860
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _85 => _85.map, 'call', _86 => _86((attachment) => attachment.id)]);
|
|
4838
4861
|
client[_core.kInternal].httpClient.editComment({
|
|
4839
4862
|
roomId,
|
|
4840
4863
|
threadId,
|
|
4841
4864
|
commentId,
|
|
4842
4865
|
body,
|
|
4843
4866
|
attachmentIds,
|
|
4844
|
-
metadata
|
|
4867
|
+
metadata,
|
|
4868
|
+
visibility: existing.visibility
|
|
4845
4869
|
}).then(
|
|
4846
4870
|
(editedComment) => {
|
|
4847
4871
|
store.editComment(threadId, optimisticId, editedComment);
|
|
@@ -4882,7 +4906,12 @@ function useDeleteRoomComment(roomId) {
|
|
|
4882
4906
|
deletedAt,
|
|
4883
4907
|
roomId
|
|
4884
4908
|
});
|
|
4885
|
-
client[_core.kInternal].httpClient.deleteComment({
|
|
4909
|
+
client[_core.kInternal].httpClient.deleteComment({
|
|
4910
|
+
roomId,
|
|
4911
|
+
threadId,
|
|
4912
|
+
commentId,
|
|
4913
|
+
visibility: getThreadVisibility(store, threadId)
|
|
4914
|
+
}).then(
|
|
4886
4915
|
() => {
|
|
4887
4916
|
store.deleteComment(threadId, optimisticId, commentId, deletedAt);
|
|
4888
4917
|
},
|
|
@@ -4919,7 +4948,13 @@ function useAddRoomCommentReaction(roomId) {
|
|
|
4919
4948
|
createdAt
|
|
4920
4949
|
}
|
|
4921
4950
|
});
|
|
4922
|
-
client[_core.kInternal].httpClient.addReaction({
|
|
4951
|
+
client[_core.kInternal].httpClient.addReaction({
|
|
4952
|
+
roomId,
|
|
4953
|
+
threadId,
|
|
4954
|
+
commentId,
|
|
4955
|
+
emoji,
|
|
4956
|
+
visibility: getThreadVisibility(store, threadId)
|
|
4957
|
+
}).then(
|
|
4923
4958
|
(addedReaction) => {
|
|
4924
4959
|
store.addReaction(
|
|
4925
4960
|
threadId,
|
|
@@ -4966,7 +5001,13 @@ function useRemoveRoomCommentReaction(roomId) {
|
|
|
4966
5001
|
userId,
|
|
4967
5002
|
removedAt
|
|
4968
5003
|
});
|
|
4969
|
-
client[_core.kInternal].httpClient.removeReaction({
|
|
5004
|
+
client[_core.kInternal].httpClient.removeReaction({
|
|
5005
|
+
roomId,
|
|
5006
|
+
threadId,
|
|
5007
|
+
commentId,
|
|
5008
|
+
emoji,
|
|
5009
|
+
visibility: getThreadVisibility(store, threadId)
|
|
5010
|
+
}).then(
|
|
4970
5011
|
() => {
|
|
4971
5012
|
store.removeReaction(
|
|
4972
5013
|
threadId,
|
|
@@ -5062,7 +5103,11 @@ function useMarkRoomThreadAsResolved(roomId) {
|
|
|
5062
5103
|
threadId,
|
|
5063
5104
|
updatedAt
|
|
5064
5105
|
});
|
|
5065
|
-
client[_core.kInternal].httpClient.markThreadAsResolved({
|
|
5106
|
+
client[_core.kInternal].httpClient.markThreadAsResolved({
|
|
5107
|
+
roomId,
|
|
5108
|
+
threadId,
|
|
5109
|
+
visibility: getThreadVisibility(store, threadId)
|
|
5110
|
+
}).then(
|
|
5066
5111
|
() => {
|
|
5067
5112
|
store.patchThread(
|
|
5068
5113
|
threadId,
|
|
@@ -5098,7 +5143,11 @@ function useMarkRoomThreadAsUnresolved(roomId) {
|
|
|
5098
5143
|
threadId,
|
|
5099
5144
|
updatedAt
|
|
5100
5145
|
});
|
|
5101
|
-
client[_core.kInternal].httpClient.markThreadAsUnresolved({
|
|
5146
|
+
client[_core.kInternal].httpClient.markThreadAsUnresolved({
|
|
5147
|
+
roomId,
|
|
5148
|
+
threadId,
|
|
5149
|
+
visibility: getThreadVisibility(store, threadId)
|
|
5150
|
+
}).then(
|
|
5102
5151
|
() => {
|
|
5103
5152
|
store.patchThread(
|
|
5104
5153
|
threadId,
|
|
@@ -5220,7 +5269,7 @@ function useRoomThreadSubscription(roomId, threadId) {
|
|
|
5220
5269
|
}
|
|
5221
5270
|
return {
|
|
5222
5271
|
status: "subscribed",
|
|
5223
|
-
unreadSince: _nullishCoalesce(_optionalChain([notification, 'optionalAccess',
|
|
5272
|
+
unreadSince: _nullishCoalesce(_optionalChain([notification, 'optionalAccess', _87 => _87.readAt]), () => ( null)),
|
|
5224
5273
|
subscribe,
|
|
5225
5274
|
unsubscribe
|
|
5226
5275
|
};
|
|
@@ -5509,7 +5558,7 @@ function useThreadsSuspense(options = {}) {
|
|
|
5509
5558
|
return useThreadsSuspense_withRoomContext(GlobalRoomContext, options);
|
|
5510
5559
|
}
|
|
5511
5560
|
function selectorFor_useAttachmentUrl(state) {
|
|
5512
|
-
if (state === void 0 || _optionalChain([state, 'optionalAccess',
|
|
5561
|
+
if (state === void 0 || _optionalChain([state, 'optionalAccess', _88 => _88.isLoading])) {
|
|
5513
5562
|
return _nullishCoalesce(state, () => ( { isLoading: true }));
|
|
5514
5563
|
}
|
|
5515
5564
|
if (state.error) {
|
|
@@ -5583,7 +5632,7 @@ function useAttachmentUrlSuspense(attachmentId) {
|
|
|
5583
5632
|
function useRoomPermissions(roomId) {
|
|
5584
5633
|
const client = useClient();
|
|
5585
5634
|
const store = getRoomExtrasForClient(client).store;
|
|
5586
|
-
return _optionalChain([useSignal, 'call',
|
|
5635
|
+
return _optionalChain([useSignal, 'call', _89 => _89(store.permissionHints.getPermissionForRoom\u03A3(roomId)), 'optionalAccess', _90 => _90.permissions]);
|
|
5587
5636
|
}
|
|
5588
5637
|
function useHasPermissionAccess(roomId, resource, requiredAccess) {
|
|
5589
5638
|
const permissions = useRoomPermissions(roomId);
|
|
@@ -5605,12 +5654,15 @@ function useSelfAccessFallback(roomId, resource, requiredAccess) {
|
|
|
5605
5654
|
[room, roomId]
|
|
5606
5655
|
);
|
|
5607
5656
|
const getSnapshot = _react.useCallback.call(void 0, () => {
|
|
5608
|
-
const
|
|
5609
|
-
if (
|
|
5610
|
-
|
|
5657
|
+
const isCommentsResource = resource === "comments" || resource === "comments:public" || resource === "comments:private";
|
|
5658
|
+
if (_optionalChain([room, 'optionalAccess', _91 => _91.id]) === roomId) {
|
|
5659
|
+
const permissionMatrix = room[_core.kInternal].getPermissionMatrix();
|
|
5660
|
+
if (permissionMatrix !== void 0) {
|
|
5661
|
+
return _core.hasPermissionAccess.call(void 0, permissionMatrix, resource, requiredAccess);
|
|
5662
|
+
}
|
|
5611
5663
|
}
|
|
5612
|
-
if (
|
|
5613
|
-
return
|
|
5664
|
+
if (requiredAccess === "write" && (isCommentsResource || resource === "storage")) {
|
|
5665
|
+
return true;
|
|
5614
5666
|
}
|
|
5615
5667
|
return false;
|
|
5616
5668
|
}, [resource, requiredAccess, room, roomId]);
|
|
@@ -6229,4 +6281,4 @@ var _useUpdateMyPresence = useUpdateMyPresence;
|
|
|
6229
6281
|
|
|
6230
6282
|
|
|
6231
6283
|
exports.ClientContext = ClientContext; exports.useClientOrNull = useClientOrNull; exports.useClient = useClient; exports.GlobalRoomContext = GlobalRoomContext; exports.useLatest = useLatest; exports.useInitial = useInitial; exports.RegisterAiKnowledge = RegisterAiKnowledge; exports.RegisterAiTool = RegisterAiTool; exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector; exports.useSignal = useSignal; exports.getUmbrellaStoreForClient = getUmbrellaStoreForClient; exports.useCreateAiChat = useCreateAiChat; exports.useDeleteAiChat = useDeleteAiChat; exports.useAiChatStatus = useAiChatStatus; exports.useSendAiMessage = useSendAiMessage; exports.LiveblocksProvider = LiveblocksProvider; exports.createLiveblocksContext = createLiveblocksContext; exports.useInboxNotifications = useInboxNotifications; exports.useInboxNotificationsSuspense = useInboxNotificationsSuspense; exports.useMarkAllInboxNotificationsAsRead = useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = useMarkInboxNotificationAsRead; exports.useDeleteAllInboxNotifications = useDeleteAllInboxNotifications; exports.useDeleteInboxNotification = useDeleteInboxNotification; exports.useUnreadInboxNotificationsCount = useUnreadInboxNotificationsCount; exports.useUnreadInboxNotificationsCountSuspense = useUnreadInboxNotificationsCountSuspense; exports.useNotificationSettings = useNotificationSettings; exports.useNotificationSettingsSuspense = useNotificationSettingsSuspense; exports.useUpdateNotificationSettings = useUpdateNotificationSettings; exports.useRoomInfo = useRoomInfo; exports.useRoomInfoSuspense = useRoomInfoSuspense; exports.useGroupInfo = useGroupInfo; exports.useGroupInfoSuspense = useGroupInfoSuspense; exports._useInboxNotificationThread = _useInboxNotificationThread; exports._useUser = _useUser; exports._useUserSuspense = _useUserSuspense; exports._useUserThreads_experimental = _useUserThreads_experimental; exports._useUserThreadsSuspense_experimental = _useUserThreadsSuspense_experimental; exports._useAiChats = _useAiChats; exports._useAiChatsSuspense = _useAiChatsSuspense; exports._useAiChat = _useAiChat; exports._useAiChatSuspense = _useAiChatSuspense; exports._useAiChatMessages = _useAiChatMessages; exports._useAiChatMessagesSuspense = _useAiChatMessagesSuspense; exports._useUrlMetadata = _useUrlMetadata; exports._useUrlMetadataSuspense = _useUrlMetadataSuspense; exports.useSyncStatus = useSyncStatus; exports.useErrorListener = useErrorListener; exports.useStatus = useStatus; exports.useReportTextEditor = useReportTextEditor; exports.useYjsProvider = useYjsProvider; exports.useCreateTextMention = useCreateTextMention; exports.useDeleteTextMention = useDeleteTextMention; exports.useResolveMentionSuggestions = useResolveMentionSuggestions; exports.useMentionSuggestionsCache = useMentionSuggestionsCache; exports.useLostConnectionListener = useLostConnectionListener; exports.useHistory = useHistory; exports.useUndo = useUndo; exports.useRedo = useRedo; exports.useCanUndo = useCanUndo; exports.useCanRedo = useCanRedo; exports.useOthersConnectionIds = useOthersConnectionIds; exports.useCreateFeed = useCreateFeed; exports.useDeleteFeed = useDeleteFeed; exports.useUpdateFeedMetadata = useUpdateFeedMetadata; exports.useCreateFeedMessage = useCreateFeedMessage; exports.useDeleteFeedMessage = useDeleteFeedMessage; exports.useUpdateFeedMessage = useUpdateFeedMessage; exports.useCreateRoomThread = useCreateRoomThread; exports.useDeleteRoomThread = useDeleteRoomThread; exports.useEditRoomThreadMetadata = useEditRoomThreadMetadata; exports.useCreateRoomComment = useCreateRoomComment; exports.useEditRoomComment = useEditRoomComment; exports.useDeleteComment = useDeleteComment; exports.useDeleteRoomComment = useDeleteRoomComment; exports.useAddRoomCommentReaction = useAddRoomCommentReaction; exports.useRemoveReaction = useRemoveReaction; exports.useRemoveRoomCommentReaction = useRemoveRoomCommentReaction; exports.useMarkRoomThreadAsRead = useMarkRoomThreadAsRead; exports.useMarkThreadAsRead = useMarkThreadAsRead; exports.useMarkThreadAsResolved = useMarkThreadAsResolved; exports.useMarkRoomThreadAsResolved = useMarkRoomThreadAsResolved; exports.useMarkThreadAsUnresolved = useMarkThreadAsUnresolved; exports.useMarkRoomThreadAsUnresolved = useMarkRoomThreadAsUnresolved; exports.useSubscribeToThread = useSubscribeToThread; exports.useUnsubscribeFromThread = useUnsubscribeFromThread; exports.useThreadSubscription = useThreadSubscription; exports.useRoomThreadSubscription = useRoomThreadSubscription; exports.useHistoryVersionData = useHistoryVersionData; exports.useUpdateRoomSubscriptionSettings = useUpdateRoomSubscriptionSettings; exports.useSuspendUntilPresenceReady = useSuspendUntilPresenceReady; exports.useOthersConnectionIdsSuspense = useOthersConnectionIdsSuspense; exports.useSuspendUntilStorageReady = useSuspendUntilStorageReady; exports.useAttachmentUrl = useAttachmentUrl; exports.useRoomAttachmentUrl = useRoomAttachmentUrl; exports.useAttachmentUrlSuspense = useAttachmentUrlSuspense; exports.useRoomPermissions = useRoomPermissions; exports.useHasPermissionAccess = useHasPermissionAccess; exports.createRoomContext = createRoomContext; exports._RoomProvider = _RoomProvider; exports._useBroadcastEvent = _useBroadcastEvent; exports._useOthersListener = _useOthersListener; exports._useRoom = _useRoom; exports._useIsInsideRoom = _useIsInsideRoom; exports._useAddReaction = _useAddReaction; exports._useMutation = _useMutation; exports._useCreateThread = _useCreateThread; exports._useDeleteThread = _useDeleteThread; exports._useEditThreadMetadata = _useEditThreadMetadata; exports._useCreateComment = _useCreateComment; exports._useEditComment = _useEditComment; exports._useEditCommentMetadata = _useEditCommentMetadata; exports._useEventListener = _useEventListener; exports._useMyPresence = _useMyPresence; exports._useOthersMapped = _useOthersMapped; exports._useOthersMappedSuspense = _useOthersMappedSuspense; exports._useThreads = _useThreads; exports._useFeeds = _useFeeds; exports._useFeedMessages = _useFeedMessages; exports._useFeedsSuspense = _useFeedsSuspense; exports._useFeedMessagesSuspense = _useFeedMessagesSuspense; exports._useSearchComments = _useSearchComments; exports._useThreadsSuspense = _useThreadsSuspense; exports._useRoomSubscriptionSettings = _useRoomSubscriptionSettings; exports._useRoomSubscriptionSettingsSuspense = _useRoomSubscriptionSettingsSuspense; exports._useHistoryVersions = _useHistoryVersions; exports._useHistoryVersionsSuspense = _useHistoryVersionsSuspense; exports._useOther = _useOther; exports._useOthers = _useOthers; exports._useOtherSuspense = _useOtherSuspense; exports._useOthersSuspense = _useOthersSuspense; exports._useStorage = _useStorage; exports._useStorageSuspense = _useStorageSuspense; exports._useSelf = _useSelf; exports._useSelfSuspense = _useSelfSuspense; exports._useStorageRoot = _useStorageRoot; exports._useUpdateMyPresence = _useUpdateMyPresence;
|
|
6232
|
-
//# sourceMappingURL=chunk-
|
|
6284
|
+
//# sourceMappingURL=chunk-K73KKSIG.cjs.map
|