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

Function updateCard

frontend/src/services/cards.ts:19–25  ·  view source on GitHub ↗
(
  collectionId: string,
  id: string,
  data: CardUpdate,
)

Source from the content-addressed store, hash-verified

17}
18
19export const updateCard = async (
20 collectionId: string,
21 id: string,
22 data: CardUpdate,
23): Promise<Card> => {
24 return repo().update(collectionId, id, data)
25}
26
27export const deleteCard = async (collectionId: string, id: string): Promise<void> => {
28 return repo().delete(collectionId, id)

Callers 1

useCardFunction · 0.90

Calls 2

repoFunction · 0.70
updateMethod · 0.65

Tested by

no test coverage detected