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

Function getCollectionStats

frontend/src/services/stats.ts:7–12  ·  view source on GitHub ↗
(
  collectionId: string,
  limit = 30,
)

Source from the content-addressed store, hash-verified

5const repo = () => getStatsRepository(isGuest())
6
7export const getCollectionStats = async (
8 collectionId: string,
9 limit = 30,
10): Promise<CollectionStats> => {
11 return repo().getCollectionStats(collectionId, limit)
12}

Callers 1

StatsPageFunction · 0.90

Calls 2

repoFunction · 0.70
getCollectionStatsMethod · 0.65

Tested by

no test coverage detected