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

Function getCardById

frontend/src/services/cards.ts:11–13  ·  view source on GitHub ↗
(collectionId: string, id: string)

Source from the content-addressed store, hash-verified

9}
10
11export const getCardById = async (collectionId: string, id: string): Promise<Card | null> => {
12 return repo().getById(collectionId, id)
13}
14
15export const createCard = async (collectionId: string, data: CardCreate): Promise<Card> => {
16 return repo().create(collectionId, data)

Callers 1

fetchCardFunction · 0.90

Calls 2

repoFunction · 0.70
getByIdMethod · 0.65

Tested by

no test coverage detected