@liveblocks/core 2.10.0 → 2.10.1-react19rc
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.d.mts +155 -50
- package/dist/index.d.ts +155 -50
- package/dist/index.js +634 -577
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +573 -516
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1446,6 +1446,16 @@ declare type RejectedStorageOpServerMsg = {
|
|
|
1446
1446
|
readonly reason: string;
|
|
1447
1447
|
};
|
|
1448
1448
|
|
|
1449
|
+
declare type HistoryVersion = {
|
|
1450
|
+
type: "historyVersion";
|
|
1451
|
+
kind: "yjs";
|
|
1452
|
+
createdAt: Date;
|
|
1453
|
+
id: string;
|
|
1454
|
+
authors: {
|
|
1455
|
+
id: string;
|
|
1456
|
+
}[];
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1449
1459
|
declare type JsonTreeNode = {
|
|
1450
1460
|
readonly type: "Json";
|
|
1451
1461
|
readonly id: string;
|
|
@@ -1814,10 +1824,18 @@ declare type GetThreadsOptions<M extends BaseMetadata> = {
|
|
|
1814
1824
|
};
|
|
1815
1825
|
declare type GetThreadsSinceOptions = {
|
|
1816
1826
|
since: Date;
|
|
1827
|
+
signal?: AbortSignal;
|
|
1817
1828
|
};
|
|
1818
1829
|
declare type UploadAttachmentOptions = {
|
|
1819
1830
|
signal?: AbortSignal;
|
|
1820
1831
|
};
|
|
1832
|
+
declare type ListTextVersionsSinceOptions = {
|
|
1833
|
+
since: Date;
|
|
1834
|
+
signal?: AbortSignal;
|
|
1835
|
+
};
|
|
1836
|
+
declare type GetNotificationSettingsOptions = {
|
|
1837
|
+
signal?: AbortSignal;
|
|
1838
|
+
};
|
|
1821
1839
|
/**
|
|
1822
1840
|
* @private Widest-possible Room type, matching _any_ Room instance. Note that
|
|
1823
1841
|
* this type is different from `Room`-without-type-arguments. That represents
|
|
@@ -2223,7 +2241,7 @@ declare type Room<P extends JsonObject = DP, S extends LsonObject = DS, U extend
|
|
|
2223
2241
|
* @example
|
|
2224
2242
|
* const settings = await room.getNotificationSettings();
|
|
2225
2243
|
*/
|
|
2226
|
-
getNotificationSettings(): Promise<RoomNotificationSettings>;
|
|
2244
|
+
getNotificationSettings(options?: GetNotificationSettingsOptions): Promise<RoomNotificationSettings>;
|
|
2227
2245
|
/**
|
|
2228
2246
|
* Updates the user's notification settings for the current room.
|
|
2229
2247
|
*
|
|
@@ -2259,12 +2277,19 @@ declare type PrivateRoomApi = {
|
|
|
2259
2277
|
onProviderUpdate: Observable<void>;
|
|
2260
2278
|
getSelf_forDevTools(): UserTreeNode | null;
|
|
2261
2279
|
getOthers_forDevTools(): readonly UserTreeNode[];
|
|
2262
|
-
reportTextEditor(editor: "lexical", rootKey: string): void
|
|
2263
|
-
createTextMention(userId: string, mentionId: string): Promise<
|
|
2264
|
-
deleteTextMention(mentionId: string): Promise<
|
|
2265
|
-
listTextVersions(): Promise<
|
|
2280
|
+
reportTextEditor(editor: "lexical", rootKey: string): Promise<void>;
|
|
2281
|
+
createTextMention(userId: string, mentionId: string): Promise<void>;
|
|
2282
|
+
deleteTextMention(mentionId: string): Promise<void>;
|
|
2283
|
+
listTextVersions(): Promise<{
|
|
2284
|
+
versions: HistoryVersion[];
|
|
2285
|
+
requestedAt: Date;
|
|
2286
|
+
}>;
|
|
2287
|
+
listTextVersionsSince(options: ListTextVersionsSinceOptions): Promise<{
|
|
2288
|
+
versions: HistoryVersion[];
|
|
2289
|
+
requestedAt: Date;
|
|
2290
|
+
}>;
|
|
2266
2291
|
getTextVersion(versionId: string): Promise<Response>;
|
|
2267
|
-
createTextVersion(): Promise<
|
|
2292
|
+
createTextVersion(): Promise<void>;
|
|
2268
2293
|
simulate: {
|
|
2269
2294
|
explicitClose(event: IWebSocketCloseEvent): void;
|
|
2270
2295
|
rawSend(data: string): void;
|
|
@@ -2302,12 +2327,25 @@ declare type PartialUnless<C, T> = Record<string, never> extends C ? Partial<T>
|
|
|
2302
2327
|
declare type OptionalTupleUnless<C, T extends any[]> = Record<string, never> extends C ? OptionalTuple<T> : [
|
|
2303
2328
|
C
|
|
2304
2329
|
] extends [never] ? OptionalTuple<T> : T;
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2330
|
+
|
|
2331
|
+
declare type GetInboxNotificationsOptions = {
|
|
2332
|
+
cursor?: string;
|
|
2333
|
+
};
|
|
2334
|
+
declare type GetInboxNotificationsSinceOptions = {
|
|
2335
|
+
since: Date;
|
|
2336
|
+
signal?: AbortSignal;
|
|
2337
|
+
};
|
|
2338
|
+
declare type GetUserThreadsOptions<M extends BaseMetadata> = {
|
|
2339
|
+
cursor?: string;
|
|
2340
|
+
query?: {
|
|
2341
|
+
resolved?: boolean;
|
|
2342
|
+
metadata?: Partial<QueryMetadata<M>>;
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
declare type GetUserThreadsSinceOptions = {
|
|
2346
|
+
since: Date;
|
|
2347
|
+
signal?: AbortSignal;
|
|
2348
|
+
};
|
|
2311
2349
|
|
|
2312
2350
|
declare type OptionalPromise<T> = T | Promise<T>;
|
|
2313
2351
|
|
|
@@ -2377,15 +2415,13 @@ declare type PrivateClientApi<U extends BaseUserMeta, M extends BaseMetadata> =
|
|
|
2377
2415
|
readonly usersStore: BatchStore<U["info"] | undefined, string>;
|
|
2378
2416
|
readonly roomsInfoStore: BatchStore<DRI | undefined, string>;
|
|
2379
2417
|
readonly getRoomIds: () => string[];
|
|
2380
|
-
readonly getUserThreads_experimental: (options:
|
|
2418
|
+
readonly getUserThreads_experimental: (options: GetUserThreadsOptions<M>) => Promise<{
|
|
2381
2419
|
threads: ThreadData<M>[];
|
|
2382
2420
|
inboxNotifications: InboxNotificationData[];
|
|
2383
2421
|
nextCursor: string | null;
|
|
2384
2422
|
requestedAt: Date;
|
|
2385
2423
|
}>;
|
|
2386
|
-
readonly getUserThreadsSince_experimental: (options: {
|
|
2387
|
-
since: Date;
|
|
2388
|
-
} & GetThreadsOptions<M>) => Promise<{
|
|
2424
|
+
readonly getUserThreadsSince_experimental: (options: GetUserThreadsSinceOptions) => Promise<{
|
|
2389
2425
|
inboxNotifications: {
|
|
2390
2426
|
updated: InboxNotificationData[];
|
|
2391
2427
|
deleted: InboxNotificationDeleteInfo[];
|
|
@@ -2396,6 +2432,7 @@ declare type PrivateClientApi<U extends BaseUserMeta, M extends BaseMetadata> =
|
|
|
2396
2432
|
};
|
|
2397
2433
|
requestedAt: Date;
|
|
2398
2434
|
}>;
|
|
2435
|
+
as<M2 extends BaseMetadata>(): Client<U, M2>;
|
|
2399
2436
|
};
|
|
2400
2437
|
declare type NotificationsApi<M extends BaseMetadata> = {
|
|
2401
2438
|
/**
|
|
@@ -2415,9 +2452,7 @@ declare type NotificationsApi<M extends BaseMetadata> = {
|
|
|
2415
2452
|
* const data = await client.getInboxNotifications(); // Fetch initial page (of 20 inbox notifications)
|
|
2416
2453
|
* const data = await client.getInboxNotifications({ cursor: nextCursor }); // Fetch next page (= next 20 inbox notifications)
|
|
2417
2454
|
*/
|
|
2418
|
-
getInboxNotifications(options?: {
|
|
2419
|
-
cursor?: string;
|
|
2420
|
-
}): Promise<{
|
|
2455
|
+
getInboxNotifications(options?: GetInboxNotificationsOptions): Promise<{
|
|
2421
2456
|
inboxNotifications: InboxNotificationData[];
|
|
2422
2457
|
threads: ThreadData<M>[];
|
|
2423
2458
|
nextCursor: string | null;
|
|
@@ -2442,7 +2477,7 @@ declare type NotificationsApi<M extends BaseMetadata> = {
|
|
|
2442
2477
|
* requestedAt,
|
|
2443
2478
|
* } = await client.getInboxNotificationsSince({ since: result.requestedAt }});
|
|
2444
2479
|
*/
|
|
2445
|
-
getInboxNotificationsSince(
|
|
2480
|
+
getInboxNotificationsSince(options: GetInboxNotificationsSinceOptions): Promise<{
|
|
2446
2481
|
inboxNotifications: {
|
|
2447
2482
|
updated: InboxNotificationData[];
|
|
2448
2483
|
deleted: InboxNotificationDeleteInfo[];
|
|
@@ -2502,17 +2537,17 @@ declare type Client<U extends BaseUserMeta = DU, M extends BaseMetadata = DM> =
|
|
|
2502
2537
|
*
|
|
2503
2538
|
* @param roomId The id of the room
|
|
2504
2539
|
*/
|
|
2505
|
-
getRoom<P extends JsonObject = DP, S extends LsonObject = DS, E extends Json = DE,
|
|
2540
|
+
getRoom<P extends JsonObject = DP, S extends LsonObject = DS, E extends Json = DE, M2 extends BaseMetadata = M>(roomId: string): Room<P, S, U, E, M2> | null;
|
|
2506
2541
|
/**
|
|
2507
2542
|
* Enter a room.
|
|
2508
2543
|
* @param roomId The id of the room
|
|
2509
2544
|
* @param options Optional. You can provide initializers for the Presence or Storage when entering the Room.
|
|
2510
2545
|
* @returns The room and a leave function. Call the returned leave() function when you no longer need the room.
|
|
2511
2546
|
*/
|
|
2512
|
-
enterRoom<P extends JsonObject = DP, S extends LsonObject = DS, E extends Json = DE,
|
|
2547
|
+
enterRoom<P extends JsonObject = DP, S extends LsonObject = DS, E extends Json = DE, M2 extends BaseMetadata = M>(roomId: string, ...args: OptionalTupleUnless<P & S, [
|
|
2513
2548
|
options: EnterOptions<NoInfr<P>, NoInfr<S>>
|
|
2514
2549
|
]>): {
|
|
2515
|
-
room: Room<P, S, U, E,
|
|
2550
|
+
room: Room<P, S, U, E, M2>;
|
|
2516
2551
|
leave: () => void;
|
|
2517
2552
|
};
|
|
2518
2553
|
/**
|
|
@@ -2625,12 +2660,6 @@ declare type ClientOptions<U extends BaseUserMeta = DU> = {
|
|
|
2625
2660
|
* });
|
|
2626
2661
|
*/
|
|
2627
2662
|
declare function createClient<U extends BaseUserMeta = DU>(options: ClientOptions<U>): Client<U>;
|
|
2628
|
-
declare class NotificationsApiError extends Error {
|
|
2629
|
-
message: string;
|
|
2630
|
-
status: number;
|
|
2631
|
-
details?: JsonObject | undefined;
|
|
2632
|
-
constructor(message: string, status: number, details?: JsonObject | undefined);
|
|
2633
|
-
}
|
|
2634
2663
|
|
|
2635
2664
|
declare type CommentBodyParagraphElementArgs = {
|
|
2636
2665
|
/**
|
|
@@ -2806,6 +2835,12 @@ declare function assert(condition: boolean, errmsg: string): asserts condition;
|
|
|
2806
2835
|
*/
|
|
2807
2836
|
declare function nn<T>(value: T, errmsg?: string): NonNullable<T>;
|
|
2808
2837
|
|
|
2838
|
+
declare class HttpError extends Error {
|
|
2839
|
+
message: string;
|
|
2840
|
+
status: number;
|
|
2841
|
+
details?: JsonObject | undefined;
|
|
2842
|
+
constructor(message: string, status: number, details?: JsonObject | undefined);
|
|
2843
|
+
}
|
|
2809
2844
|
/**
|
|
2810
2845
|
* Wraps a promise factory. Will create promises until one succeeds. If
|
|
2811
2846
|
* a promise rejects, it will retry calling the factory for at most `maxTries`
|
|
@@ -2818,12 +2853,9 @@ declare function nn<T>(value: T, errmsg?: string): NonNullable<T>;
|
|
|
2818
2853
|
* @param promiseFn The promise factory to execute
|
|
2819
2854
|
* @param maxTries The number of total tries (must be >=1)
|
|
2820
2855
|
* @param backoff An array of timings to inject between each promise attempt
|
|
2821
|
-
* @param
|
|
2856
|
+
* @param shouldStopRetrying An optional function to not auto-retry on certain errors
|
|
2822
2857
|
*/
|
|
2823
|
-
declare function autoRetry<T>(promiseFn: () => Promise<T>, maxTries: number, backoff: number[],
|
|
2824
|
-
declare class StopRetrying extends Error {
|
|
2825
|
-
constructor(reason: string);
|
|
2826
|
-
}
|
|
2858
|
+
declare function autoRetry<T>(promiseFn: () => Promise<T>, maxTries: number, backoff: number[], shouldStopRetrying?: (err: any) => boolean): Promise<T>;
|
|
2827
2859
|
|
|
2828
2860
|
declare function chunk<T>(array: T[], size: number): T[][];
|
|
2829
2861
|
|
|
@@ -2913,13 +2945,55 @@ declare function objectToQuery(obj: {
|
|
|
2913
2945
|
|
|
2914
2946
|
declare type Poller = {
|
|
2915
2947
|
/**
|
|
2916
|
-
*
|
|
2917
|
-
*
|
|
2918
|
-
|
|
2948
|
+
* Increments the subscriber count for this poller. If it becomes > 0, the
|
|
2949
|
+
* poller will be enabled.
|
|
2950
|
+
*/
|
|
2951
|
+
inc(): void;
|
|
2952
|
+
/**
|
|
2953
|
+
* Decrements the subscriber count for this poller. If it becomes = 0, the
|
|
2954
|
+
* poller will be disabled.
|
|
2919
2955
|
*/
|
|
2920
|
-
|
|
2956
|
+
dec(): void;
|
|
2957
|
+
/**
|
|
2958
|
+
* Polls immediately only if it has been more than `maxStaleTimeMs` milliseconds since
|
|
2959
|
+
* the last poll and no poll is currently in progress. After polling, schedules
|
|
2960
|
+
* the next poll at the regular interval.
|
|
2961
|
+
*/
|
|
2962
|
+
pollNowIfStale(): void;
|
|
2921
2963
|
};
|
|
2922
|
-
|
|
2964
|
+
/**
|
|
2965
|
+
* Makes a poller that will call `await callback()` at the desired interval (in
|
|
2966
|
+
* millis).
|
|
2967
|
+
*
|
|
2968
|
+
* The poller has only three public APIs, all side effects:
|
|
2969
|
+
* - .inc(): void
|
|
2970
|
+
* - .dec(): void
|
|
2971
|
+
* - .pollNowIfStale(): void
|
|
2972
|
+
*
|
|
2973
|
+
* It has the following behaviors/guarantees:
|
|
2974
|
+
* - Performing a "poll" literally means calling the provided callback (and
|
|
2975
|
+
* awaiting it)
|
|
2976
|
+
* - It will only ever start polling if .inc() was called (more often than .dec())
|
|
2977
|
+
* - It will not _immediately_ poll if .inc() is called. The first poll
|
|
2978
|
+
* can be expected no earlier than the specified interval.
|
|
2979
|
+
* - If .dec() is called as many times as .inc(), it stops the poller. This
|
|
2980
|
+
* means that any next poll will get unscheduled. If .dev() is called while
|
|
2981
|
+
* a poll is ongoing, it will still finish that poll, but after that stop
|
|
2982
|
+
* further polling.
|
|
2983
|
+
* - If the document's visibility state changes to hidden (tab is moved to the
|
|
2984
|
+
* background), polling will be paused until the document's made visible again
|
|
2985
|
+
* - If the document becomes visible again, the poller will:
|
|
2986
|
+
* - Still do nothing if the poller isn't enabled
|
|
2987
|
+
* - Still do nothing if the poller is enabled, but the last time a poll
|
|
2988
|
+
* happened recently enough (= less than the maxStaleTimeMs, which defaults
|
|
2989
|
+
* to infinity)
|
|
2990
|
+
* - Trigger a poll right away otherwise. If an existing poll was already
|
|
2991
|
+
* scheduled, think of it as if this future poll is "earlied" and just
|
|
2992
|
+
* happening right now instead
|
|
2993
|
+
*/
|
|
2994
|
+
declare function makePoller(callback: (signal: AbortSignal) => Promise<void> | void, intervalMs: number, options?: {
|
|
2995
|
+
maxStaleTimeMs?: number;
|
|
2996
|
+
}): Poller;
|
|
2923
2997
|
|
|
2924
2998
|
declare const brand: unique symbol;
|
|
2925
2999
|
declare type Brand<T, TBrand extends string> = T & {
|
|
@@ -3051,6 +3125,42 @@ declare function asPos(str: string): Pos;
|
|
|
3051
3125
|
*/
|
|
3052
3126
|
declare function shallow(a: unknown, b: unknown): boolean;
|
|
3053
3127
|
|
|
3128
|
+
/**
|
|
3129
|
+
* A datastructure to keep elements in ascending order, defined by a key
|
|
3130
|
+
* function, i.e.
|
|
3131
|
+
*
|
|
3132
|
+
* const sorted = SortedList.from([{ id: 1 }, { id: 4 }, { id: 4 }, { id: 9 }], x => x.id)
|
|
3133
|
+
* sorted.add({ id: 5 })
|
|
3134
|
+
* sorted.remove({ id: 4 })
|
|
3135
|
+
*
|
|
3136
|
+
* Array.from(sorted)
|
|
3137
|
+
* [{ id: 1 }, { id: 4 }, { id: 4 }, { id: 5 }, { id: 9 }])
|
|
3138
|
+
*/
|
|
3139
|
+
declare class SortedList<T> {
|
|
3140
|
+
private _data;
|
|
3141
|
+
private _lt;
|
|
3142
|
+
private constructor();
|
|
3143
|
+
static from<T>(arr: T[], lt: (a: T, b: T) => boolean): SortedList<T>;
|
|
3144
|
+
static fromAlreadySorted<T>(alreadySorted: T[], lt: (a: T, b: T) => boolean): SortedList<T>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Clones the sorted list to a new instance.
|
|
3147
|
+
*/
|
|
3148
|
+
clone(): SortedList<T>;
|
|
3149
|
+
/**
|
|
3150
|
+
* Adds a new item to the sorted list, such that it remains sorted.
|
|
3151
|
+
*/
|
|
3152
|
+
add(value: T): void;
|
|
3153
|
+
/**
|
|
3154
|
+
* Removes the given value from the sorted list, if it exists. The given
|
|
3155
|
+
* value must be `===` to one of the list items. Only the first entry will be
|
|
3156
|
+
* removed if the element exists in the sorted list multiple times.
|
|
3157
|
+
*/
|
|
3158
|
+
remove(value: T): boolean;
|
|
3159
|
+
get length(): number;
|
|
3160
|
+
filter(predicate: (value: T) => boolean): IterableIterator<T>;
|
|
3161
|
+
[Symbol.iterator](): IterableIterator<T>;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3054
3164
|
declare type OmitFirstTupleElement<T extends any[]> = T extends [any, ...infer R] ? R : never;
|
|
3055
3165
|
/**
|
|
3056
3166
|
* Like JSON.stringify(), but returns the same value no matter how the keys in
|
|
@@ -3074,16 +3184,6 @@ declare type URLSafeString = Brand<string, "URLSafeString">;
|
|
|
3074
3184
|
*/
|
|
3075
3185
|
declare function url(strings: TemplateStringsArray, ...values: string[]): URLSafeString;
|
|
3076
3186
|
|
|
3077
|
-
declare type HistoryVersion = {
|
|
3078
|
-
type: "historyVersion";
|
|
3079
|
-
kind: "yjs";
|
|
3080
|
-
createdAt: Date;
|
|
3081
|
-
id: string;
|
|
3082
|
-
authors: {
|
|
3083
|
-
id: string;
|
|
3084
|
-
}[];
|
|
3085
|
-
};
|
|
3086
|
-
|
|
3087
3187
|
/**
|
|
3088
3188
|
* Definition of all messages the Panel can send to the Client.
|
|
3089
3189
|
*/
|
|
@@ -3216,4 +3316,9 @@ declare type EnsureJson<T> = T extends Json ? T : T extends Array<infer I> ? (En
|
|
|
3216
3316
|
[K in keyof T as EnsureJson<T[K]> extends never ? never : K]: EnsureJson<T[K]>;
|
|
3217
3317
|
};
|
|
3218
3318
|
|
|
3219
|
-
|
|
3319
|
+
/** @deprecated Use HttpError instead. */
|
|
3320
|
+
declare const CommentsApiError: typeof HttpError;
|
|
3321
|
+
/** @deprecated Use HttpError instead. */
|
|
3322
|
+
declare const NotificationsApiError: typeof HttpError;
|
|
3323
|
+
|
|
3324
|
+
export { type AckOp, type ActivityData, type AsyncError, type AsyncLoading, type AsyncResult, type AsyncSuccess, type BaseActivitiesData, type BaseAuthResult, 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, CommentsApiError, type CommentsEventServerMsg, CrdtType, type CreateListOp, type CreateMapOp, type CreateObjectOp, type CreateOp, type CreateRegisterOp, type CustomAuthenticationResult, type DAD, type DE, type DM, type DP, type DRI, type DS, type DU, type Delegates, type DeleteCrdtOp, type DeleteObjectKeyOp, DevToolsTreeNode as DevTools, protocol as DevToolsMsg, type DistributiveOmit, type EnsureJson, type EnterOptions, type EventSource, type FetchStorageClientMsg, type FetchYDocClientMsg, type GetThreadsOptions, type GetUserThreadsOptions, type History, type HistoryVersion, HttpError, type IUserInfo, type IWebSocket, type IWebSocketCloseEvent, type IWebSocketEvent, type IWebSocketInstance, type IWebSocketMessageEvent, type IdTuple, type Immutable, type InboxNotificationCustomData, type InboxNotificationCustomDataPlain, type InboxNotificationData, type InboxNotificationDataPlain, type InboxNotificationDeleteInfo, type InboxNotificationTextMentionData, type InboxNotificationTextMentionDataPlain, type InboxNotificationThreadData, type InboxNotificationThreadDataPlain, type InitialDocumentStateServerMsg, type Json, type JsonArray, type JsonObject, type JsonScalar, type KDAD, LiveList, type LiveListUpdate, LiveMap, type LiveMapUpdate, type LiveNode, LiveObject, type LiveObjectUpdate, type LiveStructure, LiveblocksError, type LostConnectionEvent, type Lson, type LsonObject, type NoInfr, type NodeMap, NotificationsApiError, type Observable, type Op, OpCode, type OpaqueClient, type OpaqueRoom, type OptionalPromise, type OptionalTupleUnless, type OthersEvent, type ParentToChildNodeMap, type PartialUnless, type Patchable, type PlainLson, type PlainLsonFields, type PlainLsonList, type PlainLsonMap, type PlainLsonObject, type Poller, type PrivateClientApi, type PrivateRoomApi, type QueryMetadata, type QueryParams, type RejectedStorageOpServerMsg, type Resolve, type ResolveMentionSuggestionsArgs, type ResolveRoomsInfoArgs, type ResolveUsersArgs, type Room, type RoomEventMessage, type RoomNotificationSettings, type RoomStateServerMsg, type SerializedChild, type SerializedCrdt, type SerializedList, type SerializedMap, type SerializedObject, type SerializedRegister, type SerializedRootObject, type ServerMsg, ServerMsgCode, type SetParentKeyOp, SortedList, type Status, type StorageStatus, type StorageUpdate, type Store, type StringifyCommentBodyElements, type StringifyCommentBodyOptions, type ThreadData, type ThreadDataPlain, type ThreadDataWithDeleteInfo, type ThreadDeleteInfo, type ToImmutable, type ToJson, type URLSafeString, type UnsubscribeCallback, type UpdateObjectOp, type UpdatePresenceClientMsg, type UpdatePresenceServerMsg, type UpdateStorageClientMsg, type UpdateStorageServerMsg, type UpdateYDocClientMsg, type UploadAttachmentOptions, type User, type UserJoinServerMsg, type UserLeftServerMsg, WebsocketCloseCodes, type YDocUpdateServerMsg, ackOp, asPos, assert, assertNever, autoRetry, b64decode, chunk, cloneLson, compactObject, fancyConsole as console, convertToCommentData, convertToCommentUserReaction, convertToInboxNotificationData, convertToThreadData, createClient, createCommentId, createInboxNotificationId, createStore, createThreadId, deprecate, deprecateIf, detectDupes, errorIf, freeze, getMentionedIdsFromCommentBody, isChildCrdt, isJsonArray, isJsonObject, isJsonScalar, isLiveNode, isPlainObject, isRootCrdt, kInternal, legacy_patchImmutableObject, lsonToJson, makeEventSource, makePoller, makePosition, mapValues, memoizeOnSuccess, nanoid, nn, objectToQuery, patchLiveObjectKey, raise, shallow, stringify, stringifyCommentBody, throwUsageError, toPlainLson, tryParseJson, url, urljoin, wait, withTimeout };
|