()
| 18 | } |
| 19 | |
| 20 | export const getLocalCollections = async (): Promise<LocalCollection[]> => { |
| 21 | return await db.collections.orderBy('updatedAt').reverse().toArray() |
| 22 | } |
| 23 | |
| 24 | export const getLocalCollectionById = async (id: string): Promise<LocalCollection> => { |
| 25 | const collection = await db.collections.get(id) |
nothing calls this directly
no outgoing calls
no test coverage detected