Compare commits
8 Commits
dean/uploa
...
fd6ee4f182
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd6ee4f182 | ||
| 5e14cd2201 | |||
|
|
9ec52d9d94 | ||
| 4576b25dae | |||
| 650b3bc13c | |||
| 6d9cb4126e | |||
| feeb5b7038 | |||
| 3340314166 |
@@ -2404,6 +2404,11 @@ export type Header = {
|
||||
value: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export enum HomographyBackendGql {
|
||||
Classic = "CLASSIC",
|
||||
Tablenet = "TABLENET",
|
||||
}
|
||||
|
||||
export type HomographyInfoGql = {
|
||||
__typename?: "HomographyInfoGQL";
|
||||
crop: BoundingBoxGql;
|
||||
@@ -3190,14 +3195,28 @@ export type QueryGetLiveTableStateArgs = {
|
||||
};
|
||||
|
||||
export type QueryGetLongestRunsLeaderboardArgs = {
|
||||
excludeDrills?: Scalars["Boolean"]["input"];
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
rankedOnly?: Scalars["Boolean"]["input"];
|
||||
requiredTags?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
when?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
};
|
||||
|
||||
export type QueryGetMakesLeaderboardArgs = {
|
||||
excludeDrills?: Scalars["Boolean"]["input"];
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
rankedOnly?: Scalars["Boolean"]["input"];
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
when?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
};
|
||||
|
||||
@@ -4278,6 +4297,7 @@ export type VideoMetadataInput = {
|
||||
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
/** @deprecated `game_type` is deprecated. Use `tags` instead. */
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
homographyBackend?: InputMaybe<HomographyBackendGql>;
|
||||
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
private?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
@@ -5216,6 +5236,11 @@ export type GetVideoFeedQuery = {
|
||||
export type GetMakesLeaderboardQueryVariables = Exact<{
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
when?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type GetMakesLeaderboardQuery = {
|
||||
@@ -5240,6 +5265,11 @@ export type GetMakesLeaderboardQuery = {
|
||||
export type GetRunsLeaderboardQueryVariables = Exact<{
|
||||
interval?: InputMaybe<TimeInterval>;
|
||||
when?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
tableSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
tableSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMin?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
pocketSizeMax?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type GetRunsLeaderboardQuery = {
|
||||
@@ -9031,7 +9061,6 @@ export type GetUploadLinkMutation = {
|
||||
};
|
||||
stream?: {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
uploadCompletionCursor: number;
|
||||
} | null;
|
||||
};
|
||||
@@ -9130,7 +9159,6 @@ export type UploadStreamWithDetailsFragment = {
|
||||
startTime?: any | null;
|
||||
stream?: {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
isCompleted: boolean;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
@@ -9155,7 +9183,6 @@ export type GetUploadStreamsWithDetailsQuery = {
|
||||
startTime?: any | null;
|
||||
stream?: {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
isCompleted: boolean;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
@@ -9695,7 +9722,6 @@ export const UploadStreamWithDetailsFragmentDoc = gql`
|
||||
name
|
||||
startTime
|
||||
stream {
|
||||
id
|
||||
isCompleted
|
||||
lastIntendedSegmentBound
|
||||
uploadCompletionCursor
|
||||
@@ -11769,8 +11795,24 @@ export type GetVideoFeedQueryResult = Apollo.QueryResult<
|
||||
GetVideoFeedQueryVariables
|
||||
>;
|
||||
export const GetMakesLeaderboardDocument = gql`
|
||||
query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getMakesLeaderboard(interval: $interval, when: $when) {
|
||||
query GetMakesLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getMakesLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
user {
|
||||
id
|
||||
@@ -11799,6 +11841,11 @@ export const GetMakesLeaderboardDocument = gql`
|
||||
* variables: {
|
||||
* interval: // value for 'interval'
|
||||
* when: // value for 'when'
|
||||
* gameType: // value for 'gameType'
|
||||
* tableSizeMin: // value for 'tableSizeMin'
|
||||
* tableSizeMax: // value for 'tableSizeMax'
|
||||
* pocketSizeMin: // value for 'pocketSizeMin'
|
||||
* pocketSizeMax: // value for 'pocketSizeMax'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
@@ -11852,8 +11899,24 @@ export type GetMakesLeaderboardQueryResult = Apollo.QueryResult<
|
||||
GetMakesLeaderboardQueryVariables
|
||||
>;
|
||||
export const GetRunsLeaderboardDocument = gql`
|
||||
query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getLongestRunsLeaderboard(interval: $interval, when: $when) {
|
||||
query GetRunsLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getLongestRunsLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
id
|
||||
runLength
|
||||
@@ -11885,6 +11948,11 @@ export const GetRunsLeaderboardDocument = gql`
|
||||
* variables: {
|
||||
* interval: // value for 'interval'
|
||||
* when: // value for 'when'
|
||||
* gameType: // value for 'gameType'
|
||||
* tableSizeMin: // value for 'tableSizeMin'
|
||||
* tableSizeMax: // value for 'tableSizeMax'
|
||||
* pocketSizeMin: // value for 'pocketSizeMin'
|
||||
* pocketSizeMax: // value for 'pocketSizeMax'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
@@ -19479,7 +19547,6 @@ export const GetUploadLinkDocument = gql`
|
||||
}
|
||||
}
|
||||
stream {
|
||||
id
|
||||
uploadCompletionCursor
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getMakesLeaderboard(interval: $interval, when: $when) {
|
||||
query GetMakesLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getMakesLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
user {
|
||||
id
|
||||
@@ -13,8 +29,24 @@ query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getLongestRunsLeaderboard(interval: $interval, when: $when) {
|
||||
query GetRunsLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getLongestRunsLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
id
|
||||
runLength
|
||||
|
||||
@@ -48,7 +48,6 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||
}
|
||||
}
|
||||
stream {
|
||||
id
|
||||
uploadCompletionCursor
|
||||
}
|
||||
}
|
||||
@@ -128,7 +127,6 @@ fragment UploadStreamWithDetails on VideoGQL {
|
||||
name
|
||||
startTime
|
||||
stream {
|
||||
id
|
||||
isCompleted
|
||||
lastIntendedSegmentBound
|
||||
uploadCompletionCursor
|
||||
|
||||
3206
src/schema.gql
3206
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user