(id: string)
| 51 | } |
| 52 | |
| 53 | export const getLocalCardById = async (id: string): Promise<LocalCard> => { |
| 54 | const card = await db.cards.get(id) |
| 55 | if (!card) throw new Error('Card not found') |
| 56 | return card |
| 57 | } |
| 58 | |
| 59 | export const updateLocalCard = async ( |
| 60 | id: string, |
nothing calls this directly
no outgoing calls
no test coverage detected