Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/liveblocks/liveblocks
/ functions
Functions
8,448 in github.com/liveblocks/liveblocks
⨍
Functions
8,448
◇
Types & classes
1,052
↳
Endpoints
1
↓ 9 callers
Function
deleteCrdtOp
( id: string, opId = nanoid() )
tools/liveblocks-cli/test/plugins/_generateFullTestSuite.ts:511
↓ 9 callers
Function
deleteCrdtOp
( id: string, opId = nanoid() )
packages/liveblocks-server/test/plugins/_generateFullTestSuite.ts:506
↓ 9 callers
Method
dispose
()
packages/liveblocks-core/src/lib/signals.ts:244
↓ 9 callers
Method
encodeThreadId
* Encodes a Liveblocks room ID and thread ID into a single thread ID string. * * Format: `liveblocks:{roomId}:{threadId}` * * **Note**: Ro
packages/liveblocks-chat-sdk-adapter/src/adapter.ts:557
↓ 9 callers
Function
expectUpdates
(updates: JsonStorageUpdate[][])
packages/liveblocks-core/src/__tests__/_devserver.ts:325
↓ 9 callers
Function
generateInboxNotificationId
()
packages/liveblocks-emails/src/__tests__/_helpers.ts:85
↓ 9 callers
Method
get
()
packages/liveblocks-react/src/umbrella-store.ts:441
↓ 9 callers
Function
getContextualPromptContext
( editor: Editor, maxLength = 10_000 )
packages/liveblocks-react-tiptap/src/utils.ts:199
↓ 9 callers
Function
getDocument
({ documentId }: Props)
starter-kits/nextjs-starter-kit/lib/actions/getDocument.ts:19
↓ 9 callers
Function
getResolvedCommentUrl
(commentId: string)
packages/liveblocks-emails/src/__tests__/_helpers.ts:391
↓ 9 callers
Function
green
(text: Stringable)
tools/liveblocks-cli/src/lib/term-colors.ts:38
↓ 9 callers
Method
handleWebhook
( request: Request, options?: WebhookOptions )
packages/liveblocks-chat-sdk-adapter/src/adapter.ts:95
↓ 9 callers
Method
listThreads
( channelId: string, options?: ListThreadsOptions )
packages/liveblocks-chat-sdk-adapter/src/adapter.ts:344
↓ 9 callers
Function
loadingSpinner
(text?: string, customIcon?: string)
tools/create-liveblocks-app/bin/utils/loading-spinner.ts:4
↓ 9 callers
Method
markThreadAsResolved
({ roomId, threadId, }: { roomId: string; threadId: string; visibility?: ThreadVisibilit
packages/liveblocks-core/src/api-client.ts:267
↓ 9 callers
Function
mockGetInboxNotificationsDelta
( resolver: HttpResponseResolver< never, never, { threads: ThreadData[]; inboxNotifi
packages/liveblocks-react/src/__tests__/_restMocks.ts:243
↓ 9 callers
Function
mockGetNotificationSettings
( resolver: HttpResponseResolver<never, never, NotificationSettingsPlain> )
packages/liveblocks-react/src/__tests__/_restMocks.ts:312
↓ 9 callers
Function
mockGetUrlMetadata
( resolver: HttpResponseResolver< { url: string }, never, { metadata: UrlMetadata } > )
packages/liveblocks-react/src/__tests__/useUrlMetadata.test.tsx:39
↓ 9 callers
Function
notify
(updates: NotifyUpdates)
packages/liveblocks-core/src/room.ts:2028
↓ 9 callers
Function
patterns
( targetState: TState, levels: number )
packages/liveblocks-core/src/lib/fsm.ts:121
↓ 9 callers
Function
prepareThreadNotificationEmailAsHtml
( client: Liveblocks, event: ThreadNotificationEvent, options: PrepareThreadNotificationEmailAsHtmlOptio
packages/liveblocks-emails/src/thread-notification.tsx:517
↓ 9 callers
Function
push
(raw: string)
examples/nextjs-linear-like-issue-tracker/src/lib/ai-issue-assistant-tools.ts:32
↓ 9 callers
Function
render
()
examples/javascript-todo-list/app.ts:79
↓ 9 callers
Function
seed
(row: number, col: number, value: string, format?: CellFormat)
examples/nextjs-ai-spreadsheet/app/Room.tsx:37
↓ 9 callers
Function
setClipboard
(page: Page, data: string, format = "text/plain")
e2e/next-sandbox/test/comments/composer.test.ts:42
↓ 9 callers
Function
settleFeedMutation
( requestId: string, outcome: "ok" | "error", error?: Error )
packages/liveblocks-core/src/room.ts:2872
↓ 9 callers
Function
updateNotificationSettings
( settings: PartialNotificationSettings )
packages/liveblocks-core/src/client.ts:1028
↓ 9 callers
Method
update_feed_message
* Update a feed message's data. * Returns the updated message. * The feed and message must exist, otherwise throws an error. * If timestamp i
packages/liveblocks-server/src/interfaces/IStorageDriver.ts:426
↓ 9 callers
Function
useCurrentUserId
()
packages/liveblocks-react-ui/src/shared.ts:9
↓ 9 callers
Function
useDeleteAiChat
* Returns a function that deletes the AI chat with the specified id. * * @example * const deleteAiChat = useDeleteAiChat(); * deleteAiChat("ai-cha
packages/liveblocks-react/src/liveblocks.tsx:1454
↓ 9 callers
Function
useDocumentsFunctionSWR
( documentActionAndArgs: [T | null, Parameters<T> | Parameters<T>[0]], swrOptions: SWRConfiguration = {} )
starter-kits/nextjs-starter-kit/lib/hooks/useDocumentsFunctionSWR.ts:14
↓ 9 callers
Function
useEditThreadMetadata
()
packages/liveblocks-react/src/room.tsx:2091
↓ 9 callers
Function
useGroup
(groupId: string)
packages/liveblocks-react/src/use-group.ts:31
↓ 9 callers
Function
useHistory
* Returns the room.history
packages/liveblocks-react/src/room.tsx:971
↓ 9 callers
Function
useLiveblocksUiConfig
()
packages/liveblocks-react-ui/src/config.tsx:63
↓ 9 callers
Function
useSendAiMessage
* Returns a function to send a message in an AI chat. * * @example * const sendAiMessage = useSendAiMessage(chatId); * sendAiMessage("Hello, Liveb
packages/liveblocks-react/src/liveblocks.tsx:1635
↓ 9 callers
Function
useToggleNode
(node: NodeApi<T>)
tools/liveblocks-devtools/src/devtools/components/Tree.tsx:615
↓ 9 callers
Function
userAllowedInRoom
({ accessAllowed, userId, organizationId, room, checkAccessLevel = "any", }: UserAllowedInRoomProps)
starter-kits/nextjs-starter-kit/lib/utils/userAllowedInRooms.ts:58
↓ 9 callers
Function
waitUntilStorageUpdate
(room: OpaqueRoom)
packages/liveblocks-core/src/__tests__/_waitUtils.ts:60
↓ 9 callers
Function
warn
(...args: unknown[])
packages/liveblocks-react/scripts/check-exports.ts:193
↓ 8 callers
Method
#updateItemPosition
* Updates an item's position and repositions it in the sorted list. * Encapsulates the remove -> mutate -> add cycle needed when changing sort keys
packages/liveblocks-core/src/crdts/LiveList.ts:151
↓ 8 callers
Function
$
(fn: () => Promise<T>)
examples/nextjs-react-flow-ai/app/flowchart/agent/agent.ts:105
↓ 8 callers
Method
addCommentReaction
* Adds a new comment reaction to a comment. * @param params.roomId The room ID to add the comment reaction in. * @param params.threadId The thre
packages/liveblocks-node/src/client.ts:2234
↓ 8 callers
Function
applyAddReaction
( thread: ThreadDataWithDeleteInfo<TM, CM>, commentId: string, reaction: CommentUserReaction )
packages/liveblocks-react/src/umbrella-store.ts:3018
↓ 8 callers
Method
clone
()
packages/liveblocks-core/src/crdts/LiveMap.ts:471
↓ 8 callers
Function
commentBodiesAsReactToStaticMarkup
( threadNotificationEmailDataAsReact: ThreadNotificationEmailDataAsReact | null )
packages/liveblocks-emails/src/__tests__/_helpers.ts:510
↓ 8 callers
Function
compactObject
( obj: O )
packages/liveblocks-core/src/lib/utils.ts:170
↓ 8 callers
Function
delete_nodes
(driver: IStorageDriver, ids: Iterable<string>)
tools/liveblocks-cli/test/plugins/_generateFullTestSuite.ts:1012
↓ 8 callers
Function
delete_nodes
(driver: IStorageDriver, ids: Iterable<string>)
packages/liveblocks-server/test/plugins/_generateFullTestSuite.ts:1007
↓ 8 callers
Function
distance
(state1: string, state2: string)
packages/liveblocks-core/src/lib/fsm.ts:101
↓ 8 callers
Method
endBrowserSession
* Unregisters the BrowserSession for the given actor. Call this when the socket has * been closed from the client's end. * * This kicks off a
packages/liveblocks-server/src/Room.ts:823
↓ 8 callers
Function
expectContextLength
( context: ContextualPromptContext, expectedLength: number )
packages/liveblocks-react-tiptap/src/__tests__/utils.test.ts:10
↓ 8 callers
Function
feedFailureServerMsg
( requestId: string | undefined, err: unknown )
packages/liveblocks-server/src/protocol/feedErrors.ts:64
↓ 8 callers
Method
getIDs
()
packages/liveblocks-react-lexical/src/comments/thread-mark-node.ts:75
↓ 8 callers
Method
getNotificationSettings
(options?: { signal?: AbortSignal; })
packages/liveblocks-core/src/api-client.ts:486
↓ 8 callers
Method
getOrCreateRoom
* Returns a room with the given id, or creates one with the given creation * options if it doesn't exist yet. * * @param roomId The id of the
packages/liveblocks-node/src/client.ts:1214
↓ 8 callers
Function
getRoomId
(issueId: string)
examples/nextjs-linear-like-issue-tracker/src/config.tsx:173
↓ 8 callers
Function
getRoomIdFromChannelId
(channelId: string)
packages/liveblocks-chat-sdk-adapter/src/adapter.ts:736
↓ 8 callers
Function
getSubscribe
( roomId: string | null, eventName: keyof EventHub )
tools/liveblocks-devtools/src/devtools/contexts/CurrentRoom.tsx:86
↓ 8 callers
Function
getThreadVisibility
( store: UmbrellaStore<TM, CM>, threadId: string )
packages/liveblocks-react/src/room.tsx:232
↓ 8 callers
Function
getUsers
()
examples/nextjs-linear-like-issue-tracker/src/database.ts:87
↓ 8 callers
Method
get_root
Get the root node.
packages/liveblocks-server/src/interfaces/IStorageDriver.ts:85
↓ 8 callers
Method
hasPermissions
@internal - For unit tests only
packages/liveblocks-node/src/Session.ts:139
↓ 8 callers
Function
idToken
(userId: string, groupIds?: string[])
tools/liveblocks-cli/test/devserver/auth.test.ts:188
↓ 8 callers
Method
initialize
(chat: ChatInstance)
packages/liveblocks-chat-sdk-adapter/src/adapter.ts:91
↓ 8 callers
Function
leave
()
packages/liveblocks-core/src/client.ts:725
↓ 8 callers
Function
listUpdateDelete
( index: number, prev: Json )
packages/liveblocks-core/src/__tests__/_updatesUtils.ts:167
↓ 8 callers
Function
makeJsonNode
( parentId: string, key: string, payload: Json )
tools/liveblocks-devtools/src/devtools/components/Tree.tsx:174
↓ 8 callers
Function
makeThread
({ threadId, comments = [], }: { threadId: string; comments?: CommentData[]; })
packages/liveblocks-emails/src/__tests__/_helpers.ts:292
↓ 8 callers
Function
makeThreadNotificationEvent
({ threadId, userId, inboxNotificationId, triggeredAt, }: { threadId: string; userId: string; in
packages/liveblocks-emails/src/__tests__/_helpers.ts:330
↓ 8 callers
Function
mockGetRoomSubscriptionSettings
( resolver: HttpResponseResolver< { roomId: string }, never, RoomSubscriptionSettings > )
packages/liveblocks-react/src/__tests__/_restMocks.ts:286
↓ 8 callers
Function
moveDelta
( previousIndex: number, index: number, item: LiveNode )
packages/liveblocks-core/src/crdts/LiveList.ts:1476
↓ 8 callers
Function
post
( path: string, body: unknown )
tools/liveblocks-cli/test/devserver/auth.test.ts:29
↓ 8 callers
Method
raw_iter_nodes
* Read raw node data directly from storage. * * @internal Test-only API
packages/liveblocks-server/src/interfaces/IStorageDriver.ts:268
↓ 8 callers
Method
removeAt
* Removes the item at the given index. * Returns the removed item, or undefined if index is out of bounds.
packages/liveblocks-core/src/lib/SortedList.ts:138
↓ 8 callers
Method
reposition
* Repositions an item to maintain sorted order after its sort key has * been mutated in-place. For example: * * const item = sorted.at(3);
packages/liveblocks-core/src/lib/SortedList.ts:159
↓ 8 callers
Method
runInMaintenanceMode
* Tries to enter maintenance mode and run the given callback exclusively. * If the room is already in maintenance mode, throws E_ALREADY_LOCKED
packages/liveblocks-server/src/Room.ts:583
↓ 8 callers
Function
selfCheck
(storage: Storage)
packages/liveblocks-server/test/plugins/_generateFullTestSuite.ts:186
↓ 8 callers
Function
showAiEditing
( liveblocks: LiveblocksClient, roomId: string, cells: SelectedCell[] | null )
examples/nextjs-ai-spreadsheet/lib/spreadsheet-server.ts:194
↓ 8 callers
Function
signIn
()
starter-kits/nextjs-starter-kit/lib/actions/signIn.ts:5
↓ 8 callers
Method
status
* Convenience accessor for response.status.
packages/liveblocks-core/src/lib/autoRetry.ts:68
↓ 8 callers
Method
updateEdgeData
Updates an edge's `data` by merging a partial object. No-op if the edge does not exist.
packages/liveblocks-react-flow/src/node.ts:89
↓ 8 callers
Method
updateRoom
* Updates specific properties of a room. It’s not necessary to provide the entire room’s information. * Setting a property to `null` means to delet
packages/liveblocks-node/src/client.ts:1291
↓ 8 callers
Method
updateThreadifications
( threads: ThreadData<TM, CM>[], notifications: InboxNotificationData[], subscriptions: Subscripti
packages/liveblocks-react/src/umbrella-store.ts:2249
↓ 8 callers
Method
upsertIfNewer
(thread: ThreadDataWithDeleteInfo<TM, CM>)
packages/liveblocks-react/src/ThreadDB.ts:136
↓ 8 callers
Method
url
(src: string)
packages/liveblocks-node/src/comment-body.ts:37
↓ 8 callers
Function
urljoin
( baseUrl: string | URL, path: string, params?: QueryParams )
packages/liveblocks-core/src/lib/url.ts:45
↓ 8 callers
Function
useAiChats
* (Private beta) Returns the chats for the current user. * * @example * const { chats } = useAiChats();
packages/liveblocks-react/src/liveblocks.tsx:1212
↓ 8 callers
Function
useContextValue
()
examples/nextjs-ai-spreadsheet/components/ai-elements/context.tsx:32
↓ 8 callers
Function
useContextValue
()
examples/nextjs-ai-elements-realtime/components/ai-elements/context.tsx:32
↓ 8 callers
Function
useHasPermissionAccess
* @private For internal use only. Do not rely on this hook.
packages/liveblocks-react/src/room.tsx:3900
↓ 8 callers
Function
useStatus
()
tools/liveblocks-devtools/src/devtools/contexts/CurrentRoom.tsx:381
↓ 7 callers
Method
#updateThread
* Updates an existing thread with a new value, replacing the corresponding * optimistic update. * * This will not update anything if: * -
packages/liveblocks-react/src/umbrella-store.ts:2082
↓ 7 callers
Function
DOCUMENT_URL
(type: DocumentType, id: string)
starter-kits/nextjs-starter-kit/constants.ts:7
↓ 7 callers
Function
SOCKET_SEQUENCE
( ...sequence: readonly SocketBehavior[] )
packages/liveblocks-core/src/__tests__/_MockWebSocketServer.behaviors.ts:221
↓ 7 callers
Method
_attach
@internal
packages/liveblocks-core/src/crdts/LiveList.ts:198
↓ 7 callers
Method
_detach
@internal
packages/liveblocks-core/src/crdts/LiveList.ts:207
↓ 7 callers
Function
accessRank
(resource: PermissionResources, matrix: PermissionMatrix)
packages/liveblocks-core/src/__tests__/permissions.test.ts:58
↓ 7 callers
Method
addTimedTransition
* Like `.addTransition()`, but takes an (anonymous) transition whenever the * timer fires. * * @param stateOrPattern The state name, or stat
packages/liveblocks-core/src/lib/fsm.ts:582
↓ 7 callers
Function
anything
()
packages/liveblocks-core/src/lib/__tests__/shallow.test.ts:6
← previous
next →
501–600 of 8,448, ranked by callers