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"];
|
drillTag: Scalars["String"]["input"];
|
||||||
interval?: InputMaybe<TimeInterval>;
|
interval?: InputMaybe<TimeInterval>;
|
||||||
limit?: Scalars["Int"]["input"];
|
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 = {
|
export type QueryGetFeedVideosArgs = {
|
||||||
@@ -4626,6 +4630,10 @@ export type GetDrillRunLeaderboardQueryVariables = Exact<{
|
|||||||
drillTag: Scalars["String"]["input"];
|
drillTag: Scalars["String"]["input"];
|
||||||
interval?: InputMaybe<TimeInterval>;
|
interval?: InputMaybe<TimeInterval>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
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 = {
|
export type GetDrillRunLeaderboardQuery = {
|
||||||
@@ -4639,6 +4647,11 @@ export type GetDrillRunLeaderboardQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
runLength: number;
|
runLength: number;
|
||||||
videoId: number;
|
videoId: number;
|
||||||
|
video: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
|
};
|
||||||
user: {
|
user: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -9650,16 +9663,28 @@ export const GetDrillRunLeaderboardDocument = gql`
|
|||||||
$drillTag: String!
|
$drillTag: String!
|
||||||
$interval: TimeInterval
|
$interval: TimeInterval
|
||||||
$limit: Int = 50
|
$limit: Int = 50
|
||||||
|
$tableSizeMin: Float
|
||||||
|
$tableSizeMax: Float
|
||||||
|
$pocketSizeMin: Float
|
||||||
|
$pocketSizeMax: Float
|
||||||
) {
|
) {
|
||||||
getDrillRunLeaderboard(
|
getDrillRunLeaderboard(
|
||||||
drillTag: $drillTag
|
drillTag: $drillTag
|
||||||
interval: $interval
|
interval: $interval
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
tableSizeMin: $tableSizeMin
|
||||||
|
tableSizeMax: $tableSizeMax
|
||||||
|
pocketSizeMin: $pocketSizeMin
|
||||||
|
pocketSizeMax: $pocketSizeMax
|
||||||
) {
|
) {
|
||||||
entries {
|
entries {
|
||||||
id
|
id
|
||||||
runLength
|
runLength
|
||||||
videoId
|
videoId
|
||||||
|
video {
|
||||||
|
tableSize
|
||||||
|
pocketSize
|
||||||
|
}
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
@@ -9692,6 +9717,10 @@ export const GetDrillRunLeaderboardDocument = gql`
|
|||||||
* drillTag: // value for 'drillTag'
|
* drillTag: // value for 'drillTag'
|
||||||
* interval: // value for 'interval'
|
* interval: // value for 'interval'
|
||||||
* limit: // value for 'limit'
|
* 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!
|
$drillTag: String!
|
||||||
$interval: TimeInterval
|
$interval: TimeInterval
|
||||||
$limit: Int = 50
|
$limit: Int = 50
|
||||||
|
$tableSizeMin: Float
|
||||||
|
$tableSizeMax: Float
|
||||||
|
$pocketSizeMin: Float
|
||||||
|
$pocketSizeMax: Float
|
||||||
) {
|
) {
|
||||||
getDrillRunLeaderboard(
|
getDrillRunLeaderboard(
|
||||||
drillTag: $drillTag
|
drillTag: $drillTag
|
||||||
interval: $interval
|
interval: $interval
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
tableSizeMin: $tableSizeMin
|
||||||
|
tableSizeMax: $tableSizeMax
|
||||||
|
pocketSizeMin: $pocketSizeMin
|
||||||
|
pocketSizeMax: $pocketSizeMax
|
||||||
) {
|
) {
|
||||||
entries {
|
entries {
|
||||||
id
|
id
|
||||||
runLength
|
runLength
|
||||||
videoId
|
videoId
|
||||||
|
video {
|
||||||
|
tableSize
|
||||||
|
pocketSize
|
||||||
|
}
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ type Query {
|
|||||||
drillTag: String!
|
drillTag: String!
|
||||||
interval: TimeInterval = null
|
interval: TimeInterval = null
|
||||||
limit: Int! = 50
|
limit: Int! = 50
|
||||||
|
tableSizeMin: Float = null
|
||||||
|
tableSizeMax: Float = null
|
||||||
|
pocketSizeMin: Float = null
|
||||||
|
pocketSizeMax: Float = null
|
||||||
): DrillRunLeaderboardGQL!
|
): DrillRunLeaderboardGQL!
|
||||||
getMyDrillRuns(drillTag: String!, limit: Int! = 50): [RunGQL!]!
|
getMyDrillRuns(drillTag: String!, limit: Int! = 50): [RunGQL!]!
|
||||||
getMakesLeaderboard(
|
getMakesLeaderboard(
|
||||||
|
|||||||
Reference in New Issue
Block a user