Expose more statistics

* differenciate local & all events/comments/groups
* add instance follows/followings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-07 10:05:07 +02:00
parent 09a0cbf3f1
commit 02eac30c9b
8 changed files with 118 additions and 10 deletions

View File

@@ -5,8 +5,13 @@ export const STATISTICS = gql`
statistics {
numberOfUsers
numberOfEvents
numberOfLocalEvents
numberOfComments
numberOfLocalComments
numberOfGroups
numberOfLocalGroups
numberOfInstanceFollowings
numberOfInstanceFollowers
}
}
`;