Files
railbird-gql/src/operations/user.gql
Loewy 6d8f5d5d65 Upload Service Class (#436)
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>
2024-04-25 17:32:52 -06:00

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
}
}