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

Function repo

frontend/src/services/cards.ts:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { isGuest } from '@/utils/authUtils'
4
5const repo = () => getCardRepository(isGuest())
6
7export const getCards = async (collectionId: string): Promise<Card[]> => {
8 return repo().getAll(collectionId)

Callers 5

getCardsFunction · 0.70
getCardByIdFunction · 0.70
createCardFunction · 0.70
updateCardFunction · 0.70
deleteCardFunction · 0.70

Calls 2

getCardRepositoryFunction · 0.90
isGuestFunction · 0.90

Tested by

no test coverage detected