Merge pull request 'Add doesUsernameExist' (#103) from mk/does-username-exist into master

Reviewed-on: #103
This commit is contained in:
countablecloud 2024-10-30 13:08:59 -06:00
commit 8690e81029
2 changed files with 6 additions and 0 deletions

View File

@ -2154,6 +2154,7 @@ export enum ProcessingStatusEnum {
export type Query = { export type Query = {
__typename?: "Query"; __typename?: "Query";
doesUsernameExist: Scalars["Boolean"]["output"];
getAggregatedShotMetrics: Array<AggregateResultGql>; getAggregatedShotMetrics: Array<AggregateResultGql>;
getBucketSet?: Maybe<BucketSetGql>; getBucketSet?: Maybe<BucketSetGql>;
getDeployedConfig: DeployedConfigGql; getDeployedConfig: DeployedConfigGql;
@ -2176,6 +2177,10 @@ export type Query = {
waitFor: Scalars["Float"]["output"]; waitFor: Scalars["Float"]["output"];
}; };
export type QueryDoesUsernameExistArgs = {
candidateUsername: Scalars["String"]["input"];
};
export type QueryGetAggregatedShotMetricsArgs = { export type QueryGetAggregatedShotMetricsArgs = {
aggregateInput: AggregateInputGql; aggregateInput: AggregateInputGql;
}; };

View File

@ -29,6 +29,7 @@ type Query {
getShotsByIds(ids: [Int!]!): [ShotGQL!]! getShotsByIds(ids: [Int!]!): [ShotGQL!]!
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]! getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
getUser(userId: Int!): UserGQL getUser(userId: Int!): UserGQL
doesUsernameExist(candidateUsername: String!): Boolean!
getLoggedInUser: UserGQL getLoggedInUser: UserGQL
getUsernames( getUsernames(
matchString: String = null matchString: String = null