@liveblocks/react 3.13.0-metadata1 → 3.13.0-rc2
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-UTYX6TS4.cjs → chunk-26OA537P.cjs} +17 -171
- package/dist/chunk-26OA537P.cjs.map +1 -0
- package/dist/{chunk-43FP2UXY.cjs → chunk-WEWZ7TLA.cjs} +2 -2
- package/dist/chunk-WEWZ7TLA.cjs.map +1 -0
- package/dist/{chunk-5WSMZNJK.js → chunk-XU7FO2TU.js} +2 -2
- package/dist/{chunk-LGJ7R5KY.js → chunk-ZAB3RDMV.js} +18 -172
- package/dist/chunk-ZAB3RDMV.js.map +1 -0
- package/dist/index.cjs +4 -6
- 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 +6 -8
- package/dist/index.js.map +1 -1
- package/dist/{room-N2gjE_Co.d.cts → room-BadENFHi.d.cts} +113 -143
- package/dist/{room-N2gjE_Co.d.ts → room-BadENFHi.d.ts} +113 -143
- package/dist/suspense.cjs +4 -6
- 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 +6 -8
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-43FP2UXY.cjs.map +0 -1
- package/dist/chunk-LGJ7R5KY.js.map +0 -1
- package/dist/chunk-UTYX6TS4.cjs.map +0 -1
- /package/dist/{chunk-5WSMZNJK.js.map → chunk-XU7FO2TU.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWEWZ7TLAcjs = require('./chunk-WEWZ7TLA.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -80,14 +80,12 @@ var _chunk43FP2UXYcjs = require('./chunk-43FP2UXY.cjs');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
var _chunkUTYX6TS4cjs = require('./chunk-UTYX6TS4.cjs');
|
|
83
|
+
var _chunk26OA537Pcjs = require('./chunk-26OA537P.cjs');
|
|
85
84
|
|
|
86
85
|
// src/index.ts
|
|
87
86
|
var _core = require('@liveblocks/core');
|
|
88
87
|
var _client = require('@liveblocks/client');
|
|
89
|
-
_core.detectDupes.call(void 0,
|
|
90
|
-
|
|
88
|
+
_core.detectDupes.call(void 0, _chunkWEWZ7TLAcjs.PKG_NAME, _chunkWEWZ7TLAcjs.PKG_VERSION, _chunkWEWZ7TLAcjs.PKG_FORMAT);
|
|
91
89
|
|
|
92
90
|
|
|
93
91
|
|
|
@@ -167,5 +165,5 @@ _core.detectDupes.call(void 0, _chunk43FP2UXYcjs.PKG_NAME, _chunk43FP2UXYcjs.PKG
|
|
|
167
165
|
|
|
168
166
|
|
|
169
167
|
|
|
170
|
-
exports.ClientContext =
|
|
168
|
+
exports.ClientContext = _chunk26OA537Pcjs.ClientContext; exports.ClientSideSuspense = _chunkWEWZ7TLAcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk26OA537Pcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunk26OA537Pcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunk26OA537Pcjs.RegisterAiTool; exports.RoomContext = _chunk26OA537Pcjs.RoomContext; exports.RoomProvider = _chunk26OA537Pcjs._RoomProvider; exports.createLiveblocksContext = _chunk26OA537Pcjs.createLiveblocksContext; exports.createRoomContext = _chunk26OA537Pcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk26OA537Pcjs._useAddReaction; exports.useAiChat = _chunk26OA537Pcjs._useAiChat; exports.useAiChatMessages = _chunk26OA537Pcjs._useAiChatMessages; exports.useAiChatStatus = _chunk26OA537Pcjs.useAiChatStatus; exports.useAiChats = _chunk26OA537Pcjs._useAiChats; exports.useAttachmentUrl = _chunk26OA537Pcjs.useAttachmentUrl; exports.useBroadcastEvent = _chunk26OA537Pcjs._useBroadcastEvent; exports.useCanRedo = _chunk26OA537Pcjs.useCanRedo; exports.useCanUndo = _chunk26OA537Pcjs.useCanUndo; exports.useClient = _chunk26OA537Pcjs.useClient; exports.useCreateAiChat = _chunk26OA537Pcjs.useCreateAiChat; exports.useCreateComment = _chunk26OA537Pcjs.useCreateComment; exports.useCreateThread = _chunk26OA537Pcjs._useCreateThread; exports.useDeleteAiChat = _chunk26OA537Pcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunk26OA537Pcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk26OA537Pcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk26OA537Pcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk26OA537Pcjs._useDeleteThread; exports.useEditComment = _chunk26OA537Pcjs.useEditComment; exports.useEditThreadMetadata = _chunk26OA537Pcjs._useEditThreadMetadata; exports.useErrorListener = _chunk26OA537Pcjs.useErrorListener; exports.useEventListener = _chunk26OA537Pcjs._useEventListener; exports.useGroupInfo = _chunk26OA537Pcjs.useGroupInfo; exports.useHistory = _chunk26OA537Pcjs.useHistory; exports.useHistoryVersionData = _chunk26OA537Pcjs.useHistoryVersionData; exports.useHistoryVersions = _chunk26OA537Pcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk26OA537Pcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk26OA537Pcjs.useInboxNotifications; exports.useIsInsideRoom = _chunk26OA537Pcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk26OA537Pcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk26OA537Pcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk26OA537Pcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk26OA537Pcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk26OA537Pcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk26OA537Pcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk26OA537Pcjs._useMutation; exports.useMyPresence = _chunk26OA537Pcjs._useMyPresence; exports.useNotificationSettings = _chunk26OA537Pcjs.useNotificationSettings; exports.useOther = _chunk26OA537Pcjs._useOther; exports.useOthers = _chunk26OA537Pcjs._useOthers; exports.useOthersConnectionIds = _chunk26OA537Pcjs.useOthersConnectionIds; exports.useOthersListener = _chunk26OA537Pcjs._useOthersListener; exports.useOthersMapped = _chunk26OA537Pcjs._useOthersMapped; exports.useRedo = _chunk26OA537Pcjs.useRedo; exports.useRemoveReaction = _chunk26OA537Pcjs.useRemoveReaction; exports.useRoom = _chunk26OA537Pcjs._useRoom; exports.useRoomInfo = _chunk26OA537Pcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunk26OA537Pcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunk26OA537Pcjs._useSearchComments; exports.useSelf = _chunk26OA537Pcjs._useSelf; exports.useSendAiMessage = _chunk26OA537Pcjs.useSendAiMessage; exports.useStatus = _chunk26OA537Pcjs.useStatus; exports.useStorage = _chunk26OA537Pcjs._useStorage; exports.useStorageRoot = _chunk26OA537Pcjs._useStorageRoot; exports.useSubscribeToThread = _chunk26OA537Pcjs.useSubscribeToThread; exports.useSyncStatus = _chunk26OA537Pcjs.useSyncStatus; exports.useThreadSubscription = _chunk26OA537Pcjs.useThreadSubscription; exports.useThreads = _chunk26OA537Pcjs._useThreads; exports.useUndo = _chunk26OA537Pcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk26OA537Pcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunk26OA537Pcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk26OA537Pcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk26OA537Pcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk26OA537Pcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunk26OA537Pcjs._useUrlMetadata; exports.useUser = _chunk26OA537Pcjs._useUser; exports.useUserThreads_experimental = _chunk26OA537Pcjs._useUserThreads_experimental;
|
|
171
169
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.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;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.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;AACF,wDAA6B;AAC7B;AACA;ACnFA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADoF7C;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;AACF,q8JAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\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 useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction,
|
|
1
|
+
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-BadENFHi.cjs';
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aI as useAiChat, aK as useAiChatMessages, aL as useAiChatStatus, aJ as useAiChats, au as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aA as useCreateAiChat, V as useCreateComment, W as useCreateThread, aB as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, F as useErrorListener, a4 as useEventListener, aF as useGroupInfo, a5 as useHistory, al as useHistoryVersionData, av as useHistoryVersions, _ as useInboxNotificationThread, ax as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, ay as useNotificationSettings, am as useOther, an as useOthers, ao as useOthersConnectionIds, ab as useOthersListener, ap as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aE as useRoomInfo, aw as useRoomSubscriptionSettings, at as useSearchComments, aq as useSelf, aC as useSendAiMessage, af as useStatus, ar as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, as as useThreads, ai as useUndo, aG as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, aM as useUrlMetadata, aH as useUser, aD as useUserThreads_experimental } from './room-BadENFHi.cjs';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction,
|
|
1
|
+
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-BadENFHi.js';
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aI as useAiChat, aK as useAiChatMessages, aL as useAiChatStatus, aJ as useAiChats, au as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aA as useCreateAiChat, V as useCreateComment, W as useCreateThread, aB as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, F as useErrorListener, a4 as useEventListener, aF as useGroupInfo, a5 as useHistory, al as useHistoryVersionData, av as useHistoryVersions, _ as useInboxNotificationThread, ax as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, ay as useNotificationSettings, am as useOther, an as useOthers, ao as useOthersConnectionIds, ab as useOthersListener, ap as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aE as useRoomInfo, aw as useRoomSubscriptionSettings, at as useSearchComments, aq as useSelf, aC as useSendAiMessage, af as useStatus, ar as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, as as useThreads, ai as useUndo, aG as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, aM as useUrlMetadata, aH as useUser, aD as useUserThreads_experimental } from './room-BadENFHi.js';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
package/dist/index.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-XU7FO2TU.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -16,11 +16,8 @@ import {
|
|
|
16
16
|
_useAiChatMessages,
|
|
17
17
|
_useAiChats,
|
|
18
18
|
_useBroadcastEvent,
|
|
19
|
-
_useCreateComment,
|
|
20
19
|
_useCreateThread,
|
|
21
20
|
_useDeleteThread,
|
|
22
|
-
_useEditComment,
|
|
23
|
-
_useEditCommentMetadata,
|
|
24
21
|
_useEditThreadMetadata,
|
|
25
22
|
_useEventListener,
|
|
26
23
|
_useHistoryVersions,
|
|
@@ -51,10 +48,12 @@ import {
|
|
|
51
48
|
useCanUndo,
|
|
52
49
|
useClient,
|
|
53
50
|
useCreateAiChat,
|
|
51
|
+
useCreateComment,
|
|
54
52
|
useDeleteAiChat,
|
|
55
53
|
useDeleteAllInboxNotifications,
|
|
56
54
|
useDeleteComment,
|
|
57
55
|
useDeleteInboxNotification,
|
|
56
|
+
useEditComment,
|
|
58
57
|
useErrorListener,
|
|
59
58
|
useGroupInfo,
|
|
60
59
|
useHistory,
|
|
@@ -81,7 +80,7 @@ import {
|
|
|
81
80
|
useUnsubscribeFromThread,
|
|
82
81
|
useUpdateNotificationSettings,
|
|
83
82
|
useUpdateRoomSubscriptionSettings
|
|
84
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZAB3RDMV.js";
|
|
85
84
|
|
|
86
85
|
// src/index.ts
|
|
87
86
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -110,15 +109,14 @@ export {
|
|
|
110
109
|
useCanUndo,
|
|
111
110
|
useClient,
|
|
112
111
|
useCreateAiChat,
|
|
113
|
-
|
|
112
|
+
useCreateComment,
|
|
114
113
|
_useCreateThread as useCreateThread,
|
|
115
114
|
useDeleteAiChat,
|
|
116
115
|
useDeleteAllInboxNotifications,
|
|
117
116
|
useDeleteComment,
|
|
118
117
|
useDeleteInboxNotification,
|
|
119
118
|
_useDeleteThread as useDeleteThread,
|
|
120
|
-
|
|
121
|
-
_useEditCommentMetadata as useEditCommentMetadata,
|
|
119
|
+
useEditComment,
|
|
122
120
|
_useEditThreadMetadata as useEditThreadMetadata,
|
|
123
121
|
useErrorListener,
|
|
124
122
|
_useEventListener as useEventListener,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n
|
|
1
|
+
{"version":3,"sources":["../src/index.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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\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 useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
|