( user?: Pick<LoggedUser, 'id'>, )
| 295 | }; |
| 296 | |
| 297 | export 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. */ |
| 303 | export const latestBookmarksQueryOptions = ({ |
no test coverage detected