@liveblocks/react 3.13.0-ack1 → 3.13.0-metadata1
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-U3DNN4V2.cjs → chunk-43FP2UXY.cjs} +2 -2
- package/dist/chunk-43FP2UXY.cjs.map +1 -0
- package/dist/{chunk-ONFO7EAV.js → chunk-5WSMZNJK.js} +2 -2
- package/dist/{chunk-ZDBJCDFH.js → chunk-LGJ7R5KY.js} +171 -16
- package/dist/chunk-LGJ7R5KY.js.map +1 -0
- package/dist/{chunk-WH55MUS4.cjs → chunk-UTYX6TS4.cjs} +170 -15
- package/dist/chunk-UTYX6TS4.cjs.map +1 -0
- 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-Bff8edwh.d.cts → room-N2gjE_Co.d.cts} +143 -107
- package/dist/{room-Bff8edwh.d.ts → room-N2gjE_Co.d.ts} +143 -107
- 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-U3DNN4V2.cjs.map +0 -1
- package/dist/chunk-WH55MUS4.cjs.map +0 -1
- package/dist/chunk-ZDBJCDFH.js.map +0 -1
- /package/dist/{chunk-ONFO7EAV.js.map → chunk-5WSMZNJK.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk43FP2UXYcjs = require('./chunk-43FP2UXY.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -80,12 +80,14 @@ var _chunkU3DNN4V2cjs = require('./chunk-U3DNN4V2.cjs');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
var _chunkUTYX6TS4cjs = require('./chunk-UTYX6TS4.cjs');
|
|
84
85
|
|
|
85
86
|
// src/index.ts
|
|
86
87
|
var _core = require('@liveblocks/core');
|
|
87
88
|
var _client = require('@liveblocks/client');
|
|
88
|
-
_core.detectDupes.call(void 0,
|
|
89
|
+
_core.detectDupes.call(void 0, _chunk43FP2UXYcjs.PKG_NAME, _chunk43FP2UXYcjs.PKG_VERSION, _chunk43FP2UXYcjs.PKG_FORMAT);
|
|
90
|
+
|
|
89
91
|
|
|
90
92
|
|
|
91
93
|
|
|
@@ -165,5 +167,5 @@ _core.detectDupes.call(void 0, _chunkU3DNN4V2cjs.PKG_NAME, _chunkU3DNN4V2cjs.PKG
|
|
|
165
167
|
|
|
166
168
|
|
|
167
169
|
|
|
168
|
-
exports.ClientContext =
|
|
170
|
+
exports.ClientContext = _chunkUTYX6TS4cjs.ClientContext; exports.ClientSideSuspense = _chunk43FP2UXYcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkUTYX6TS4cjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkUTYX6TS4cjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkUTYX6TS4cjs.RegisterAiTool; exports.RoomContext = _chunkUTYX6TS4cjs.RoomContext; exports.RoomProvider = _chunkUTYX6TS4cjs._RoomProvider; exports.createLiveblocksContext = _chunkUTYX6TS4cjs.createLiveblocksContext; exports.createRoomContext = _chunkUTYX6TS4cjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkUTYX6TS4cjs._useAddReaction; exports.useAiChat = _chunkUTYX6TS4cjs._useAiChat; exports.useAiChatMessages = _chunkUTYX6TS4cjs._useAiChatMessages; exports.useAiChatStatus = _chunkUTYX6TS4cjs.useAiChatStatus; exports.useAiChats = _chunkUTYX6TS4cjs._useAiChats; exports.useAttachmentUrl = _chunkUTYX6TS4cjs.useAttachmentUrl; exports.useBroadcastEvent = _chunkUTYX6TS4cjs._useBroadcastEvent; exports.useCanRedo = _chunkUTYX6TS4cjs.useCanRedo; exports.useCanUndo = _chunkUTYX6TS4cjs.useCanUndo; exports.useClient = _chunkUTYX6TS4cjs.useClient; exports.useCreateAiChat = _chunkUTYX6TS4cjs.useCreateAiChat; exports.useCreateComment = _chunkUTYX6TS4cjs._useCreateComment; exports.useCreateThread = _chunkUTYX6TS4cjs._useCreateThread; exports.useDeleteAiChat = _chunkUTYX6TS4cjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkUTYX6TS4cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkUTYX6TS4cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkUTYX6TS4cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkUTYX6TS4cjs._useDeleteThread; exports.useEditComment = _chunkUTYX6TS4cjs._useEditComment; exports.useEditCommentMetadata = _chunkUTYX6TS4cjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunkUTYX6TS4cjs._useEditThreadMetadata; exports.useErrorListener = _chunkUTYX6TS4cjs.useErrorListener; exports.useEventListener = _chunkUTYX6TS4cjs._useEventListener; exports.useGroupInfo = _chunkUTYX6TS4cjs.useGroupInfo; exports.useHistory = _chunkUTYX6TS4cjs.useHistory; exports.useHistoryVersionData = _chunkUTYX6TS4cjs.useHistoryVersionData; exports.useHistoryVersions = _chunkUTYX6TS4cjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkUTYX6TS4cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkUTYX6TS4cjs.useInboxNotifications; exports.useIsInsideRoom = _chunkUTYX6TS4cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkUTYX6TS4cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkUTYX6TS4cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkUTYX6TS4cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkUTYX6TS4cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkUTYX6TS4cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkUTYX6TS4cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkUTYX6TS4cjs._useMutation; exports.useMyPresence = _chunkUTYX6TS4cjs._useMyPresence; exports.useNotificationSettings = _chunkUTYX6TS4cjs.useNotificationSettings; exports.useOther = _chunkUTYX6TS4cjs._useOther; exports.useOthers = _chunkUTYX6TS4cjs._useOthers; exports.useOthersConnectionIds = _chunkUTYX6TS4cjs.useOthersConnectionIds; exports.useOthersListener = _chunkUTYX6TS4cjs._useOthersListener; exports.useOthersMapped = _chunkUTYX6TS4cjs._useOthersMapped; exports.useRedo = _chunkUTYX6TS4cjs.useRedo; exports.useRemoveReaction = _chunkUTYX6TS4cjs.useRemoveReaction; exports.useRoom = _chunkUTYX6TS4cjs._useRoom; exports.useRoomInfo = _chunkUTYX6TS4cjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunkUTYX6TS4cjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunkUTYX6TS4cjs._useSearchComments; exports.useSelf = _chunkUTYX6TS4cjs._useSelf; exports.useSendAiMessage = _chunkUTYX6TS4cjs.useSendAiMessage; exports.useStatus = _chunkUTYX6TS4cjs.useStatus; exports.useStorage = _chunkUTYX6TS4cjs._useStorage; exports.useStorageRoot = _chunkUTYX6TS4cjs._useStorageRoot; exports.useSubscribeToThread = _chunkUTYX6TS4cjs.useSubscribeToThread; exports.useSyncStatus = _chunkUTYX6TS4cjs.useSyncStatus; exports.useThreadSubscription = _chunkUTYX6TS4cjs.useThreadSubscription; exports.useThreads = _chunkUTYX6TS4cjs._useThreads; exports.useUndo = _chunkUTYX6TS4cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkUTYX6TS4cjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkUTYX6TS4cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkUTYX6TS4cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkUTYX6TS4cjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkUTYX6TS4cjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunkUTYX6TS4cjs._useUrlMetadata; exports.useUser = _chunkUTYX6TS4cjs._useUser; exports.useUserThreads_experimental = _chunkUTYX6TS4cjs._useUserThreads_experimental;
|
|
169
171
|
//# 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;AACF,wDAA6B;AAC7B;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;AACA;AACF,wDAA6B;AAC7B;AACA;ACpFA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADqF7C;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;AACF,mhKAAC","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 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 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-N2gjE_Co.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, aJ as useAiChat, aL as useAiChatMessages, aM as useAiChatStatus, aK as useAiChats, av as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aB as useCreateAiChat, V as useCreateComment, W as useCreateThread, aC as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, aG as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aw as useHistoryVersions, _ as useInboxNotificationThread, ay as useInboxNotifications, a7 as useIsInsideRoom, a8 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a9 as useMarkThreadAsRead, a1 as useMarkThreadAsResolved, a2 as useMarkThreadAsUnresolved, aa as useMutation, ab as useMyPresence, az as useNotificationSettings, an as useOther, ao as useOthers, ap as useOthersConnectionIds, ac as useOthersListener, aq as useOthersMapped, ad as useRedo, ae as useRemoveReaction, af as useRoom, aF as useRoomInfo, ax as useRoomSubscriptionSettings, au as useSearchComments, ar as useSelf, aD as useSendAiMessage, ag as useStatus, as as useStorage, ah as useStorageRoot, a3 as useSubscribeToThread, J as useSyncStatus, ai as useThreadSubscription, at as useThreads, aj as useUndo, aH as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, ak as useUpdateMyPresence, aA as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aN as useUrlMetadata, aI as useUser, aE as useUserThreads_experimental } from './room-N2gjE_Co.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-N2gjE_Co.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, aJ as useAiChat, aL as useAiChatMessages, aM as useAiChatStatus, aK as useAiChats, av as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aB as useCreateAiChat, V as useCreateComment, W as useCreateThread, aC as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, aG as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aw as useHistoryVersions, _ as useInboxNotificationThread, ay as useInboxNotifications, a7 as useIsInsideRoom, a8 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a9 as useMarkThreadAsRead, a1 as useMarkThreadAsResolved, a2 as useMarkThreadAsUnresolved, aa as useMutation, ab as useMyPresence, az as useNotificationSettings, an as useOther, ao as useOthers, ap as useOthersConnectionIds, ac as useOthersListener, aq as useOthersMapped, ad as useRedo, ae as useRemoveReaction, af as useRoom, aF as useRoomInfo, ax as useRoomSubscriptionSettings, au as useSearchComments, ar as useSelf, aD as useSendAiMessage, ag as useStatus, as as useStorage, ah as useStorageRoot, a3 as useSubscribeToThread, J as useSyncStatus, ai as useThreadSubscription, at as useThreads, aj as useUndo, aH as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, ak as useUpdateMyPresence, aA as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aN as useUrlMetadata, aI as useUser, aE as useUserThreads_experimental } from './room-N2gjE_Co.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-5WSMZNJK.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -16,8 +16,11 @@ import {
|
|
|
16
16
|
_useAiChatMessages,
|
|
17
17
|
_useAiChats,
|
|
18
18
|
_useBroadcastEvent,
|
|
19
|
+
_useCreateComment,
|
|
19
20
|
_useCreateThread,
|
|
20
21
|
_useDeleteThread,
|
|
22
|
+
_useEditComment,
|
|
23
|
+
_useEditCommentMetadata,
|
|
21
24
|
_useEditThreadMetadata,
|
|
22
25
|
_useEventListener,
|
|
23
26
|
_useHistoryVersions,
|
|
@@ -48,12 +51,10 @@ import {
|
|
|
48
51
|
useCanUndo,
|
|
49
52
|
useClient,
|
|
50
53
|
useCreateAiChat,
|
|
51
|
-
useCreateComment,
|
|
52
54
|
useDeleteAiChat,
|
|
53
55
|
useDeleteAllInboxNotifications,
|
|
54
56
|
useDeleteComment,
|
|
55
57
|
useDeleteInboxNotification,
|
|
56
|
-
useEditComment,
|
|
57
58
|
useErrorListener,
|
|
58
59
|
useGroupInfo,
|
|
59
60
|
useHistory,
|
|
@@ -80,7 +81,7 @@ import {
|
|
|
80
81
|
useUnsubscribeFromThread,
|
|
81
82
|
useUpdateNotificationSettings,
|
|
82
83
|
useUpdateRoomSubscriptionSettings
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-LGJ7R5KY.js";
|
|
84
85
|
|
|
85
86
|
// src/index.ts
|
|
86
87
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -109,14 +110,15 @@ export {
|
|
|
109
110
|
useCanUndo,
|
|
110
111
|
useClient,
|
|
111
112
|
useCreateAiChat,
|
|
112
|
-
useCreateComment,
|
|
113
|
+
_useCreateComment as useCreateComment,
|
|
113
114
|
_useCreateThread as useCreateThread,
|
|
114
115
|
useDeleteAiChat,
|
|
115
116
|
useDeleteAllInboxNotifications,
|
|
116
117
|
useDeleteComment,
|
|
117
118
|
useDeleteInboxNotification,
|
|
118
119
|
_useDeleteThread as useDeleteThread,
|
|
119
|
-
useEditComment,
|
|
120
|
+
_useEditComment as useEditComment,
|
|
121
|
+
_useEditCommentMetadata as useEditCommentMetadata,
|
|
120
122
|
_useEditThreadMetadata as useEditThreadMetadata,
|
|
121
123
|
useErrorListener,
|
|
122
124
|
_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 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":"
|
|
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 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 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":[]}
|