Compare commits
11 Commits
dean/playe
...
d6fd68c1f6
| Author | SHA1 | Date | |
|---|---|---|---|
| d6fd68c1f6 | |||
| deb724b430 | |||
|
|
9250e4c639 | ||
|
|
5cf2dbaf01 | ||
| 239a143554 | |||
|
|
296522afb8 | ||
| f42579076e | |||
|
|
0c9eb4945a | ||
| 1182c15004 | |||
|
|
755336b16a | ||
| c1efe9f5f2 |
171
src/index.tsx
171
src/index.tsx
@@ -207,6 +207,7 @@ export enum ClientUploadStatusEnum {
|
||||
|
||||
export type ClusterAssignmentInput = {
|
||||
clusterId: Scalars["Int"]["input"];
|
||||
score?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
};
|
||||
|
||||
@@ -289,6 +290,7 @@ export type DeployedConfigGql = {
|
||||
environment: Scalars["String"]["output"];
|
||||
firebase: Scalars["Boolean"]["output"];
|
||||
minimumAllowedAppVersion: Scalars["String"]["output"];
|
||||
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
||||
};
|
||||
|
||||
@@ -2700,8 +2702,11 @@ export type PlayerClusterGql = {
|
||||
clusterId: Scalars["Int"]["output"];
|
||||
confirmed: Scalars["Boolean"]["output"];
|
||||
nShots: Scalars["Int"]["output"];
|
||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||
score?: Maybe<Scalars["Int"]["output"]>;
|
||||
shots: Array<PlayerClusterShotGql>;
|
||||
userId?: Maybe<Scalars["Int"]["output"]>;
|
||||
username?: Maybe<Scalars["String"]["output"]>;
|
||||
videoId: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
@@ -2718,6 +2723,22 @@ export type PlayerClusterShotGql = {
|
||||
shotId: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type PlayerSummaryGql = {
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
|
||||
clusterId: Scalars["Int"]["output"];
|
||||
longestRun: Scalars["Int"]["output"];
|
||||
makePercentage: Scalars["Float"]["output"];
|
||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||
representativeFullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
||||
score?: Maybe<Scalars["Int"]["output"]>;
|
||||
totalShots: Scalars["Int"]["output"];
|
||||
totalShotsMade: Scalars["Int"]["output"];
|
||||
userId?: Maybe<Scalars["Int"]["output"]>;
|
||||
username?: Maybe<Scalars["String"]["output"]>;
|
||||
};
|
||||
|
||||
export enum PocketEnum {
|
||||
Corner = "CORNER",
|
||||
Side = "SIDE",
|
||||
@@ -3003,15 +3024,29 @@ export type QueryWaitForArgs = {
|
||||
duration: Scalars["Float"]["input"];
|
||||
};
|
||||
|
||||
export type QuotaBucketStatusGql = {
|
||||
__typename?: "QuotaBucketStatusGQL";
|
||||
appliesToUploadKind: Scalars["String"]["output"];
|
||||
canUpload: Scalars["Boolean"]["output"];
|
||||
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
||||
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
||||
durationUsedSeconds: Scalars["Float"]["output"];
|
||||
periodEnd: Scalars["DateTime"]["output"];
|
||||
periodStart: Scalars["DateTime"]["output"];
|
||||
quotaKey: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export type QuotaStatusGql = {
|
||||
__typename?: "QuotaStatusGQL";
|
||||
canUpload: Scalars["Boolean"]["output"];
|
||||
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
||||
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
||||
durationUsedSeconds: Scalars["Float"]["output"];
|
||||
importQuotaBuckets: Array<QuotaBucketStatusGql>;
|
||||
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
|
||||
periodEnd: Scalars["DateTime"]["output"];
|
||||
periodStart: Scalars["DateTime"]["output"];
|
||||
recordingQuotaBuckets: Array<QuotaBucketStatusGql>;
|
||||
tierName: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
@@ -3557,6 +3592,7 @@ export type VideoGql = {
|
||||
medianRun?: Maybe<Scalars["Float"]["output"]>;
|
||||
name?: Maybe<Scalars["String"]["output"]>;
|
||||
owner?: Maybe<UserGql>;
|
||||
playerSummaries: Array<PlayerSummaryGql>;
|
||||
playlist?: Maybe<HlsPlaylistGql>;
|
||||
pocketSize?: Maybe<Scalars["Float"]["output"]>;
|
||||
private: Scalars["Boolean"]["output"];
|
||||
@@ -4098,6 +4134,7 @@ export type GetDeployedConfigQuery = {
|
||||
firebase: boolean;
|
||||
minimumAllowedAppVersion: string;
|
||||
subscriptionGatingEnabled: boolean;
|
||||
quotaEnforcementEnabled: boolean;
|
||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
||||
bucketUrl: string;
|
||||
bannerMessages: Array<{
|
||||
@@ -4174,7 +4211,26 @@ export type GetFeedQuery = {
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
} | null;
|
||||
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||
tags: Array<{
|
||||
__typename?: "VideoTag";
|
||||
name: string;
|
||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||
}>;
|
||||
playerSummaries: Array<{
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
clusterId: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
representativeFullFrameUrl?: string | null;
|
||||
totalShots: number;
|
||||
totalShotsMade: number;
|
||||
makePercentage: number;
|
||||
score?: number | null;
|
||||
longestRun: number;
|
||||
averageDifficulty?: number | null;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
}>;
|
||||
currentProcessing?: {
|
||||
__typename?: "VideoProcessingGQL";
|
||||
id: number;
|
||||
@@ -4259,7 +4315,26 @@ export type VideoCardFieldsFragment = {
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
} | null;
|
||||
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||
tags: Array<{
|
||||
__typename?: "VideoTag";
|
||||
name: string;
|
||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||
}>;
|
||||
playerSummaries: Array<{
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
clusterId: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
representativeFullFrameUrl?: string | null;
|
||||
totalShots: number;
|
||||
totalShotsMade: number;
|
||||
makePercentage: number;
|
||||
score?: number | null;
|
||||
longestRun: number;
|
||||
averageDifficulty?: number | null;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
}>;
|
||||
currentProcessing?: {
|
||||
__typename?: "VideoProcessingGQL";
|
||||
id: number;
|
||||
@@ -4358,7 +4433,26 @@ export type GetVideoFeedQuery = {
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
} | null;
|
||||
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||
tags: Array<{
|
||||
__typename?: "VideoTag";
|
||||
name: string;
|
||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||
}>;
|
||||
playerSummaries: Array<{
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
clusterId: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
representativeFullFrameUrl?: string | null;
|
||||
totalShots: number;
|
||||
totalShotsMade: number;
|
||||
makePercentage: number;
|
||||
score?: number | null;
|
||||
longestRun: number;
|
||||
averageDifficulty?: number | null;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
}>;
|
||||
currentProcessing?: {
|
||||
__typename?: "VideoProcessingGQL";
|
||||
id: number;
|
||||
@@ -4929,6 +5023,22 @@ export type GetRunsWithTimestampsQuery = {
|
||||
};
|
||||
};
|
||||
|
||||
export type PlayerSummaryFieldsFragment = {
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
clusterId: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
representativeFullFrameUrl?: string | null;
|
||||
totalShots: number;
|
||||
totalShotsMade: number;
|
||||
makePercentage: number;
|
||||
score?: number | null;
|
||||
longestRun: number;
|
||||
averageDifficulty?: number | null;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
};
|
||||
|
||||
export type PlayerClusterShotFieldsFragment = {
|
||||
__typename?: "PlayerClusterShotGQL";
|
||||
shotId: number;
|
||||
@@ -4948,7 +5058,10 @@ export type PlayerClusterFieldsFragment = {
|
||||
clusterId: number;
|
||||
nShots: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
confirmed: boolean;
|
||||
score?: number | null;
|
||||
shots: Array<{
|
||||
__typename?: "PlayerClusterShotGQL";
|
||||
shotId: number;
|
||||
@@ -4975,7 +5088,10 @@ export type VideoPlayerClustersQuery = {
|
||||
clusterId: number;
|
||||
nShots: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
confirmed: boolean;
|
||||
score?: number | null;
|
||||
shots: Array<{
|
||||
__typename?: "PlayerClusterShotGQL";
|
||||
shotId: number;
|
||||
@@ -5003,7 +5119,10 @@ export type FinalizePlayerAssignmentsMutation = {
|
||||
clusterId: number;
|
||||
nShots: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
confirmed: boolean;
|
||||
score?: number | null;
|
||||
shots: Array<{
|
||||
__typename?: "PlayerClusterShotGQL";
|
||||
shotId: number;
|
||||
@@ -5955,6 +6074,21 @@ export type GetVideoDetailsQuery = {
|
||||
name: string;
|
||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||
}>;
|
||||
playerSummaries: Array<{
|
||||
__typename?: "PlayerSummaryGQL";
|
||||
clusterId: number;
|
||||
userId?: number | null;
|
||||
username?: string | null;
|
||||
profileImageUri?: string | null;
|
||||
representativeFullFrameUrl?: string | null;
|
||||
totalShots: number;
|
||||
totalShotsMade: number;
|
||||
makePercentage: number;
|
||||
score?: number | null;
|
||||
longestRun: number;
|
||||
averageDifficulty?: number | null;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6612,6 +6746,22 @@ export type GetUploadStreamsWithDetailsQuery = {
|
||||
};
|
||||
};
|
||||
|
||||
export const PlayerSummaryFieldsFragmentDoc = gql`
|
||||
fragment PlayerSummaryFields on PlayerSummaryGQL {
|
||||
clusterId
|
||||
userId
|
||||
username
|
||||
profileImageUri
|
||||
representativeFullFrameUrl
|
||||
totalShots
|
||||
totalShotsMade
|
||||
makePercentage
|
||||
score
|
||||
longestRun
|
||||
averageDifficulty
|
||||
averageTimeBetweenShots
|
||||
}
|
||||
`;
|
||||
export const UserSocialsFieldsFragmentDoc = gql`
|
||||
fragment UserSocialsFields on UserGQL {
|
||||
id
|
||||
@@ -6646,6 +6796,12 @@ export const VideoCardFieldsFragmentDoc = gql`
|
||||
pocketSize
|
||||
tags {
|
||||
name
|
||||
tagClasses {
|
||||
name
|
||||
}
|
||||
}
|
||||
playerSummaries {
|
||||
...PlayerSummaryFields
|
||||
}
|
||||
currentProcessing {
|
||||
id
|
||||
@@ -6673,6 +6829,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
${PlayerSummaryFieldsFragmentDoc}
|
||||
${UserSocialsFieldsFragmentDoc}
|
||||
`;
|
||||
export const MedalFieldsFragmentDoc = gql`
|
||||
@@ -6741,7 +6898,10 @@ export const PlayerClusterFieldsFragmentDoc = gql`
|
||||
clusterId
|
||||
nShots
|
||||
userId
|
||||
username
|
||||
profileImageUri
|
||||
confirmed
|
||||
score
|
||||
shots {
|
||||
...PlayerClusterShotFields
|
||||
}
|
||||
@@ -8433,6 +8593,7 @@ export const GetDeployedConfigDocument = gql`
|
||||
firebase
|
||||
minimumAllowedAppVersion
|
||||
subscriptionGatingEnabled
|
||||
quotaEnforcementEnabled
|
||||
bannerMessages {
|
||||
color
|
||||
dismissible
|
||||
@@ -12666,8 +12827,12 @@ export const GetVideoDetailsDocument = gql`
|
||||
}
|
||||
name
|
||||
}
|
||||
playerSummaries {
|
||||
...PlayerSummaryFields
|
||||
}
|
||||
}
|
||||
}
|
||||
${PlayerSummaryFieldsFragmentDoc}
|
||||
`;
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,6 +6,7 @@ query getDeployedConfig {
|
||||
firebase
|
||||
minimumAllowedAppVersion
|
||||
subscriptionGatingEnabled
|
||||
quotaEnforcementEnabled
|
||||
bannerMessages {
|
||||
color
|
||||
dismissible
|
||||
|
||||
@@ -47,6 +47,12 @@ fragment VideoCardFields on VideoGQL {
|
||||
pocketSize
|
||||
tags {
|
||||
name
|
||||
tagClasses {
|
||||
name
|
||||
}
|
||||
}
|
||||
playerSummaries {
|
||||
...PlayerSummaryFields
|
||||
}
|
||||
currentProcessing {
|
||||
id
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
fragment PlayerSummaryFields on PlayerSummaryGQL {
|
||||
clusterId
|
||||
userId
|
||||
username
|
||||
profileImageUri
|
||||
representativeFullFrameUrl
|
||||
totalShots
|
||||
totalShotsMade
|
||||
makePercentage
|
||||
score
|
||||
longestRun
|
||||
averageDifficulty
|
||||
averageTimeBetweenShots
|
||||
}
|
||||
|
||||
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
||||
shotId
|
||||
bboxX1
|
||||
@@ -15,7 +30,10 @@ fragment PlayerClusterFields on PlayerClusterGQL {
|
||||
clusterId
|
||||
nShots
|
||||
userId
|
||||
username
|
||||
profileImageUri
|
||||
confirmed
|
||||
score
|
||||
shots {
|
||||
...PlayerClusterShotFields
|
||||
}
|
||||
|
||||
@@ -83,6 +83,9 @@ query GetVideoDetails($videoId: Int!) {
|
||||
}
|
||||
name
|
||||
}
|
||||
playerSummaries {
|
||||
...PlayerSummaryFields
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -406,6 +406,7 @@ type VideoGQL {
|
||||
currentProcessing: VideoProcessingGQL
|
||||
reactions: [ReactionGQL!]!
|
||||
comments: [CommentGQL!]!
|
||||
playerSummaries: [PlayerSummaryGQL!]!
|
||||
}
|
||||
|
||||
type ShotGQL {
|
||||
@@ -665,6 +666,21 @@ type CommentGQL {
|
||||
replies: [CommentGQL!]!
|
||||
}
|
||||
|
||||
type PlayerSummaryGQL {
|
||||
clusterId: Int!
|
||||
userId: Int
|
||||
username: String
|
||||
profileImageUri: String
|
||||
representativeFullFrameUrl: String
|
||||
totalShots: Int!
|
||||
totalShotsMade: Int!
|
||||
makePercentage: Float!
|
||||
score: Int
|
||||
longestRun: Int!
|
||||
averageDifficulty: Float
|
||||
averageTimeBetweenShots: Float
|
||||
}
|
||||
|
||||
type DeployedConfigGQL {
|
||||
allowNewUsers: Boolean!
|
||||
firebase: Boolean!
|
||||
@@ -672,6 +688,7 @@ type DeployedConfigGQL {
|
||||
environment: String!
|
||||
minimumAllowedAppVersion: String!
|
||||
subscriptionGatingEnabled: Boolean!
|
||||
quotaEnforcementEnabled: Boolean!
|
||||
bannerMessages: [BannerGQL!]!
|
||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
||||
bucketUrl: String!
|
||||
@@ -866,7 +883,10 @@ type PlayerClusterGQL {
|
||||
clusterId: Int!
|
||||
nShots: Int!
|
||||
userId: Int
|
||||
username: String
|
||||
profileImageUri: String
|
||||
confirmed: Boolean!
|
||||
score: Int
|
||||
shots: [PlayerClusterShotGQL!]!
|
||||
}
|
||||
|
||||
@@ -1021,6 +1041,19 @@ type QuotaStatusGQL {
|
||||
durationUsedSeconds: Float!
|
||||
durationLimitSeconds: Int
|
||||
maxVideoDurationSeconds: Int
|
||||
importQuotaBuckets: [QuotaBucketStatusGQL!]!
|
||||
recordingQuotaBuckets: [QuotaBucketStatusGQL!]!
|
||||
durationRemainingSeconds: Float
|
||||
canUpload: Boolean!
|
||||
}
|
||||
|
||||
type QuotaBucketStatusGQL {
|
||||
quotaKey: String!
|
||||
appliesToUploadKind: String!
|
||||
periodStart: DateTime!
|
||||
periodEnd: DateTime!
|
||||
durationUsedSeconds: Float!
|
||||
durationLimitSeconds: Int
|
||||
durationRemainingSeconds: Float
|
||||
canUpload: Boolean!
|
||||
}
|
||||
@@ -1199,6 +1232,7 @@ input FinalizePlayerAssignmentsInput {
|
||||
input ClusterAssignmentInput {
|
||||
clusterId: Int!
|
||||
userId: Int = null
|
||||
score: Int = null
|
||||
}
|
||||
|
||||
input ShotMoveInput {
|
||||
|
||||
Reference in New Issue
Block a user