@liveblocks/react 3.13.0-vincent2 → 3.13.0
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-F3MGJA3E.cjs → chunk-C7F5PZXE.cjs} +2 -2
- package/dist/chunk-C7F5PZXE.cjs.map +1 -0
- package/dist/{chunk-CCOIV25T.js → chunk-ERRJHA6O.js} +171 -16
- package/dist/chunk-ERRJHA6O.js.map +1 -0
- package/dist/{chunk-5I7TKGJB.cjs → chunk-QFAOGFJK.cjs} +170 -15
- package/dist/chunk-QFAOGFJK.cjs.map +1 -0
- package/dist/{chunk-YJFPVEXB.js → chunk-RTM66YNN.js} +2 -2
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/{room-BadENFHi.d.cts → room-CEMGQ1Mj.d.cts} +145 -108
- package/dist/{room-BadENFHi.d.ts → room-CEMGQ1Mj.d.ts} +145 -108
- package/dist/suspense.cjs +6 -4
- package/dist/suspense.cjs.map +1 -1
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +8 -6
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-5I7TKGJB.cjs.map +0 -1
- package/dist/chunk-CCOIV25T.js.map +0 -1
- package/dist/chunk-F3MGJA3E.cjs.map +0 -1
- /package/dist/{chunk-YJFPVEXB.js.map → chunk-RTM66YNN.js.map} +0 -0
|
@@ -330,7 +330,7 @@ function find(it, predicate) {
|
|
|
330
330
|
|
|
331
331
|
|
|
332
332
|
function makeThreadsFilter(query, subscriptions) {
|
|
333
|
-
return (thread) => matchesThreadsQuery(thread, query, subscriptions) &&
|
|
333
|
+
return (thread) => matchesThreadsQuery(thread, query, subscriptions) && matchesThreadMetadata(thread, query);
|
|
334
334
|
}
|
|
335
335
|
function matchesThreadsQuery(thread, q, subscriptions) {
|
|
336
336
|
let subscription = void 0;
|
|
@@ -339,7 +339,7 @@ function matchesThreadsQuery(thread, q, subscriptions) {
|
|
|
339
339
|
}
|
|
340
340
|
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
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function matchesThreadMetadata(thread, q) {
|
|
343
343
|
const metadata = thread.metadata;
|
|
344
344
|
return q.metadata === void 0 || Object.entries(q.metadata).every(
|
|
345
345
|
([key, op]) => (
|
|
@@ -1519,6 +1519,26 @@ var UmbrellaStore = class {
|
|
|
1519
1519
|
(thread) => applyUpsertComment(thread, editedComment)
|
|
1520
1520
|
);
|
|
1521
1521
|
}
|
|
1522
|
+
editCommentMetadata(threadId, commentId, optimisticId, updatedMetadata, updatedAt) {
|
|
1523
|
+
return this.#updateThread(
|
|
1524
|
+
threadId,
|
|
1525
|
+
optimisticId,
|
|
1526
|
+
(thread) => {
|
|
1527
|
+
const comment = thread.comments.find((c) => c.id === commentId);
|
|
1528
|
+
if (comment === void 0) {
|
|
1529
|
+
return thread;
|
|
1530
|
+
}
|
|
1531
|
+
return {
|
|
1532
|
+
...thread,
|
|
1533
|
+
updatedAt,
|
|
1534
|
+
comments: thread.comments.map(
|
|
1535
|
+
(c) => c.id === commentId ? { ...c, metadata: updatedMetadata } : c
|
|
1536
|
+
)
|
|
1537
|
+
};
|
|
1538
|
+
},
|
|
1539
|
+
updatedAt
|
|
1540
|
+
);
|
|
1541
|
+
}
|
|
1522
1542
|
deleteComment(threadId, optimisticId, commentId, deletedAt) {
|
|
1523
1543
|
return this.#updateThread(
|
|
1524
1544
|
threadId,
|
|
@@ -1724,6 +1744,27 @@ function applyOptimisticUpdates_forThreadifications(baseThreadsDB, notifications
|
|
|
1724
1744
|
threadsDB.upsert(applyUpsertComment(thread, optimisticUpdate.comment));
|
|
1725
1745
|
break;
|
|
1726
1746
|
}
|
|
1747
|
+
case "edit-comment-metadata": {
|
|
1748
|
+
const thread = threadsDB.get(optimisticUpdate.threadId);
|
|
1749
|
+
if (thread === void 0) break;
|
|
1750
|
+
if (thread.updatedAt > optimisticUpdate.updatedAt) {
|
|
1751
|
+
break;
|
|
1752
|
+
}
|
|
1753
|
+
const existingComment = thread.comments.find(
|
|
1754
|
+
(c) => c.id === optimisticUpdate.commentId
|
|
1755
|
+
);
|
|
1756
|
+
if (existingComment === void 0) break;
|
|
1757
|
+
threadsDB.upsert(
|
|
1758
|
+
applyUpsertComment(thread, {
|
|
1759
|
+
...existingComment,
|
|
1760
|
+
metadata: {
|
|
1761
|
+
...existingComment.metadata,
|
|
1762
|
+
...optimisticUpdate.metadata
|
|
1763
|
+
}
|
|
1764
|
+
})
|
|
1765
|
+
);
|
|
1766
|
+
break;
|
|
1767
|
+
}
|
|
1727
1768
|
case "delete-comment": {
|
|
1728
1769
|
const thread = threadsDB.get(optimisticUpdate.threadId);
|
|
1729
1770
|
if (thread === void 0) break;
|
|
@@ -1930,7 +1971,20 @@ function applyUpsertComment(thread, comment) {
|
|
|
1930
1971
|
return updatedThread;
|
|
1931
1972
|
}
|
|
1932
1973
|
if (existingComment.deletedAt !== void 0) {
|
|
1933
|
-
|
|
1974
|
+
const updatedComment = {
|
|
1975
|
+
...existingComment,
|
|
1976
|
+
metadata: {
|
|
1977
|
+
...existingComment.metadata,
|
|
1978
|
+
...comment.metadata
|
|
1979
|
+
}
|
|
1980
|
+
};
|
|
1981
|
+
const updatedComments = thread.comments.map(
|
|
1982
|
+
(c) => c.id === comment.id ? updatedComment : c
|
|
1983
|
+
);
|
|
1984
|
+
return {
|
|
1985
|
+
...thread,
|
|
1986
|
+
comments: updatedComments
|
|
1987
|
+
};
|
|
1934
1988
|
}
|
|
1935
1989
|
if (existingComment.editedAt === void 0 || comment.editedAt === void 0 || existingComment.editedAt <= comment.editedAt) {
|
|
1936
1990
|
const updatedComments = thread.comments.map(
|
|
@@ -3521,9 +3575,11 @@ function makeRoomContextBundle(client) {
|
|
|
3521
3575
|
useOthersMapped,
|
|
3522
3576
|
useOthersConnectionIds,
|
|
3523
3577
|
useOther,
|
|
3578
|
+
// prettier-ignore
|
|
3524
3579
|
useMutation,
|
|
3525
3580
|
useThreads,
|
|
3526
3581
|
useSearchComments,
|
|
3582
|
+
// prettier-ignore
|
|
3527
3583
|
useCreateThread,
|
|
3528
3584
|
useDeleteThread,
|
|
3529
3585
|
useEditThreadMetadata,
|
|
@@ -3533,6 +3589,7 @@ function makeRoomContextBundle(client) {
|
|
|
3533
3589
|
useUnsubscribeFromThread,
|
|
3534
3590
|
useCreateComment,
|
|
3535
3591
|
useEditComment,
|
|
3592
|
+
useEditCommentMetadata,
|
|
3536
3593
|
useDeleteComment,
|
|
3537
3594
|
useAddReaction,
|
|
3538
3595
|
useRemoveReaction,
|
|
@@ -3567,8 +3624,10 @@ function makeRoomContextBundle(client) {
|
|
|
3567
3624
|
useOthersMapped: useOthersMappedSuspense,
|
|
3568
3625
|
useOthersConnectionIds: useOthersConnectionIdsSuspense,
|
|
3569
3626
|
useOther: useOtherSuspense,
|
|
3627
|
+
// prettier-ignore
|
|
3570
3628
|
useMutation,
|
|
3571
3629
|
useThreads: useThreadsSuspense,
|
|
3630
|
+
// prettier-ignore
|
|
3572
3631
|
useCreateThread,
|
|
3573
3632
|
useDeleteThread,
|
|
3574
3633
|
useEditThreadMetadata,
|
|
@@ -3578,6 +3637,7 @@ function makeRoomContextBundle(client) {
|
|
|
3578
3637
|
useUnsubscribeFromThread,
|
|
3579
3638
|
useCreateComment,
|
|
3580
3639
|
useEditComment,
|
|
3640
|
+
useEditCommentMetadata,
|
|
3581
3641
|
useDeleteComment,
|
|
3582
3642
|
useAddReaction,
|
|
3583
3643
|
useRemoveReaction,
|
|
@@ -3683,6 +3743,7 @@ function RoomProviderInner(props) {
|
|
|
3683
3743
|
case _core.ServerMsgCode.COMMENT_REACTION_ADDED:
|
|
3684
3744
|
case _core.ServerMsgCode.COMMENT_REACTION_REMOVED:
|
|
3685
3745
|
case _core.ServerMsgCode.COMMENT_DELETED:
|
|
3746
|
+
case _core.ServerMsgCode.COMMENT_METADATA_UPDATED:
|
|
3686
3747
|
if (!existingThread) break;
|
|
3687
3748
|
store.updateThreadifications(
|
|
3688
3749
|
[thread],
|
|
@@ -4090,6 +4151,7 @@ function useCreateRoomThread(roomId) {
|
|
|
4090
4151
|
(options) => {
|
|
4091
4152
|
const body = options.body;
|
|
4092
4153
|
const metadata = _nullishCoalesce(options.metadata, () => ( {}));
|
|
4154
|
+
const commentMetadata = _nullishCoalesce(options.commentMetadata, () => ( {}));
|
|
4093
4155
|
const attachments = options.attachments;
|
|
4094
4156
|
const threadId = _core.createThreadId.call(void 0, );
|
|
4095
4157
|
const commentId = _core.createCommentId.call(void 0, );
|
|
@@ -4103,7 +4165,8 @@ function useCreateRoomThread(roomId) {
|
|
|
4103
4165
|
userId: getCurrentUserId(client),
|
|
4104
4166
|
body,
|
|
4105
4167
|
reactions: [],
|
|
4106
|
-
attachments: _nullishCoalesce(attachments, () => ( []))
|
|
4168
|
+
attachments: _nullishCoalesce(attachments, () => ( [])),
|
|
4169
|
+
metadata: commentMetadata
|
|
4107
4170
|
};
|
|
4108
4171
|
const newThread = {
|
|
4109
4172
|
id: threadId,
|
|
@@ -4128,6 +4191,7 @@ function useCreateRoomThread(roomId) {
|
|
|
4128
4191
|
commentId,
|
|
4129
4192
|
body,
|
|
4130
4193
|
metadata,
|
|
4194
|
+
commentMetadata,
|
|
4131
4195
|
attachmentIds
|
|
4132
4196
|
}).then(
|
|
4133
4197
|
(thread) => {
|
|
@@ -4141,7 +4205,8 @@ function useCreateRoomThread(roomId) {
|
|
|
4141
4205
|
threadId,
|
|
4142
4206
|
commentId,
|
|
4143
4207
|
body,
|
|
4144
|
-
metadata
|
|
4208
|
+
metadata,
|
|
4209
|
+
commentMetadata
|
|
4145
4210
|
},
|
|
4146
4211
|
err
|
|
4147
4212
|
)
|
|
@@ -4224,13 +4289,65 @@ function useEditRoomThreadMetadata(roomId) {
|
|
|
4224
4289
|
[client, roomId]
|
|
4225
4290
|
);
|
|
4226
4291
|
}
|
|
4292
|
+
function useEditCommentMetadata() {
|
|
4293
|
+
return useEditRoomCommentMetadata(useRoom().id);
|
|
4294
|
+
}
|
|
4295
|
+
function useEditRoomCommentMetadata(roomId) {
|
|
4296
|
+
const client = useClient();
|
|
4297
|
+
return _react.useCallback.call(void 0,
|
|
4298
|
+
(options) => {
|
|
4299
|
+
if (!options.metadata) {
|
|
4300
|
+
return;
|
|
4301
|
+
}
|
|
4302
|
+
const threadId = options.threadId;
|
|
4303
|
+
const commentId = options.commentId;
|
|
4304
|
+
const metadata = options.metadata;
|
|
4305
|
+
const updatedAt = /* @__PURE__ */ new Date();
|
|
4306
|
+
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
4307
|
+
const optimisticId = store.optimisticUpdates.add({
|
|
4308
|
+
type: "edit-comment-metadata",
|
|
4309
|
+
threadId,
|
|
4310
|
+
commentId,
|
|
4311
|
+
metadata,
|
|
4312
|
+
updatedAt
|
|
4313
|
+
});
|
|
4314
|
+
client[_core.kInternal].httpClient.editCommentMetadata({ roomId, threadId, commentId, metadata }).then(
|
|
4315
|
+
(updatedMetadata) => (
|
|
4316
|
+
// Replace the optimistic update by the real thing
|
|
4317
|
+
store.editCommentMetadata(
|
|
4318
|
+
threadId,
|
|
4319
|
+
commentId,
|
|
4320
|
+
optimisticId,
|
|
4321
|
+
updatedMetadata,
|
|
4322
|
+
updatedAt
|
|
4323
|
+
)
|
|
4324
|
+
),
|
|
4325
|
+
(err) => onMutationFailure(
|
|
4326
|
+
optimisticId,
|
|
4327
|
+
{
|
|
4328
|
+
type: "EDIT_COMMENT_METADATA_ERROR",
|
|
4329
|
+
roomId,
|
|
4330
|
+
threadId,
|
|
4331
|
+
commentId,
|
|
4332
|
+
metadata
|
|
4333
|
+
},
|
|
4334
|
+
err
|
|
4335
|
+
)
|
|
4336
|
+
);
|
|
4337
|
+
},
|
|
4338
|
+
[client, roomId]
|
|
4339
|
+
);
|
|
4340
|
+
}
|
|
4227
4341
|
function useCreateComment() {
|
|
4228
4342
|
return useCreateRoomComment(useRoom().id);
|
|
4229
4343
|
}
|
|
4230
4344
|
function useCreateRoomComment(roomId) {
|
|
4231
4345
|
const client = useClient();
|
|
4232
4346
|
return _react.useCallback.call(void 0,
|
|
4233
|
-
(
|
|
4347
|
+
(options) => {
|
|
4348
|
+
const { threadId, body } = options;
|
|
4349
|
+
const metadata = _nullishCoalesce(options.metadata, () => ( {}));
|
|
4350
|
+
const attachments = _nullishCoalesce(options.attachments, () => ( []));
|
|
4234
4351
|
const commentId = _core.createCommentId.call(void 0, );
|
|
4235
4352
|
const createdAt = /* @__PURE__ */ new Date();
|
|
4236
4353
|
const comment = {
|
|
@@ -4242,7 +4359,8 @@ function useCreateRoomComment(roomId) {
|
|
|
4242
4359
|
userId: getCurrentUserId(client),
|
|
4243
4360
|
body,
|
|
4244
4361
|
reactions: [],
|
|
4245
|
-
attachments: _nullishCoalesce(attachments, () => ( []))
|
|
4362
|
+
attachments: _nullishCoalesce(attachments, () => ( [])),
|
|
4363
|
+
metadata
|
|
4246
4364
|
};
|
|
4247
4365
|
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
4248
4366
|
const optimisticId = store.optimisticUpdates.add({
|
|
@@ -4250,7 +4368,14 @@ function useCreateRoomComment(roomId) {
|
|
|
4250
4368
|
comment
|
|
4251
4369
|
});
|
|
4252
4370
|
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _57 => _57.map, 'call', _58 => _58((attachment) => attachment.id)]);
|
|
4253
|
-
client[_core.kInternal].httpClient.createComment({
|
|
4371
|
+
client[_core.kInternal].httpClient.createComment({
|
|
4372
|
+
roomId,
|
|
4373
|
+
threadId,
|
|
4374
|
+
commentId,
|
|
4375
|
+
body,
|
|
4376
|
+
metadata,
|
|
4377
|
+
attachmentIds
|
|
4378
|
+
}).then(
|
|
4254
4379
|
(newComment) => {
|
|
4255
4380
|
store.createComment(newComment, optimisticId);
|
|
4256
4381
|
},
|
|
@@ -4261,7 +4386,8 @@ function useCreateRoomComment(roomId) {
|
|
|
4261
4386
|
roomId,
|
|
4262
4387
|
threadId,
|
|
4263
4388
|
commentId,
|
|
4264
|
-
body
|
|
4389
|
+
body,
|
|
4390
|
+
metadata
|
|
4265
4391
|
},
|
|
4266
4392
|
err
|
|
4267
4393
|
)
|
|
@@ -4277,7 +4403,13 @@ function useEditComment() {
|
|
|
4277
4403
|
function useEditRoomComment(roomId) {
|
|
4278
4404
|
const client = useClient();
|
|
4279
4405
|
return _react.useCallback.call(void 0,
|
|
4280
|
-
({
|
|
4406
|
+
({
|
|
4407
|
+
threadId,
|
|
4408
|
+
commentId,
|
|
4409
|
+
body,
|
|
4410
|
+
attachments,
|
|
4411
|
+
metadata
|
|
4412
|
+
}) => {
|
|
4281
4413
|
const editedAt = /* @__PURE__ */ new Date();
|
|
4282
4414
|
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
4283
4415
|
const existing = store.outputs.threads.get().getEvenIfDeleted(threadId);
|
|
@@ -4296,23 +4428,42 @@ function useEditRoomComment(roomId) {
|
|
|
4296
4428
|
);
|
|
4297
4429
|
return;
|
|
4298
4430
|
}
|
|
4431
|
+
const updatedMetadata = metadata !== void 0 ? {
|
|
4432
|
+
...comment.metadata,
|
|
4433
|
+
...metadata
|
|
4434
|
+
} : comment.metadata;
|
|
4299
4435
|
const optimisticId = store.optimisticUpdates.add({
|
|
4300
4436
|
type: "edit-comment",
|
|
4301
4437
|
comment: {
|
|
4302
4438
|
...comment,
|
|
4303
4439
|
editedAt,
|
|
4304
4440
|
body,
|
|
4305
|
-
attachments: _nullishCoalesce(attachments, () => ( []))
|
|
4441
|
+
attachments: _nullishCoalesce(attachments, () => ( [])),
|
|
4442
|
+
metadata: updatedMetadata
|
|
4306
4443
|
}
|
|
4307
4444
|
});
|
|
4308
4445
|
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _59 => _59.map, 'call', _60 => _60((attachment) => attachment.id)]);
|
|
4309
|
-
client[_core.kInternal].httpClient.editComment({
|
|
4446
|
+
client[_core.kInternal].httpClient.editComment({
|
|
4447
|
+
roomId,
|
|
4448
|
+
threadId,
|
|
4449
|
+
commentId,
|
|
4450
|
+
body,
|
|
4451
|
+
attachmentIds,
|
|
4452
|
+
metadata
|
|
4453
|
+
}).then(
|
|
4310
4454
|
(editedComment) => {
|
|
4311
4455
|
store.editComment(threadId, optimisticId, editedComment);
|
|
4312
4456
|
},
|
|
4313
4457
|
(err) => onMutationFailure(
|
|
4314
4458
|
optimisticId,
|
|
4315
|
-
{
|
|
4459
|
+
{
|
|
4460
|
+
type: "EDIT_COMMENT_ERROR",
|
|
4461
|
+
roomId,
|
|
4462
|
+
threadId,
|
|
4463
|
+
commentId,
|
|
4464
|
+
body,
|
|
4465
|
+
metadata: updatedMetadata
|
|
4466
|
+
},
|
|
4316
4467
|
err
|
|
4317
4468
|
)
|
|
4318
4469
|
);
|
|
@@ -4937,6 +5088,9 @@ var _useMutation = useMutation;
|
|
|
4937
5088
|
var _useCreateThread = useCreateThread;
|
|
4938
5089
|
var _useDeleteThread = useDeleteThread;
|
|
4939
5090
|
var _useEditThreadMetadata = useEditThreadMetadata;
|
|
5091
|
+
var _useCreateComment = useCreateComment;
|
|
5092
|
+
var _useEditComment = useEditComment;
|
|
5093
|
+
var _useEditCommentMetadata = useEditCommentMetadata;
|
|
4940
5094
|
var _useEventListener = useEventListener;
|
|
4941
5095
|
var _useMyPresence = useMyPresence;
|
|
4942
5096
|
var _useOthersMapped = useOthersMapped;
|
|
@@ -5089,5 +5243,6 @@ var _useUpdateMyPresence = useUpdateMyPresence;
|
|
|
5089
5243
|
|
|
5090
5244
|
|
|
5091
5245
|
|
|
5092
|
-
|
|
5093
|
-
|
|
5246
|
+
|
|
5247
|
+
exports.ClientContext = ClientContext; exports.useClientOrNull = useClientOrNull; exports.useClient = useClient; exports.RoomContext = RoomContext; exports.useLatest = useLatest; 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.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.useMarkThreadAsRead = useMarkThreadAsRead; exports.useMarkRoomThreadAsRead = useMarkRoomThreadAsRead; 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.useOthersConnectionIdsSuspense = useOthersConnectionIdsSuspense; exports.useAttachmentUrl = useAttachmentUrl; exports.useRoomAttachmentUrl = useRoomAttachmentUrl; exports.useAttachmentUrlSuspense = useAttachmentUrlSuspense; exports.useRoomPermissions = useRoomPermissions; 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._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;
|
|
5248
|
+
//# sourceMappingURL=chunk-QFAOGFJK.cjs.map
|