A note on the from/to parameters.

This commit is contained in:
gaba
2017-04-14 10:37:05 -07:00
parent 258321201b
commit fa944927e4
+2 -2
View File
@@ -550,11 +550,11 @@ type RootQuery {
users(query: UsersQuery): [User]
# Asset metrics related to user actions are saturated into the assets
# returned.
# returned. Parameters `from` and `to` are related to the action created_at field.
assetMetrics(from: Date!, to: Date!, sort: ASSET_METRICS_SORT!, limit: Int = 10): [Asset!]
# Comment metrics related to user actions are saturated into the comments
# returned.
# returned. Parameters `from` and `to` are related to the action created_at field.
commentMetrics(from: Date!, to: Date!, sort: ACTION_TYPE!, limit: Int = 10): [Comment!]
}