1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +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

@@ -727,6 +727,7 @@ export type UserEmailsArgs = {
before?: InputMaybe<Scalars["String"]["input"]>;
first?: InputMaybe<Scalars["Int"]["input"]>;
last?: InputMaybe<Scalars["Int"]["input"]>;
state?: InputMaybe<UserEmailState>;
};
/** A user is an individual's account. */
@@ -783,6 +784,14 @@ export type UserEmailEdge = {
node: UserEmail;
};
/** The state of a compatibility session. */
export enum UserEmailState {
/** The email address has been confirmed. */
Confirmed = "CONFIRMED",
/** The email address is pending confirmation. */
Pending = "PENDING",
}
/** The input for the `verifyEmail` mutation */
export type VerifyEmailInput = {
/** The verification code */