(data: CollectionCreate)
| 13 | } |
| 14 | |
| 15 | export const createCollection = async (data: CollectionCreate): Promise<Collection> => { |
| 16 | return repo().create(data) |
| 17 | } |
| 18 | |
| 19 | export const updateCollection = async (id: string, data: CollectionUpdate): Promise<Collection> => { |
| 20 | return repo().update(id, data) |
no test coverage detected