@liveblocks/react 3.15.5 → 3.16.0-feeds2
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-7TVEKSIE.js → chunk-2HO3EZRC.js} +441 -9
- package/dist/chunk-2HO3EZRC.js.map +1 -0
- package/dist/{chunk-L3D3UECF.cjs → chunk-6VGVFTSY.cjs} +481 -49
- package/dist/chunk-6VGVFTSY.cjs.map +1 -0
- package/dist/{chunk-FCWM54OJ.js → chunk-RNSGRLHN.js} +2 -2
- package/dist/{chunk-PBL42WRI.cjs → chunk-XWQC4Y2C.cjs} +2 -2
- package/dist/{chunk-PBL42WRI.cjs.map → chunk-XWQC4Y2C.cjs.map} +1 -1
- 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-MsYY4ALB.d.cts → room-C2TwdMi3.d.cts} +195 -11
- package/dist/{room-MsYY4ALB.d.ts → room-C2TwdMi3.d.ts} +195 -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-7TVEKSIE.js.map +0 -1
- package/dist/chunk-L3D3UECF.cjs.map +0 -1
- /package/dist/{chunk-FCWM54OJ.js.map → chunk-RNSGRLHN.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "3.
|
|
3
|
+
var PKG_VERSION = "3.16.0-feeds2";
|
|
4
4
|
var PKG_FORMAT = "esm";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
PKG_FORMAT,
|
|
21
21
|
ClientSideSuspense
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-RNSGRLHN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "3.
|
|
3
|
+
var PKG_VERSION = "3.16.0-feeds2";
|
|
4
4
|
var PKG_FORMAT = "cjs";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -20,4 +20,4 @@ function ClientSideSuspense(props) {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense;
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-XWQC4Y2C.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-XWQC4Y2C.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,eAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-XWQC4Y2C.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXWQC4Y2Ccjs = require('./chunk-XWQC4Y2C.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -81,12 +81,28 @@ var _chunkPBL42WRIcjs = require('./chunk-PBL42WRI.cjs');
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
var _chunk6VGVFTSYcjs = require('./chunk-6VGVFTSY.cjs');
|
|
85
93
|
|
|
86
94
|
// src/index.ts
|
|
87
95
|
var _core = require('@liveblocks/core');
|
|
88
96
|
var _client = require('@liveblocks/client');
|
|
89
|
-
_core.detectDupes.call(void 0,
|
|
97
|
+
_core.detectDupes.call(void 0, _chunkXWQC4Y2Ccjs.PKG_NAME, _chunkXWQC4Y2Ccjs.PKG_VERSION, _chunkXWQC4Y2Ccjs.PKG_FORMAT);
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
90
106
|
|
|
91
107
|
|
|
92
108
|
|
|
@@ -167,5 +183,5 @@ _core.detectDupes.call(void 0, _chunkPBL42WRIcjs.PKG_NAME, _chunkPBL42WRIcjs.PKG
|
|
|
167
183
|
|
|
168
184
|
|
|
169
185
|
|
|
170
|
-
exports.ClientContext =
|
|
186
|
+
exports.ClientContext = _chunk6VGVFTSYcjs.ClientContext; exports.ClientSideSuspense = _chunkXWQC4Y2Ccjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk6VGVFTSYcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunk6VGVFTSYcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunk6VGVFTSYcjs.RegisterAiTool; exports.RoomContext = _chunk6VGVFTSYcjs.GlobalRoomContext; exports.RoomProvider = _chunk6VGVFTSYcjs._RoomProvider; exports.createLiveblocksContext = _chunk6VGVFTSYcjs.createLiveblocksContext; exports.createRoomContext = _chunk6VGVFTSYcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk6VGVFTSYcjs._useAddReaction; exports.useAiChat = _chunk6VGVFTSYcjs._useAiChat; exports.useAiChatMessages = _chunk6VGVFTSYcjs._useAiChatMessages; exports.useAiChatStatus = _chunk6VGVFTSYcjs.useAiChatStatus; exports.useAiChats = _chunk6VGVFTSYcjs._useAiChats; exports.useAttachmentUrl = _chunk6VGVFTSYcjs.useAttachmentUrl; exports.useBroadcastEvent = _chunk6VGVFTSYcjs._useBroadcastEvent; exports.useCanRedo = _chunk6VGVFTSYcjs.useCanRedo; exports.useCanUndo = _chunk6VGVFTSYcjs.useCanUndo; exports.useClient = _chunk6VGVFTSYcjs.useClient; exports.useCreateAiChat = _chunk6VGVFTSYcjs.useCreateAiChat; exports.useCreateComment = _chunk6VGVFTSYcjs._useCreateComment; exports.useCreateFeed = _chunk6VGVFTSYcjs.useCreateFeed; exports.useCreateFeedMessage = _chunk6VGVFTSYcjs.useCreateFeedMessage; exports.useCreateThread = _chunk6VGVFTSYcjs._useCreateThread; exports.useDeleteAiChat = _chunk6VGVFTSYcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunk6VGVFTSYcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk6VGVFTSYcjs.useDeleteComment; exports.useDeleteFeed = _chunk6VGVFTSYcjs.useDeleteFeed; exports.useDeleteFeedMessage = _chunk6VGVFTSYcjs.useDeleteFeedMessage; exports.useDeleteInboxNotification = _chunk6VGVFTSYcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk6VGVFTSYcjs._useDeleteThread; exports.useEditComment = _chunk6VGVFTSYcjs._useEditComment; exports.useEditCommentMetadata = _chunk6VGVFTSYcjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunk6VGVFTSYcjs._useEditThreadMetadata; exports.useErrorListener = _chunk6VGVFTSYcjs.useErrorListener; exports.useEventListener = _chunk6VGVFTSYcjs._useEventListener; exports.useFeedMessages = _chunk6VGVFTSYcjs._useFeedMessages; exports.useFeeds = _chunk6VGVFTSYcjs._useFeeds; exports.useGroupInfo = _chunk6VGVFTSYcjs.useGroupInfo; exports.useHistory = _chunk6VGVFTSYcjs.useHistory; exports.useHistoryVersionData = _chunk6VGVFTSYcjs.useHistoryVersionData; exports.useHistoryVersions = _chunk6VGVFTSYcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk6VGVFTSYcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk6VGVFTSYcjs.useInboxNotifications; exports.useIsInsideRoom = _chunk6VGVFTSYcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk6VGVFTSYcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk6VGVFTSYcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk6VGVFTSYcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk6VGVFTSYcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk6VGVFTSYcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk6VGVFTSYcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk6VGVFTSYcjs._useMutation; exports.useMyPresence = _chunk6VGVFTSYcjs._useMyPresence; exports.useNotificationSettings = _chunk6VGVFTSYcjs.useNotificationSettings; exports.useOther = _chunk6VGVFTSYcjs._useOther; exports.useOthers = _chunk6VGVFTSYcjs._useOthers; exports.useOthersConnectionIds = _chunk6VGVFTSYcjs.useOthersConnectionIds; exports.useOthersListener = _chunk6VGVFTSYcjs._useOthersListener; exports.useOthersMapped = _chunk6VGVFTSYcjs._useOthersMapped; exports.useRedo = _chunk6VGVFTSYcjs.useRedo; exports.useRemoveReaction = _chunk6VGVFTSYcjs.useRemoveReaction; exports.useRoom = _chunk6VGVFTSYcjs._useRoom; exports.useRoomInfo = _chunk6VGVFTSYcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunk6VGVFTSYcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunk6VGVFTSYcjs._useSearchComments; exports.useSelf = _chunk6VGVFTSYcjs._useSelf; exports.useSendAiMessage = _chunk6VGVFTSYcjs.useSendAiMessage; exports.useStatus = _chunk6VGVFTSYcjs.useStatus; exports.useStorage = _chunk6VGVFTSYcjs._useStorage; exports.useStorageRoot = _chunk6VGVFTSYcjs._useStorageRoot; exports.useSubscribeToThread = _chunk6VGVFTSYcjs.useSubscribeToThread; exports.useSyncStatus = _chunk6VGVFTSYcjs.useSyncStatus; exports.useThreadSubscription = _chunk6VGVFTSYcjs.useThreadSubscription; exports.useThreads = _chunk6VGVFTSYcjs._useThreads; exports.useUndo = _chunk6VGVFTSYcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk6VGVFTSYcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunk6VGVFTSYcjs.useUnsubscribeFromThread; exports.useUpdateFeedMessage = _chunk6VGVFTSYcjs.useUpdateFeedMessage; exports.useUpdateFeedMetadata = _chunk6VGVFTSYcjs.useUpdateFeedMetadata; exports.useUpdateMyPresence = _chunk6VGVFTSYcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk6VGVFTSYcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk6VGVFTSYcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunk6VGVFTSYcjs._useUrlMetadata; exports.useUser = _chunk6VGVFTSYcjs._useUser; exports.useUserThreads_experimental = _chunk6VGVFTSYcjs._useUserThreads_experimental;
|
|
171
187
|
//# 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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC5FA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD6F7C;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;AACA;AACA;AACA;AACA;AACF,uhLAAC","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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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 useFeeds,\n useFeedMessages,\n useCreateFeed,\n useDeleteFeed,\n useUpdateFeedMetadata,\n useCreateFeedMessage,\n useDeleteFeedMessage,\n useUpdateFeedMessage,\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-C2TwdMi3.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, aR as useAiChat, aT as useAiChatMessages, aU as useAiChatStatus, aS as useAiChats, aD as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aJ as useCreateAiChat, V as useCreateComment, aw as useCreateFeed, az as useCreateFeedMessage, W as useCreateThread, aK as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, ax as useDeleteFeed, aA as useDeleteFeedMessage, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, av as useFeedMessages, au as useFeeds, aO as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aE as useHistoryVersions, _ as useInboxNotificationThread, aG 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, aH 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, aN as useRoomInfo, aF as useRoomSubscriptionSettings, aC as useSearchComments, ar as useSelf, aL 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, aP as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, aB as useUpdateFeedMessage, ay as useUpdateFeedMetadata, ak as useUpdateMyPresence, aI as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aV as useUrlMetadata, aQ as useUser, aM as useUserThreads_experimental } from './room-C2TwdMi3.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-C2TwdMi3.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, aR as useAiChat, aT as useAiChatMessages, aU as useAiChatStatus, aS as useAiChats, aD as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aJ as useCreateAiChat, V as useCreateComment, aw as useCreateFeed, az as useCreateFeedMessage, W as useCreateThread, aK as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, ax as useDeleteFeed, aA as useDeleteFeedMessage, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, av as useFeedMessages, au as useFeeds, aO as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aE as useHistoryVersions, _ as useInboxNotificationThread, aG 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, aH 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, aN as useRoomInfo, aF as useRoomSubscriptionSettings, aC as useSearchComments, ar as useSelf, aL 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, aP as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, aB as useUpdateFeedMessage, ay as useUpdateFeedMetadata, ak as useUpdateMyPresence, aI as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aV as useUrlMetadata, aQ as useUser, aM as useUserThreads_experimental } from './room-C2TwdMi3.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-RNSGRLHN.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
|
+
_useFeedMessages,
|
|
27
|
+
_useFeeds,
|
|
26
28
|
_useHistoryVersions,
|
|
27
29
|
_useInboxNotificationThread,
|
|
28
30
|
_useIsInsideRoom,
|
|
@@ -51,9 +53,13 @@ import {
|
|
|
51
53
|
useCanUndo,
|
|
52
54
|
useClient,
|
|
53
55
|
useCreateAiChat,
|
|
56
|
+
useCreateFeed,
|
|
57
|
+
useCreateFeedMessage,
|
|
54
58
|
useDeleteAiChat,
|
|
55
59
|
useDeleteAllInboxNotifications,
|
|
56
60
|
useDeleteComment,
|
|
61
|
+
useDeleteFeed,
|
|
62
|
+
useDeleteFeedMessage,
|
|
57
63
|
useDeleteInboxNotification,
|
|
58
64
|
useErrorListener,
|
|
59
65
|
useGroupInfo,
|
|
@@ -79,9 +85,11 @@ import {
|
|
|
79
85
|
useUndo,
|
|
80
86
|
useUnreadInboxNotificationsCount,
|
|
81
87
|
useUnsubscribeFromThread,
|
|
88
|
+
useUpdateFeedMessage,
|
|
89
|
+
useUpdateFeedMetadata,
|
|
82
90
|
useUpdateNotificationSettings,
|
|
83
91
|
useUpdateRoomSubscriptionSettings
|
|
84
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-2HO3EZRC.js";
|
|
85
93
|
|
|
86
94
|
// src/index.ts
|
|
87
95
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -111,10 +119,14 @@ export {
|
|
|
111
119
|
useClient,
|
|
112
120
|
useCreateAiChat,
|
|
113
121
|
_useCreateComment as useCreateComment,
|
|
122
|
+
useCreateFeed,
|
|
123
|
+
useCreateFeedMessage,
|
|
114
124
|
_useCreateThread as useCreateThread,
|
|
115
125
|
useDeleteAiChat,
|
|
116
126
|
useDeleteAllInboxNotifications,
|
|
117
127
|
useDeleteComment,
|
|
128
|
+
useDeleteFeed,
|
|
129
|
+
useDeleteFeedMessage,
|
|
118
130
|
useDeleteInboxNotification,
|
|
119
131
|
_useDeleteThread as useDeleteThread,
|
|
120
132
|
_useEditComment as useEditComment,
|
|
@@ -122,6 +134,8 @@ export {
|
|
|
122
134
|
_useEditThreadMetadata as useEditThreadMetadata,
|
|
123
135
|
useErrorListener,
|
|
124
136
|
_useEventListener as useEventListener,
|
|
137
|
+
_useFeedMessages as useFeedMessages,
|
|
138
|
+
_useFeeds as useFeeds,
|
|
125
139
|
useGroupInfo,
|
|
126
140
|
useHistory,
|
|
127
141
|
useHistoryVersionData,
|
|
@@ -161,6 +175,8 @@ export {
|
|
|
161
175
|
useUndo,
|
|
162
176
|
useUnreadInboxNotificationsCount,
|
|
163
177
|
useUnsubscribeFromThread,
|
|
178
|
+
useUpdateFeedMessage,
|
|
179
|
+
useUpdateFeedMetadata,
|
|
164
180
|
_useUpdateMyPresence as useUpdateMyPresence,
|
|
165
181
|
useUpdateNotificationSettings,
|
|
166
182
|
useUpdateRoomSubscriptionSettings,
|
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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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":"
|
|
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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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 useFeeds,\n useFeedMessages,\n useCreateFeed,\n useDeleteFeed,\n useUpdateFeedMetadata,\n useCreateFeedMessage,\n useDeleteFeedMessage,\n useUpdateFeedMessage,\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":[]}
|
|
@@ -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,20 @@ declare function useCanRedo(): boolean;
|
|
|
2319
2473
|
* // [2, 4, 7]
|
|
2320
2474
|
*/
|
|
2321
2475
|
declare function useOthersConnectionIds(): readonly number[];
|
|
2476
|
+
declare function useCreateFeed(): (feedId: string, options?: {
|
|
2477
|
+
metadata?: FeedCreateMetadata$1;
|
|
2478
|
+
createdAt?: number;
|
|
2479
|
+
}) => Promise<void>;
|
|
2480
|
+
declare function useDeleteFeed(): (feedId: string) => Promise<void>;
|
|
2481
|
+
declare function useUpdateFeedMetadata(): (feedId: string, metadata: FeedUpdateMetadata$1) => Promise<void>;
|
|
2482
|
+
declare function useCreateFeedMessage(): (feedId: string, data: JsonObject, options?: {
|
|
2483
|
+
id?: string;
|
|
2484
|
+
createdAt?: number;
|
|
2485
|
+
}) => Promise<void>;
|
|
2486
|
+
declare function useDeleteFeedMessage(): (feedId: string, messageId: string) => Promise<void>;
|
|
2487
|
+
declare function useUpdateFeedMessage(): (feedId: string, messageId: string, data: JsonObject, options?: {
|
|
2488
|
+
updatedAt?: number;
|
|
2489
|
+
}) => Promise<void>;
|
|
2322
2490
|
/**
|
|
2323
2491
|
* @private
|
|
2324
2492
|
*/
|
|
@@ -2488,8 +2656,8 @@ declare function useRoomPermissions(roomId: string): Set<_liveblocks_core.Permis
|
|
|
2488
2656
|
* that any RoomProvider created in this way does not need to be nested in
|
|
2489
2657
|
* LiveblocksProvider, as it already has access to the client.
|
|
2490
2658
|
*/
|
|
2491
|
-
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>;
|
|
2492
|
-
type TypedBundle = RoomContextBundle<DP, DS, DU, DE, DTM, DCM>;
|
|
2659
|
+
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>;
|
|
2660
|
+
type TypedBundle = RoomContextBundle<DP, DS, DU, DE, DTM, DCM, DFM, DFMD>;
|
|
2493
2661
|
/**
|
|
2494
2662
|
* Makes a Room available in the component hierarchy below.
|
|
2495
2663
|
* Joins the room when the component is mounted, and automatically leaves
|
|
@@ -2720,6 +2888,22 @@ declare const _useOthersMappedSuspense: TypedBundle["suspense"]["useOthersMapped
|
|
|
2720
2888
|
* const { threads, error, isLoading } = useThreads();
|
|
2721
2889
|
*/
|
|
2722
2890
|
declare const _useThreads: TypedBundle["useThreads"];
|
|
2891
|
+
/**
|
|
2892
|
+
* Returns feeds for the current room.
|
|
2893
|
+
*
|
|
2894
|
+
* @example
|
|
2895
|
+
* const { feeds, error, isLoading } = useFeeds();
|
|
2896
|
+
*/
|
|
2897
|
+
declare const _useFeeds: TypedBundle["useFeeds"];
|
|
2898
|
+
/**
|
|
2899
|
+
* Returns messages for a specific feed in the current room.
|
|
2900
|
+
*
|
|
2901
|
+
* @example
|
|
2902
|
+
* const { messages, error, isLoading } = useFeedMessages("feed-id");
|
|
2903
|
+
*/
|
|
2904
|
+
declare const _useFeedMessages: TypedBundle["useFeedMessages"];
|
|
2905
|
+
declare const _useFeedsSuspense: TypedBundle["suspense"]["useFeeds"];
|
|
2906
|
+
declare const _useFeedMessagesSuspense: TypedBundle["suspense"]["useFeedMessages"];
|
|
2723
2907
|
/**
|
|
2724
2908
|
* 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.
|
|
2725
2909
|
*
|
|
@@ -2991,4 +3175,4 @@ declare const _useStorageRoot: TypedBundle["useStorageRoot"];
|
|
|
2991
3175
|
*/
|
|
2992
3176
|
declare const _useUpdateMyPresence: TypedBundle["useUpdateMyPresence"];
|
|
2993
3177
|
|
|
2994
|
-
export { _useEditThreadMetadata as $, type AiChatStatus as A, createLiveblocksContext as B, ClientContext as C, useDeleteAllInboxNotifications as D, useDeleteInboxNotification as E, useErrorListener as F, type GroupAsyncResult as G, useMarkAllInboxNotificationsAsRead as H, useMarkInboxNotificationAsRead as I, useSyncStatus as J, createRoomContext as K, LiveblocksProvider as L, type MutationContext as M, _RoomProvider as N, _useAddReaction as O, _useBroadcastEvent as P, useCanRedo as Q, type RegisterAiKnowledgeProps as R, type SendAiMessageOptions as S, useCanUndo as T, type UseSendAiMessageOptions as U, _useCreateComment as V, _useCreateThread as W, useDeleteComment as X, _useDeleteThread as Y, _useEditComment as Z, _useInboxNotificationThread as _, useAddRoomCommentReaction as a,
|
|
3178
|
+
export { _useEditThreadMetadata as $, type AiChatStatus as A, createLiveblocksContext as B, ClientContext as C, useDeleteAllInboxNotifications as D, useDeleteInboxNotification as E, useErrorListener as F, type GroupAsyncResult as G, useMarkAllInboxNotificationsAsRead as H, useMarkInboxNotificationAsRead as I, useSyncStatus as J, createRoomContext as K, LiveblocksProvider as L, type MutationContext as M, _RoomProvider as N, _useAddReaction as O, _useBroadcastEvent as P, useCanRedo as Q, type RegisterAiKnowledgeProps as R, type SendAiMessageOptions as S, useCanUndo as T, type UseSendAiMessageOptions as U, _useCreateComment as V, _useCreateThread as W, useDeleteComment as X, _useDeleteThread as Y, _useEditComment as Z, _useInboxNotificationThread as _, useAddRoomCommentReaction as a, _useStorageSuspense as a$, _useEditCommentMetadata as a0, useMarkThreadAsResolved as a1, useMarkThreadAsUnresolved as a2, useSubscribeToThread as a3, useUnsubscribeFromThread as a4, _useEventListener as a5, useHistory as a6, _useIsInsideRoom as a7, useLostConnectionListener as a8, useMarkThreadAsRead as a9, useDeleteFeedMessage as aA, useUpdateFeedMessage as aB, _useSearchComments as aC, useAttachmentUrl as aD, _useHistoryVersions as aE, _useRoomSubscriptionSettings as aF, useInboxNotifications as aG, useNotificationSettings as aH, useUpdateNotificationSettings as aI, useCreateAiChat as aJ, useDeleteAiChat as aK, useSendAiMessage as aL, _useUserThreads_experimental as aM, useRoomInfo as aN, useGroupInfo as aO, useUnreadInboxNotificationsCount as aP, _useUser as aQ, _useAiChat as aR, _useAiChats as aS, _useAiChatMessages as aT, useAiChatStatus as aU, _useUrlMetadata as aV, _useOtherSuspense as aW, _useOthersSuspense as aX, useOthersConnectionIdsSuspense as aY, _useOthersMappedSuspense as aZ, _useSelfSuspense as a_, _useMutation as aa, _useMyPresence as ab, _useOthersListener as ac, useRedo as ad, useRemoveReaction as ae, _useRoom as af, useStatus as ag, _useStorageRoot as ah, useThreadSubscription as ai, useUndo as aj, _useUpdateMyPresence as ak, useUpdateRoomSubscriptionSettings as al, useHistoryVersionData as am, _useOther as an, _useOthers as ao, useOthersConnectionIds as ap, _useOthersMapped as aq, _useSelf as ar, _useStorage as as, _useThreads as at, _useFeeds as au, _useFeedMessages as av, useCreateFeed as aw, useDeleteFeed as ax, useUpdateFeedMetadata as ay, useCreateFeedMessage as az, useCreateRoomComment as b, _useThreadsSuspense as b0, useAttachmentUrlSuspense as b1, _useHistoryVersionsSuspense as b2, _useRoomSubscriptionSettingsSuspense as b3, _useFeedsSuspense as b4, _useFeedMessagesSuspense as b5, useInboxNotificationsSuspense as b6, useNotificationSettingsSuspense as b7, useRoomInfoSuspense as b8, useGroupInfoSuspense as b9, useUnreadInboxNotificationsCountSuspense as ba, _useUserSuspense as bb, _useUserThreadsSuspense_experimental as bc, _useAiChatsSuspense as bd, _useAiChatMessagesSuspense as be, _useAiChatSuspense as bf, _useUrlMetadataSuspense as bg, 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, useYjsProvider as v, type RegisterAiToolProps as w, type UseThreadsOptions as x, GlobalRoomContext as y, useClient as z };
|