GetDrillRunLeaderboard: table/pocket filter vars + setup fields
All checks were successful
Tests / Tests (pull_request) Successful in 9s
All checks were successful
Tests / Tests (pull_request) Successful in 9s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2899,6 +2899,10 @@ export type QueryGetDrillRunLeaderboardArgs = {
|
||||
drillTag: Scalars["String"]["input"];
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
};
|
||||
|
||||
export type QueryGetFeedVideosArgs = {
|
||||
@@ -4626,6 +4630,10 @@ export type GetDrillRunLeaderboardQueryVariables = Exact<{
|
||||
drillTag: Scalars["String"]["input"];
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type GetDrillRunLeaderboardQuery = {
|
||||
@@ -4639,6 +4647,11 @@ export type GetDrillRunLeaderboardQuery = {
|
||||
id: number;
|
||||
runLength: number;
|
||||
videoId: number;
|
||||
video: {
|
||||
__typename?: "VideoGQL";
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
};
|
||||
user: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
@@ -9650,16 +9663,28 @@ export const GetDrillRunLeaderboardDocument = gql`
|
||||
$drillTag: String!
|
||||
$interval: TimeInterval
|
||||
$limit: Int = 50
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getDrillRunLeaderboard(
|
||||
drillTag: $drillTag
|
||||
interval: $interval
|
||||
limit: $limit
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
id
|
||||
runLength
|
||||
videoId
|
||||
video {
|
||||
tableSize
|
||||
pocketSize
|
||||
}
|
||||
user {
|
||||
id
|
||||
username
|
||||
@@ -9692,6 +9717,10 @@ export const GetDrillRunLeaderboardDocument = gql`
|
||||
* drillTag: // value for 'drillTag'
|
||||
* interval: // value for 'interval'
|
||||
* limit: // value for 'limit'
|
||||
* tableSizeMin: // value for 'tableSizeMin'
|
||||
* tableSizeMax: // value for 'tableSizeMax'
|
||||
* pocketSizeMin: // value for 'pocketSizeMin'
|
||||
* pocketSizeMax: // value for 'pocketSizeMax'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
||||
@@ -35,16 +35,28 @@ query GetDrillRunLeaderboard(
|
||||
$drillTag: String!
|
||||
$interval: TimeInterval
|
||||
$limit: Int = 50
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getDrillRunLeaderboard(
|
||||
drillTag: $drillTag
|
||||
interval: $interval
|
||||
limit: $limit
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
id
|
||||
runLength
|
||||
videoId
|
||||
video {
|
||||
tableSize
|
||||
pocketSize
|
||||
}
|
||||
user {
|
||||
id
|
||||
username
|
||||
|
||||
@@ -35,6 +35,10 @@ type Query {
|
||||
drillTag: String!
|
||||
interval: TimeInterval = null
|
||||
limit: Int! = 50
|
||||
tableSizeMin: Float = null
|
||||
tableSizeMax: Float = null
|
||||
pocketSizeMin: Float = null
|
||||
pocketSizeMax: Float = null
|
||||
): DrillRunLeaderboardGQL!
|
||||
getMyDrillRuns(drillTag: String!, limit: Int! = 50): [RunGQL!]!
|
||||
getMakesLeaderboard(
|
||||
|
||||
Reference in New Issue
Block a user