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

Function repo

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

Source from the content-addressed store, hash-verified

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

Callers 5

getCollectionsFunction · 0.70
getCollectionByIdFunction · 0.70
createCollectionFunction · 0.70
updateCollectionFunction · 0.70
deleteCollectionFunction · 0.70

Calls 2

getCollectionRepositoryFunction · 0.90
isGuestFunction · 0.90

Tested by

no test coverage detected