Files
server/graph/schema/user.gql
T
2020-05-08 15:54:40 +02:00

34 lines
693 B
GraphQL

"User information."
type User {
"User ID, used when logging in."
id: String!
"User's display name, which can differ from the user ID."
name: String!
"Whether the user is active."
active: Boolean!
"Whether the user has general administrator privileges. This does not grant admin rights on any project."
admin: Boolean!
}
"Input for loginUser."
input UserLoginInput {
username: String!
password: String!
}
input UserCreateInput {
username: String!
password: String!
name: String!
active: Boolean
admin: Boolean
}
input UserEditInput {
username: String!
setName: String
setPassword: String
currentPassword: String
}