Compare commits
	
		
			3 Commits
		
	
	
		
			9db95c4e6c
			...
			kat/get-us
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9d8155527d | |||
| 8690e81029 | |||
| 4ef13a482a | 
| @@ -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; | ||||||
| }; | }; | ||||||
| @@ -3197,14 +3202,13 @@ export type UnfollowUserMutation = { | |||||||
| }; | }; | ||||||
|  |  | ||||||
| export type GetUserFollowingFollowersQueryVariables = Exact<{ | export type GetUserFollowingFollowersQueryVariables = Exact<{ | ||||||
|   [key: string]: never; |   userId: Scalars["Int"]["input"]; | ||||||
| }>; | }>; | ||||||
|  |  | ||||||
| export type GetUserFollowingFollowersQuery = { | export type GetUserFollowingFollowersQuery = { | ||||||
|   __typename?: "Query"; |   __typename?: "Query"; | ||||||
|   getLoggedInUser?: { |   getUser?: { | ||||||
|     __typename?: "UserGQL"; |     __typename?: "UserGQL"; | ||||||
|     id: number; |  | ||||||
|     following?: Array<{ |     following?: Array<{ | ||||||
|       __typename?: "UserGQL"; |       __typename?: "UserGQL"; | ||||||
|       id: number; |       id: number; | ||||||
| @@ -5470,9 +5474,8 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions< | |||||||
|   UnfollowUserMutationVariables |   UnfollowUserMutationVariables | ||||||
| >; | >; | ||||||
| export const GetUserFollowingFollowersDocument = gql` | export const GetUserFollowingFollowersDocument = gql` | ||||||
|   query getUserFollowingFollowers { |   query getUserFollowingFollowers($userId: Int!) { | ||||||
|     getLoggedInUser { |     getUser(userId: $userId) { | ||||||
|       id |  | ||||||
|       following { |       following { | ||||||
|         id |         id | ||||||
|         username |         username | ||||||
| @@ -5497,11 +5500,12 @@ export const GetUserFollowingFollowersDocument = gql` | |||||||
|  * @example |  * @example | ||||||
|  * const { data, loading, error } = useGetUserFollowingFollowersQuery({ |  * const { data, loading, error } = useGetUserFollowingFollowersQuery({ | ||||||
|  *   variables: { |  *   variables: { | ||||||
|  |  *      userId: // value for 'userId' | ||||||
|  *   }, |  *   }, | ||||||
|  * }); |  * }); | ||||||
|  */ |  */ | ||||||
| export function useGetUserFollowingFollowersQuery( | export function useGetUserFollowingFollowersQuery( | ||||||
|   baseOptions?: Apollo.QueryHookOptions< |   baseOptions: Apollo.QueryHookOptions< | ||||||
|     GetUserFollowingFollowersQuery, |     GetUserFollowingFollowersQuery, | ||||||
|     GetUserFollowingFollowersQueryVariables |     GetUserFollowingFollowersQueryVariables | ||||||
|   >, |   >, | ||||||
|   | |||||||
| @@ -112,9 +112,8 @@ mutation unfollowUser($followedUserId: Int!) { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| query getUserFollowingFollowers { | query getUserFollowingFollowers($userId: Int!) { | ||||||
|   getLoggedInUser { |   getUser(userId: $userId) { | ||||||
|     id |  | ||||||
|     following { |     following { | ||||||
|       id |       id | ||||||
|       username |       username | ||||||
|   | |||||||
| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user