Show number of participants

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-09-11 16:37:30 +02:00
parent 7bbed59f77
commit c3b03a2e6b
8 changed files with 146 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# source: http://localhost:4000/api
# timestamp: Mon Sep 09 2019 20:33:17 GMT+0200 (GMT+02:00)
# timestamp: Wed Sep 11 2019 11:53:12 GMT+0200 (GMT+02:00)
schema {
query: RootQueryType
@@ -280,6 +280,7 @@ type Event implements ActionLogObject {
"""The event's organizer (as a person)"""
organizerActor: Actor
participantStats: ParticipantStats
"""The event's participants"""
participants: [Participant]
@@ -648,6 +649,14 @@ type Participant {
role: Int
}
type ParticipantStats {
"""The number of approved participants"""
approved: Int
"""The number of unapproved participants"""
unapproved: Int
}
"""
Represents a person identity