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

Function getCollections

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

Source from the content-addressed store, hash-verified

5const repo = () => getCollectionRepository(isGuest())
6
7export const getCollections = async (): Promise<Collection[]> => {
8 return repo().getAll()
9}
10
11export const getCollectionById = async (id: string): Promise<Collection | null> => {
12 return repo().getById(id)

Callers

nothing calls this directly

Calls 2

repoFunction · 0.70
getAllMethod · 0.65

Tested by

no test coverage detected