Add makes leaderboard

This commit is contained in:
2024-12-19 17:48:29 -07:00
parent bf8e851139
commit 3f2e5d331f
2 changed files with 30 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ type Query {
filters: VideoFilterInput = null
feedInput: VideoFeedInputGQL = null
): VideoHistoryGQL!
getMakesLeaderboard(
interval: TimeInterval = null
when: DateTime = null
): CountLeaderboardGQL!
}
type AggregateResultGQL {
@@ -719,6 +723,15 @@ input VideoFeedInputGQL @oneOf {
allUsers: Boolean
}
type CountLeaderboardGQL {
entries: [IntUserLeaderboardEntry!]!
}
type IntUserLeaderboardEntry {
user: UserGQL!
value: Int!
}
type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
setLoggerLevel(path: String!, level: String!): Boolean!