(id: string)
| 22 | } |
| 23 | |
| 24 | export const getLocalCollectionById = async (id: string): Promise<LocalCollection> => { |
| 25 | const collection = await db.collections.get(id) |
| 26 | if (!collection) throw new Error('Collection not found') |
| 27 | return collection |
| 28 | } |
| 29 | |
| 30 | export const updateLocalCollection = async ( |
| 31 | id: string, |
nothing calls this directly
no outgoing calls
no test coverage detected