1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Better user emails pagination and filtering

This commit is contained in:
Quentin Gliech
2023-07-21 15:31:55 +02:00
parent 12ad572db8
commit a75a53cc24
9 changed files with 266 additions and 74 deletions

View File

@ -937,6 +937,7 @@ type User implements Node {
Get the list of emails, chronologically sorted
"""
emails(
state: UserEmailState
after: String
before: String
first: Int
@ -1018,6 +1019,20 @@ type UserEmailEdge {
cursor: String!
}
"""
The state of a compatibility session.
"""
enum UserEmailState {
"""
The email address is pending confirmation.
"""
PENDING
"""
The email address has been confirmed.
"""
CONFIRMED
}
"""
The input for the `verifyEmail` mutation
"""