feat(contacts): switch contacts UX to email-first flow
Some checks failed
CI / test (push) Failing after 18s
Some checks failed
CI / test (push) Failing after 18s
- expose email in user search/contact responses - add add-contact-by-email API endpoint - show email in contacts/search and add contact form by email in Contacts tab
This commit is contained in:
@@ -40,4 +40,9 @@ class UserSearchRead(BaseModel):
|
||||
id: int
|
||||
name: str
|
||||
username: str
|
||||
email: EmailStr
|
||||
avatar_url: str | None = None
|
||||
|
||||
|
||||
class ContactByEmailRequest(BaseModel):
|
||||
email: EmailStr
|
||||
|
||||
Reference in New Issue
Block a user