Add makes leaderboard
This commit is contained in:
parent
bf8e851139
commit
3f2e5d331f
@ -122,6 +122,11 @@ export enum ClientUploadStatusEnum {
|
|||||||
UploadEnabled = "UPLOAD_ENABLED",
|
UploadEnabled = "UPLOAD_ENABLED",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type CountLeaderboardGql = {
|
||||||
|
__typename?: "CountLeaderboardGQL";
|
||||||
|
entries: Array<IntUserLeaderboardEntry>;
|
||||||
|
};
|
||||||
|
|
||||||
export type CreateBucketSetInput = {
|
export type CreateBucketSetInput = {
|
||||||
buckets: Array<BucketInputGql>;
|
buckets: Array<BucketInputGql>;
|
||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
@ -2009,6 +2014,12 @@ export type IntPoint2D = {
|
|||||||
y: Scalars["Int"]["output"];
|
y: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type IntUserLeaderboardEntry = {
|
||||||
|
__typename?: "IntUserLeaderboardEntry";
|
||||||
|
user: UserGql;
|
||||||
|
value: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MakePercentageIntervalGql = {
|
export type MakePercentageIntervalGql = {
|
||||||
__typename?: "MakePercentageIntervalGQL";
|
__typename?: "MakePercentageIntervalGQL";
|
||||||
elapsedTime: Scalars["Float"]["output"];
|
elapsedTime: Scalars["Float"]["output"];
|
||||||
@ -2232,6 +2243,7 @@ export type Query = {
|
|||||||
getDeployedConfig: DeployedConfigGql;
|
getDeployedConfig: DeployedConfigGql;
|
||||||
getFeedVideos: VideoHistoryGql;
|
getFeedVideos: VideoHistoryGql;
|
||||||
getLoggedInUser?: Maybe<UserGql>;
|
getLoggedInUser?: Maybe<UserGql>;
|
||||||
|
getMakesLeaderboard: CountLeaderboardGql;
|
||||||
getMedals: RequestedMedalsGql;
|
getMedals: RequestedMedalsGql;
|
||||||
getOrderedShots: GetShotsResult;
|
getOrderedShots: GetShotsResult;
|
||||||
getPlayTime: UserPlayTimeGql;
|
getPlayTime: UserPlayTimeGql;
|
||||||
@ -2272,6 +2284,11 @@ export type QueryGetFeedVideosArgs = {
|
|||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryGetMakesLeaderboardArgs = {
|
||||||
|
interval?: InputMaybe<TimeInterval>;
|
||||||
|
when?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryGetMedalsArgs = {
|
export type QueryGetMedalsArgs = {
|
||||||
scope: MedalScope;
|
scope: MedalScope;
|
||||||
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
@ -71,6 +71,10 @@ type Query {
|
|||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
feedInput: VideoFeedInputGQL = null
|
feedInput: VideoFeedInputGQL = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
|
getMakesLeaderboard(
|
||||||
|
interval: TimeInterval = null
|
||||||
|
when: DateTime = null
|
||||||
|
): CountLeaderboardGQL!
|
||||||
}
|
}
|
||||||
|
|
||||||
type AggregateResultGQL {
|
type AggregateResultGQL {
|
||||||
@ -719,6 +723,15 @@ input VideoFeedInputGQL @oneOf {
|
|||||||
allUsers: Boolean
|
allUsers: Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CountLeaderboardGQL {
|
||||||
|
entries: [IntUserLeaderboardEntry!]!
|
||||||
|
}
|
||||||
|
|
||||||
|
type IntUserLeaderboardEntry {
|
||||||
|
user: UserGQL!
|
||||||
|
value: Int!
|
||||||
|
}
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
|
Loading…
Reference in New Issue
Block a user