|
|
|
|
@@ -28,6 +28,8 @@ export type Scalars = {
|
|
|
|
|
Boolean: { input: boolean; output: boolean };
|
|
|
|
|
Int: { input: number; output: number };
|
|
|
|
|
Float: { input: number; output: number };
|
|
|
|
|
/** Integer value that can exceed GraphQL Int's 32-bit range. */
|
|
|
|
|
BigInt: { input: any; output: any };
|
|
|
|
|
/** Date (isoformat) */
|
|
|
|
|
Date: { input: any; output: any };
|
|
|
|
|
/** Date with time (isoformat) */
|
|
|
|
|
@@ -298,6 +300,7 @@ export type DeployedConfigGql = {
|
|
|
|
|
firebase: Scalars["Boolean"]["output"];
|
|
|
|
|
minimumAllowedAppVersion: Scalars["String"]["output"];
|
|
|
|
|
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
storageLimitEnforcementEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -327,6 +330,7 @@ export type EditShotReturn = {
|
|
|
|
|
|
|
|
|
|
export type EditUserInputGql = {
|
|
|
|
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
@@ -2284,7 +2288,7 @@ export type GetShotsResult = {
|
|
|
|
|
|
|
|
|
|
export type GetUploadLinkErrors = {
|
|
|
|
|
__typename?: "GetUploadLinkErrors";
|
|
|
|
|
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr;
|
|
|
|
|
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErrStorageLimitExceededErr;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetUploadLinkReturn = {
|
|
|
|
|
@@ -2388,13 +2392,14 @@ export type MustHaveSetForUploadLinkErr = {
|
|
|
|
|
resolution?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr =
|
|
|
|
|
export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErrStorageLimitExceededErr =
|
|
|
|
|
|
|
|
|
|
| InitUploadAlreadyCompletedErr
|
|
|
|
|
| MustHaveSetForUploadLinkErr
|
|
|
|
|
| NoInitForChunkedUploadErr
|
|
|
|
|
| ProcessingFailedErr
|
|
|
|
|
| SegmentAlreadyUploadedErr
|
|
|
|
|
| StorageLimitExceededErr
|
|
|
|
|
| TooManyInitUploadsErr
|
|
|
|
|
| TooManyProfileImageUploadsErr;
|
|
|
|
|
|
|
|
|
|
@@ -2437,6 +2442,7 @@ export type Mutation = {
|
|
|
|
|
reactToVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
recalculateChallengeEntry: ChallengeEntry;
|
|
|
|
|
reportContent: Scalars["Boolean"]["output"];
|
|
|
|
|
requestVideoExport: VideoExportJobGql;
|
|
|
|
|
respondToChallengeInvitation: ChallengeInvitation;
|
|
|
|
|
retireTags: Scalars["Boolean"]["output"];
|
|
|
|
|
revokeManualEntitlement: UserSubscriptionStatusGql;
|
|
|
|
|
@@ -2610,6 +2616,10 @@ export type MutationReportContentArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRequestVideoExportArgs = {
|
|
|
|
|
input: RequestVideoExportInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRespondToChallengeInvitationArgs = {
|
|
|
|
|
accept: Scalars["Boolean"]["input"];
|
|
|
|
|
invitationId: Scalars["ID"]["input"];
|
|
|
|
|
@@ -2703,6 +2713,7 @@ export enum NotificationTypeEnum {
|
|
|
|
|
ChallengeInvite = "CHALLENGE_INVITE",
|
|
|
|
|
Comment = "COMMENT",
|
|
|
|
|
CommentReply = "COMMENT_REPLY",
|
|
|
|
|
ExportReady = "EXPORT_READY",
|
|
|
|
|
Follow = "FOLLOW",
|
|
|
|
|
Reaction = "REACTION",
|
|
|
|
|
}
|
|
|
|
|
@@ -2852,11 +2863,13 @@ export type Query = {
|
|
|
|
|
getOrderedShots: GetShotsResult;
|
|
|
|
|
getPlayTime: UserPlayTimeGql;
|
|
|
|
|
getQuotaStatus: QuotaStatusGql;
|
|
|
|
|
getResolvedTier: ResolvedTierGql;
|
|
|
|
|
getRuns: GetRunsResult;
|
|
|
|
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
|
|
|
|
getShots: Array<ShotGql>;
|
|
|
|
|
getShotsByIds: Array<ShotGql>;
|
|
|
|
|
getShotsWithMetadata: GetShotsResult;
|
|
|
|
|
getStorageStatus?: Maybe<StorageStatusGql>;
|
|
|
|
|
getTableState: TableStateGql;
|
|
|
|
|
getUser?: Maybe<UserGql>;
|
|
|
|
|
getUserRelationshipsMatching: UserRelationshipsResult;
|
|
|
|
|
@@ -2872,9 +2885,11 @@ export type Query = {
|
|
|
|
|
myChallengeEntries: Array<ChallengeEntry>;
|
|
|
|
|
myChallengeInvitations: Array<ChallengeInvitation>;
|
|
|
|
|
myDismissedChallenges: Array<Challenge>;
|
|
|
|
|
myVideoExports: Array<VideoExportJobGql>;
|
|
|
|
|
notifications: NotificationConnection;
|
|
|
|
|
ruleSets: Array<RuleSet>;
|
|
|
|
|
unreadNotificationCount: Scalars["Int"]["output"];
|
|
|
|
|
videoExportJob?: Maybe<VideoExportJobGql>;
|
|
|
|
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
@@ -3051,12 +3066,21 @@ export type QueryIsChallengeDismissedArgs = {
|
|
|
|
|
challengeId: Scalars["ID"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryMyVideoExportsArgs = {
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
offset?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryNotificationsArgs = {
|
|
|
|
|
filters?: InputMaybe<NotificationFilters>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
offset?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryVideoExportJobArgs = {
|
|
|
|
|
jobId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryVideoPlayerClustersArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
@@ -3116,6 +3140,13 @@ export enum ReportReasonEnum {
|
|
|
|
|
Violence = "VIOLENCE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type RequestVideoExportInput = {
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
runId?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
shotIds?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestedMedalsGql = {
|
|
|
|
|
__typename?: "RequestedMedalsGQL";
|
|
|
|
|
dailyMakes50?: Maybe<MedalGql>;
|
|
|
|
|
@@ -3157,6 +3188,18 @@ export type RequestedMedalsGql = {
|
|
|
|
|
totalMakes10000?: Maybe<MedalGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ResolvedTierGql = {
|
|
|
|
|
__typename?: "ResolvedTierGQL";
|
|
|
|
|
capabilities: Array<Scalars["String"]["output"]>;
|
|
|
|
|
entitlementEndsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
entitlementSource?: Maybe<EntitlementSourceTypeEnum>;
|
|
|
|
|
entitlementStartsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
entitlementStatus?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
hasActiveSubscription: Scalars["Boolean"]["output"];
|
|
|
|
|
tierDisplayName: Scalars["String"]["output"];
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RuleSet = {
|
|
|
|
|
__typename?: "RuleSet";
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
@@ -3369,6 +3412,32 @@ export enum SpinTypeEnum {
|
|
|
|
|
Unknown = "UNKNOWN",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type StorageLimitExceededErr = {
|
|
|
|
|
__typename?: "StorageLimitExceededErr";
|
|
|
|
|
reason: Scalars["String"]["output"];
|
|
|
|
|
remainingStorageBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageLimitBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageUsedBytes: Scalars["BigInt"]["output"];
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type StorageStatusGql = {
|
|
|
|
|
__typename?: "StorageStatusGQL";
|
|
|
|
|
isNearLimit: Scalars["Boolean"]["output"];
|
|
|
|
|
isOverLimit: Scalars["Boolean"]["output"];
|
|
|
|
|
isUnlimited: Scalars["Boolean"]["output"];
|
|
|
|
|
lastCalculatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
policyConfigured: Scalars["Boolean"]["output"];
|
|
|
|
|
remainingStorageBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageLimitBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageUsedBytes: Scalars["BigInt"]["output"];
|
|
|
|
|
storageUsageRatio?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
usageCalculated: Scalars["Boolean"]["output"];
|
|
|
|
|
usageSource?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
userId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type StreamErrorGql = {
|
|
|
|
|
__typename?: "StreamErrorGQL";
|
|
|
|
|
message: Scalars["String"]["output"];
|
|
|
|
|
@@ -3540,6 +3609,7 @@ export type UploadStreamGql = {
|
|
|
|
|
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
|
|
|
|
|
isCompleted: Scalars["Boolean"]["output"];
|
|
|
|
|
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
lastSegmentUploadedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
linksRequested: Scalars["Int"]["output"];
|
|
|
|
|
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
|
|
|
|
resolution: VideoResolutionGql;
|
|
|
|
|
@@ -3556,6 +3626,7 @@ export type UserGql = {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
|
bio?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
@@ -3612,6 +3683,35 @@ export type UserSubscriptionStatusGql = {
|
|
|
|
|
validUntil?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoExportJobGql = {
|
|
|
|
|
__typename?: "VideoExportJobGQL";
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
downloadUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
fileSizeBytes?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
runId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
shotIds?: Maybe<Array<Scalars["Int"]["output"]>>;
|
|
|
|
|
status: VideoExportStatusEnum;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum VideoExportModeEnum {
|
|
|
|
|
FullSession = "FULL_SESSION",
|
|
|
|
|
Run = "RUN",
|
|
|
|
|
Shots = "SHOTS",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum VideoExportStatusEnum {
|
|
|
|
|
Created = "CREATED",
|
|
|
|
|
Expired = "EXPIRED",
|
|
|
|
|
Failed = "FAILED",
|
|
|
|
|
Queued = "QUEUED",
|
|
|
|
|
Running = "RUNNING",
|
|
|
|
|
Succeeded = "SUCCEEDED",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type VideoFeedInputGql =
|
|
|
|
|
| {
|
|
|
|
|
allUsers: Scalars["Boolean"]["input"];
|
|
|
|
|
@@ -4281,6 +4381,8 @@ export type GetFeedQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
@@ -4392,6 +4494,8 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
@@ -4536,6 +4640,8 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
@@ -4691,6 +4797,7 @@ export type GetDrillRunLeaderboardQuery = {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
tableSize: number;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
};
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
@@ -5939,6 +6046,7 @@ export type EditProfileImageUriMutation = {
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
@@ -5959,6 +6067,7 @@ export type GetLoggedInUserQuery = {
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
@@ -5981,6 +6090,7 @@ export type GetUserQuery = {
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
@@ -6170,6 +6280,7 @@ export type EditUserMutationVariables = Exact<{
|
|
|
|
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type EditUserMutation = {
|
|
|
|
|
@@ -6183,6 +6294,7 @@ export type EditUserMutation = {
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -6200,6 +6312,7 @@ export type UserFragmentFragment = {
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
@@ -6223,6 +6336,7 @@ export type GetUsersMatchingQuery = {
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
bio?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
@@ -6488,6 +6602,8 @@ export type GetVideoCardQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
@@ -6963,6 +7079,84 @@ export type HomographyInfoFragment = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoExportJobFieldsFragment = {
|
|
|
|
|
__typename?: "VideoExportJobGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
status: VideoExportStatusEnum;
|
|
|
|
|
shotIds?: Array<number> | null;
|
|
|
|
|
runId?: number | null;
|
|
|
|
|
downloadUrl?: string | null;
|
|
|
|
|
fileSizeBytes?: number | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestVideoExportMutationVariables = Exact<{
|
|
|
|
|
input: RequestVideoExportInput;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type RequestVideoExportMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
requestVideoExport: {
|
|
|
|
|
__typename?: "VideoExportJobGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
status: VideoExportStatusEnum;
|
|
|
|
|
shotIds?: Array<number> | null;
|
|
|
|
|
runId?: number | null;
|
|
|
|
|
downloadUrl?: string | null;
|
|
|
|
|
fileSizeBytes?: number | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoExportJobQueryVariables = Exact<{
|
|
|
|
|
jobId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type VideoExportJobQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
videoExportJob?: {
|
|
|
|
|
__typename?: "VideoExportJobGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
status: VideoExportStatusEnum;
|
|
|
|
|
shotIds?: Array<number> | null;
|
|
|
|
|
runId?: number | null;
|
|
|
|
|
downloadUrl?: string | null;
|
|
|
|
|
fileSizeBytes?: number | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MyVideoExportsQueryVariables = Exact<{
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type MyVideoExportsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
myVideoExports: Array<{
|
|
|
|
|
__typename?: "VideoExportJobGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
mode: VideoExportModeEnum;
|
|
|
|
|
status: VideoExportStatusEnum;
|
|
|
|
|
shotIds?: Array<number> | null;
|
|
|
|
|
runId?: number | null;
|
|
|
|
|
downloadUrl?: string | null;
|
|
|
|
|
fileSizeBytes?: number | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamMutationVariables = Exact<{
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
@@ -7008,6 +7202,7 @@ export type GetUploadLinkMutation = {
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
| { __typename?: "SegmentAlreadyUploadedErr"; segmentId: number }
|
|
|
|
|
| { __typename?: "StorageLimitExceededErr" }
|
|
|
|
|
| { __typename?: "TooManyInitUploadsErr" }
|
|
|
|
|
| { __typename?: "TooManyProfileImageUploadsErr" };
|
|
|
|
|
}
|
|
|
|
|
@@ -7050,6 +7245,14 @@ export type GetHlsInitUploadLinkMutation = {
|
|
|
|
|
}
|
|
|
|
|
| { __typename?: "ProcessingFailedErr" }
|
|
|
|
|
| { __typename?: "SegmentAlreadyUploadedErr" }
|
|
|
|
|
| {
|
|
|
|
|
__typename?: "StorageLimitExceededErr";
|
|
|
|
|
reason: string;
|
|
|
|
|
tierName: string;
|
|
|
|
|
retainedStorageUsedBytes: any;
|
|
|
|
|
retainedStorageLimitBytes?: any | null;
|
|
|
|
|
remainingStorageBytes?: any | null;
|
|
|
|
|
}
|
|
|
|
|
| { __typename?: "TooManyInitUploadsErr"; linksRequested: number }
|
|
|
|
|
| { __typename?: "TooManyProfileImageUploadsErr" };
|
|
|
|
|
}
|
|
|
|
|
@@ -7201,6 +7404,8 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
streamSegmentType
|
|
|
|
|
isCompleted
|
|
|
|
|
lastSegmentUploadedAt
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
@@ -7402,6 +7607,7 @@ export const UserFragmentFragmentDoc = gql`
|
|
|
|
|
username
|
|
|
|
|
isAdmin
|
|
|
|
|
profileImageUri
|
|
|
|
|
bio
|
|
|
|
|
fargoRating
|
|
|
|
|
activeVideoId
|
|
|
|
|
createdAt
|
|
|
|
|
@@ -7525,6 +7731,20 @@ export const HomographyInfoFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const VideoExportJobFieldsFragmentDoc = gql`
|
|
|
|
|
fragment VideoExportJobFields on VideoExportJobGQL {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
|
mode
|
|
|
|
|
status
|
|
|
|
|
shotIds
|
|
|
|
|
runId
|
|
|
|
|
downloadUrl
|
|
|
|
|
fileSizeBytes
|
|
|
|
|
expiresAt
|
|
|
|
|
createdAt
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const UploadStreamWithDetailsFragmentDoc = gql`
|
|
|
|
|
fragment UploadStreamWithDetails on VideoGQL {
|
|
|
|
|
id
|
|
|
|
|
@@ -9796,6 +10016,7 @@ export const GetDrillRunLeaderboardDocument = gql`
|
|
|
|
|
video {
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
createdAt
|
|
|
|
|
}
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
@@ -13404,6 +13625,7 @@ export const EditUserDocument = gql`
|
|
|
|
|
$fargoRating: Int
|
|
|
|
|
$videosPrivateByDefault: Boolean
|
|
|
|
|
$agreesToMarketing: Boolean
|
|
|
|
|
$bio: String
|
|
|
|
|
) {
|
|
|
|
|
editUser(
|
|
|
|
|
input: {
|
|
|
|
|
@@ -13411,6 +13633,7 @@ export const EditUserDocument = gql`
|
|
|
|
|
fargoRating: $fargoRating
|
|
|
|
|
videosPrivateByDefault: $videosPrivateByDefault
|
|
|
|
|
agreesToMarketing: $agreesToMarketing
|
|
|
|
|
bio: $bio
|
|
|
|
|
}
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
|
@@ -13420,6 +13643,7 @@ export const EditUserDocument = gql`
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
agreesToMarketing
|
|
|
|
|
bio
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
@@ -13445,6 +13669,7 @@ export type EditUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* fargoRating: // value for 'fargoRating'
|
|
|
|
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
|
|
|
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
|
|
|
|
* bio: // value for 'bio'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
@@ -14931,6 +15156,206 @@ export type FindPrerecordTableLayoutMutationOptions =
|
|
|
|
|
FindPrerecordTableLayoutMutation,
|
|
|
|
|
FindPrerecordTableLayoutMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const RequestVideoExportDocument = gql`
|
|
|
|
|
mutation RequestVideoExport($input: RequestVideoExportInput!) {
|
|
|
|
|
requestVideoExport(input: $input) {
|
|
|
|
|
...VideoExportJobFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${VideoExportJobFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export type RequestVideoExportMutationFn = Apollo.MutationFunction<
|
|
|
|
|
RequestVideoExportMutation,
|
|
|
|
|
RequestVideoExportMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useRequestVideoExportMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useRequestVideoExportMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useRequestVideoExportMutation` 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 [requestVideoExportMutation, { data, loading, error }] = useRequestVideoExportMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* input: // value for 'input'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useRequestVideoExportMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
RequestVideoExportMutation,
|
|
|
|
|
RequestVideoExportMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
RequestVideoExportMutation,
|
|
|
|
|
RequestVideoExportMutationVariables
|
|
|
|
|
>(RequestVideoExportDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type RequestVideoExportMutationHookResult = ReturnType<
|
|
|
|
|
typeof useRequestVideoExportMutation
|
|
|
|
|
>;
|
|
|
|
|
export type RequestVideoExportMutationResult =
|
|
|
|
|
Apollo.MutationResult<RequestVideoExportMutation>;
|
|
|
|
|
export type RequestVideoExportMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
RequestVideoExportMutation,
|
|
|
|
|
RequestVideoExportMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const VideoExportJobDocument = gql`
|
|
|
|
|
query VideoExportJob($jobId: Int!) {
|
|
|
|
|
videoExportJob(jobId: $jobId) {
|
|
|
|
|
...VideoExportJobFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${VideoExportJobFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useVideoExportJobQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useVideoExportJobQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useVideoExportJobQuery` 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 } = useVideoExportJobQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* jobId: // value for 'jobId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useVideoExportJobQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
VideoExportJobQuery,
|
|
|
|
|
VideoExportJobQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<VideoExportJobQuery, VideoExportJobQueryVariables>(
|
|
|
|
|
VideoExportJobDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useVideoExportJobLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
VideoExportJobQuery,
|
|
|
|
|
VideoExportJobQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<VideoExportJobQuery, VideoExportJobQueryVariables>(
|
|
|
|
|
VideoExportJobDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useVideoExportJobSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
VideoExportJobQuery,
|
|
|
|
|
VideoExportJobQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
VideoExportJobQuery,
|
|
|
|
|
VideoExportJobQueryVariables
|
|
|
|
|
>(VideoExportJobDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type VideoExportJobQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoExportJobQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoExportJobLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoExportJobLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoExportJobSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoExportJobSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoExportJobQueryResult = Apollo.QueryResult<
|
|
|
|
|
VideoExportJobQuery,
|
|
|
|
|
VideoExportJobQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const MyVideoExportsDocument = gql`
|
|
|
|
|
query MyVideoExports($limit: Int = 30, $offset: Int = 0) {
|
|
|
|
|
myVideoExports(limit: $limit, offset: $offset) {
|
|
|
|
|
...VideoExportJobFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${VideoExportJobFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useMyVideoExportsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useMyVideoExportsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useMyVideoExportsQuery` 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 } = useMyVideoExportsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* offset: // value for 'offset'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useMyVideoExportsQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
MyVideoExportsQuery,
|
|
|
|
|
MyVideoExportsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<MyVideoExportsQuery, MyVideoExportsQueryVariables>(
|
|
|
|
|
MyVideoExportsDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useMyVideoExportsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
MyVideoExportsQuery,
|
|
|
|
|
MyVideoExportsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<MyVideoExportsQuery, MyVideoExportsQueryVariables>(
|
|
|
|
|
MyVideoExportsDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useMyVideoExportsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
MyVideoExportsQuery,
|
|
|
|
|
MyVideoExportsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
MyVideoExportsQuery,
|
|
|
|
|
MyVideoExportsQueryVariables
|
|
|
|
|
>(MyVideoExportsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type MyVideoExportsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useMyVideoExportsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type MyVideoExportsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useMyVideoExportsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type MyVideoExportsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useMyVideoExportsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type MyVideoExportsQueryResult = Apollo.QueryResult<
|
|
|
|
|
MyVideoExportsQuery,
|
|
|
|
|
MyVideoExportsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateUploadStreamDocument = gql`
|
|
|
|
|
mutation CreateUploadStream(
|
|
|
|
|
$videoMetadataInput: VideoMetadataInput!
|
|
|
|
|
@@ -15091,6 +15516,13 @@ export const GetHlsInitUploadLinkDocument = gql`
|
|
|
|
|
... on TooManyInitUploadsErr {
|
|
|
|
|
linksRequested
|
|
|
|
|
}
|
|
|
|
|
... on StorageLimitExceededErr {
|
|
|
|
|
reason
|
|
|
|
|
tierName
|
|
|
|
|
retainedStorageUsedBytes
|
|
|
|
|
retainedStorageLimitBytes
|
|
|
|
|
remainingStorageBytes
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|