( uid: string, )
| 947 | } |
| 948 | |
| 949 | export async function getInbox( |
| 950 | uid: string, |
| 951 | ): Promise<NonNullable<DBUser["inbox"]>> { |
| 952 | const user = await getPartialUser(uid, "get inbox", ["inbox"]); |
| 953 | return user.inbox ?? []; |
| 954 | } |
| 955 | |
| 956 | type AddToInboxBulkEntry = { |
| 957 | uid: string; |
nothing calls this directly
no test coverage detected