(snippetId: number)
| 508 | } |
| 509 | |
| 510 | async function deleteSnippet(snippetId: number) { |
| 511 | markPersistedStorageMutation() |
| 512 | await api.snippets.deleteSnippetsById(String(snippetId)) |
| 513 | await getSnippets(queryByLibraryOrFolderOrSearch.value) |
| 514 | } |
| 515 | |
| 516 | async function deleteSnippets(snippetIds: number[]) { |
| 517 | markPersistedStorageMutation() |
no test coverage detected