diff --git a/src/index.tsx b/src/index.tsx index e0fec82..d9b90e9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2154,6 +2154,7 @@ export enum ProcessingStatusEnum { export type Query = { __typename?: "Query"; + doesUsernameExist: Scalars["Boolean"]["output"]; getAggregatedShotMetrics: Array; getBucketSet?: Maybe; getDeployedConfig: DeployedConfigGql; @@ -2176,6 +2177,10 @@ export type Query = { waitFor: Scalars["Float"]["output"]; }; +export type QueryDoesUsernameExistArgs = { + candidateUsername: Scalars["String"]["input"]; +}; + export type QueryGetAggregatedShotMetricsArgs = { aggregateInput: AggregateInputGql; }; diff --git a/src/schema.gql b/src/schema.gql index 870938c..bb6285e 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -29,6 +29,7 @@ type Query { getShotsByIds(ids: [Int!]!): [ShotGQL!]! getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]! getUser(userId: Int!): UserGQL + doesUsernameExist(candidateUsername: String!): Boolean! getLoggedInUser: UserGQL getUsernames( matchString: String = null