( db: Low<Schema>, docName: string )
| 131 | } |
| 132 | |
| 133 | export function getDocument( |
| 134 | db: Low<Schema>, |
| 135 | docName: string |
| 136 | ): Document | undefined { |
| 137 | return db.data.documents[docName]; |
| 138 | } |
| 139 | |
| 140 | export async function deleteDocumentFromDB({ |
| 141 | db, |
no outgoing calls
no test coverage detected