@liveblocks/core 3.8.0-tiptap1 → 3.8.1
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/index.cjs +234 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -11
- package/dist/index.d.ts +59 -11
- package/dist/index.js +110 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -512,6 +512,7 @@ type UpdateDelta = {
|
|
|
512
512
|
type: "update";
|
|
513
513
|
} | {
|
|
514
514
|
type: "delete";
|
|
515
|
+
deletedItem: Lson;
|
|
515
516
|
};
|
|
516
517
|
|
|
517
518
|
/**
|
|
@@ -1295,6 +1296,12 @@ type ThreadDeleteInfo = {
|
|
|
1295
1296
|
type StringOperators<T> = T | {
|
|
1296
1297
|
startsWith: string;
|
|
1297
1298
|
};
|
|
1299
|
+
type NumberOperators<T> = T | {
|
|
1300
|
+
lt?: number;
|
|
1301
|
+
gt?: number;
|
|
1302
|
+
lte?: number;
|
|
1303
|
+
gte?: number;
|
|
1304
|
+
};
|
|
1298
1305
|
/**
|
|
1299
1306
|
* This type can be used to build a metadata query string (compatible
|
|
1300
1307
|
* with `@liveblocks/query-parser`) through a type-safe API.
|
|
@@ -1304,7 +1311,7 @@ type StringOperators<T> = T | {
|
|
|
1304
1311
|
* - `startsWith` (`^` in query string)
|
|
1305
1312
|
*/
|
|
1306
1313
|
type QueryMetadata<M extends BaseMetadata> = {
|
|
1307
|
-
[K in keyof M]: (string extends M[K] ? StringOperators<M[K]> : M[K]) | null;
|
|
1314
|
+
[K in keyof M]: (string extends M[K] ? StringOperators<M[K]> : M[K]) | (number extends M[K] ? NumberOperators<M[K]> : M[K]) | null;
|
|
1308
1315
|
};
|
|
1309
1316
|
|
|
1310
1317
|
type GroupMemberData = {
|
|
@@ -1704,7 +1711,7 @@ interface RoomHttpApi<M extends BaseMetadata> {
|
|
|
1704
1711
|
streamStorage(options: {
|
|
1705
1712
|
roomId: string;
|
|
1706
1713
|
}): Promise<IdTuple<SerializedCrdt>[]>;
|
|
1707
|
-
|
|
1714
|
+
sendMessagesOverHTTP<P extends JsonObject, E extends Json>(options: {
|
|
1708
1715
|
roomId: string;
|
|
1709
1716
|
nonce: string | undefined;
|
|
1710
1717
|
messages: ClientMsg<P, E>[];
|
|
@@ -1756,7 +1763,13 @@ interface NotificationHttpApi<M extends BaseMetadata> {
|
|
|
1756
1763
|
};
|
|
1757
1764
|
requestedAt: Date;
|
|
1758
1765
|
}>;
|
|
1759
|
-
getUnreadInboxNotificationsCount(
|
|
1766
|
+
getUnreadInboxNotificationsCount(options?: {
|
|
1767
|
+
query?: {
|
|
1768
|
+
roomId?: string;
|
|
1769
|
+
kind?: string;
|
|
1770
|
+
};
|
|
1771
|
+
signal?: AbortSignal;
|
|
1772
|
+
}): Promise<number>;
|
|
1760
1773
|
markAllInboxNotificationsAsRead(): Promise<void>;
|
|
1761
1774
|
markInboxNotificationAsRead(inboxNotificationId: string): Promise<void>;
|
|
1762
1775
|
deleteAllInboxNotifications(): Promise<void>;
|
|
@@ -2070,7 +2083,13 @@ type NotificationsApi<M extends BaseMetadata> = {
|
|
|
2070
2083
|
* @example
|
|
2071
2084
|
* const count = await client.getUnreadInboxNotificationsCount();
|
|
2072
2085
|
*/
|
|
2073
|
-
getUnreadInboxNotificationsCount(
|
|
2086
|
+
getUnreadInboxNotificationsCount(options?: {
|
|
2087
|
+
query?: {
|
|
2088
|
+
roomId?: string;
|
|
2089
|
+
kind?: string;
|
|
2090
|
+
};
|
|
2091
|
+
signal?: AbortSignal;
|
|
2092
|
+
}): Promise<number>;
|
|
2074
2093
|
/**
|
|
2075
2094
|
* Marks all inbox notifications as read.
|
|
2076
2095
|
*
|
|
@@ -4108,7 +4127,7 @@ type AiContext = {
|
|
|
4108
4127
|
chatsStore: ReturnType<typeof createStore_forUserAiChats>;
|
|
4109
4128
|
toolsStore: ReturnType<typeof createStore_forTools>;
|
|
4110
4129
|
messagesStore: ReturnType<typeof createStore_forChatMessages>;
|
|
4111
|
-
|
|
4130
|
+
knowledgeStore: ReturnType<typeof createStore_forKnowledge>;
|
|
4112
4131
|
};
|
|
4113
4132
|
type LayerKey = Brand<string, "LayerKey">;
|
|
4114
4133
|
declare class KnowledgeStack {
|
|
@@ -4120,6 +4139,10 @@ declare class KnowledgeStack {
|
|
|
4120
4139
|
invalidate(): void;
|
|
4121
4140
|
updateKnowledge(layerKey: LayerKey, key: string, data: AiKnowledgeSource | null): void;
|
|
4122
4141
|
}
|
|
4142
|
+
declare function createStore_forKnowledge(): {
|
|
4143
|
+
getKnowledgeStack: (chatId?: string) => KnowledgeStack;
|
|
4144
|
+
getKnowledgeForChat: (chatId: string) => AiKnowledgeSource[];
|
|
4145
|
+
};
|
|
4123
4146
|
declare function createStore_forTools(): {
|
|
4124
4147
|
getToolDescriptions: (chatId: string) => AiToolDescription[];
|
|
4125
4148
|
getToolΣ: (name: string, chatId?: string) => DerivedSignal<AiOpaqueToolDefinition | undefined>;
|
|
@@ -4203,11 +4226,12 @@ type Ai = {
|
|
|
4203
4226
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4204
4227
|
getLastUsedCopilotId: (chatId: string) => CopilotId | undefined;
|
|
4205
4228
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4206
|
-
registerKnowledgeLayer: (uniqueLayerId: string) =>
|
|
4207
|
-
|
|
4208
|
-
|
|
4229
|
+
registerKnowledgeLayer: (uniqueLayerId: string, chatId?: string) => {
|
|
4230
|
+
layerKey: LayerKey;
|
|
4231
|
+
deregister: () => void;
|
|
4232
|
+
};
|
|
4209
4233
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4210
|
-
updateKnowledge: (layerKey: LayerKey, data: AiKnowledgeSource, key?: string) => void;
|
|
4234
|
+
updateKnowledge: (layerKey: LayerKey, data: AiKnowledgeSource, key?: string, chatId?: string) => void;
|
|
4211
4235
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4212
4236
|
registerTool: (name: string, tool: AiOpaqueToolDefinition, chatId?: string) => () => void;
|
|
4213
4237
|
};
|
|
@@ -4607,6 +4631,12 @@ declare function isPlainObject(blob: unknown): blob is {
|
|
|
4607
4631
|
declare function isStartsWithOperator(blob: unknown): blob is {
|
|
4608
4632
|
startsWith: string;
|
|
4609
4633
|
};
|
|
4634
|
+
declare function isNumberOperator(blob: unknown): blob is {
|
|
4635
|
+
lt?: number;
|
|
4636
|
+
gt?: number;
|
|
4637
|
+
lte?: number;
|
|
4638
|
+
gte?: number;
|
|
4639
|
+
};
|
|
4610
4640
|
|
|
4611
4641
|
declare const nanoid: (t?: number) => string;
|
|
4612
4642
|
|
|
@@ -4622,16 +4652,34 @@ declare const nanoid: (t?: number) => string;
|
|
|
4622
4652
|
* org: {
|
|
4623
4653
|
* startsWith: "liveblocks:",
|
|
4624
4654
|
* },
|
|
4655
|
+
* posX: {
|
|
4656
|
+
* gt: 100,
|
|
4657
|
+
* lt: 200,
|
|
4658
|
+
* },
|
|
4659
|
+
* posY: {
|
|
4660
|
+
* gte: 50,
|
|
4661
|
+
* lte: 300,
|
|
4662
|
+
* },
|
|
4625
4663
|
* },
|
|
4626
4664
|
* });
|
|
4627
4665
|
*
|
|
4628
4666
|
* console.log(query);
|
|
4629
|
-
* // resolved:true AND metadata["status"]:open AND metadata["priority"]:3 AND metadata["org"]^"liveblocks:"
|
|
4667
|
+
* // resolved:true AND metadata["status"]:open AND metadata["priority"]:3 AND metadata["org"]^"liveblocks:" AND metadata["posX"]>100 AND metadata["posX"]<200 AND metadata["posY"]>=50 AND metadata["posY"]<=300
|
|
4630
4668
|
* ```
|
|
4631
4669
|
*/
|
|
4632
4670
|
type SimpleFilterValue = string | number | boolean | null;
|
|
4633
4671
|
type OperatorFilterValue = {
|
|
4634
4672
|
startsWith: string;
|
|
4673
|
+
gt?: never;
|
|
4674
|
+
lt?: never;
|
|
4675
|
+
gte?: never;
|
|
4676
|
+
lte?: never;
|
|
4677
|
+
} | {
|
|
4678
|
+
lt?: number;
|
|
4679
|
+
gt?: number;
|
|
4680
|
+
lte?: number;
|
|
4681
|
+
gte?: number;
|
|
4682
|
+
startsWith?: never;
|
|
4635
4683
|
};
|
|
4636
4684
|
type FilterValue = SimpleFilterValue | OperatorFilterValue;
|
|
4637
4685
|
declare function objectToQuery(obj: {
|
|
@@ -5032,4 +5080,4 @@ type EnsureJson<T> = T extends Json ? T : T extends Array<infer I> ? (EnsureJson
|
|
|
5032
5080
|
[K in keyof T as EnsureJson<T[K]> extends never ? never : K]: EnsureJson<T[K]>;
|
|
5033
5081
|
};
|
|
5034
5082
|
|
|
5035
|
-
export { type AckOp, type ActivityData, type AiAssistantContentPart, type AiAssistantMessage, type AiChat, type AiChatMessage, type AiChatsQuery, type AiKnowledgeSource, type AiOpaqueToolDefinition, type AiOpaqueToolInvocationProps, type AiReasoningPart, type AiRetrievalPart, type AiTextPart, type AiToolDefinition, type AiToolExecuteCallback, type AiToolExecuteContext, type AiToolInvocationPart, type AiToolInvocationProps, type AiToolTypePack, type AiUserMessage, type AsyncError, type AsyncLoading, type AsyncResult, type AsyncSuccess, type Awaitable, type BaseActivitiesData, type BaseAuthResult, type BaseGroupInfo, type BaseMetadata, type BaseRoomInfo, type BaseUserMeta, type Brand, type BroadcastEventClientMsg, type BroadcastOptions, type BroadcastedEventServerMsg, type Client, type ClientMsg, ClientMsgCode, type ClientOptions, type CommentAttachment, type CommentBody, type CommentBodyBlockElement, type CommentBodyElement, type CommentBodyInlineElement, type CommentBodyLink, type CommentBodyLinkElementArgs, type CommentBodyMention, type CommentBodyMentionElementArgs, type CommentBodyParagraph, type CommentBodyParagraphElementArgs, type CommentBodyText, type CommentBodyTextElementArgs, type CommentData, type CommentDataPlain, type CommentLocalAttachment, type CommentMixedAttachment, type CommentReaction, type CommentUserReaction, type CommentUserReactionPlain, type CommentsEventServerMsg, type ContextualPromptContext, type ContextualPromptResponse, type CopilotId, CrdtType, type CreateListOp, type CreateManagedPoolOptions, type CreateMapOp, type CreateObjectOp, type CreateOp, type CreateRegisterOp, type Cursor, type CustomAuthenticationResult, type DAD, type DE, type DGI, type DM, type DP, type DRI, type DS, type DU, DefaultMap, type Delegates, type DeleteCrdtOp, type DeleteObjectKeyOp, Deque, DerivedSignal, DevToolsTreeNode as DevTools, protocol as DevToolsMsg, type DistributiveOmit, type EnsureJson, type EnterOptions, type EventSource, type FetchStorageClientMsg, type FetchYDocClientMsg, type GetThreadsOptions, type GroupData, type GroupDataPlain, type GroupMemberData, type GroupMentionData, type GroupScopes, type History, type HistoryVersion, HttpError, type ISignal, type IUserInfo, type IWebSocket, type IWebSocketCloseEvent, type IWebSocketEvent, type IWebSocketInstance, type IWebSocketMessageEvent, type IYjsProvider, type IdTuple, type Immutable, type InboxNotificationCustomData, type InboxNotificationCustomDataPlain, type InboxNotificationData, type InboxNotificationDataPlain, type InboxNotificationDeleteInfo, type InboxNotificationTextMentionData, type InboxNotificationTextMentionDataPlain, type InboxNotificationThreadData, type InboxNotificationThreadDataPlain, type InferFromSchema, type InitialDocumentStateServerMsg, type Json, type JsonArray, type JsonObject, type JsonScalar, type KDAD, type LargeMessageStrategy, LiveList, type LiveListUpdate, LiveMap, type LiveMapUpdate, type LiveNode, LiveObject, type LiveObjectUpdate, type LiveStructure, LiveblocksError, type LiveblocksErrorContext, type LostConnectionEvent, type Lson, type LsonObject, MENTION_CHARACTER, type ManagedPool, type MentionData, type MessageId, MutableSignal, type NoInfr, type NodeMap, type NotificationChannel, type NotificationChannelSettings, type NotificationKind, type NotificationSettings, type NotificationSettingsPlain, type Observable, type Op, OpCode, type OpaqueClient, type OpaqueRoom, type OptionalTupleUnless, type OthersEvent, type ParentToChildNodeMap, type PartialNotificationSettings, type PartialUnless, type Patchable, Permission, type PlainLson, type PlainLsonFields, type PlainLsonList, type PlainLsonMap, type PlainLsonObject, type Poller, type PrivateClientApi, type PrivateRoomApi, Promise_withResolvers, type QueryMetadata, type QueryParams, type RejectedStorageOpServerMsg, type Relax, type RenderableToolResultResponse, type Resolve, type ResolveGroupsInfoArgs, type ResolveMentionSuggestionsArgs, type ResolveRoomsInfoArgs, type ResolveUsersArgs, type Room, type RoomEventMessage, type RoomStateServerMsg, type RoomSubscriptionSettings, type SerializedChild, type SerializedCrdt, type SerializedList, type SerializedMap, type SerializedObject, type SerializedRegister, type SerializedRootObject, type ServerMsg, ServerMsgCode, type SetParentKeyOp, Signal, type SignalType, SortedList, type Status, type StorageStatus, type StorageUpdate, type StringifyCommentBodyElements, type StringifyCommentBodyOptions, type SubscriptionData, type SubscriptionDataPlain, type SubscriptionDeleteInfo, type SubscriptionDeleteInfoPlain, type SubscriptionKey, type SyncSource, type SyncStatus, TextEditorType, type ThreadData, type ThreadDataPlain, type ThreadDataWithDeleteInfo, type ThreadDeleteInfo, type ToImmutable, type ToJson, type ToolResultResponse, type URLSafeString, type UnsubscribeCallback, type UpdateObjectOp, type UpdatePresenceClientMsg, type UpdatePresenceServerMsg, type UpdateStorageClientMsg, type UpdateStorageServerMsg, type UpdateYDocClientMsg, type UploadAttachmentOptions, type User, type UserJoinServerMsg, type UserLeftServerMsg, type UserMentionData, type UserRoomSubscriptionSettings, type UserSubscriptionData, type UserSubscriptionDataPlain, WebsocketCloseCodes, type WithNavigation, type WithOptional, type WithRequired, type YDocUpdateServerMsg, type YjsSyncStatus, ackOp, asPos, assert, assertNever, autoRetry, b64decode, batch, checkBounds, chunk, cloneLson, compactObject, fancyConsole as console, convertToCommentData, convertToCommentUserReaction, convertToGroupData, convertToInboxNotificationData, convertToSubscriptionData, convertToThreadData, convertToUserSubscriptionData, createClient, createCommentAttachmentId, createCommentId, createInboxNotificationId, createManagedPool, createNotificationSettings, createThreadId, defineAiTool, deprecate, deprecateIf, detectDupes, entries, errorIf, findLastIndex, freeze, generateUrl, getMentionsFromCommentBody, getSubscriptionKey, html, htmlSafe, isChildCrdt, isCommentBodyLink, isCommentBodyMention, isCommentBodyText, isJsonArray, isJsonObject, isJsonScalar, isLiveNode, isNotificationChannelEnabled, isPlainObject, isRootCrdt, isStartsWithOperator, isUrl, kInternal, keys, legacy_patchImmutableObject, lsonToJson, makeAbortController, makeEventSource, makePoller, makePosition, mapValues, memoizeOnSuccess, nanoid, nn, objectToQuery, patchLiveObjectKey, patchNotificationSettings, raise, resolveMentionsInCommentBody, sanitizeUrl, shallow, shallow2, stableStringify, stringifyCommentBody, throwUsageError, toPlainLson, tryParseJson, url, urljoin, wait, warnOnce, warnOnceIf, withTimeout };
|
|
5083
|
+
export { type AckOp, type ActivityData, type AiAssistantContentPart, type AiAssistantMessage, type AiChat, type AiChatMessage, type AiChatsQuery, type AiKnowledgeSource, type AiOpaqueToolDefinition, type AiOpaqueToolInvocationProps, type AiReasoningPart, type AiRetrievalPart, type AiTextPart, type AiToolDefinition, type AiToolExecuteCallback, type AiToolExecuteContext, type AiToolInvocationPart, type AiToolInvocationProps, type AiToolTypePack, type AiUserMessage, type AsyncError, type AsyncLoading, type AsyncResult, type AsyncSuccess, type Awaitable, type BaseActivitiesData, type BaseAuthResult, type BaseGroupInfo, type BaseMetadata, type BaseRoomInfo, type BaseUserMeta, type Brand, type BroadcastEventClientMsg, type BroadcastOptions, type BroadcastedEventServerMsg, type Client, type ClientMsg, ClientMsgCode, type ClientOptions, type CommentAttachment, type CommentBody, type CommentBodyBlockElement, type CommentBodyElement, type CommentBodyInlineElement, type CommentBodyLink, type CommentBodyLinkElementArgs, type CommentBodyMention, type CommentBodyMentionElementArgs, type CommentBodyParagraph, type CommentBodyParagraphElementArgs, type CommentBodyText, type CommentBodyTextElementArgs, type CommentData, type CommentDataPlain, type CommentLocalAttachment, type CommentMixedAttachment, type CommentReaction, type CommentUserReaction, type CommentUserReactionPlain, type CommentsEventServerMsg, type ContextualPromptContext, type ContextualPromptResponse, type CopilotId, CrdtType, type CreateListOp, type CreateManagedPoolOptions, type CreateMapOp, type CreateObjectOp, type CreateOp, type CreateRegisterOp, type Cursor, type CustomAuthenticationResult, type DAD, type DE, type DGI, type DM, type DP, type DRI, type DS, type DU, DefaultMap, type Delegates, type DeleteCrdtOp, type DeleteObjectKeyOp, Deque, DerivedSignal, DevToolsTreeNode as DevTools, protocol as DevToolsMsg, type DistributiveOmit, type EnsureJson, type EnterOptions, type EventSource, type FetchStorageClientMsg, type FetchYDocClientMsg, type GetThreadsOptions, type GroupData, type GroupDataPlain, type GroupMemberData, type GroupMentionData, type GroupScopes, type History, type HistoryVersion, HttpError, type ISODateString, type ISignal, type IUserInfo, type IWebSocket, type IWebSocketCloseEvent, type IWebSocketEvent, type IWebSocketInstance, type IWebSocketMessageEvent, type IYjsProvider, type IdTuple, type Immutable, type InboxNotificationCustomData, type InboxNotificationCustomDataPlain, type InboxNotificationData, type InboxNotificationDataPlain, type InboxNotificationDeleteInfo, type InboxNotificationTextMentionData, type InboxNotificationTextMentionDataPlain, type InboxNotificationThreadData, type InboxNotificationThreadDataPlain, type InferFromSchema, type InitialDocumentStateServerMsg, type Json, type JsonArray, type JsonObject, type JsonScalar, type KDAD, type LargeMessageStrategy, type LayerKey, LiveList, type LiveListUpdate, LiveMap, type LiveMapUpdate, type LiveNode, LiveObject, type LiveObjectUpdate, type LiveStructure, LiveblocksError, type LiveblocksErrorContext, type LostConnectionEvent, type Lson, type LsonObject, MENTION_CHARACTER, type ManagedPool, type MentionData, type MessageId, MutableSignal, type NoInfr, type NodeMap, type NotificationChannel, type NotificationChannelSettings, type NotificationKind, type NotificationSettings, type NotificationSettingsPlain, type Observable, type Op, OpCode, type OpaqueClient, type OpaqueRoom, type OptionalTupleUnless, type OthersEvent, type ParentToChildNodeMap, type PartialNotificationSettings, type PartialUnless, type Patchable, Permission, type PlainLson, type PlainLsonFields, type PlainLsonList, type PlainLsonMap, type PlainLsonObject, type Poller, type PrivateClientApi, type PrivateRoomApi, Promise_withResolvers, type QueryMetadata, type QueryParams, type RejectedStorageOpServerMsg, type Relax, type RenderableToolResultResponse, type Resolve, type ResolveGroupsInfoArgs, type ResolveMentionSuggestionsArgs, type ResolveRoomsInfoArgs, type ResolveUsersArgs, type Room, type RoomEventMessage, type RoomStateServerMsg, type RoomSubscriptionSettings, type SerializedChild, type SerializedCrdt, type SerializedList, type SerializedMap, type SerializedObject, type SerializedRegister, type SerializedRootObject, type ServerMsg, ServerMsgCode, type SetParentKeyOp, Signal, type SignalType, SortedList, type Status, type StorageStatus, type StorageUpdate, type StringifyCommentBodyElements, type StringifyCommentBodyOptions, type SubscriptionData, type SubscriptionDataPlain, type SubscriptionDeleteInfo, type SubscriptionDeleteInfoPlain, type SubscriptionKey, type SyncSource, type SyncStatus, TextEditorType, type ThreadData, type ThreadDataPlain, type ThreadDataWithDeleteInfo, type ThreadDeleteInfo, type ToImmutable, type ToJson, type ToolResultResponse, type URLSafeString, type UnsubscribeCallback, type UpdateObjectOp, type UpdatePresenceClientMsg, type UpdatePresenceServerMsg, type UpdateStorageClientMsg, type UpdateStorageServerMsg, type UpdateYDocClientMsg, type UploadAttachmentOptions, type User, type UserJoinServerMsg, type UserLeftServerMsg, type UserMentionData, type UserRoomSubscriptionSettings, type UserSubscriptionData, type UserSubscriptionDataPlain, WebsocketCloseCodes, type WithNavigation, type WithOptional, type WithRequired, type YDocUpdateServerMsg, type YjsSyncStatus, ackOp, asPos, assert, assertNever, autoRetry, b64decode, batch, checkBounds, chunk, cloneLson, compactObject, fancyConsole as console, convertToCommentData, convertToCommentUserReaction, convertToGroupData, convertToInboxNotificationData, convertToSubscriptionData, convertToThreadData, convertToUserSubscriptionData, createClient, createCommentAttachmentId, createCommentId, createInboxNotificationId, createManagedPool, createNotificationSettings, createThreadId, defineAiTool, deprecate, deprecateIf, detectDupes, entries, errorIf, findLastIndex, freeze, generateUrl, getMentionsFromCommentBody, getSubscriptionKey, html, htmlSafe, isChildCrdt, isCommentBodyLink, isCommentBodyMention, isCommentBodyText, isJsonArray, isJsonObject, isJsonScalar, isLiveNode, isNotificationChannelEnabled, isNumberOperator, isPlainObject, isRootCrdt, isStartsWithOperator, isUrl, kInternal, keys, legacy_patchImmutableObject, lsonToJson, makeAbortController, makeEventSource, makePoller, makePosition, mapValues, memoizeOnSuccess, nanoid, nn, objectToQuery, patchLiveObjectKey, patchNotificationSettings, raise, resolveMentionsInCommentBody, sanitizeUrl, shallow, shallow2, stableStringify, stringifyCommentBody, throwUsageError, toPlainLson, tryParseJson, url, urljoin, wait, warnOnce, warnOnceIf, withTimeout };
|
package/dist/index.d.ts
CHANGED
|
@@ -512,6 +512,7 @@ type UpdateDelta = {
|
|
|
512
512
|
type: "update";
|
|
513
513
|
} | {
|
|
514
514
|
type: "delete";
|
|
515
|
+
deletedItem: Lson;
|
|
515
516
|
};
|
|
516
517
|
|
|
517
518
|
/**
|
|
@@ -1295,6 +1296,12 @@ type ThreadDeleteInfo = {
|
|
|
1295
1296
|
type StringOperators<T> = T | {
|
|
1296
1297
|
startsWith: string;
|
|
1297
1298
|
};
|
|
1299
|
+
type NumberOperators<T> = T | {
|
|
1300
|
+
lt?: number;
|
|
1301
|
+
gt?: number;
|
|
1302
|
+
lte?: number;
|
|
1303
|
+
gte?: number;
|
|
1304
|
+
};
|
|
1298
1305
|
/**
|
|
1299
1306
|
* This type can be used to build a metadata query string (compatible
|
|
1300
1307
|
* with `@liveblocks/query-parser`) through a type-safe API.
|
|
@@ -1304,7 +1311,7 @@ type StringOperators<T> = T | {
|
|
|
1304
1311
|
* - `startsWith` (`^` in query string)
|
|
1305
1312
|
*/
|
|
1306
1313
|
type QueryMetadata<M extends BaseMetadata> = {
|
|
1307
|
-
[K in keyof M]: (string extends M[K] ? StringOperators<M[K]> : M[K]) | null;
|
|
1314
|
+
[K in keyof M]: (string extends M[K] ? StringOperators<M[K]> : M[K]) | (number extends M[K] ? NumberOperators<M[K]> : M[K]) | null;
|
|
1308
1315
|
};
|
|
1309
1316
|
|
|
1310
1317
|
type GroupMemberData = {
|
|
@@ -1704,7 +1711,7 @@ interface RoomHttpApi<M extends BaseMetadata> {
|
|
|
1704
1711
|
streamStorage(options: {
|
|
1705
1712
|
roomId: string;
|
|
1706
1713
|
}): Promise<IdTuple<SerializedCrdt>[]>;
|
|
1707
|
-
|
|
1714
|
+
sendMessagesOverHTTP<P extends JsonObject, E extends Json>(options: {
|
|
1708
1715
|
roomId: string;
|
|
1709
1716
|
nonce: string | undefined;
|
|
1710
1717
|
messages: ClientMsg<P, E>[];
|
|
@@ -1756,7 +1763,13 @@ interface NotificationHttpApi<M extends BaseMetadata> {
|
|
|
1756
1763
|
};
|
|
1757
1764
|
requestedAt: Date;
|
|
1758
1765
|
}>;
|
|
1759
|
-
getUnreadInboxNotificationsCount(
|
|
1766
|
+
getUnreadInboxNotificationsCount(options?: {
|
|
1767
|
+
query?: {
|
|
1768
|
+
roomId?: string;
|
|
1769
|
+
kind?: string;
|
|
1770
|
+
};
|
|
1771
|
+
signal?: AbortSignal;
|
|
1772
|
+
}): Promise<number>;
|
|
1760
1773
|
markAllInboxNotificationsAsRead(): Promise<void>;
|
|
1761
1774
|
markInboxNotificationAsRead(inboxNotificationId: string): Promise<void>;
|
|
1762
1775
|
deleteAllInboxNotifications(): Promise<void>;
|
|
@@ -2070,7 +2083,13 @@ type NotificationsApi<M extends BaseMetadata> = {
|
|
|
2070
2083
|
* @example
|
|
2071
2084
|
* const count = await client.getUnreadInboxNotificationsCount();
|
|
2072
2085
|
*/
|
|
2073
|
-
getUnreadInboxNotificationsCount(
|
|
2086
|
+
getUnreadInboxNotificationsCount(options?: {
|
|
2087
|
+
query?: {
|
|
2088
|
+
roomId?: string;
|
|
2089
|
+
kind?: string;
|
|
2090
|
+
};
|
|
2091
|
+
signal?: AbortSignal;
|
|
2092
|
+
}): Promise<number>;
|
|
2074
2093
|
/**
|
|
2075
2094
|
* Marks all inbox notifications as read.
|
|
2076
2095
|
*
|
|
@@ -4108,7 +4127,7 @@ type AiContext = {
|
|
|
4108
4127
|
chatsStore: ReturnType<typeof createStore_forUserAiChats>;
|
|
4109
4128
|
toolsStore: ReturnType<typeof createStore_forTools>;
|
|
4110
4129
|
messagesStore: ReturnType<typeof createStore_forChatMessages>;
|
|
4111
|
-
|
|
4130
|
+
knowledgeStore: ReturnType<typeof createStore_forKnowledge>;
|
|
4112
4131
|
};
|
|
4113
4132
|
type LayerKey = Brand<string, "LayerKey">;
|
|
4114
4133
|
declare class KnowledgeStack {
|
|
@@ -4120,6 +4139,10 @@ declare class KnowledgeStack {
|
|
|
4120
4139
|
invalidate(): void;
|
|
4121
4140
|
updateKnowledge(layerKey: LayerKey, key: string, data: AiKnowledgeSource | null): void;
|
|
4122
4141
|
}
|
|
4142
|
+
declare function createStore_forKnowledge(): {
|
|
4143
|
+
getKnowledgeStack: (chatId?: string) => KnowledgeStack;
|
|
4144
|
+
getKnowledgeForChat: (chatId: string) => AiKnowledgeSource[];
|
|
4145
|
+
};
|
|
4123
4146
|
declare function createStore_forTools(): {
|
|
4124
4147
|
getToolDescriptions: (chatId: string) => AiToolDescription[];
|
|
4125
4148
|
getToolΣ: (name: string, chatId?: string) => DerivedSignal<AiOpaqueToolDefinition | undefined>;
|
|
@@ -4203,11 +4226,12 @@ type Ai = {
|
|
|
4203
4226
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4204
4227
|
getLastUsedCopilotId: (chatId: string) => CopilotId | undefined;
|
|
4205
4228
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4206
|
-
registerKnowledgeLayer: (uniqueLayerId: string) =>
|
|
4207
|
-
|
|
4208
|
-
|
|
4229
|
+
registerKnowledgeLayer: (uniqueLayerId: string, chatId?: string) => {
|
|
4230
|
+
layerKey: LayerKey;
|
|
4231
|
+
deregister: () => void;
|
|
4232
|
+
};
|
|
4209
4233
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4210
|
-
updateKnowledge: (layerKey: LayerKey, data: AiKnowledgeSource, key?: string) => void;
|
|
4234
|
+
updateKnowledge: (layerKey: LayerKey, data: AiKnowledgeSource, key?: string, chatId?: string) => void;
|
|
4211
4235
|
/** @private This API will change, and is not considered stable. DO NOT RELY on it. */
|
|
4212
4236
|
registerTool: (name: string, tool: AiOpaqueToolDefinition, chatId?: string) => () => void;
|
|
4213
4237
|
};
|
|
@@ -4607,6 +4631,12 @@ declare function isPlainObject(blob: unknown): blob is {
|
|
|
4607
4631
|
declare function isStartsWithOperator(blob: unknown): blob is {
|
|
4608
4632
|
startsWith: string;
|
|
4609
4633
|
};
|
|
4634
|
+
declare function isNumberOperator(blob: unknown): blob is {
|
|
4635
|
+
lt?: number;
|
|
4636
|
+
gt?: number;
|
|
4637
|
+
lte?: number;
|
|
4638
|
+
gte?: number;
|
|
4639
|
+
};
|
|
4610
4640
|
|
|
4611
4641
|
declare const nanoid: (t?: number) => string;
|
|
4612
4642
|
|
|
@@ -4622,16 +4652,34 @@ declare const nanoid: (t?: number) => string;
|
|
|
4622
4652
|
* org: {
|
|
4623
4653
|
* startsWith: "liveblocks:",
|
|
4624
4654
|
* },
|
|
4655
|
+
* posX: {
|
|
4656
|
+
* gt: 100,
|
|
4657
|
+
* lt: 200,
|
|
4658
|
+
* },
|
|
4659
|
+
* posY: {
|
|
4660
|
+
* gte: 50,
|
|
4661
|
+
* lte: 300,
|
|
4662
|
+
* },
|
|
4625
4663
|
* },
|
|
4626
4664
|
* });
|
|
4627
4665
|
*
|
|
4628
4666
|
* console.log(query);
|
|
4629
|
-
* // resolved:true AND metadata["status"]:open AND metadata["priority"]:3 AND metadata["org"]^"liveblocks:"
|
|
4667
|
+
* // resolved:true AND metadata["status"]:open AND metadata["priority"]:3 AND metadata["org"]^"liveblocks:" AND metadata["posX"]>100 AND metadata["posX"]<200 AND metadata["posY"]>=50 AND metadata["posY"]<=300
|
|
4630
4668
|
* ```
|
|
4631
4669
|
*/
|
|
4632
4670
|
type SimpleFilterValue = string | number | boolean | null;
|
|
4633
4671
|
type OperatorFilterValue = {
|
|
4634
4672
|
startsWith: string;
|
|
4673
|
+
gt?: never;
|
|
4674
|
+
lt?: never;
|
|
4675
|
+
gte?: never;
|
|
4676
|
+
lte?: never;
|
|
4677
|
+
} | {
|
|
4678
|
+
lt?: number;
|
|
4679
|
+
gt?: number;
|
|
4680
|
+
lte?: number;
|
|
4681
|
+
gte?: number;
|
|
4682
|
+
startsWith?: never;
|
|
4635
4683
|
};
|
|
4636
4684
|
type FilterValue = SimpleFilterValue | OperatorFilterValue;
|
|
4637
4685
|
declare function objectToQuery(obj: {
|
|
@@ -5032,4 +5080,4 @@ type EnsureJson<T> = T extends Json ? T : T extends Array<infer I> ? (EnsureJson
|
|
|
5032
5080
|
[K in keyof T as EnsureJson<T[K]> extends never ? never : K]: EnsureJson<T[K]>;
|
|
5033
5081
|
};
|
|
5034
5082
|
|
|
5035
|
-
export { type AckOp, type ActivityData, type AiAssistantContentPart, type AiAssistantMessage, type AiChat, type AiChatMessage, type AiChatsQuery, type AiKnowledgeSource, type AiOpaqueToolDefinition, type AiOpaqueToolInvocationProps, type AiReasoningPart, type AiRetrievalPart, type AiTextPart, type AiToolDefinition, type AiToolExecuteCallback, type AiToolExecuteContext, type AiToolInvocationPart, type AiToolInvocationProps, type AiToolTypePack, type AiUserMessage, type AsyncError, type AsyncLoading, type AsyncResult, type AsyncSuccess, type Awaitable, type BaseActivitiesData, type BaseAuthResult, type BaseGroupInfo, type BaseMetadata, type BaseRoomInfo, type BaseUserMeta, type Brand, type BroadcastEventClientMsg, type BroadcastOptions, type BroadcastedEventServerMsg, type Client, type ClientMsg, ClientMsgCode, type ClientOptions, type CommentAttachment, type CommentBody, type CommentBodyBlockElement, type CommentBodyElement, type CommentBodyInlineElement, type CommentBodyLink, type CommentBodyLinkElementArgs, type CommentBodyMention, type CommentBodyMentionElementArgs, type CommentBodyParagraph, type CommentBodyParagraphElementArgs, type CommentBodyText, type CommentBodyTextElementArgs, type CommentData, type CommentDataPlain, type CommentLocalAttachment, type CommentMixedAttachment, type CommentReaction, type CommentUserReaction, type CommentUserReactionPlain, type CommentsEventServerMsg, type ContextualPromptContext, type ContextualPromptResponse, type CopilotId, CrdtType, type CreateListOp, type CreateManagedPoolOptions, type CreateMapOp, type CreateObjectOp, type CreateOp, type CreateRegisterOp, type Cursor, type CustomAuthenticationResult, type DAD, type DE, type DGI, type DM, type DP, type DRI, type DS, type DU, DefaultMap, type Delegates, type DeleteCrdtOp, type DeleteObjectKeyOp, Deque, DerivedSignal, DevToolsTreeNode as DevTools, protocol as DevToolsMsg, type DistributiveOmit, type EnsureJson, type EnterOptions, type EventSource, type FetchStorageClientMsg, type FetchYDocClientMsg, type GetThreadsOptions, type GroupData, type GroupDataPlain, type GroupMemberData, type GroupMentionData, type GroupScopes, type History, type HistoryVersion, HttpError, type ISignal, type IUserInfo, type IWebSocket, type IWebSocketCloseEvent, type IWebSocketEvent, type IWebSocketInstance, type IWebSocketMessageEvent, type IYjsProvider, type IdTuple, type Immutable, type InboxNotificationCustomData, type InboxNotificationCustomDataPlain, type InboxNotificationData, type InboxNotificationDataPlain, type InboxNotificationDeleteInfo, type InboxNotificationTextMentionData, type InboxNotificationTextMentionDataPlain, type InboxNotificationThreadData, type InboxNotificationThreadDataPlain, type InferFromSchema, type InitialDocumentStateServerMsg, type Json, type JsonArray, type JsonObject, type JsonScalar, type KDAD, type LargeMessageStrategy, LiveList, type LiveListUpdate, LiveMap, type LiveMapUpdate, type LiveNode, LiveObject, type LiveObjectUpdate, type LiveStructure, LiveblocksError, type LiveblocksErrorContext, type LostConnectionEvent, type Lson, type LsonObject, MENTION_CHARACTER, type ManagedPool, type MentionData, type MessageId, MutableSignal, type NoInfr, type NodeMap, type NotificationChannel, type NotificationChannelSettings, type NotificationKind, type NotificationSettings, type NotificationSettingsPlain, type Observable, type Op, OpCode, type OpaqueClient, type OpaqueRoom, type OptionalTupleUnless, type OthersEvent, type ParentToChildNodeMap, type PartialNotificationSettings, type PartialUnless, type Patchable, Permission, type PlainLson, type PlainLsonFields, type PlainLsonList, type PlainLsonMap, type PlainLsonObject, type Poller, type PrivateClientApi, type PrivateRoomApi, Promise_withResolvers, type QueryMetadata, type QueryParams, type RejectedStorageOpServerMsg, type Relax, type RenderableToolResultResponse, type Resolve, type ResolveGroupsInfoArgs, type ResolveMentionSuggestionsArgs, type ResolveRoomsInfoArgs, type ResolveUsersArgs, type Room, type RoomEventMessage, type RoomStateServerMsg, type RoomSubscriptionSettings, type SerializedChild, type SerializedCrdt, type SerializedList, type SerializedMap, type SerializedObject, type SerializedRegister, type SerializedRootObject, type ServerMsg, ServerMsgCode, type SetParentKeyOp, Signal, type SignalType, SortedList, type Status, type StorageStatus, type StorageUpdate, type StringifyCommentBodyElements, type StringifyCommentBodyOptions, type SubscriptionData, type SubscriptionDataPlain, type SubscriptionDeleteInfo, type SubscriptionDeleteInfoPlain, type SubscriptionKey, type SyncSource, type SyncStatus, TextEditorType, type ThreadData, type ThreadDataPlain, type ThreadDataWithDeleteInfo, type ThreadDeleteInfo, type ToImmutable, type ToJson, type ToolResultResponse, type URLSafeString, type UnsubscribeCallback, type UpdateObjectOp, type UpdatePresenceClientMsg, type UpdatePresenceServerMsg, type UpdateStorageClientMsg, type UpdateStorageServerMsg, type UpdateYDocClientMsg, type UploadAttachmentOptions, type User, type UserJoinServerMsg, type UserLeftServerMsg, type UserMentionData, type UserRoomSubscriptionSettings, type UserSubscriptionData, type UserSubscriptionDataPlain, WebsocketCloseCodes, type WithNavigation, type WithOptional, type WithRequired, type YDocUpdateServerMsg, type YjsSyncStatus, ackOp, asPos, assert, assertNever, autoRetry, b64decode, batch, checkBounds, chunk, cloneLson, compactObject, fancyConsole as console, convertToCommentData, convertToCommentUserReaction, convertToGroupData, convertToInboxNotificationData, convertToSubscriptionData, convertToThreadData, convertToUserSubscriptionData, createClient, createCommentAttachmentId, createCommentId, createInboxNotificationId, createManagedPool, createNotificationSettings, createThreadId, defineAiTool, deprecate, deprecateIf, detectDupes, entries, errorIf, findLastIndex, freeze, generateUrl, getMentionsFromCommentBody, getSubscriptionKey, html, htmlSafe, isChildCrdt, isCommentBodyLink, isCommentBodyMention, isCommentBodyText, isJsonArray, isJsonObject, isJsonScalar, isLiveNode, isNotificationChannelEnabled, isPlainObject, isRootCrdt, isStartsWithOperator, isUrl, kInternal, keys, legacy_patchImmutableObject, lsonToJson, makeAbortController, makeEventSource, makePoller, makePosition, mapValues, memoizeOnSuccess, nanoid, nn, objectToQuery, patchLiveObjectKey, patchNotificationSettings, raise, resolveMentionsInCommentBody, sanitizeUrl, shallow, shallow2, stableStringify, stringifyCommentBody, throwUsageError, toPlainLson, tryParseJson, url, urljoin, wait, warnOnce, warnOnceIf, withTimeout };
|
|
5083
|
+
export { type AckOp, type ActivityData, type AiAssistantContentPart, type AiAssistantMessage, type AiChat, type AiChatMessage, type AiChatsQuery, type AiKnowledgeSource, type AiOpaqueToolDefinition, type AiOpaqueToolInvocationProps, type AiReasoningPart, type AiRetrievalPart, type AiTextPart, type AiToolDefinition, type AiToolExecuteCallback, type AiToolExecuteContext, type AiToolInvocationPart, type AiToolInvocationProps, type AiToolTypePack, type AiUserMessage, type AsyncError, type AsyncLoading, type AsyncResult, type AsyncSuccess, type Awaitable, type BaseActivitiesData, type BaseAuthResult, type BaseGroupInfo, type BaseMetadata, type BaseRoomInfo, type BaseUserMeta, type Brand, type BroadcastEventClientMsg, type BroadcastOptions, type BroadcastedEventServerMsg, type Client, type ClientMsg, ClientMsgCode, type ClientOptions, type CommentAttachment, type CommentBody, type CommentBodyBlockElement, type CommentBodyElement, type CommentBodyInlineElement, type CommentBodyLink, type CommentBodyLinkElementArgs, type CommentBodyMention, type CommentBodyMentionElementArgs, type CommentBodyParagraph, type CommentBodyParagraphElementArgs, type CommentBodyText, type CommentBodyTextElementArgs, type CommentData, type CommentDataPlain, type CommentLocalAttachment, type CommentMixedAttachment, type CommentReaction, type CommentUserReaction, type CommentUserReactionPlain, type CommentsEventServerMsg, type ContextualPromptContext, type ContextualPromptResponse, type CopilotId, CrdtType, type CreateListOp, type CreateManagedPoolOptions, type CreateMapOp, type CreateObjectOp, type CreateOp, type CreateRegisterOp, type Cursor, type CustomAuthenticationResult, type DAD, type DE, type DGI, type DM, type DP, type DRI, type DS, type DU, DefaultMap, type Delegates, type DeleteCrdtOp, type DeleteObjectKeyOp, Deque, DerivedSignal, DevToolsTreeNode as DevTools, protocol as DevToolsMsg, type DistributiveOmit, type EnsureJson, type EnterOptions, type EventSource, type FetchStorageClientMsg, type FetchYDocClientMsg, type GetThreadsOptions, type GroupData, type GroupDataPlain, type GroupMemberData, type GroupMentionData, type GroupScopes, type History, type HistoryVersion, HttpError, type ISODateString, type ISignal, type IUserInfo, type IWebSocket, type IWebSocketCloseEvent, type IWebSocketEvent, type IWebSocketInstance, type IWebSocketMessageEvent, type IYjsProvider, type IdTuple, type Immutable, type InboxNotificationCustomData, type InboxNotificationCustomDataPlain, type InboxNotificationData, type InboxNotificationDataPlain, type InboxNotificationDeleteInfo, type InboxNotificationTextMentionData, type InboxNotificationTextMentionDataPlain, type InboxNotificationThreadData, type InboxNotificationThreadDataPlain, type InferFromSchema, type InitialDocumentStateServerMsg, type Json, type JsonArray, type JsonObject, type JsonScalar, type KDAD, type LargeMessageStrategy, type LayerKey, LiveList, type LiveListUpdate, LiveMap, type LiveMapUpdate, type LiveNode, LiveObject, type LiveObjectUpdate, type LiveStructure, LiveblocksError, type LiveblocksErrorContext, type LostConnectionEvent, type Lson, type LsonObject, MENTION_CHARACTER, type ManagedPool, type MentionData, type MessageId, MutableSignal, type NoInfr, type NodeMap, type NotificationChannel, type NotificationChannelSettings, type NotificationKind, type NotificationSettings, type NotificationSettingsPlain, type Observable, type Op, OpCode, type OpaqueClient, type OpaqueRoom, type OptionalTupleUnless, type OthersEvent, type ParentToChildNodeMap, type PartialNotificationSettings, type PartialUnless, type Patchable, Permission, type PlainLson, type PlainLsonFields, type PlainLsonList, type PlainLsonMap, type PlainLsonObject, type Poller, type PrivateClientApi, type PrivateRoomApi, Promise_withResolvers, type QueryMetadata, type QueryParams, type RejectedStorageOpServerMsg, type Relax, type RenderableToolResultResponse, type Resolve, type ResolveGroupsInfoArgs, type ResolveMentionSuggestionsArgs, type ResolveRoomsInfoArgs, type ResolveUsersArgs, type Room, type RoomEventMessage, type RoomStateServerMsg, type RoomSubscriptionSettings, type SerializedChild, type SerializedCrdt, type SerializedList, type SerializedMap, type SerializedObject, type SerializedRegister, type SerializedRootObject, type ServerMsg, ServerMsgCode, type SetParentKeyOp, Signal, type SignalType, SortedList, type Status, type StorageStatus, type StorageUpdate, type StringifyCommentBodyElements, type StringifyCommentBodyOptions, type SubscriptionData, type SubscriptionDataPlain, type SubscriptionDeleteInfo, type SubscriptionDeleteInfoPlain, type SubscriptionKey, type SyncSource, type SyncStatus, TextEditorType, type ThreadData, type ThreadDataPlain, type ThreadDataWithDeleteInfo, type ThreadDeleteInfo, type ToImmutable, type ToJson, type ToolResultResponse, type URLSafeString, type UnsubscribeCallback, type UpdateObjectOp, type UpdatePresenceClientMsg, type UpdatePresenceServerMsg, type UpdateStorageClientMsg, type UpdateStorageServerMsg, type UpdateYDocClientMsg, type UploadAttachmentOptions, type User, type UserJoinServerMsg, type UserLeftServerMsg, type UserMentionData, type UserRoomSubscriptionSettings, type UserSubscriptionData, type UserSubscriptionDataPlain, WebsocketCloseCodes, type WithNavigation, type WithOptional, type WithRequired, type YDocUpdateServerMsg, type YjsSyncStatus, ackOp, asPos, assert, assertNever, autoRetry, b64decode, batch, checkBounds, chunk, cloneLson, compactObject, fancyConsole as console, convertToCommentData, convertToCommentUserReaction, convertToGroupData, convertToInboxNotificationData, convertToSubscriptionData, convertToThreadData, convertToUserSubscriptionData, createClient, createCommentAttachmentId, createCommentId, createInboxNotificationId, createManagedPool, createNotificationSettings, createThreadId, defineAiTool, deprecate, deprecateIf, detectDupes, entries, errorIf, findLastIndex, freeze, generateUrl, getMentionsFromCommentBody, getSubscriptionKey, html, htmlSafe, isChildCrdt, isCommentBodyLink, isCommentBodyMention, isCommentBodyText, isJsonArray, isJsonObject, isJsonScalar, isLiveNode, isNotificationChannelEnabled, isNumberOperator, isPlainObject, isRootCrdt, isStartsWithOperator, isUrl, kInternal, keys, legacy_patchImmutableObject, lsonToJson, makeAbortController, makeEventSource, makePoller, makePosition, mapValues, memoizeOnSuccess, nanoid, nn, objectToQuery, patchLiveObjectKey, patchNotificationSettings, raise, resolveMentionsInCommentBody, sanitizeUrl, shallow, shallow2, stableStringify, stringifyCommentBody, throwUsageError, toPlainLson, tryParseJson, url, urljoin, wait, warnOnce, warnOnceIf, withTimeout };
|