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

Interface CardData

frontend/src/hooks/useCard.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { createCard, getCardById, updateCard } from '../services/cards'
6
7interface CardData {
8 front: string
9 back: string
10 id?: string
11}
12
13const hasCardContentChanged = (originalCard: CardData, modifiedCard: CardData): boolean => {
14 return modifiedCard.front !== originalCard.front || modifiedCard.back !== originalCard.back

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected