mutation getProfileImageUploadLink($fileExt: String = ".png") { getProfileImageUploadLink(fileExt: $fileExt) { value { ... on UploadLink { uploadUrl headers { key value } } ... on GetProfileUploadLinkErrors { error { ... on TooManyProfileImageUploadsErr { linksRequested } } } } } } mutation editProfileImageUri($profileImageUri: String!) { editProfileImageUri(profileImageUri: $profileImageUri) { id firebaseUid username profileImageUri createdAt updatedAt } } query getLoggedInUser { getLoggedInUser { id firebaseUid username isAdmin profileImageUri fargoRating activeVideoId createdAt updatedAt } } query GetUserPlayTime($userId: Int!) { getPlayTime(userId: $userId) { totalSeconds } } query getUsernames( $matchString: String! $limit: Int = null $after: String = null ) { getUsernames(matchString: $matchString, limit: $limit, after: $after) } query getUserRelationshipsMatching( $userId: Int! $matchString: String! $limit: Int = null $after: String = null ) { getUserRelationshipsMatching( userId: $userId matchString: $matchString limit: $limit after: $after ) { relationships { toUser { username id } toUserFollows toUserIsFollowedBy } } } query GetUserTags { getUserTags { id name } } mutation followUser($followedUserId: Int!) { followUser(followedUserId: $followedUserId) { username id following { id username } followers { id username } } } mutation unfollowUser($followedUserId: Int!) { unfollowUser(followedUserId: $followedUserId) { username id following { id username } followers { id username } } } query getUserFollowingFollowers { getLoggedInUser { id following { id username } followers { id username } } } query doesUsernameExist($candidateUsername: String!) { doesUsernameExist(candidateUsername: $candidateUsername) }