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

Function getLatestBookmarksQueryKey

packages/shared/src/graphql/bookmarks.ts:297–300  ·  view source on GitHub ↗
(
  user?: Pick<LoggedUser, 'id'>,
)

Source from the content-addressed store, hash-verified

295};
296
297export const getLatestBookmarksQueryKey = (
298 user?: Pick<LoggedUser, 'id'>,
299): ReturnType<typeof generateQueryKey> =>
300 generateQueryKey(RequestKey.Bookmarks, user, 'latest');
301
302/** The reader's latest bookmarks, newest first, as the bookmarks page lists them. */
303export const latestBookmarksQueryOptions = ({

Callers 2

useBookmarkPostFunction · 0.90

Calls 1

generateQueryKeyFunction · 0.90

Tested by

no test coverage detected