sendou.ink/schema.graphql
2020-10-25 21:47:18 +02:00

45 lines
790 B
GraphQL

### This file was generated by Nexus Schema
### Do not make changes to this file directly
type Mutation {
updateUserProfile(profile: UpdateUserProfileInput!): Boolean!
}
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!
id: Int!
profile: Profile
profilePath: String!
}