MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / updateCollection

Function updateCollection

frontend/src/services/collections.ts:19–21  ·  view source on GitHub ↗
(id: string, data: CollectionUpdate)

Source from the content-addressed store, hash-verified

17}
18
19export const updateCollection = async (id: string, data: CollectionUpdate): Promise<Collection> => {
20 return repo().update(id, data)
21}
22
23export const deleteCollection = async (id: string): Promise<void> => {
24 return repo().delete(id)

Callers 1

renameCollectionFunction · 0.90

Calls 2

repoFunction · 0.70
updateMethod · 0.65

Tested by

no test coverage detected