mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-16 18:18:42 -05:00
44 lines
787 B
GraphQL
44 lines
787 B
GraphQL
### This file was generated by Nexus Schema
|
|
### Do not make changes to this file directly
|
|
|
|
|
|
type Mutation {
|
|
updateUserProfile(profile: UpdateUserProfileInput!): Profile!
|
|
}
|
|
|
|
type Profile {
|
|
bio: String
|
|
country: String
|
|
customUrlPath: String
|
|
sensMotion: Float
|
|
sensStick: Float
|
|
twitchName: String
|
|
twitterName: String
|
|
weaponPool: [String!]!
|
|
youtubeId: String
|
|
}
|
|
|
|
type Query {
|
|
getUserByIdentifier(identifier: String!): User
|
|
}
|
|
|
|
input UpdateUserProfileInput {
|
|
bio: String!
|
|
country: String!
|
|
customUrlPath: String!
|
|
sensMotion: Float!
|
|
sensStick: Float!
|
|
twitchName: String!
|
|
twitterName: String!
|
|
weaponPool: [String!]!
|
|
youtubeId: String!
|
|
}
|
|
|
|
type User {
|
|
avatarUrl: String
|
|
discordId: String!
|
|
fullUsername: String!
|
|
profile: Profile
|
|
profilePath: String!
|
|
}
|