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