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

Function postChatRoomQueryKey

packages/shared/src/features/liveChat/queries.ts:21–22  ·  view source on GitHub ↗
(user: QueryUser, postId: string)

Source from the content-addressed store, hash-verified

19export const LIVE_CHAT_ROOMS_PAGE = 20;
20
21export const postChatRoomQueryKey = (user: QueryUser, postId: string) =>
22 generateQueryKey(RequestKey.ChatRooms, user, 'post', postId);
23
24// The room open on a post, polled while the surface showing it is mounted so
25// the occupant count and the room's end stay current.

Callers 1

postChatRoomQueryOptionsFunction · 0.85

Calls 1

generateQueryKeyFunction · 0.90

Tested by

no test coverage detected