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

Class

frontend/src/repositories/card/ApiCardRepository.ts:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import type { CardRepository } from './CardRepository'
4
5export class ApiCardRepository implements CardRepository {
6 async getAll(collectionId: string): Promise<Card[]> {
7 const result = await FlashcardsService.readCards({ collectionId })
8 return result.data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected