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

Function setBookmarkReadState

packages/shared/src/graphql/bookmarks.ts:43–50  ·  view source on GitHub ↗
({
  postId,
  read,
}: {
  postId: string;
  read: boolean;
})

Source from the content-addressed store, hash-verified

41`;
42
43export const setBookmarkReadState = ({
44 postId,
45 read,
46}: {
47 postId: string;
48 read: boolean;
49}): Promise<EmptyResponse> =>
50 gqlClient.request(SET_BOOKMARK_READ_STATE, { postId, read });
51
52export const SET_BOOKMARK_ARCHIVED = gql`
53 mutation SetBookmarkArchived($postId: ID!, $archived: Boolean!) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected