|
|
|
@ -138,9 +138,15 @@ interface UserData {
|
|
|
|
|
"The groups the user has joined"
|
|
|
|
|
groups(first: Int=10, offset: Int=0): [Group]
|
|
|
|
|
|
|
|
|
|
"The numbef of groups the user has joined"
|
|
|
|
|
"The number of groups the user has joined"
|
|
|
|
|
groupCount: Int!
|
|
|
|
|
|
|
|
|
|
"The events the user is participating in"
|
|
|
|
|
events(first: Int=10, offset: Int=0): [Event]
|
|
|
|
|
|
|
|
|
|
"The number of events the user is participating in"
|
|
|
|
|
eventCount: Int!
|
|
|
|
|
|
|
|
|
|
"the points of the user"
|
|
|
|
|
points: Int!
|
|
|
|
|
|
|
|
|
@ -189,6 +195,12 @@ type User implements UserData{
|
|
|
|
|
"The numbef of groups the user has joined"
|
|
|
|
|
groupCount: Int!
|
|
|
|
|
|
|
|
|
|
"The events the user is participating in"
|
|
|
|
|
events(first: Int=10, offset: Int=0): [Event]
|
|
|
|
|
|
|
|
|
|
"The number of events the user is participating in"
|
|
|
|
|
eventCount: Int!
|
|
|
|
|
|
|
|
|
|
"the levels of the user depending on the points"
|
|
|
|
|
level: Int!
|
|
|
|
|
}
|
|
|
|
@ -251,6 +263,12 @@ type Profile implements UserData {
|
|
|
|
|
"The numbef of groups the user has joined"
|
|
|
|
|
groupCount: Int!
|
|
|
|
|
|
|
|
|
|
"The events the user is participating in"
|
|
|
|
|
events(first: Int=10, offset: Int=0): [Event]
|
|
|
|
|
|
|
|
|
|
"The number of events the user is participating in"
|
|
|
|
|
eventCount: Int!
|
|
|
|
|
|
|
|
|
|
"the points of the user"
|
|
|
|
|
points: Int!
|
|
|
|
|
|
|
|
|
@ -370,6 +388,9 @@ type Group {
|
|
|
|
|
|
|
|
|
|
"the events of the group"
|
|
|
|
|
events(first: Int=10, offset: Int=0): [Event!]!
|
|
|
|
|
|
|
|
|
|
"If the user with the specified id has joined the group"
|
|
|
|
|
joined(userId: Int!): Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Event {
|
|
|
|
@ -387,6 +408,9 @@ type Event {
|
|
|
|
|
|
|
|
|
|
"The participants of the event."
|
|
|
|
|
participants(first: Int=10, offset: Int=0): [User!]!
|
|
|
|
|
|
|
|
|
|
"Returns if the user with the specified id has joined the event"
|
|
|
|
|
joined(userId: Int!): Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"respresents an access token entry with the value as the acutal token and expires as the date the token expires."
|
|
|
|
|