( uid: string, )
| 788 | } |
| 789 | |
| 790 | export async function getStats( |
| 791 | uid: string, |
| 792 | ): Promise<Pick<DBUser, "startedTests" | "completedTests" | "timeTyping">> { |
| 793 | const user = await getPartialUser(uid, "get stats", [ |
| 794 | "startedTests", |
| 795 | "completedTests", |
| 796 | "timeTyping", |
| 797 | ]); |
| 798 | |
| 799 | return user; |
| 800 | } |
| 801 | |
| 802 | export async function getFavoriteQuotes( |
| 803 | uid: string, |
nothing calls this directly
no test coverage detected