(uid: string)
| 766 | export type DBCustomTheme = WithObjectId<CustomTheme>; |
| 767 | |
| 768 | export async function getThemes(uid: string): Promise<DBCustomTheme[]> { |
| 769 | const user = await getPartialUser(uid, "get themes", ["customThemes"]); |
| 770 | return user.customThemes ?? []; |
| 771 | } |
| 772 | |
| 773 | export async function getPersonalBests( |
| 774 | uid: string, |
nothing calls this directly
no test coverage detected