(collectionId: string)
| 5 | const repo = () => getCardRepository(isGuest()) |
| 6 | |
| 7 | export const getCards = async (collectionId: string): Promise<Card[]> => { |
| 8 | return repo().getAll(collectionId) |
| 9 | } |
| 10 | |
| 11 | export const getCardById = async (collectionId: string, id: string): Promise<Card | null> => { |
| 12 | return repo().getById(collectionId, id) |
no test coverage detected