@liveblocks/react 3.16.0-flow3 → 3.17.0-rc1
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-5YUDJVMF.js → chunk-6QSCLLEQ.js} +2 -2
- package/dist/{chunk-2VF57BZV.js → chunk-D3G7BVLV.js} +441 -9
- package/dist/chunk-D3G7BVLV.js.map +1 -0
- package/dist/{chunk-HULSMHSU.cjs → chunk-JPKIN43H.cjs} +2 -2
- package/dist/{chunk-HULSMHSU.cjs.map → chunk-JPKIN43H.cjs.map} +1 -1
- package/dist/{chunk-QEGVIJNN.cjs → chunk-RQSGIWTN.cjs} +481 -49
- package/dist/chunk-RQSGIWTN.cjs.map +1 -0
- package/dist/index.cjs +20 -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 +18 -2
- package/dist/index.js.map +1 -1
- package/dist/{room-BvPZu216.d.cts → room-C6NTdu0X.d.cts} +249 -11
- package/dist/{room-BvPZu216.d.ts → room-C6NTdu0X.d.ts} +249 -11
- package/dist/suspense.cjs +20 -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 +18 -2
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-2VF57BZV.js.map +0 -1
- package/dist/chunk-QEGVIJNN.cjs.map +0 -1
- /package/dist/{chunk-5YUDJVMF.js.map → chunk-6QSCLLEQ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseUserMeta, Client, JsonObject, LsonObject, LiveObject, User, Json, RoomSubscriptionSettings, Room, Status, BroadcastOptions, OthersEvent, LostConnectionEvent, History, BaseMetadata as BaseMetadata$1, ClientOptions, ThreadData as ThreadData$1, CommentData as CommentData$1 } from '@liveblocks/client';
|
|
1
|
+
import { BaseUserMeta, Client, JsonObject, LsonObject, LiveObject, User, Json, RoomSubscriptionSettings, Room, Status, BroadcastOptions, OthersEvent, LostConnectionEvent, History, BaseMetadata as BaseMetadata$1, ClientOptions, FeedCreateMetadata as FeedCreateMetadata$1, FeedUpdateMetadata as FeedUpdateMetadata$1, ThreadData as ThreadData$1, CommentData as CommentData$1 } from '@liveblocks/client';
|
|
2
2
|
import * as _liveblocks_core from '@liveblocks/core';
|
|
3
|
-
import { OpaqueClient, OpaqueRoom, AiKnowledgeSource, AiOpaqueToolDefinition, Relax, AiAssistantContentPart, BaseMetadata, QueryMetadata, AsyncResult, DRI, AsyncSuccess, DGI, GroupData, Resolve, CommentBody, CommentAttachment, PartialUnless, Patchable, InboxNotificationData, NotificationSettings, ToImmutable, MessageId, PartialNotificationSettings, AiChatsQuery, AsyncLoading, AsyncError, ThreadData, SearchCommentsResult, HistoryVersion, AiChat, UrlMetadata, Client as Client$1, LiveblocksError, SyncStatus, RoomEventMessage, CommentData, AiUserMessage, WithRequired, AiChatMessage, WithNavigation, MutableSignal, ThreadDataWithDeleteInfo, ThreadDeleteInfo, SubscriptionKey, SubscriptionData, DerivedSignal, DefaultMap, CommentUserReaction, InboxNotificationDeleteInfo, SubscriptionDeleteInfo, RoomSubscriptionSettings as RoomSubscriptionSettings$1, ISignal, Permission, BaseUserMeta as BaseUserMeta$1, DistributiveOmit, DU, DTM, DCM, TextEditorType, IYjsProvider, MentionData, DP, DS, DE } from '@liveblocks/core';
|
|
3
|
+
import { OpaqueClient, OpaqueRoom, AiKnowledgeSource, AiOpaqueToolDefinition, Relax, AiAssistantContentPart, BaseMetadata, QueryMetadata, AsyncResult, DRI, AsyncSuccess, DGI, GroupData, Resolve, CommentBody, CommentAttachment, PartialUnless, Patchable, InboxNotificationData, NotificationSettings, ToImmutable, FeedCreateMetadata, FeedUpdateMetadata, MessageId, PartialNotificationSettings, AiChatsQuery, FeedFetchMetadataFilter, AsyncLoading, AsyncError, ThreadData, SearchCommentsResult, Feed, FeedMessage, HistoryVersion, AiChat, UrlMetadata, Client as Client$1, LiveblocksError, SyncStatus, RoomEventMessage, CommentData, AiUserMessage, WithRequired, AiChatMessage, WithNavigation, MutableSignal, ThreadDataWithDeleteInfo, ThreadDeleteInfo, SubscriptionKey, SubscriptionData, DerivedSignal, DefaultMap, CommentUserReaction, InboxNotificationDeleteInfo, SubscriptionDeleteInfo, RoomSubscriptionSettings as RoomSubscriptionSettings$1, ISignal, Permission, BaseUserMeta as BaseUserMeta$1, DistributiveOmit, DU, DTM, DCM, TextEditorType, IYjsProvider, MentionData, DP, DS, DE, DFM, DFMD } from '@liveblocks/core';
|
|
4
4
|
import { Context, ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -208,6 +208,40 @@ type UseInboxNotificationsOptions = {
|
|
|
208
208
|
*/
|
|
209
209
|
query?: InboxNotificationsQuery;
|
|
210
210
|
};
|
|
211
|
+
type UseFeedsOptions = {
|
|
212
|
+
/**
|
|
213
|
+
* Optional timestamp filter. Applied to the client-side cache for this hook’s
|
|
214
|
+
* options: only feeds whose `createdAt` or `updatedAt` is at or after this
|
|
215
|
+
* timestamp (ms) are included in `feeds`.
|
|
216
|
+
*/
|
|
217
|
+
since?: number;
|
|
218
|
+
/**
|
|
219
|
+
* Optional metadata filter (`Record<string, string>`). Applied to the
|
|
220
|
+
* client-side cache: only feeds whose metadata matches every key/value pair
|
|
221
|
+
* are included in `feeds`.
|
|
222
|
+
*/
|
|
223
|
+
metadata?: FeedFetchMetadataFilter;
|
|
224
|
+
/**
|
|
225
|
+
* Page size for each server request when loading or loading more feeds. This
|
|
226
|
+
* does **not** cap the length of `feeds`—use pagination (`fetchMore`,
|
|
227
|
+
* `hasFetchedAll`) until you have loaded every page. Different hooks with
|
|
228
|
+
* different `limit` values still share one cache per room; each hook’s
|
|
229
|
+
* `feeds` array is filtered and sorted independently.
|
|
230
|
+
*/
|
|
231
|
+
limit?: number;
|
|
232
|
+
};
|
|
233
|
+
type UseFeedMessagesOptions = {
|
|
234
|
+
/**
|
|
235
|
+
* Optional cursor for pagination.
|
|
236
|
+
*/
|
|
237
|
+
cursor?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Page size for each server request when loading or loading more messages.
|
|
240
|
+
* Does **not** cap the length of `messages`—pagination loads additional pages
|
|
241
|
+
* until `hasFetchedAll` is true.
|
|
242
|
+
*/
|
|
243
|
+
limit?: number;
|
|
244
|
+
};
|
|
211
245
|
type UserAsyncResult<T> = AsyncResult<T, "user">;
|
|
212
246
|
type UserAsyncSuccess<T> = AsyncSuccess<T, "user">;
|
|
213
247
|
type RoomInfoAsyncResult = AsyncResult<DRI, "info">;
|
|
@@ -270,6 +304,10 @@ type ThreadsAsyncResult<TM extends BaseMetadata, CM extends BaseMetadata> = Page
|
|
|
270
304
|
type SearchCommentsAsyncResult = AsyncResult<Array<SearchCommentsResult>, "results">;
|
|
271
305
|
type InboxNotificationsAsyncSuccess = PagedAsyncSuccess<InboxNotificationData[], "inboxNotifications">;
|
|
272
306
|
type InboxNotificationsAsyncResult = PagedAsyncResult<InboxNotificationData[], "inboxNotifications">;
|
|
307
|
+
type FeedsAsyncSuccess<FM extends Json = Json> = PagedAsyncSuccess<Feed<FM>[], "feeds">;
|
|
308
|
+
type FeedsAsyncResult<FM extends Json = Json> = PagedAsyncResult<Feed<FM>[], "feeds">;
|
|
309
|
+
type FeedMessagesAsyncSuccess<FMD extends Json = Json> = PagedAsyncSuccess<FeedMessage<FMD>[], "messages">;
|
|
310
|
+
type FeedMessagesAsyncResult<FMD extends Json = Json> = PagedAsyncResult<FeedMessage<FMD>[], "messages">;
|
|
273
311
|
type UnreadInboxNotificationsCountAsyncSuccess = AsyncSuccess<number, "count">;
|
|
274
312
|
type UnreadInboxNotificationsCountAsyncResult = AsyncResult<number, "count">;
|
|
275
313
|
type NotificationSettingsAsyncResult = AsyncResult<NotificationSettings, "settings">;
|
|
@@ -504,13 +542,13 @@ type SharedContextBundle<U extends BaseUserMeta> = {
|
|
|
504
542
|
/**
|
|
505
543
|
* Properties that are the same in RoomContext and RoomContext["suspense"].
|
|
506
544
|
*/
|
|
507
|
-
type RoomContextBundleCommon<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, TM extends BaseMetadata, CM extends BaseMetadata> = {
|
|
545
|
+
type RoomContextBundleCommon<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, TM extends BaseMetadata, CM extends BaseMetadata, FM extends Json = Json, FMD extends Json = Json> = {
|
|
508
546
|
/**
|
|
509
547
|
* You normally don't need to directly interact with the RoomContext, but
|
|
510
548
|
* it can be necessary if you're building an advanced app where you need to
|
|
511
549
|
* set up a context bridge between two React renderers.
|
|
512
550
|
*/
|
|
513
|
-
RoomContext: Context<Room<P, S, U, E, TM, CM> | null>;
|
|
551
|
+
RoomContext: Context<Room<P, S, U, E, TM, CM, FM, FMD> | null>;
|
|
514
552
|
/**
|
|
515
553
|
* Makes a Room available in the component hierarchy below.
|
|
516
554
|
* Joins the room when the component is mounted, and automatically leaves
|
|
@@ -523,10 +561,10 @@ type RoomContextBundleCommon<P extends JsonObject, S extends LsonObject, U exten
|
|
|
523
561
|
*/
|
|
524
562
|
useRoom(options?: {
|
|
525
563
|
allowOutsideRoom: false;
|
|
526
|
-
}): Room<P, S, U, E, TM, CM>;
|
|
564
|
+
}): Room<P, S, U, E, TM, CM, FM, FMD>;
|
|
527
565
|
useRoom(options: {
|
|
528
566
|
allowOutsideRoom: boolean;
|
|
529
|
-
}): Room<P, S, U, E, TM, CM> | null;
|
|
567
|
+
}): Room<P, S, U, E, TM, CM, FM, FMD> | null;
|
|
530
568
|
/**
|
|
531
569
|
* Returns the current connection status for the Room, and triggers
|
|
532
570
|
* a re-render whenever it changes. Can be used to render a status badge.
|
|
@@ -924,7 +962,7 @@ type RoomContextBundleCommon<P extends JsonObject, S extends LsonObject, U exten
|
|
|
924
962
|
*/
|
|
925
963
|
useThreadSubscription(threadId: string): ThreadSubscription;
|
|
926
964
|
};
|
|
927
|
-
type RoomContextBundle<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, TM extends BaseMetadata, CM extends BaseMetadata> = Resolve<RoomContextBundleCommon<P, S, U, E, TM, CM> & SharedContextBundle<U>["classic"] & {
|
|
965
|
+
type RoomContextBundle<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, TM extends BaseMetadata, CM extends BaseMetadata, FM extends Json = Json, FMD extends Json = Json> = Resolve<RoomContextBundleCommon<P, S, U, E, TM, CM, FM, FMD> & SharedContextBundle<U>["classic"] & {
|
|
928
966
|
/**
|
|
929
967
|
* Extract arbitrary data from the Liveblocks Storage state, using an
|
|
930
968
|
* arbitrary selector function.
|
|
@@ -986,6 +1024,76 @@ type RoomContextBundle<P extends JsonObject, S extends LsonObject, U extends Bas
|
|
|
986
1024
|
* const { threads, error, isLoading } = useThreads();
|
|
987
1025
|
*/
|
|
988
1026
|
useThreads(options?: UseThreadsOptions<TM>): ThreadsAsyncResult<TM, CM>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Returns feeds for the current room.
|
|
1029
|
+
*
|
|
1030
|
+
* @example
|
|
1031
|
+
* const { feeds, error, isLoading } = useFeeds();
|
|
1032
|
+
*/
|
|
1033
|
+
useFeeds(options?: UseFeedsOptions): FeedsAsyncResult<FM>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Returns messages for a specific feed in the current room.
|
|
1036
|
+
*
|
|
1037
|
+
* @example
|
|
1038
|
+
* const { messages, error, isLoading } = useFeedMessages("feed-id");
|
|
1039
|
+
*/
|
|
1040
|
+
useFeedMessages(feedId: string, options?: UseFeedMessagesOptions): FeedMessagesAsyncResult<FMD>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Returns a function that creates a new feed in the current room.
|
|
1043
|
+
*
|
|
1044
|
+
* @example
|
|
1045
|
+
* const createFeed = useCreateFeed();
|
|
1046
|
+
* createFeed("feed-id", { metadata: { name: "My Feed" } });
|
|
1047
|
+
*/
|
|
1048
|
+
useCreateFeed(): (feedId: string, options?: {
|
|
1049
|
+
metadata?: FeedCreateMetadata;
|
|
1050
|
+
createdAt?: number;
|
|
1051
|
+
}) => Promise<void>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Returns a function that deletes a feed from the current room.
|
|
1054
|
+
*
|
|
1055
|
+
* @example
|
|
1056
|
+
* const deleteFeed = useDeleteFeed();
|
|
1057
|
+
* deleteFeed("feed-id");
|
|
1058
|
+
*/
|
|
1059
|
+
useDeleteFeed(): (feedId: string) => Promise<void>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Returns a function that updates a feed's metadata in the current room.
|
|
1062
|
+
*
|
|
1063
|
+
* @example
|
|
1064
|
+
* const updateFeedMetadata = useUpdateFeedMetadata();
|
|
1065
|
+
* updateFeedMetadata("feed-id", { name: "Updated Name" });
|
|
1066
|
+
*/
|
|
1067
|
+
useUpdateFeedMetadata(): (feedId: string, metadata: FeedUpdateMetadata) => Promise<void>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Returns a function that adds a message to a feed in the current room.
|
|
1070
|
+
*
|
|
1071
|
+
* @example
|
|
1072
|
+
* const createFeedMessage = useCreateFeedMessage();
|
|
1073
|
+
* createFeedMessage("feed-id", { text: "Hello" });
|
|
1074
|
+
*/
|
|
1075
|
+
useCreateFeedMessage(): (feedId: string, data: JsonObject, options?: {
|
|
1076
|
+
id?: string;
|
|
1077
|
+
createdAt?: number;
|
|
1078
|
+
}) => Promise<void>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Returns a function that deletes a message from a feed in the current room.
|
|
1081
|
+
*
|
|
1082
|
+
* @example
|
|
1083
|
+
* const deleteFeedMessage = useDeleteFeedMessage();
|
|
1084
|
+
* deleteFeedMessage("feed-id", "message-id");
|
|
1085
|
+
*/
|
|
1086
|
+
useDeleteFeedMessage(): (feedId: string, messageId: string) => Promise<void>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Returns a function that updates a feed message in the current room.
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* const updateFeedMessage = useUpdateFeedMessage();
|
|
1092
|
+
* updateFeedMessage("feed-id", "message-id", { text: "Updated" });
|
|
1093
|
+
*/
|
|
1094
|
+
useUpdateFeedMessage(): (feedId: string, messageId: string, data: JsonObject, options?: {
|
|
1095
|
+
updatedAt?: number;
|
|
1096
|
+
}) => Promise<void>;
|
|
989
1097
|
/**
|
|
990
1098
|
* Returns the result of searching comments by text in the current room. The result includes the id and the plain text content of the matched comments along with the parent thread id of the comment.
|
|
991
1099
|
*
|
|
@@ -1025,7 +1133,7 @@ type RoomContextBundle<P extends JsonObject, S extends LsonObject, U extends Bas
|
|
|
1025
1133
|
* const { data, error, isLoading } = useHistoryVersionData(version.id);
|
|
1026
1134
|
*/
|
|
1027
1135
|
useHistoryVersionData(id: string): HistoryVersionDataAsyncResult;
|
|
1028
|
-
suspense: Resolve<RoomContextBundleCommon<P, S, U, E, TM, CM> & SharedContextBundle<U>["suspense"] & {
|
|
1136
|
+
suspense: Resolve<RoomContextBundleCommon<P, S, U, E, TM, CM, FM, FMD> & SharedContextBundle<U>["suspense"] & {
|
|
1029
1137
|
/**
|
|
1030
1138
|
* Extract arbitrary data from the Liveblocks Storage state, using an
|
|
1031
1139
|
* arbitrary selector function.
|
|
@@ -1081,6 +1189,34 @@ type RoomContextBundle<P extends JsonObject, S extends LsonObject, U extends Bas
|
|
|
1081
1189
|
* const { threads } = useThreads();
|
|
1082
1190
|
*/
|
|
1083
1191
|
useThreads(options?: UseThreadsOptions<TM>): ThreadsAsyncSuccess<TM, CM>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Returns feeds for the current room.
|
|
1194
|
+
*
|
|
1195
|
+
* @example
|
|
1196
|
+
* const { feeds } = useFeeds();
|
|
1197
|
+
*/
|
|
1198
|
+
useFeeds(options?: UseFeedsOptions): FeedsAsyncSuccess<FM>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Returns messages for a specific feed in the current room.
|
|
1201
|
+
*
|
|
1202
|
+
* @example
|
|
1203
|
+
* const { messages } = useFeedMessages("feed-id");
|
|
1204
|
+
*/
|
|
1205
|
+
useFeedMessages(feedId: string, options?: UseFeedMessagesOptions): FeedMessagesAsyncSuccess<FMD>;
|
|
1206
|
+
useCreateFeed(): (feedId: string, options?: {
|
|
1207
|
+
metadata?: FeedCreateMetadata;
|
|
1208
|
+
createdAt?: number;
|
|
1209
|
+
}) => Promise<void>;
|
|
1210
|
+
useDeleteFeed(): (feedId: string) => Promise<void>;
|
|
1211
|
+
useUpdateFeedMetadata(): (feedId: string, metadata: FeedUpdateMetadata) => Promise<void>;
|
|
1212
|
+
useCreateFeedMessage(): (feedId: string, data: JsonObject, options?: {
|
|
1213
|
+
id?: string;
|
|
1214
|
+
createdAt?: number;
|
|
1215
|
+
}) => Promise<void>;
|
|
1216
|
+
useDeleteFeedMessage(): (feedId: string, messageId: string) => Promise<void>;
|
|
1217
|
+
useUpdateFeedMessage(): (feedId: string, messageId: string, data: JsonObject, options?: {
|
|
1218
|
+
updatedAt?: number;
|
|
1219
|
+
}) => Promise<void>;
|
|
1084
1220
|
/**
|
|
1085
1221
|
* (Private beta) Returns a history of versions of the current room.
|
|
1086
1222
|
*
|
|
@@ -1788,6 +1924,8 @@ declare class UmbrellaStore<TM extends BaseMetadata, CM extends BaseMetadata> {
|
|
|
1788
1924
|
readonly messagesByChatId: DefaultMap<string, DefaultMap<MessageId | null, LoadableResource<AiChatMessagesAsyncResult>>>;
|
|
1789
1925
|
readonly aiChatById: DefaultMap<string, LoadableResource<AiChatAsyncResult>>;
|
|
1790
1926
|
readonly urlMetadataByUrl: DefaultMap<string, LoadableResource<UrlMetadataAsyncResult>>;
|
|
1927
|
+
readonly loadingFeeds: DefaultMap<string, LoadableResource<FeedsAsyncResult>>;
|
|
1928
|
+
readonly loadingFeedMessages: DefaultMap<string, LoadableResource<FeedMessagesAsyncResult>>;
|
|
1791
1929
|
};
|
|
1792
1930
|
constructor(client: OpaqueClient);
|
|
1793
1931
|
/**
|
|
@@ -1852,6 +1990,22 @@ declare class UmbrellaStore<TM extends BaseMetadata, CM extends BaseMetadata> {
|
|
|
1852
1990
|
*/
|
|
1853
1991
|
updateRoomSubscriptionSettings(roomId: string, optimisticId: string, settings: Readonly<RoomSubscriptionSettings$1>): void;
|
|
1854
1992
|
fetchNotificationsDeltaUpdate(signal: AbortSignal): Promise<void>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Upserts feeds in the cache (for list/added/updated operations).
|
|
1995
|
+
*/
|
|
1996
|
+
upsertFeeds(roomId: RoomId, feeds: readonly Feed[]): void;
|
|
1997
|
+
/**
|
|
1998
|
+
* Removes a feed from the cache (for deleted operations).
|
|
1999
|
+
*/
|
|
2000
|
+
deleteFeed(roomId: RoomId, feedId: string): void;
|
|
2001
|
+
/**
|
|
2002
|
+
* Upserts feed messages in the cache (for list/added/updated operations).
|
|
2003
|
+
*/
|
|
2004
|
+
upsertFeedMessages(_roomId: RoomId, feedId: string, messages: readonly FeedMessage[]): void;
|
|
2005
|
+
/**
|
|
2006
|
+
* Removes feed messages from the cache (for deleted operations).
|
|
2007
|
+
*/
|
|
2008
|
+
deleteFeedMessages(_roomId: RoomId, feedId: string, messageIds: readonly string[]): void;
|
|
1855
2009
|
fetchUnreadNotificationsCount(queryKey: InboxNotificationsQueryKey, signal: AbortSignal): Promise<void>;
|
|
1856
2010
|
fetchRoomThreadsDeltaUpdate(roomId: string, signal: AbortSignal): Promise<void>;
|
|
1857
2011
|
fetchUserThreadsDeltaUpdate(signal: AbortSignal): Promise<void>;
|
|
@@ -2319,6 +2473,62 @@ declare function useCanRedo(): boolean;
|
|
|
2319
2473
|
* // [2, 4, 7]
|
|
2320
2474
|
*/
|
|
2321
2475
|
declare function useOthersConnectionIds(): readonly number[];
|
|
2476
|
+
/**
|
|
2477
|
+
* Returns a function that creates a new feed in the current room.
|
|
2478
|
+
*
|
|
2479
|
+
* @example
|
|
2480
|
+
* const createFeed = useCreateFeed();
|
|
2481
|
+
* createFeed("feed-id", { metadata: { name: "My Feed" } });
|
|
2482
|
+
*/
|
|
2483
|
+
declare function useCreateFeed(): (feedId: string, options?: {
|
|
2484
|
+
metadata?: FeedCreateMetadata$1;
|
|
2485
|
+
createdAt?: number;
|
|
2486
|
+
}) => Promise<void>;
|
|
2487
|
+
/**
|
|
2488
|
+
* Returns a function that deletes a feed from the current room.
|
|
2489
|
+
*
|
|
2490
|
+
* @example
|
|
2491
|
+
* const deleteFeed = useDeleteFeed();
|
|
2492
|
+
* deleteFeed("feed-id");
|
|
2493
|
+
*/
|
|
2494
|
+
declare function useDeleteFeed(): (feedId: string) => Promise<void>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Returns a function that updates a feed's metadata in the current room.
|
|
2497
|
+
*
|
|
2498
|
+
* @example
|
|
2499
|
+
* const updateFeedMetadata = useUpdateFeedMetadata();
|
|
2500
|
+
* updateFeedMetadata("feed-id", { name: "Updated Name" });
|
|
2501
|
+
*/
|
|
2502
|
+
declare function useUpdateFeedMetadata(): (feedId: string, metadata: FeedUpdateMetadata$1) => Promise<void>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Returns a function that adds a message to a feed in the current room.
|
|
2505
|
+
*
|
|
2506
|
+
* @example
|
|
2507
|
+
* const createFeedMessage = useCreateFeedMessage();
|
|
2508
|
+
* createFeedMessage("feed-id", { text: "Hello" });
|
|
2509
|
+
*/
|
|
2510
|
+
declare function useCreateFeedMessage(): (feedId: string, data: JsonObject, options?: {
|
|
2511
|
+
id?: string;
|
|
2512
|
+
createdAt?: number;
|
|
2513
|
+
}) => Promise<void>;
|
|
2514
|
+
/**
|
|
2515
|
+
* Returns a function that deletes a message from a feed in the current room.
|
|
2516
|
+
*
|
|
2517
|
+
* @example
|
|
2518
|
+
* const deleteFeedMessage = useDeleteFeedMessage();
|
|
2519
|
+
* deleteFeedMessage("feed-id", "message-id");
|
|
2520
|
+
*/
|
|
2521
|
+
declare function useDeleteFeedMessage(): (feedId: string, messageId: string) => Promise<void>;
|
|
2522
|
+
/**
|
|
2523
|
+
* Returns a function that updates a feed message in the current room.
|
|
2524
|
+
*
|
|
2525
|
+
* @example
|
|
2526
|
+
* const updateFeedMessage = useUpdateFeedMessage();
|
|
2527
|
+
* updateFeedMessage("feed-id", "message-id", { text: "Updated" });
|
|
2528
|
+
*/
|
|
2529
|
+
declare function useUpdateFeedMessage(): (feedId: string, messageId: string, data: JsonObject, options?: {
|
|
2530
|
+
updatedAt?: number;
|
|
2531
|
+
}) => Promise<void>;
|
|
2322
2532
|
/**
|
|
2323
2533
|
* @private
|
|
2324
2534
|
*/
|
|
@@ -2496,8 +2706,8 @@ declare function useRoomPermissions(roomId: string): Set<_liveblocks_core.Permis
|
|
|
2496
2706
|
* that any RoomProvider created in this way does not need to be nested in
|
|
2497
2707
|
* LiveblocksProvider, as it already has access to the client.
|
|
2498
2708
|
*/
|
|
2499
|
-
declare function createRoomContext<P extends JsonObject = DP, S extends LsonObject = DS, U extends BaseUserMeta = DU, E extends Json = DE, TM extends BaseMetadata$1 = DTM, CM extends BaseMetadata$1 = DCM>(client: OpaqueClient): RoomContextBundle<P, S, U, E, TM, CM>;
|
|
2500
|
-
type TypedBundle = RoomContextBundle<DP, DS, DU, DE, DTM, DCM>;
|
|
2709
|
+
declare function createRoomContext<P extends JsonObject = DP, S extends LsonObject = DS, U extends BaseUserMeta = DU, E extends Json = DE, TM extends BaseMetadata$1 = DTM, CM extends BaseMetadata$1 = DCM, FM extends Json = Json, FMD extends Json = Json>(client: OpaqueClient): RoomContextBundle<P, S, U, E, TM, CM, FM, FMD>;
|
|
2710
|
+
type TypedBundle = RoomContextBundle<DP, DS, DU, DE, DTM, DCM, DFM, DFMD>;
|
|
2501
2711
|
/**
|
|
2502
2712
|
* Makes a Room available in the component hierarchy below.
|
|
2503
2713
|
* Joins the room when the component is mounted, and automatically leaves
|
|
@@ -2728,6 +2938,34 @@ declare const _useOthersMappedSuspense: TypedBundle["suspense"]["useOthersMapped
|
|
|
2728
2938
|
* const { threads, error, isLoading } = useThreads();
|
|
2729
2939
|
*/
|
|
2730
2940
|
declare const _useThreads: TypedBundle["useThreads"];
|
|
2941
|
+
/**
|
|
2942
|
+
* Returns feeds for the current room.
|
|
2943
|
+
*
|
|
2944
|
+
* @example
|
|
2945
|
+
* const { feeds, error, isLoading } = useFeeds();
|
|
2946
|
+
*/
|
|
2947
|
+
declare const _useFeeds: TypedBundle["useFeeds"];
|
|
2948
|
+
/**
|
|
2949
|
+
* Returns messages for a specific feed in the current room.
|
|
2950
|
+
*
|
|
2951
|
+
* @example
|
|
2952
|
+
* const { messages, error, isLoading } = useFeedMessages("feed-id");
|
|
2953
|
+
*/
|
|
2954
|
+
declare const _useFeedMessages: TypedBundle["useFeedMessages"];
|
|
2955
|
+
/**
|
|
2956
|
+
* Returns feeds for the current room.
|
|
2957
|
+
*
|
|
2958
|
+
* @example
|
|
2959
|
+
* const { feeds } = useFeeds();
|
|
2960
|
+
*/
|
|
2961
|
+
declare const _useFeedsSuspense: TypedBundle["suspense"]["useFeeds"];
|
|
2962
|
+
/**
|
|
2963
|
+
* Returns messages for a specific feed in the current room.
|
|
2964
|
+
*
|
|
2965
|
+
* @example
|
|
2966
|
+
* const { messages } = useFeedMessages("feed-id");
|
|
2967
|
+
*/
|
|
2968
|
+
declare const _useFeedMessagesSuspense: TypedBundle["suspense"]["useFeedMessages"];
|
|
2731
2969
|
/**
|
|
2732
2970
|
* Returns the result of searching comments by text in the current room. The result includes the id and the plain text content of the matched comments along with the parent thread id of the comment.
|
|
2733
2971
|
*
|
|
@@ -2999,4 +3237,4 @@ declare const _useStorageRoot: TypedBundle["useStorageRoot"];
|
|
|
2999
3237
|
*/
|
|
3000
3238
|
declare const _useUpdateMyPresence: TypedBundle["useUpdateMyPresence"];
|
|
3001
3239
|
|
|
3002
|
-
export { _useDeleteThread as $, type AiChatStatus as A, GlobalRoomContext as B, ClientContext as C, useClient as D, createLiveblocksContext as E, useDeleteAllInboxNotifications as F, type GroupAsyncResult as G, useDeleteInboxNotification as H, useErrorListener as I, useMarkAllInboxNotificationsAsRead as J, useMarkInboxNotificationAsRead as K, LiveblocksProvider as L, type MutationContext as M, useSyncStatus as N, createRoomContext as O, _RoomProvider as P, _useAddReaction as Q, type RegisterAiKnowledgeProps as R, type SendAiMessageOptions as S, _useBroadcastEvent as T, type UseSendAiMessageOptions as U, useCanRedo as V, useCanUndo as W, _useCreateComment as X, _useCreateThread as Y, useDeleteComment as Z, _useInboxNotificationThread as _, useAddRoomCommentReaction as a,
|
|
3240
|
+
export { _useDeleteThread as $, type AiChatStatus as A, GlobalRoomContext as B, ClientContext as C, useClient as D, createLiveblocksContext as E, useDeleteAllInboxNotifications as F, type GroupAsyncResult as G, useDeleteInboxNotification as H, useErrorListener as I, useMarkAllInboxNotificationsAsRead as J, useMarkInboxNotificationAsRead as K, LiveblocksProvider as L, type MutationContext as M, useSyncStatus as N, createRoomContext as O, _RoomProvider as P, _useAddReaction as Q, type RegisterAiKnowledgeProps as R, type SendAiMessageOptions as S, _useBroadcastEvent as T, type UseSendAiMessageOptions as U, useCanRedo as V, useCanUndo as W, _useCreateComment as X, _useCreateThread as Y, useDeleteComment as Z, _useInboxNotificationThread as _, useAddRoomCommentReaction as a, _useOthersMappedSuspense as a$, _useEditComment as a0, _useEditThreadMetadata as a1, _useEditCommentMetadata as a2, useMarkThreadAsResolved as a3, useMarkThreadAsUnresolved as a4, useSubscribeToThread as a5, useUnsubscribeFromThread as a6, _useEventListener as a7, useHistory as a8, _useIsInsideRoom as a9, useUpdateFeedMetadata as aA, useCreateFeedMessage as aB, useDeleteFeedMessage as aC, useUpdateFeedMessage as aD, _useSearchComments as aE, useAttachmentUrl as aF, _useHistoryVersions as aG, _useRoomSubscriptionSettings as aH, useInboxNotifications as aI, useNotificationSettings as aJ, useUpdateNotificationSettings as aK, useCreateAiChat as aL, useDeleteAiChat as aM, useSendAiMessage as aN, _useUserThreads_experimental as aO, useRoomInfo as aP, useGroupInfo as aQ, useUnreadInboxNotificationsCount as aR, _useUser as aS, _useAiChat as aT, _useAiChats as aU, _useAiChatMessages as aV, useAiChatStatus as aW, _useUrlMetadata as aX, _useOtherSuspense as aY, _useOthersSuspense as aZ, useOthersConnectionIdsSuspense as a_, useLostConnectionListener as aa, useMarkThreadAsRead as ab, _useMutation as ac, _useMyPresence as ad, _useOthersListener as ae, useRedo as af, useRemoveReaction as ag, _useRoom as ah, useStatus as ai, _useStorageRoot as aj, useThreadSubscription as ak, useUndo as al, _useUpdateMyPresence as am, useUpdateRoomSubscriptionSettings as an, useHistoryVersionData as ao, _useOther as ap, _useOthers as aq, useOthersConnectionIds as ar, _useOthersMapped as as, _useSelf as at, _useStorage as au, _useThreads as av, _useFeeds as aw, _useFeedMessages as ax, useCreateFeed as ay, useDeleteFeed as az, useCreateRoomComment as b, _useSelfSuspense as b0, _useStorageSuspense as b1, _useThreadsSuspense as b2, useAttachmentUrlSuspense as b3, _useHistoryVersionsSuspense as b4, _useRoomSubscriptionSettingsSuspense as b5, _useFeedsSuspense as b6, _useFeedMessagesSuspense as b7, useInboxNotificationsSuspense as b8, useNotificationSettingsSuspense as b9, useRoomInfoSuspense as ba, useGroupInfoSuspense as bb, useUnreadInboxNotificationsCountSuspense as bc, _useUserSuspense as bd, _useUserThreadsSuspense_experimental as be, _useAiChatsSuspense as bf, _useAiChatMessagesSuspense as bg, _useAiChatSuspense as bh, _useUrlMetadataSuspense as bi, useCreateRoomThread as c, useCreateTextMention as d, useDeleteRoomComment as e, useDeleteRoomThread as f, getUmbrellaStoreForClient as g, useDeleteTextMention as h, useEditRoomComment as i, useEditRoomThreadMetadata as j, useMarkRoomThreadAsRead as k, useMarkRoomThreadAsResolved as l, useMarkRoomThreadAsUnresolved as m, useMentionSuggestionsCache as n, useRemoveRoomCommentReaction as o, useReportTextEditor as p, useResolveMentionSuggestions as q, useRoomAttachmentUrl as r, useRoomPermissions as s, useRoomThreadSubscription as t, useClientOrNull as u, useSuspendUntilPresenceReady as v, useSuspendUntilStorageReady as w, useYjsProvider as x, type RegisterAiToolProps as y, type UseThreadsOptions as z };
|
package/dist/suspense.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJPKIN43Hcjs = require('./chunk-JPKIN43H.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -77,12 +77,28 @@ var _chunkHULSMHSUcjs = require('./chunk-HULSMHSU.cjs');
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
var _chunkRQSGIWTNcjs = require('./chunk-RQSGIWTN.cjs');
|
|
81
89
|
|
|
82
90
|
// src/suspense.ts
|
|
83
91
|
var _core = require('@liveblocks/core');
|
|
84
92
|
var _client = require('@liveblocks/client');
|
|
85
|
-
_core.detectDupes.call(void 0,
|
|
93
|
+
_core.detectDupes.call(void 0, _chunkJPKIN43Hcjs.PKG_NAME, _chunkJPKIN43Hcjs.PKG_VERSION, _chunkJPKIN43Hcjs.PKG_FORMAT);
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
86
102
|
|
|
87
103
|
|
|
88
104
|
|
|
@@ -159,5 +175,5 @@ _core.detectDupes.call(void 0, _chunkHULSMHSUcjs.PKG_NAME, _chunkHULSMHSUcjs.PKG
|
|
|
159
175
|
|
|
160
176
|
|
|
161
177
|
|
|
162
|
-
exports.ClientContext =
|
|
178
|
+
exports.ClientContext = _chunkRQSGIWTNcjs.ClientContext; exports.ClientSideSuspense = _chunkJPKIN43Hcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkRQSGIWTNcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkRQSGIWTNcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkRQSGIWTNcjs.RegisterAiTool; exports.RoomContext = _chunkRQSGIWTNcjs.GlobalRoomContext; exports.RoomProvider = _chunkRQSGIWTNcjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkRQSGIWTNcjs._useAddReaction; exports.useAiChat = _chunkRQSGIWTNcjs._useAiChatSuspense; exports.useAiChatMessages = _chunkRQSGIWTNcjs._useAiChatMessagesSuspense; exports.useAiChatStatus = _chunkRQSGIWTNcjs.useAiChatStatus; exports.useAiChats = _chunkRQSGIWTNcjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunkRQSGIWTNcjs.useAttachmentUrlSuspense; exports.useBroadcastEvent = _chunkRQSGIWTNcjs._useBroadcastEvent; exports.useCanRedo = _chunkRQSGIWTNcjs.useCanRedo; exports.useCanUndo = _chunkRQSGIWTNcjs.useCanUndo; exports.useClient = _chunkRQSGIWTNcjs.useClient; exports.useCreateAiChat = _chunkRQSGIWTNcjs.useCreateAiChat; exports.useCreateComment = _chunkRQSGIWTNcjs._useCreateComment; exports.useCreateFeed = _chunkRQSGIWTNcjs.useCreateFeed; exports.useCreateFeedMessage = _chunkRQSGIWTNcjs.useCreateFeedMessage; exports.useCreateThread = _chunkRQSGIWTNcjs._useCreateThread; exports.useDeleteAiChat = _chunkRQSGIWTNcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkRQSGIWTNcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkRQSGIWTNcjs.useDeleteComment; exports.useDeleteFeed = _chunkRQSGIWTNcjs.useDeleteFeed; exports.useDeleteFeedMessage = _chunkRQSGIWTNcjs.useDeleteFeedMessage; exports.useDeleteInboxNotification = _chunkRQSGIWTNcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkRQSGIWTNcjs._useDeleteThread; exports.useEditComment = _chunkRQSGIWTNcjs._useEditComment; exports.useEditCommentMetadata = _chunkRQSGIWTNcjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunkRQSGIWTNcjs._useEditThreadMetadata; exports.useErrorListener = _chunkRQSGIWTNcjs.useErrorListener; exports.useEventListener = _chunkRQSGIWTNcjs._useEventListener; exports.useFeedMessages = _chunkRQSGIWTNcjs._useFeedMessagesSuspense; exports.useFeeds = _chunkRQSGIWTNcjs._useFeedsSuspense; exports.useGroupInfo = _chunkRQSGIWTNcjs.useGroupInfoSuspense; exports.useHistory = _chunkRQSGIWTNcjs.useHistory; exports.useHistoryVersions = _chunkRQSGIWTNcjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkRQSGIWTNcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkRQSGIWTNcjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkRQSGIWTNcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkRQSGIWTNcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkRQSGIWTNcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkRQSGIWTNcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkRQSGIWTNcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkRQSGIWTNcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkRQSGIWTNcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkRQSGIWTNcjs._useMutation; exports.useMyPresence = _chunkRQSGIWTNcjs._useMyPresence; exports.useNotificationSettings = _chunkRQSGIWTNcjs.useNotificationSettingsSuspense; exports.useOther = _chunkRQSGIWTNcjs._useOtherSuspense; exports.useOthers = _chunkRQSGIWTNcjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkRQSGIWTNcjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkRQSGIWTNcjs._useOthersListener; exports.useOthersMapped = _chunkRQSGIWTNcjs._useOthersMappedSuspense; exports.useRedo = _chunkRQSGIWTNcjs.useRedo; exports.useRemoveReaction = _chunkRQSGIWTNcjs.useRemoveReaction; exports.useRoom = _chunkRQSGIWTNcjs._useRoom; exports.useRoomInfo = _chunkRQSGIWTNcjs.useRoomInfoSuspense; exports.useRoomSubscriptionSettings = _chunkRQSGIWTNcjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunkRQSGIWTNcjs._useSelfSuspense; exports.useSendAiMessage = _chunkRQSGIWTNcjs.useSendAiMessage; exports.useStatus = _chunkRQSGIWTNcjs.useStatus; exports.useStorage = _chunkRQSGIWTNcjs._useStorageSuspense; exports.useStorageRoot = _chunkRQSGIWTNcjs._useStorageRoot; exports.useSubscribeToThread = _chunkRQSGIWTNcjs.useSubscribeToThread; exports.useSyncStatus = _chunkRQSGIWTNcjs.useSyncStatus; exports.useThreadSubscription = _chunkRQSGIWTNcjs.useThreadSubscription; exports.useThreads = _chunkRQSGIWTNcjs._useThreadsSuspense; exports.useUndo = _chunkRQSGIWTNcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkRQSGIWTNcjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunkRQSGIWTNcjs.useUnsubscribeFromThread; exports.useUpdateFeedMessage = _chunkRQSGIWTNcjs.useUpdateFeedMessage; exports.useUpdateFeedMetadata = _chunkRQSGIWTNcjs.useUpdateFeedMetadata; exports.useUpdateMyPresence = _chunkRQSGIWTNcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkRQSGIWTNcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkRQSGIWTNcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunkRQSGIWTNcjs._useUrlMetadataSuspense; exports.useUser = _chunkRQSGIWTNcjs._useUserSuspense; exports.useUserThreads_experimental = _chunkRQSGIWTNcjs._useUserThreadsSuspense_experimental;
|
|
163
179
|
//# sourceMappingURL=suspense.cjs.map
|
package/dist/suspense.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACxFA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADyF7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,s7KAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateFeed,\n useCreateFeedMessage,\n useCreateThread,\n useDeleteComment,\n useDeleteFeed,\n useDeleteFeedMessage,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useEditCommentMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateFeedMetadata,\n useUpdateFeedMessage,\n useUpdateMyPresence,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n useFeedsSuspense as useFeeds,\n useFeedMessagesSuspense as useFeedMessages,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useGroupInfoSuspense as useGroupInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n useAiChatSuspense as useAiChat,\n useAiChatStatus,\n useUrlMetadataSuspense as useUrlMetadata,\n} from \"./liveblocks\";\n"]}
|
package/dist/suspense.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.cjs';
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, y as RegisterAiToolProps, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, Q as useAddReaction,
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, y as RegisterAiToolProps, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, Q as useAddReaction, bh as useAiChat, bg as useAiChatMessages, aW as useAiChatStatus, bf as useAiChats, b3 as useAttachmentUrl, T as useBroadcastEvent, V as useCanRedo, W as useCanUndo, D as useClient, aL as useCreateAiChat, X as useCreateComment, ay as useCreateFeed, aB as useCreateFeedMessage, Y as useCreateThread, aM as useDeleteAiChat, F as useDeleteAllInboxNotifications, Z as useDeleteComment, az as useDeleteFeed, aC as useDeleteFeedMessage, H as useDeleteInboxNotification, $ as useDeleteThread, a0 as useEditComment, a2 as useEditCommentMetadata, a1 as useEditThreadMetadata, I as useErrorListener, a7 as useEventListener, b7 as useFeedMessages, b6 as useFeeds, bb as useGroupInfo, a8 as useHistory, b4 as useHistoryVersions, _ as useInboxNotificationThread, b8 as useInboxNotifications, a9 as useIsInsideRoom, aa as useLostConnectionListener, J as useMarkAllInboxNotificationsAsRead, K as useMarkInboxNotificationAsRead, ab as useMarkThreadAsRead, a3 as useMarkThreadAsResolved, a4 as useMarkThreadAsUnresolved, ac as useMutation, ad as useMyPresence, b9 as useNotificationSettings, aY as useOther, aZ as useOthers, a_ as useOthersConnectionIds, ae as useOthersListener, a$ as useOthersMapped, af as useRedo, ag as useRemoveReaction, ah as useRoom, ba as useRoomInfo, b5 as useRoomSubscriptionSettings, b0 as useSelf, aN as useSendAiMessage, ai as useStatus, b1 as useStorage, aj as useStorageRoot, a5 as useSubscribeToThread, N as useSyncStatus, ak as useThreadSubscription, b2 as useThreads, al as useUndo, bc as useUnreadInboxNotificationsCount, a6 as useUnsubscribeFromThread, aD as useUpdateFeedMessage, aA as useUpdateFeedMetadata, am as useUpdateMyPresence, aK as useUpdateNotificationSettings, an as useUpdateRoomSubscriptionSettings, bi as useUrlMetadata, bd as useUser, be as useUserThreads_experimental } from './room-C6NTdu0X.cjs';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.js';
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, y as RegisterAiToolProps, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, Q as useAddReaction,
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, y as RegisterAiToolProps, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, Q as useAddReaction, bh as useAiChat, bg as useAiChatMessages, aW as useAiChatStatus, bf as useAiChats, b3 as useAttachmentUrl, T as useBroadcastEvent, V as useCanRedo, W as useCanUndo, D as useClient, aL as useCreateAiChat, X as useCreateComment, ay as useCreateFeed, aB as useCreateFeedMessage, Y as useCreateThread, aM as useDeleteAiChat, F as useDeleteAllInboxNotifications, Z as useDeleteComment, az as useDeleteFeed, aC as useDeleteFeedMessage, H as useDeleteInboxNotification, $ as useDeleteThread, a0 as useEditComment, a2 as useEditCommentMetadata, a1 as useEditThreadMetadata, I as useErrorListener, a7 as useEventListener, b7 as useFeedMessages, b6 as useFeeds, bb as useGroupInfo, a8 as useHistory, b4 as useHistoryVersions, _ as useInboxNotificationThread, b8 as useInboxNotifications, a9 as useIsInsideRoom, aa as useLostConnectionListener, J as useMarkAllInboxNotificationsAsRead, K as useMarkInboxNotificationAsRead, ab as useMarkThreadAsRead, a3 as useMarkThreadAsResolved, a4 as useMarkThreadAsUnresolved, ac as useMutation, ad as useMyPresence, b9 as useNotificationSettings, aY as useOther, aZ as useOthers, a_ as useOthersConnectionIds, ae as useOthersListener, a$ as useOthersMapped, af as useRedo, ag as useRemoveReaction, ah as useRoom, ba as useRoomInfo, b5 as useRoomSubscriptionSettings, b0 as useSelf, aN as useSendAiMessage, ai as useStatus, b1 as useStorage, aj as useStorageRoot, a5 as useSubscribeToThread, N as useSyncStatus, ak as useThreadSubscription, b2 as useThreads, al as useUndo, bc as useUnreadInboxNotificationsCount, a6 as useUnsubscribeFromThread, aD as useUpdateFeedMessage, aA as useUpdateFeedMetadata, am as useUpdateMyPresence, aK as useUpdateNotificationSettings, an as useUpdateRoomSubscriptionSettings, bi as useUrlMetadata, bd as useUser, be as useUserThreads_experimental } from './room-C6NTdu0X.js';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PKG_FORMAT,
|
|
4
4
|
PKG_NAME,
|
|
5
5
|
PKG_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6QSCLLEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
GlobalRoomContext,
|
|
@@ -23,6 +23,8 @@ import {
|
|
|
23
23
|
_useEditCommentMetadata,
|
|
24
24
|
_useEditThreadMetadata,
|
|
25
25
|
_useEventListener,
|
|
26
|
+
_useFeedMessagesSuspense,
|
|
27
|
+
_useFeedsSuspense,
|
|
26
28
|
_useHistoryVersionsSuspense,
|
|
27
29
|
_useInboxNotificationThread,
|
|
28
30
|
_useIsInsideRoom,
|
|
@@ -48,9 +50,13 @@ import {
|
|
|
48
50
|
useCanUndo,
|
|
49
51
|
useClient,
|
|
50
52
|
useCreateAiChat,
|
|
53
|
+
useCreateFeed,
|
|
54
|
+
useCreateFeedMessage,
|
|
51
55
|
useDeleteAiChat,
|
|
52
56
|
useDeleteAllInboxNotifications,
|
|
53
57
|
useDeleteComment,
|
|
58
|
+
useDeleteFeed,
|
|
59
|
+
useDeleteFeedMessage,
|
|
54
60
|
useDeleteInboxNotification,
|
|
55
61
|
useErrorListener,
|
|
56
62
|
useGroupInfoSuspense,
|
|
@@ -75,9 +81,11 @@ import {
|
|
|
75
81
|
useUndo,
|
|
76
82
|
useUnreadInboxNotificationsCountSuspense,
|
|
77
83
|
useUnsubscribeFromThread,
|
|
84
|
+
useUpdateFeedMessage,
|
|
85
|
+
useUpdateFeedMetadata,
|
|
78
86
|
useUpdateNotificationSettings,
|
|
79
87
|
useUpdateRoomSubscriptionSettings
|
|
80
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-D3G7BVLV.js";
|
|
81
89
|
|
|
82
90
|
// src/suspense.ts
|
|
83
91
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -105,10 +113,14 @@ export {
|
|
|
105
113
|
useClient,
|
|
106
114
|
useCreateAiChat,
|
|
107
115
|
_useCreateComment as useCreateComment,
|
|
116
|
+
useCreateFeed,
|
|
117
|
+
useCreateFeedMessage,
|
|
108
118
|
_useCreateThread as useCreateThread,
|
|
109
119
|
useDeleteAiChat,
|
|
110
120
|
useDeleteAllInboxNotifications,
|
|
111
121
|
useDeleteComment,
|
|
122
|
+
useDeleteFeed,
|
|
123
|
+
useDeleteFeedMessage,
|
|
112
124
|
useDeleteInboxNotification,
|
|
113
125
|
_useDeleteThread as useDeleteThread,
|
|
114
126
|
_useEditComment as useEditComment,
|
|
@@ -116,6 +128,8 @@ export {
|
|
|
116
128
|
_useEditThreadMetadata as useEditThreadMetadata,
|
|
117
129
|
useErrorListener,
|
|
118
130
|
_useEventListener as useEventListener,
|
|
131
|
+
_useFeedMessagesSuspense as useFeedMessages,
|
|
132
|
+
_useFeedsSuspense as useFeeds,
|
|
119
133
|
useGroupInfoSuspense as useGroupInfo,
|
|
120
134
|
useHistory,
|
|
121
135
|
_useHistoryVersionsSuspense as useHistoryVersions,
|
|
@@ -153,6 +167,8 @@ export {
|
|
|
153
167
|
useUndo,
|
|
154
168
|
useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,
|
|
155
169
|
useUnsubscribeFromThread,
|
|
170
|
+
useUpdateFeedMessage,
|
|
171
|
+
useUpdateFeedMetadata,
|
|
156
172
|
_useUpdateMyPresence as useUpdateMyPresence,
|
|
157
173
|
useUpdateNotificationSettings,
|
|
158
174
|
useUpdateRoomSubscriptionSettings,
|
package/dist/suspense.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/suspense.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useEditCommentMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useGroupInfoSuspense as useGroupInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n useAiChatSuspense as useAiChat,\n useAiChatStatus,\n useUrlMetadataSuspense as useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/suspense.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateFeed,\n useCreateFeedMessage,\n useCreateThread,\n useDeleteComment,\n useDeleteFeed,\n useDeleteFeedMessage,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useEditCommentMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateFeedMetadata,\n useUpdateFeedMessage,\n useUpdateMyPresence,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n useFeedsSuspense as useFeeds,\n useFeedMessagesSuspense as useFeedMessages,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useGroupInfoSuspense as useGroupInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n useAiChatSuspense as useAiChat,\n useAiChatStatus,\n useUrlMetadataSuspense as useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0-rc1",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Liveblocks Inc.",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@liveblocks/client": "3.
|
|
67
|
-
"@liveblocks/core": "3.
|
|
66
|
+
"@liveblocks/client": "3.17.0-rc1",
|
|
67
|
+
"@liveblocks/core": "3.17.0-rc1"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@types/react": "*",
|