2024-03-12 19:47:10 -06:00
|
|
|
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
|
|
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
2024-08-16 17:28:45 -06:00
|
|
|
value {
|
|
|
|
... on UploadLink {
|
|
|
|
uploadUrl
|
|
|
|
headers {
|
|
|
|
key
|
|
|
|
value
|
|
|
|
}
|
|
|
|
}
|
2024-08-19 15:44:43 -06:00
|
|
|
... on GetProfileUploadLinkErrors {
|
2024-08-16 17:28:45 -06:00
|
|
|
error {
|
|
|
|
... on TooManyProfileImageUploadsErr {
|
|
|
|
linksRequested
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-12 19:47:10 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation editProfileImageUri($profileImageUri: String!) {
|
|
|
|
editProfileImageUri(profileImageUri: $profileImageUri) {
|
|
|
|
id
|
|
|
|
firebaseUid
|
|
|
|
username
|
|
|
|
profileImageUri
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
}
|
|
|
|
}
|
2024-03-22 12:45:58 -06:00
|
|
|
|
|
|
|
query getLoggedInUser {
|
|
|
|
getLoggedInUser {
|
|
|
|
id
|
|
|
|
firebaseUid
|
|
|
|
username
|
2024-07-13 17:47:41 -06:00
|
|
|
isAdmin
|
2024-03-22 12:45:58 -06:00
|
|
|
profileImageUri
|
2024-04-25 17:32:52 -06:00
|
|
|
activeVideoId
|
2024-03-22 12:45:58 -06:00
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
}
|
|
|
|
}
|
2024-03-27 19:48:04 -06:00
|
|
|
|
|
|
|
query GetUserPlayTime($userId: Int!) {
|
|
|
|
getPlayTime(userId: $userId) {
|
|
|
|
totalSeconds
|
|
|
|
}
|
|
|
|
}
|
2024-07-14 00:16:02 -06:00
|
|
|
|
|
|
|
query getUsernames(
|
|
|
|
$matchString: String!
|
|
|
|
$limit: Int = null
|
|
|
|
$after: String = null
|
|
|
|
) {
|
|
|
|
getUsernames(matchString: $matchString, limit: $limit, after: $after)
|
|
|
|
}
|