Compare commits
22 Commits
ivan/groun
...
dean/playe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3460842ac | ||
| 84d3a0252d | |||
|
|
1de4a97cb6 | ||
| 130314546c | |||
| b88f172355 | |||
| 639fc88b0b | |||
| 20f50368c9 | |||
| 8367c2d0cd | |||
| b0c62f6e80 | |||
| bc1ff66467 | |||
| ae37a3d9d9 | |||
|
|
114b21400e | ||
| ad9cab4543 | |||
| cd3ecdfba4 | |||
| 28ba01c07f | |||
| 27a0c08cd5 | |||
| 99f0913fd8 | |||
| dfb0e02630 | |||
| c4a2e184fb | |||
| f14cf3b255 | |||
| c46776d417 | |||
| 6ab5286a49 |
589
src/index.tsx
589
src/index.tsx
@@ -205,6 +205,11 @@ export enum ClientUploadStatusEnum {
|
|||||||
UploadEnabled = "UPLOAD_ENABLED",
|
UploadEnabled = "UPLOAD_ENABLED",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type ClusterAssignmentInput = {
|
||||||
|
clusterId: Scalars["Int"]["input"];
|
||||||
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type CommentGql = {
|
export type CommentGql = {
|
||||||
__typename?: "CommentGQL";
|
__typename?: "CommentGQL";
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
@@ -224,6 +229,11 @@ export type CreateBucketSetInput = {
|
|||||||
keyName: Scalars["String"]["input"];
|
keyName: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreateCustomerPortalSessionResultGql = {
|
||||||
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
||||||
|
portalUrl: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type CreateSubscriptionResultGql = {
|
export type CreateSubscriptionResultGql = {
|
||||||
__typename?: "CreateSubscriptionResultGQL";
|
__typename?: "CreateSubscriptionResultGQL";
|
||||||
checkoutUrl: Scalars["String"]["output"];
|
checkoutUrl: Scalars["String"]["output"];
|
||||||
@@ -316,6 +326,13 @@ export type EditableShotFieldInputGql = {
|
|||||||
targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>;
|
targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum EntitlementSourceTypeEnum {
|
||||||
|
Admin = "ADMIN",
|
||||||
|
AlphaLegacy = "ALPHA_LEGACY",
|
||||||
|
Manual = "MANUAL",
|
||||||
|
Stripe = "STRIPE",
|
||||||
|
}
|
||||||
|
|
||||||
export type EnumAggregation = {
|
export type EnumAggregation = {
|
||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
@@ -2170,6 +2187,12 @@ export type FilterInput =
|
|||||||
videoId: Array<Scalars["Int"]["input"]>;
|
videoId: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type FinalizePlayerAssignmentsInput = {
|
||||||
|
clusterAssignments?: Array<ClusterAssignmentInput>;
|
||||||
|
shotMoves?: Array<ShotMoveInput>;
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type FloatOrdering = {
|
export type FloatOrdering = {
|
||||||
descending?: Scalars["Boolean"]["input"];
|
descending?: Scalars["Boolean"]["input"];
|
||||||
startingAt?: InputMaybe<Scalars["Float"]["input"]>;
|
startingAt?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
@@ -2184,6 +2207,26 @@ export type FloatRangeFilter = {
|
|||||||
lessThanInclusive?: Scalars["Boolean"]["input"];
|
lessThanInclusive?: Scalars["Boolean"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GameTypeTagMetric = {
|
||||||
|
__typename?: "GameTypeTagMetric";
|
||||||
|
madeShots: Scalars["Int"]["output"];
|
||||||
|
makeRate: Scalars["Float"]["output"];
|
||||||
|
shotCount: Scalars["Int"]["output"];
|
||||||
|
tableSize?: Maybe<Scalars["Float"]["output"]>;
|
||||||
|
tagLabel: Scalars["String"]["output"];
|
||||||
|
tagName: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GameTypeTagMetricsInput = {
|
||||||
|
createdAt?: InputMaybe<DateRangeFilter>;
|
||||||
|
groupByTableSize?: Scalars["Boolean"]["input"];
|
||||||
|
includePrivate?: IncludePrivateEnum;
|
||||||
|
includeUnknown?: Scalars["Boolean"]["input"];
|
||||||
|
maxTags?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
tagClass?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
|
userId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type GetProfileUploadLinkErrors = {
|
export type GetProfileUploadLinkErrors = {
|
||||||
__typename?: "GetProfileUploadLinkErrors";
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
error: TooManyProfileImageUploadsErr;
|
error: TooManyProfileImageUploadsErr;
|
||||||
@@ -2346,6 +2389,7 @@ export type Mutation = {
|
|||||||
commentOnVideo: Scalars["Boolean"]["output"];
|
commentOnVideo: Scalars["Boolean"]["output"];
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
createChallenge: Challenge;
|
createChallenge: Challenge;
|
||||||
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGql;
|
||||||
createRuleSet: RuleSet;
|
createRuleSet: RuleSet;
|
||||||
createSubscription: CreateSubscriptionResultGql;
|
createSubscription: CreateSubscriptionResultGql;
|
||||||
createUploadStream: CreateUploadStreamReturn;
|
createUploadStream: CreateUploadStreamReturn;
|
||||||
@@ -2361,11 +2405,13 @@ export type Mutation = {
|
|||||||
editUploadStream: Scalars["Boolean"]["output"];
|
editUploadStream: Scalars["Boolean"]["output"];
|
||||||
editUser: UserGql;
|
editUser: UserGql;
|
||||||
ensureStripeCustomerExists: UserGql;
|
ensureStripeCustomerExists: UserGql;
|
||||||
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
||||||
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
||||||
followUser: UserGql;
|
followUser: UserGql;
|
||||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||||
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
||||||
getUploadLink: GetUploadLinkReturn;
|
getUploadLink: GetUploadLinkReturn;
|
||||||
|
grantManualEntitlement: UserSubscriptionStatusGql;
|
||||||
inviteUsersToChallenge: Array<ChallengeInvitation>;
|
inviteUsersToChallenge: Array<ChallengeInvitation>;
|
||||||
markAllNotificationsAsRead: Scalars["Boolean"]["output"];
|
markAllNotificationsAsRead: Scalars["Boolean"]["output"];
|
||||||
markNotificationAsRead: Scalars["Boolean"]["output"];
|
markNotificationAsRead: Scalars["Boolean"]["output"];
|
||||||
@@ -2375,6 +2421,7 @@ export type Mutation = {
|
|||||||
reportContent: Scalars["Boolean"]["output"];
|
reportContent: Scalars["Boolean"]["output"];
|
||||||
respondToChallengeInvitation: ChallengeInvitation;
|
respondToChallengeInvitation: ChallengeInvitation;
|
||||||
retireTags: Scalars["Boolean"]["output"];
|
retireTags: Scalars["Boolean"]["output"];
|
||||||
|
revokeManualEntitlement: UserSubscriptionStatusGql;
|
||||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||||
startChallenge: ChallengeEntry;
|
startChallenge: ChallengeEntry;
|
||||||
@@ -2482,6 +2529,10 @@ export type MutationEditUserArgs = {
|
|||||||
input: EditUserInputGql;
|
input: EditUserInputGql;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
||||||
|
input: FinalizePlayerAssignmentsInput;
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationFindPrerecordTableLayoutArgs = {
|
export type MutationFindPrerecordTableLayoutArgs = {
|
||||||
b64Image: Scalars["String"]["input"];
|
b64Image: Scalars["String"]["input"];
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
@@ -2504,6 +2555,14 @@ export type MutationGetUploadLinkArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationGrantManualEntitlementArgs = {
|
||||||
|
endsAt?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
|
reason?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
|
startsAt?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
|
tierName?: Scalars["String"]["input"];
|
||||||
|
userId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationInviteUsersToChallengeArgs = {
|
export type MutationInviteUsersToChallengeArgs = {
|
||||||
challengeId: Scalars["ID"]["input"];
|
challengeId: Scalars["ID"]["input"];
|
||||||
userIds: Array<Scalars["ID"]["input"]>;
|
userIds: Array<Scalars["ID"]["input"]>;
|
||||||
@@ -2541,6 +2600,10 @@ export type MutationRetireTagsArgs = {
|
|||||||
tagIds: Array<Scalars["Int"]["input"]>;
|
tagIds: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationRevokeManualEntitlementArgs = {
|
||||||
|
userId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationSetLoggerLevelArgs = {
|
export type MutationSetLoggerLevelArgs = {
|
||||||
level: Scalars["String"]["input"];
|
level: Scalars["String"]["input"];
|
||||||
path: Scalars["String"]["input"];
|
path: Scalars["String"]["input"];
|
||||||
@@ -2632,6 +2695,29 @@ export type PageInfoGql = {
|
|||||||
hasNextPage: Scalars["Boolean"]["output"];
|
hasNextPage: Scalars["Boolean"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type PlayerClusterGql = {
|
||||||
|
__typename?: "PlayerClusterGQL";
|
||||||
|
clusterId: Scalars["Int"]["output"];
|
||||||
|
confirmed: Scalars["Boolean"]["output"];
|
||||||
|
nShots: Scalars["Int"]["output"];
|
||||||
|
shots: Array<PlayerClusterShotGql>;
|
||||||
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
|
videoId: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type PlayerClusterShotGql = {
|
||||||
|
__typename?: "PlayerClusterShotGQL";
|
||||||
|
bboxX1: Scalars["Int"]["output"];
|
||||||
|
bboxX2: Scalars["Int"]["output"];
|
||||||
|
bboxY1: Scalars["Int"]["output"];
|
||||||
|
bboxY2: Scalars["Int"]["output"];
|
||||||
|
confidence: Scalars["Float"]["output"];
|
||||||
|
cropUrl?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
fullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
isConfirmed: Scalars["Boolean"]["output"];
|
||||||
|
shotId: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export enum PocketEnum {
|
export enum PocketEnum {
|
||||||
Corner = "CORNER",
|
Corner = "CORNER",
|
||||||
Side = "SIDE",
|
Side = "SIDE",
|
||||||
@@ -2711,6 +2797,7 @@ export type Query = {
|
|||||||
getBucketSet?: Maybe<BucketSetGql>;
|
getBucketSet?: Maybe<BucketSetGql>;
|
||||||
getDeployedConfig: DeployedConfigGql;
|
getDeployedConfig: DeployedConfigGql;
|
||||||
getFeedVideos: VideoHistoryGql;
|
getFeedVideos: VideoHistoryGql;
|
||||||
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
||||||
getLoggedInUser?: Maybe<UserGql>;
|
getLoggedInUser?: Maybe<UserGql>;
|
||||||
getLongestRunsLeaderboard: RunLeaderboardGql;
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
||||||
getMakesLeaderboard: CountLeaderboardGql;
|
getMakesLeaderboard: CountLeaderboardGql;
|
||||||
@@ -2741,6 +2828,7 @@ export type Query = {
|
|||||||
notifications: NotificationConnection;
|
notifications: NotificationConnection;
|
||||||
ruleSets: Array<RuleSet>;
|
ruleSets: Array<RuleSet>;
|
||||||
unreadNotificationCount: Scalars["Int"]["output"];
|
unreadNotificationCount: Scalars["Int"]["output"];
|
||||||
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
||||||
waitFor: Scalars["Float"]["output"];
|
waitFor: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2778,6 +2866,10 @@ export type QueryGetFeedVideosArgs = {
|
|||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryGetGameTypeTagMetricsArgs = {
|
||||||
|
input: GameTypeTagMetricsInput;
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryGetLongestRunsLeaderboardArgs = {
|
export type QueryGetLongestRunsLeaderboardArgs = {
|
||||||
interval?: InputMaybe<TimeInterval>;
|
interval?: InputMaybe<TimeInterval>;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
@@ -2903,6 +2995,10 @@ export type QueryNotificationsArgs = {
|
|||||||
offset?: Scalars["Int"]["input"];
|
offset?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryVideoPlayerClustersArgs = {
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryWaitForArgs = {
|
export type QueryWaitForArgs = {
|
||||||
duration: Scalars["Float"]["input"];
|
duration: Scalars["Float"]["input"];
|
||||||
};
|
};
|
||||||
@@ -3120,6 +3216,11 @@ export type ShotGql = {
|
|||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ShotMoveInput = {
|
||||||
|
newClusterId: Scalars["Int"]["input"];
|
||||||
|
shotId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type ShotsOrderingComponent =
|
export type ShotsOrderingComponent =
|
||||||
| {
|
| {
|
||||||
difficulty: FloatOrdering;
|
difficulty: FloatOrdering;
|
||||||
@@ -3218,6 +3319,7 @@ export type StripeProductGql = {
|
|||||||
export type StripeSubscriptionOptionsGql = {
|
export type StripeSubscriptionOptionsGql = {
|
||||||
__typename?: "StripeSubscriptionOptionsGQL";
|
__typename?: "StripeSubscriptionOptionsGQL";
|
||||||
products: Array<StripeProductGql>;
|
products: Array<StripeProductGql>;
|
||||||
|
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum StripeSubscriptionStatusEnum {
|
export enum StripeSubscriptionStatusEnum {
|
||||||
@@ -3395,6 +3497,9 @@ export type UserSubscriptionStatusGql = {
|
|||||||
__typename?: "UserSubscriptionStatusGQL";
|
__typename?: "UserSubscriptionStatusGQL";
|
||||||
currentPeriodEnd?: Maybe<Scalars["DateTime"]["output"]>;
|
currentPeriodEnd?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
currentPeriodStart?: Maybe<Scalars["DateTime"]["output"]>;
|
currentPeriodStart?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
entitlementEndsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
entitlementSource?: Maybe<EntitlementSourceTypeEnum>;
|
||||||
|
entitlementStartsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
hasActiveSubscription: Scalars["Boolean"]["output"];
|
hasActiveSubscription: Scalars["Boolean"]["output"];
|
||||||
stripePriceId?: Maybe<Scalars["String"]["output"]>;
|
stripePriceId?: Maybe<Scalars["String"]["output"]>;
|
||||||
stripeSubscriptionId?: Maybe<Scalars["String"]["output"]>;
|
stripeSubscriptionId?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -4048,15 +4153,11 @@ export type GetFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
name?: string | null;
|
name?: string | null;
|
||||||
screenshotUri?: string | null;
|
screenshotUri?: string | null;
|
||||||
totalShotsMade: number;
|
|
||||||
totalShots: number;
|
totalShots: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
averageTimeBetweenShots?: number | null;
|
averageTimeBetweenShots?: number | null;
|
||||||
averageDifficulty?: number | null;
|
averageDifficulty?: number | null;
|
||||||
createdAt?: any | null;
|
|
||||||
updatedAt?: any | null;
|
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
|
||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
@@ -4071,26 +4172,13 @@ export type GetFeedQuery = {
|
|||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||||
__typename?: "VideoTag";
|
|
||||||
name: string;
|
|
||||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
||||||
}>;
|
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
id: number;
|
id: number;
|
||||||
status: ProcessingStatusEnum;
|
status: ProcessingStatusEnum;
|
||||||
errors: Array<{
|
|
||||||
__typename?: "VideoProcessingErrorGQL";
|
|
||||||
message: string;
|
|
||||||
}>;
|
|
||||||
statuses: Array<{
|
|
||||||
__typename?: "VideoProcessingStatusGQL";
|
|
||||||
status: ProcessingStatusEnum;
|
|
||||||
}>;
|
|
||||||
} | null;
|
} | null;
|
||||||
reactions: Array<{
|
reactions: Array<{
|
||||||
__typename?: "ReactionGQL";
|
__typename?: "ReactionGQL";
|
||||||
@@ -4150,15 +4238,11 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
name?: string | null;
|
name?: string | null;
|
||||||
screenshotUri?: string | null;
|
screenshotUri?: string | null;
|
||||||
totalShotsMade: number;
|
|
||||||
totalShots: number;
|
totalShots: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
averageTimeBetweenShots?: number | null;
|
averageTimeBetweenShots?: number | null;
|
||||||
averageDifficulty?: number | null;
|
averageDifficulty?: number | null;
|
||||||
createdAt?: any | null;
|
|
||||||
updatedAt?: any | null;
|
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
|
||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
@@ -4173,23 +4257,13 @@ export type VideoCardFieldsFragment = {
|
|||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||||
__typename?: "VideoTag";
|
|
||||||
name: string;
|
|
||||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
||||||
}>;
|
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
id: number;
|
id: number;
|
||||||
status: ProcessingStatusEnum;
|
status: ProcessingStatusEnum;
|
||||||
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
|
|
||||||
statuses: Array<{
|
|
||||||
__typename?: "VideoProcessingStatusGQL";
|
|
||||||
status: ProcessingStatusEnum;
|
|
||||||
}>;
|
|
||||||
} | null;
|
} | null;
|
||||||
reactions: Array<{
|
reactions: Array<{
|
||||||
__typename?: "ReactionGQL";
|
__typename?: "ReactionGQL";
|
||||||
@@ -4263,15 +4337,11 @@ export type GetVideoFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
name?: string | null;
|
name?: string | null;
|
||||||
screenshotUri?: string | null;
|
screenshotUri?: string | null;
|
||||||
totalShotsMade: number;
|
|
||||||
totalShots: number;
|
totalShots: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
averageTimeBetweenShots?: number | null;
|
averageTimeBetweenShots?: number | null;
|
||||||
averageDifficulty?: number | null;
|
averageDifficulty?: number | null;
|
||||||
createdAt?: any | null;
|
|
||||||
updatedAt?: any | null;
|
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
|
||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
@@ -4286,26 +4356,13 @@ export type GetVideoFeedQuery = {
|
|||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
||||||
__typename?: "VideoTag";
|
|
||||||
name: string;
|
|
||||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
||||||
}>;
|
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
id: number;
|
id: number;
|
||||||
status: ProcessingStatusEnum;
|
status: ProcessingStatusEnum;
|
||||||
errors: Array<{
|
|
||||||
__typename?: "VideoProcessingErrorGQL";
|
|
||||||
message: string;
|
|
||||||
}>;
|
|
||||||
statuses: Array<{
|
|
||||||
__typename?: "VideoProcessingStatusGQL";
|
|
||||||
status: ProcessingStatusEnum;
|
|
||||||
}>;
|
|
||||||
} | null;
|
} | null;
|
||||||
reactions: Array<{
|
reactions: Array<{
|
||||||
__typename?: "ReactionGQL";
|
__typename?: "ReactionGQL";
|
||||||
@@ -4700,6 +4757,18 @@ export type CreateSubscriptionMutation = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreateCustomerPortalSessionMutationVariables = Exact<{
|
||||||
|
[key: string]: never;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type CreateCustomerPortalSessionMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
createCustomerPortalSession: {
|
||||||
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
||||||
|
portalUrl: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
||||||
[key: string]: never;
|
[key: string]: never;
|
||||||
}>;
|
}>;
|
||||||
@@ -4708,6 +4777,7 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getAvailableSubscriptionOptions: {
|
getAvailableSubscriptionOptions: {
|
||||||
__typename?: "StripeSubscriptionOptionsGQL";
|
__typename?: "StripeSubscriptionOptionsGQL";
|
||||||
|
trialPeriodDays?: number | null;
|
||||||
products: Array<{
|
products: Array<{
|
||||||
__typename?: "StripeProductGQL";
|
__typename?: "StripeProductGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -4859,6 +4929,96 @@ export type GetRunsWithTimestampsQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type PlayerClusterShotFieldsFragment = {
|
||||||
|
__typename?: "PlayerClusterShotGQL";
|
||||||
|
shotId: number;
|
||||||
|
bboxX1: number;
|
||||||
|
bboxY1: number;
|
||||||
|
bboxX2: number;
|
||||||
|
bboxY2: number;
|
||||||
|
confidence: number;
|
||||||
|
isConfirmed: boolean;
|
||||||
|
cropUrl?: string | null;
|
||||||
|
fullFrameUrl?: string | null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type PlayerClusterFieldsFragment = {
|
||||||
|
__typename?: "PlayerClusterGQL";
|
||||||
|
videoId: number;
|
||||||
|
clusterId: number;
|
||||||
|
nShots: number;
|
||||||
|
userId?: number | null;
|
||||||
|
confirmed: boolean;
|
||||||
|
shots: Array<{
|
||||||
|
__typename?: "PlayerClusterShotGQL";
|
||||||
|
shotId: number;
|
||||||
|
bboxX1: number;
|
||||||
|
bboxY1: number;
|
||||||
|
bboxX2: number;
|
||||||
|
bboxY2: number;
|
||||||
|
confidence: number;
|
||||||
|
isConfirmed: boolean;
|
||||||
|
cropUrl?: string | null;
|
||||||
|
fullFrameUrl?: string | null;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type VideoPlayerClustersQueryVariables = Exact<{
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type VideoPlayerClustersQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
videoPlayerClusters: Array<{
|
||||||
|
__typename?: "PlayerClusterGQL";
|
||||||
|
videoId: number;
|
||||||
|
clusterId: number;
|
||||||
|
nShots: number;
|
||||||
|
userId?: number | null;
|
||||||
|
confirmed: boolean;
|
||||||
|
shots: Array<{
|
||||||
|
__typename?: "PlayerClusterShotGQL";
|
||||||
|
shotId: number;
|
||||||
|
bboxX1: number;
|
||||||
|
bboxY1: number;
|
||||||
|
bboxX2: number;
|
||||||
|
bboxY2: number;
|
||||||
|
confidence: number;
|
||||||
|
isConfirmed: boolean;
|
||||||
|
cropUrl?: string | null;
|
||||||
|
fullFrameUrl?: string | null;
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type FinalizePlayerAssignmentsMutationVariables = Exact<{
|
||||||
|
input: FinalizePlayerAssignmentsInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type FinalizePlayerAssignmentsMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
finalizePlayerAssignments: Array<{
|
||||||
|
__typename?: "PlayerClusterGQL";
|
||||||
|
videoId: number;
|
||||||
|
clusterId: number;
|
||||||
|
nShots: number;
|
||||||
|
userId?: number | null;
|
||||||
|
confirmed: boolean;
|
||||||
|
shots: Array<{
|
||||||
|
__typename?: "PlayerClusterShotGQL";
|
||||||
|
shotId: number;
|
||||||
|
bboxX1: number;
|
||||||
|
bboxY1: number;
|
||||||
|
bboxX2: number;
|
||||||
|
bboxY2: number;
|
||||||
|
confidence: number;
|
||||||
|
isConfirmed: boolean;
|
||||||
|
cropUrl?: string | null;
|
||||||
|
fullFrameUrl?: string | null;
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetSerializedShotPathsQueryVariables = Exact<{
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
}>;
|
}>;
|
||||||
@@ -5522,6 +5682,23 @@ export type GetUserTagsQuery = {
|
|||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetGameTypeTagMetricsQueryVariables = Exact<{
|
||||||
|
input: GameTypeTagMetricsInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetGameTypeTagMetricsQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getGameTypeTagMetrics: Array<{
|
||||||
|
__typename?: "GameTypeTagMetric";
|
||||||
|
tagName: string;
|
||||||
|
tagLabel: string;
|
||||||
|
tableSize?: number | null;
|
||||||
|
shotCount: number;
|
||||||
|
madeShots: number;
|
||||||
|
makeRate: number;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
export type FollowUserMutationVariables = Exact<{
|
export type FollowUserMutationVariables = Exact<{
|
||||||
followedUserId: Scalars["Int"]["input"];
|
followedUserId: Scalars["Int"]["input"];
|
||||||
}>;
|
}>;
|
||||||
@@ -5687,6 +5864,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
linksRequested: number;
|
linksRequested: number;
|
||||||
|
lowestUnuploadedSegmentIndex: number;
|
||||||
uploadsCompleted: number;
|
uploadsCompleted: number;
|
||||||
segmentProcessingCursor: number;
|
segmentProcessingCursor: number;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
@@ -6249,6 +6427,7 @@ export type HomographyInfoFragment = {
|
|||||||
|
|
||||||
export type CreateUploadStreamMutationVariables = Exact<{
|
export type CreateUploadStreamMutationVariables = Exact<{
|
||||||
videoMetadataInput: VideoMetadataInput;
|
videoMetadataInput: VideoMetadataInput;
|
||||||
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type CreateUploadStreamMutation = {
|
export type CreateUploadStreamMutation = {
|
||||||
@@ -6451,41 +6630,26 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
}
|
}
|
||||||
name
|
name
|
||||||
screenshotUri
|
screenshotUri
|
||||||
totalShotsMade
|
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
averageTimeBetweenShots
|
averageTimeBetweenShots
|
||||||
averageDifficulty
|
averageDifficulty
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
startTime
|
startTime
|
||||||
endTime
|
|
||||||
private
|
private
|
||||||
elapsedTime
|
elapsedTime
|
||||||
screenshotUri
|
|
||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
isCompleted
|
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
|
||||||
name
|
|
||||||
}
|
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
currentProcessing {
|
currentProcessing {
|
||||||
id
|
id
|
||||||
errors {
|
|
||||||
message
|
|
||||||
}
|
|
||||||
status
|
status
|
||||||
statuses {
|
|
||||||
status
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
reactions {
|
reactions {
|
||||||
videoId
|
videoId
|
||||||
@@ -6558,6 +6722,32 @@ export const PocketingIntentionFragmentFragmentDoc = gql`
|
|||||||
difficulty
|
difficulty
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
||||||
|
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
||||||
|
shotId
|
||||||
|
bboxX1
|
||||||
|
bboxY1
|
||||||
|
bboxX2
|
||||||
|
bboxY2
|
||||||
|
confidence
|
||||||
|
isConfirmed
|
||||||
|
cropUrl
|
||||||
|
fullFrameUrl
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export const PlayerClusterFieldsFragmentDoc = gql`
|
||||||
|
fragment PlayerClusterFields on PlayerClusterGQL {
|
||||||
|
videoId
|
||||||
|
clusterId
|
||||||
|
nShots
|
||||||
|
userId
|
||||||
|
confirmed
|
||||||
|
shots {
|
||||||
|
...PlayerClusterShotFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
${PlayerClusterShotFieldsFragmentDoc}
|
||||||
|
`;
|
||||||
export const ShotWithAllFeaturesFragmentDoc = gql`
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||||
fragment ShotWithAllFeatures on ShotGQL {
|
fragment ShotWithAllFeatures on ShotGQL {
|
||||||
id
|
id
|
||||||
@@ -9584,9 +9774,60 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
CreateSubscriptionMutation,
|
CreateSubscriptionMutation,
|
||||||
CreateSubscriptionMutationVariables
|
CreateSubscriptionMutationVariables
|
||||||
>;
|
>;
|
||||||
|
export const CreateCustomerPortalSessionDocument = gql`
|
||||||
|
mutation CreateCustomerPortalSession {
|
||||||
|
createCustomerPortalSession {
|
||||||
|
portalUrl
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export type CreateCustomerPortalSessionMutationFn = Apollo.MutationFunction<
|
||||||
|
CreateCustomerPortalSessionMutation,
|
||||||
|
CreateCustomerPortalSessionMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useCreateCustomerPortalSessionMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useCreateCustomerPortalSessionMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useCreateCustomerPortalSessionMutation` returns a tuple that includes:
|
||||||
|
* - A mutate function that you can call at any time to execute the mutation
|
||||||
|
* - An object with fields that represent the current status of the mutation's execution
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const [createCustomerPortalSessionMutation, { data, loading, error }] = useCreateCustomerPortalSessionMutation({
|
||||||
|
* variables: {
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useCreateCustomerPortalSessionMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
CreateCustomerPortalSessionMutation,
|
||||||
|
CreateCustomerPortalSessionMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<
|
||||||
|
CreateCustomerPortalSessionMutation,
|
||||||
|
CreateCustomerPortalSessionMutationVariables
|
||||||
|
>(CreateCustomerPortalSessionDocument, options);
|
||||||
|
}
|
||||||
|
export type CreateCustomerPortalSessionMutationHookResult = ReturnType<
|
||||||
|
typeof useCreateCustomerPortalSessionMutation
|
||||||
|
>;
|
||||||
|
export type CreateCustomerPortalSessionMutationResult =
|
||||||
|
Apollo.MutationResult<CreateCustomerPortalSessionMutation>;
|
||||||
|
export type CreateCustomerPortalSessionMutationOptions =
|
||||||
|
Apollo.BaseMutationOptions<
|
||||||
|
CreateCustomerPortalSessionMutation,
|
||||||
|
CreateCustomerPortalSessionMutationVariables
|
||||||
|
>;
|
||||||
export const GetAvailableSubscriptionOptionsDocument = gql`
|
export const GetAvailableSubscriptionOptionsDocument = gql`
|
||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
|
trialPeriodDays
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
@@ -10110,6 +10351,132 @@ export type GetRunsWithTimestampsQueryResult = Apollo.QueryResult<
|
|||||||
GetRunsWithTimestampsQuery,
|
GetRunsWithTimestampsQuery,
|
||||||
GetRunsWithTimestampsQueryVariables
|
GetRunsWithTimestampsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const VideoPlayerClustersDocument = gql`
|
||||||
|
query VideoPlayerClusters($videoId: Int!) {
|
||||||
|
videoPlayerClusters(videoId: $videoId) {
|
||||||
|
...PlayerClusterFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
${PlayerClusterFieldsFragmentDoc}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useVideoPlayerClustersQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useVideoPlayerClustersQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useVideoPlayerClustersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||||
|
* you can use to render your UI.
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const { data, loading, error } = useVideoPlayerClustersQuery({
|
||||||
|
* variables: {
|
||||||
|
* videoId: // value for 'videoId'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useVideoPlayerClustersQuery(
|
||||||
|
baseOptions: Apollo.QueryHookOptions<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>(VideoPlayerClustersDocument, options);
|
||||||
|
}
|
||||||
|
export function useVideoPlayerClustersLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>(VideoPlayerClustersDocument, options);
|
||||||
|
}
|
||||||
|
export function useVideoPlayerClustersSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>(VideoPlayerClustersDocument, options);
|
||||||
|
}
|
||||||
|
export type VideoPlayerClustersQueryHookResult = ReturnType<
|
||||||
|
typeof useVideoPlayerClustersQuery
|
||||||
|
>;
|
||||||
|
export type VideoPlayerClustersLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useVideoPlayerClustersLazyQuery
|
||||||
|
>;
|
||||||
|
export type VideoPlayerClustersSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useVideoPlayerClustersSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type VideoPlayerClustersQueryResult = Apollo.QueryResult<
|
||||||
|
VideoPlayerClustersQuery,
|
||||||
|
VideoPlayerClustersQueryVariables
|
||||||
|
>;
|
||||||
|
export const FinalizePlayerAssignmentsDocument = gql`
|
||||||
|
mutation FinalizePlayerAssignments($input: FinalizePlayerAssignmentsInput!) {
|
||||||
|
finalizePlayerAssignments(input: $input) {
|
||||||
|
...PlayerClusterFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
${PlayerClusterFieldsFragmentDoc}
|
||||||
|
`;
|
||||||
|
export type FinalizePlayerAssignmentsMutationFn = Apollo.MutationFunction<
|
||||||
|
FinalizePlayerAssignmentsMutation,
|
||||||
|
FinalizePlayerAssignmentsMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useFinalizePlayerAssignmentsMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useFinalizePlayerAssignmentsMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useFinalizePlayerAssignmentsMutation` returns a tuple that includes:
|
||||||
|
* - A mutate function that you can call at any time to execute the mutation
|
||||||
|
* - An object with fields that represent the current status of the mutation's execution
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const [finalizePlayerAssignmentsMutation, { data, loading, error }] = useFinalizePlayerAssignmentsMutation({
|
||||||
|
* variables: {
|
||||||
|
* input: // value for 'input'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useFinalizePlayerAssignmentsMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
FinalizePlayerAssignmentsMutation,
|
||||||
|
FinalizePlayerAssignmentsMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<
|
||||||
|
FinalizePlayerAssignmentsMutation,
|
||||||
|
FinalizePlayerAssignmentsMutationVariables
|
||||||
|
>(FinalizePlayerAssignmentsDocument, options);
|
||||||
|
}
|
||||||
|
export type FinalizePlayerAssignmentsMutationHookResult = ReturnType<
|
||||||
|
typeof useFinalizePlayerAssignmentsMutation
|
||||||
|
>;
|
||||||
|
export type FinalizePlayerAssignmentsMutationResult =
|
||||||
|
Apollo.MutationResult<FinalizePlayerAssignmentsMutation>;
|
||||||
|
export type FinalizePlayerAssignmentsMutationOptions =
|
||||||
|
Apollo.BaseMutationOptions<
|
||||||
|
FinalizePlayerAssignmentsMutation,
|
||||||
|
FinalizePlayerAssignmentsMutationVariables
|
||||||
|
>;
|
||||||
export const GetSerializedShotPathsDocument = gql`
|
export const GetSerializedShotPathsDocument = gql`
|
||||||
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(filterInput: $filterInput) {
|
||||||
@@ -11503,6 +11870,84 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|||||||
GetUserTagsQuery,
|
GetUserTagsQuery,
|
||||||
GetUserTagsQueryVariables
|
GetUserTagsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetGameTypeTagMetricsDocument = gql`
|
||||||
|
query GetGameTypeTagMetrics($input: GameTypeTagMetricsInput!) {
|
||||||
|
getGameTypeTagMetrics(input: $input) {
|
||||||
|
tagName
|
||||||
|
tagLabel
|
||||||
|
tableSize
|
||||||
|
shotCount
|
||||||
|
madeShots
|
||||||
|
makeRate
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetGameTypeTagMetricsQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetGameTypeTagMetricsQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetGameTypeTagMetricsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||||
|
* you can use to render your UI.
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const { data, loading, error } = useGetGameTypeTagMetricsQuery({
|
||||||
|
* variables: {
|
||||||
|
* input: // value for 'input'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetGameTypeTagMetricsQuery(
|
||||||
|
baseOptions: Apollo.QueryHookOptions<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>(GetGameTypeTagMetricsDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetGameTypeTagMetricsLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>(GetGameTypeTagMetricsDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetGameTypeTagMetricsSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>(GetGameTypeTagMetricsDocument, options);
|
||||||
|
}
|
||||||
|
export type GetGameTypeTagMetricsQueryHookResult = ReturnType<
|
||||||
|
typeof useGetGameTypeTagMetricsQuery
|
||||||
|
>;
|
||||||
|
export type GetGameTypeTagMetricsLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetGameTypeTagMetricsLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetGameTypeTagMetricsSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetGameTypeTagMetricsSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetGameTypeTagMetricsQueryResult = Apollo.QueryResult<
|
||||||
|
GetGameTypeTagMetricsQuery,
|
||||||
|
GetGameTypeTagMetricsQueryVariables
|
||||||
|
>;
|
||||||
export const FollowUserDocument = gql`
|
export const FollowUserDocument = gql`
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
@@ -11968,6 +12413,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
linksRequested
|
linksRequested
|
||||||
|
lowestUnuploadedSegmentIndex
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
segmentProcessingCursor
|
segmentProcessingCursor
|
||||||
isCompleted
|
isCompleted
|
||||||
@@ -13215,8 +13661,14 @@ export type FindPrerecordTableLayoutMutationOptions =
|
|||||||
FindPrerecordTableLayoutMutationVariables
|
FindPrerecordTableLayoutMutationVariables
|
||||||
>;
|
>;
|
||||||
export const CreateUploadStreamDocument = gql`
|
export const CreateUploadStreamDocument = gql`
|
||||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
mutation CreateUploadStream(
|
||||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
$videoMetadataInput: VideoMetadataInput!
|
||||||
|
$expectedDurationSeconds: Float = null
|
||||||
|
) {
|
||||||
|
createUploadStream(
|
||||||
|
videoMetadata: $videoMetadataInput
|
||||||
|
expectedDurationSeconds: $expectedDurationSeconds
|
||||||
|
) {
|
||||||
videoId
|
videoId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13240,6 +13692,7 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction<
|
|||||||
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
||||||
* variables: {
|
* variables: {
|
||||||
* videoMetadataInput: // value for 'videoMetadataInput'
|
* videoMetadataInput: // value for 'videoMetadataInput'
|
||||||
|
* expectedDurationSeconds: // value for 'expectedDurationSeconds'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -31,41 +31,26 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
}
|
}
|
||||||
name
|
name
|
||||||
screenshotUri
|
screenshotUri
|
||||||
totalShotsMade
|
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
averageTimeBetweenShots
|
averageTimeBetweenShots
|
||||||
averageDifficulty
|
averageDifficulty
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
startTime
|
startTime
|
||||||
endTime
|
|
||||||
private
|
private
|
||||||
elapsedTime
|
elapsedTime
|
||||||
screenshotUri
|
|
||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
isCompleted
|
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
|
||||||
name
|
|
||||||
}
|
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
currentProcessing {
|
currentProcessing {
|
||||||
id
|
id
|
||||||
errors {
|
|
||||||
message
|
|
||||||
}
|
|
||||||
status
|
status
|
||||||
statuses {
|
|
||||||
status
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
reactions {
|
reactions {
|
||||||
videoId
|
videoId
|
||||||
|
|||||||
@@ -20,8 +20,15 @@ mutation CreateSubscription($priceId: String!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutation CreateCustomerPortalSession {
|
||||||
|
createCustomerPortalSession {
|
||||||
|
portalUrl
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
|
trialPeriodDays
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
|||||||
34
src/operations/shooter.gql
Normal file
34
src/operations/shooter.gql
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
||||||
|
shotId
|
||||||
|
bboxX1
|
||||||
|
bboxY1
|
||||||
|
bboxX2
|
||||||
|
bboxY2
|
||||||
|
confidence
|
||||||
|
isConfirmed
|
||||||
|
cropUrl
|
||||||
|
fullFrameUrl
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment PlayerClusterFields on PlayerClusterGQL {
|
||||||
|
videoId
|
||||||
|
clusterId
|
||||||
|
nShots
|
||||||
|
userId
|
||||||
|
confirmed
|
||||||
|
shots {
|
||||||
|
...PlayerClusterShotFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query VideoPlayerClusters($videoId: Int!) {
|
||||||
|
videoPlayerClusters(videoId: $videoId) {
|
||||||
|
...PlayerClusterFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mutation FinalizePlayerAssignments($input: FinalizePlayerAssignmentsInput!) {
|
||||||
|
finalizePlayerAssignments(input: $input) {
|
||||||
|
...PlayerClusterFields
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -92,6 +92,17 @@ query GetUserTags {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetGameTypeTagMetrics($input: GameTypeTagMetricsInput!) {
|
||||||
|
getGameTypeTagMetrics(input: $input) {
|
||||||
|
tagName
|
||||||
|
tagLabel
|
||||||
|
tableSize
|
||||||
|
shotCount
|
||||||
|
madeShots
|
||||||
|
makeRate
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
id
|
id
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
linksRequested
|
linksRequested
|
||||||
|
lowestUnuploadedSegmentIndex
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
segmentProcessingCursor
|
segmentProcessingCursor
|
||||||
isCompleted
|
isCompleted
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
mutation CreateUploadStream(
|
||||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
$videoMetadataInput: VideoMetadataInput!
|
||||||
|
$expectedDurationSeconds: Float = null
|
||||||
|
) {
|
||||||
|
createUploadStream(
|
||||||
|
videoMetadata: $videoMetadataInput
|
||||||
|
expectedDurationSeconds: $expectedDurationSeconds
|
||||||
|
) {
|
||||||
videoId
|
videoId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ type Query {
|
|||||||
getLongestRunsLeaderboard(
|
getLongestRunsLeaderboard(
|
||||||
interval: TimeInterval = null
|
interval: TimeInterval = null
|
||||||
when: DateTime = null
|
when: DateTime = null
|
||||||
limit: Int! = 100
|
limit: Int! = 50
|
||||||
requiredTags: [String!] = null
|
requiredTags: [String!] = null
|
||||||
): RunLeaderboardGQL!
|
): RunLeaderboardGQL!
|
||||||
getMakesLeaderboard(
|
getMakesLeaderboard(
|
||||||
@@ -49,6 +49,7 @@ type Query {
|
|||||||
limit: Int! = 500
|
limit: Int! = 500
|
||||||
countRespectsLimit: Boolean! = false
|
countRespectsLimit: Boolean! = false
|
||||||
): GetRunsResult!
|
): GetRunsResult!
|
||||||
|
videoPlayerClusters(videoId: Int!): [PlayerClusterGQL!]!
|
||||||
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||||
getTableState(
|
getTableState(
|
||||||
b64Image: String!
|
b64Image: String!
|
||||||
@@ -106,6 +107,7 @@ type Query {
|
|||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]!
|
getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]!
|
||||||
|
getGameTypeTagMetrics(input: GameTypeTagMetricsInput!): [GameTypeTagMetric!]!
|
||||||
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
@@ -859,6 +861,27 @@ input DatetimeOrdering {
|
|||||||
startingAt: DateTime = null
|
startingAt: DateTime = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type PlayerClusterGQL {
|
||||||
|
videoId: Int!
|
||||||
|
clusterId: Int!
|
||||||
|
nShots: Int!
|
||||||
|
userId: Int
|
||||||
|
confirmed: Boolean!
|
||||||
|
shots: [PlayerClusterShotGQL!]!
|
||||||
|
}
|
||||||
|
|
||||||
|
type PlayerClusterShotGQL {
|
||||||
|
shotId: Int!
|
||||||
|
bboxX1: Int!
|
||||||
|
bboxY1: Int!
|
||||||
|
bboxX2: Int!
|
||||||
|
bboxY2: Int!
|
||||||
|
confidence: Float!
|
||||||
|
isConfirmed: Boolean!
|
||||||
|
cropUrl: String
|
||||||
|
fullFrameUrl: String
|
||||||
|
}
|
||||||
|
|
||||||
type TableStateGQL {
|
type TableStateGQL {
|
||||||
identifierToPosition: [[Float!]!]!
|
identifierToPosition: [[Float!]!]!
|
||||||
homography: HomographyInfoGQL
|
homography: HomographyInfoGQL
|
||||||
@@ -939,6 +962,7 @@ type UserRelationship {
|
|||||||
|
|
||||||
type StripeSubscriptionOptionsGQL {
|
type StripeSubscriptionOptionsGQL {
|
||||||
products: [StripeProductGQL!]!
|
products: [StripeProductGQL!]!
|
||||||
|
trialPeriodDays: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
type StripeProductGQL {
|
type StripeProductGQL {
|
||||||
@@ -961,6 +985,9 @@ type StripePriceGQL {
|
|||||||
|
|
||||||
type UserSubscriptionStatusGQL {
|
type UserSubscriptionStatusGQL {
|
||||||
hasActiveSubscription: Boolean!
|
hasActiveSubscription: Boolean!
|
||||||
|
entitlementSource: EntitlementSourceTypeEnum
|
||||||
|
entitlementStartsAt: DateTime
|
||||||
|
entitlementEndsAt: DateTime
|
||||||
subscriptionStatus: StripeSubscriptionStatusEnum
|
subscriptionStatus: StripeSubscriptionStatusEnum
|
||||||
currentPeriodStart: DateTime
|
currentPeriodStart: DateTime
|
||||||
currentPeriodEnd: DateTime
|
currentPeriodEnd: DateTime
|
||||||
@@ -969,6 +996,13 @@ type UserSubscriptionStatusGQL {
|
|||||||
stripeSubscriptionId: String
|
stripeSubscriptionId: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum EntitlementSourceTypeEnum {
|
||||||
|
ADMIN
|
||||||
|
MANUAL
|
||||||
|
STRIPE
|
||||||
|
ALPHA_LEGACY
|
||||||
|
}
|
||||||
|
|
||||||
enum StripeSubscriptionStatusEnum {
|
enum StripeSubscriptionStatusEnum {
|
||||||
INCOMPLETE
|
INCOMPLETE
|
||||||
INCOMPLETE_EXPIRED
|
INCOMPLETE_EXPIRED
|
||||||
@@ -1007,6 +1041,25 @@ type TagClassGQL {
|
|||||||
name: String!
|
name: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GameTypeTagMetric {
|
||||||
|
tagName: String!
|
||||||
|
tagLabel: String!
|
||||||
|
tableSize: Float
|
||||||
|
shotCount: Int!
|
||||||
|
madeShots: Int!
|
||||||
|
makeRate: Float!
|
||||||
|
}
|
||||||
|
|
||||||
|
input GameTypeTagMetricsInput {
|
||||||
|
userId: Int!
|
||||||
|
createdAt: DateRangeFilter = null
|
||||||
|
maxTags: Int = null
|
||||||
|
groupByTableSize: Boolean! = true
|
||||||
|
includeUnknown: Boolean! = true
|
||||||
|
tagClass: String = "game_type"
|
||||||
|
includePrivate: IncludePrivateEnum! = MINE
|
||||||
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
|
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
|
||||||
"""
|
"""
|
||||||
@@ -1063,6 +1116,9 @@ type Mutation {
|
|||||||
markAllNotificationsAsRead: Boolean!
|
markAllNotificationsAsRead: Boolean!
|
||||||
markNotificationsAsRead(notificationIds: [Int!]!): Boolean!
|
markNotificationsAsRead(notificationIds: [Int!]!): Boolean!
|
||||||
deleteNotification(notificationId: Int!): Boolean!
|
deleteNotification(notificationId: Int!): Boolean!
|
||||||
|
finalizePlayerAssignments(
|
||||||
|
input: FinalizePlayerAssignmentsInput!
|
||||||
|
): [PlayerClusterGQL!]!
|
||||||
addAnnotationToShot(
|
addAnnotationToShot(
|
||||||
shotId: Int!
|
shotId: Int!
|
||||||
annotationName: String!
|
annotationName: String!
|
||||||
@@ -1087,7 +1143,16 @@ type Mutation {
|
|||||||
ensureStripeCustomerExists: UserGQL!
|
ensureStripeCustomerExists: UserGQL!
|
||||||
deleteUser: Boolean!
|
deleteUser: Boolean!
|
||||||
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
|
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
|
||||||
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGQL!
|
||||||
cancelSubscription: UserSubscriptionStatusGQL!
|
cancelSubscription: UserSubscriptionStatusGQL!
|
||||||
|
grantManualEntitlement(
|
||||||
|
userId: Int!
|
||||||
|
tierName: String! = "pro"
|
||||||
|
startsAt: DateTime = null
|
||||||
|
endsAt: DateTime = null
|
||||||
|
reason: String = null
|
||||||
|
): UserSubscriptionStatusGQL!
|
||||||
|
revokeManualEntitlement(userId: Int!): UserSubscriptionStatusGQL!
|
||||||
submitCancellationFeedback(
|
submitCancellationFeedback(
|
||||||
reasons: [CancellationReasonEnum!] = null
|
reasons: [CancellationReasonEnum!] = null
|
||||||
feedback: String = null
|
feedback: String = null
|
||||||
@@ -1125,6 +1190,22 @@ enum ReportReasonEnum {
|
|||||||
OTHER
|
OTHER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input FinalizePlayerAssignmentsInput {
|
||||||
|
videoId: Int!
|
||||||
|
clusterAssignments: [ClusterAssignmentInput!]! = []
|
||||||
|
shotMoves: [ShotMoveInput!]! = []
|
||||||
|
}
|
||||||
|
|
||||||
|
input ClusterAssignmentInput {
|
||||||
|
clusterId: Int!
|
||||||
|
userId: Int = null
|
||||||
|
}
|
||||||
|
|
||||||
|
input ShotMoveInput {
|
||||||
|
shotId: Int!
|
||||||
|
newClusterId: Int!
|
||||||
|
}
|
||||||
|
|
||||||
type AddShotAnnotationReturn {
|
type AddShotAnnotationReturn {
|
||||||
value: SuccessfulAddAddShotAnnotationErrors!
|
value: SuccessfulAddAddShotAnnotationErrors!
|
||||||
}
|
}
|
||||||
@@ -1218,6 +1299,10 @@ type CreateSubscriptionResultGQL {
|
|||||||
sessionId: String!
|
sessionId: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CreateCustomerPortalSessionResultGQL {
|
||||||
|
portalUrl: String!
|
||||||
|
}
|
||||||
|
|
||||||
enum CancellationReasonEnum {
|
enum CancellationReasonEnum {
|
||||||
DONT_PLAY_ENOUGH
|
DONT_PLAY_ENOUGH
|
||||||
TOO_EXPENSIVE
|
TOO_EXPENSIVE
|
||||||
|
|||||||
Reference in New Issue
Block a user