({
id,
name,
icon,
}: BookmarkFolder)
| 265 | `; |
| 266 | |
| 267 | export 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 | |
| 283 | export const DELETE_BOOKMARK_FOLDER = gql` |
| 284 | mutation RemoveBookmarkList($id: ID!) { |
nothing calls this directly
no outgoing calls
no test coverage detected