From 4ef13a482ab802167da2c359e7cf1d32d161692c Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Wed, 30 Oct 2024 12:07:54 -0700 Subject: [PATCH] Add doesUsernameExist --- src/index.tsx | 5 +++++ src/schema.gql | 1 + 2 files changed, 6 insertions(+) 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