railbird-gql/src/operations/user.gql

48 lines
812 B
Plaintext
Raw Normal View History

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
2024-07-13 17:47:41 -06:00
isAdmin
profileImageUri
activeVideoId
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)
}