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

Function updateBookmarkFolder

packages/shared/src/graphql/bookmarks.ts:267–281  ·  view source on GitHub ↗
({
  id,
  name,
  icon,
}: BookmarkFolder)

Source from the content-addressed store, hash-verified

265`;
266
267export const updateBookmarkFolder = async ({
268 id,
269 name,
270 icon,
271}: BookmarkFolder): Promise<BookmarkFolder> => {
272 return gqlClient
273 .request<{
274 updateBookmarkList: BookmarkFolder;
275 }>(UPDATE_BOOKMARK_FOLDER, {
276 id,
277 name,
278 icon,
279 })
280 .then((data) => data.updateBookmarkList);
281};
282
283export const DELETE_BOOKMARK_FOLDER = gql`
284 mutation RemoveBookmarkList($id: ID!) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected