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

Function getCollectionById

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

Source from the content-addressed store, hash-verified

9}
10
11export const getCollectionById = async (id: string): Promise<Collection | null> => {
12 return repo().getById(id)
13}
14
15export const createCollection = async (data: CollectionCreate): Promise<Collection> => {
16 return repo().create(data)

Callers

nothing calls this directly

Calls 2

repoFunction · 0.70
getByIdMethod · 0.65

Tested by

no test coverage detected