Added commentMetrics edge.

This commit is contained in:
Wyatt Johnson
2017-02-21 14:30:52 -07:00
parent 30fbcd30a9
commit 2360f280d2
4 changed files with 85 additions and 8 deletions
+7 -3
View File
@@ -456,9 +456,13 @@ type RootQuery {
# role.
me: User
# Metrics related to user actions are saturated into the assets returned. The
# sort will affect if it will allow
metrics(from: Date!, to: Date!, sort: ACTION_TYPE!, limit: Int = 10): [Asset]
# Asset metrics related to user actions are saturated into the assets
# returned.
assetMetrics(from: Date!, to: Date!, sort: ACTION_TYPE!, limit: Int = 10): [Asset]
# Comment metrics related to user actions are saturated into the comments
# returned.
commentMetrics(from: Date!, to: Date!, sort: ACTION_TYPE!, limit: Int = 10): [Comment]
}
################################################################################