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

Class ApiStatsRepository

frontend/src/repositories/stats/ApiStatsRepository.ts:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import type { StatsRepository } from './StatsRepository'
4
5export class ApiStatsRepository implements StatsRepository {
6 async getCollectionStats(collectionId: string, limit = 30): Promise<CollectionStats> {
7 return StatsService.getCollectionStatisticsEndpoint({
8 collectionId,
9 limit,
10 })
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected