MCPcopy Create free account
hub / github.com/dailydotdev/apps / chatRoomQueryKey

Function chatRoomQueryKey

packages/shared/src/features/liveChat/queries.ts:35–36  ·  view source on GitHub ↗
(user: QueryUser, roomId: string)

Source from the content-addressed store, hash-verified

33 });
34
35export const chatRoomQueryKey = (user: QueryUser, roomId: string) =>
36 generateQueryKey(RequestKey.ChatRooms, user, 'room', roomId);
37
38// A room by id, for the chat page; polled like the post's room so the
39// occupant count and the room's end stay current.

Callers 1

chatRoomQueryOptionsFunction · 0.85

Calls 1

generateQueryKeyFunction · 0.90

Tested by

no test coverage detected