mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
add Activity widget
This commit is contained in:
@@ -4,6 +4,7 @@ fragment metrics on Asset {
|
||||
url
|
||||
author
|
||||
created_at
|
||||
commentCount
|
||||
action_summaries {
|
||||
type: __typename
|
||||
actionCount
|
||||
|
||||
@@ -7,4 +7,7 @@ query Metrics ($from: Date!, $to: Date!) {
|
||||
assetsByLike: assetMetrics(from: $from, to: $to, sort: LIKE) {
|
||||
...metrics
|
||||
}
|
||||
assetsByActivity: assetMetrics(from: $from, to: $to, sort: ACTIVITY) {
|
||||
...metrics
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user