CLOSES #400 Reviewed-on: railbird/railbird-mobile#436 Reviewed-by: Ivan Malison <ivanmalison@gmail.com> Co-authored-by: Loewy <loewymalkov@gmail.com> Co-committed-by: Loewy <loewymalkov@gmail.com>
39 lines
632 B
GraphQL
39 lines
632 B
GraphQL
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
|
uploadUrl
|
|
headers {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation editProfileImageUri($profileImageUri: String!) {
|
|
editProfileImageUri(profileImageUri: $profileImageUri) {
|
|
id
|
|
firebaseUid
|
|
username
|
|
profileImageUri
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
}
|
|
|
|
query getLoggedInUser {
|
|
getLoggedInUser {
|
|
id
|
|
firebaseUid
|
|
username
|
|
profileImageUri
|
|
activeVideoId
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
}
|
|
|
|
query GetUserPlayTime($userId: Int!) {
|
|
getPlayTime(userId: $userId) {
|
|
totalSeconds
|
|
}
|
|
}
|