Compare commits
27 Commits
d1bc29b41b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 428286fa5a | |||
|
|
8771350115 | ||
|
|
f1594b8492 | ||
|
|
3ec3e3d081 | ||
|
|
d2c697e4cb | ||
| 3484af9dde | |||
| bc62cb5e39 | |||
| bc52145a9e | |||
| 5c286f2bcf | |||
| d636c298f8 | |||
| 681320c62d | |||
| 49f409f60b | |||
| e7fc6c147d | |||
| 10c3f6de53 | |||
|
|
d7b1aaee13 | ||
| b477590137 | |||
|
|
d428a8caa2 | ||
| 48207e12ee | |||
|
|
1d403f8155 | ||
| 6758f3e77a | |||
|
|
79979b001a | ||
| 49fbebd0c2 | |||
| 9219451c8d | |||
| 42601f9587 | |||
| acfb750265 | |||
| ffa96a24c3 | |||
| 5b73dd3a83 |
426
src/index.tsx
426
src/index.tsx
@@ -28,6 +28,8 @@ export type Scalars = {
|
|||||||
Boolean: { input: boolean; output: boolean };
|
Boolean: { input: boolean; output: boolean };
|
||||||
Int: { input: number; output: number };
|
Int: { input: number; output: number };
|
||||||
Float: { 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 (isoformat) */
|
||||||
Date: { input: any; output: any };
|
Date: { input: any; output: any };
|
||||||
/** Date with time (isoformat) */
|
/** Date with time (isoformat) */
|
||||||
@@ -83,6 +85,7 @@ export type AppleIapSubscriptionOptionsGql = {
|
|||||||
__typename?: "AppleIapSubscriptionOptionsGQL";
|
__typename?: "AppleIapSubscriptionOptionsGQL";
|
||||||
enabled: Scalars["Boolean"]["output"];
|
enabled: Scalars["Boolean"]["output"];
|
||||||
proMonthlyProductId?: Maybe<Scalars["String"]["output"]>;
|
proMonthlyProductId?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
productIds: Array<Scalars["String"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type BankFeaturesGql = {
|
export type BankFeaturesGql = {
|
||||||
@@ -326,6 +329,7 @@ export type EditShotReturn = {
|
|||||||
|
|
||||||
export type EditUserInputGql = {
|
export type EditUserInputGql = {
|
||||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
username?: InputMaybe<Scalars["String"]["input"]>;
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
@@ -2436,6 +2440,7 @@ export type Mutation = {
|
|||||||
reactToVideo: Scalars["Boolean"]["output"];
|
reactToVideo: Scalars["Boolean"]["output"];
|
||||||
recalculateChallengeEntry: ChallengeEntry;
|
recalculateChallengeEntry: ChallengeEntry;
|
||||||
reportContent: Scalars["Boolean"]["output"];
|
reportContent: Scalars["Boolean"]["output"];
|
||||||
|
requestVideoExport: VideoExportJobGql;
|
||||||
respondToChallengeInvitation: ChallengeInvitation;
|
respondToChallengeInvitation: ChallengeInvitation;
|
||||||
retireTags: Scalars["Boolean"]["output"];
|
retireTags: Scalars["Boolean"]["output"];
|
||||||
revokeManualEntitlement: UserSubscriptionStatusGql;
|
revokeManualEntitlement: UserSubscriptionStatusGql;
|
||||||
@@ -2609,6 +2614,10 @@ export type MutationReportContentArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationRequestVideoExportArgs = {
|
||||||
|
input: RequestVideoExportInput;
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationRespondToChallengeInvitationArgs = {
|
export type MutationRespondToChallengeInvitationArgs = {
|
||||||
accept: Scalars["Boolean"]["input"];
|
accept: Scalars["Boolean"]["input"];
|
||||||
invitationId: Scalars["ID"]["input"];
|
invitationId: Scalars["ID"]["input"];
|
||||||
@@ -2702,6 +2711,7 @@ export enum NotificationTypeEnum {
|
|||||||
ChallengeInvite = "CHALLENGE_INVITE",
|
ChallengeInvite = "CHALLENGE_INVITE",
|
||||||
Comment = "COMMENT",
|
Comment = "COMMENT",
|
||||||
CommentReply = "COMMENT_REPLY",
|
CommentReply = "COMMENT_REPLY",
|
||||||
|
ExportReady = "EXPORT_READY",
|
||||||
Follow = "FOLLOW",
|
Follow = "FOLLOW",
|
||||||
Reaction = "REACTION",
|
Reaction = "REACTION",
|
||||||
}
|
}
|
||||||
@@ -2851,11 +2861,13 @@ export type Query = {
|
|||||||
getOrderedShots: GetShotsResult;
|
getOrderedShots: GetShotsResult;
|
||||||
getPlayTime: UserPlayTimeGql;
|
getPlayTime: UserPlayTimeGql;
|
||||||
getQuotaStatus: QuotaStatusGql;
|
getQuotaStatus: QuotaStatusGql;
|
||||||
|
getResolvedTier: ResolvedTierGql;
|
||||||
getRuns: GetRunsResult;
|
getRuns: GetRunsResult;
|
||||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
getShotsByIds: Array<ShotGql>;
|
getShotsByIds: Array<ShotGql>;
|
||||||
getShotsWithMetadata: GetShotsResult;
|
getShotsWithMetadata: GetShotsResult;
|
||||||
|
getStorageStatus?: Maybe<StorageStatusGql>;
|
||||||
getTableState: TableStateGql;
|
getTableState: TableStateGql;
|
||||||
getUser?: Maybe<UserGql>;
|
getUser?: Maybe<UserGql>;
|
||||||
getUserRelationshipsMatching: UserRelationshipsResult;
|
getUserRelationshipsMatching: UserRelationshipsResult;
|
||||||
@@ -2871,9 +2883,11 @@ export type Query = {
|
|||||||
myChallengeEntries: Array<ChallengeEntry>;
|
myChallengeEntries: Array<ChallengeEntry>;
|
||||||
myChallengeInvitations: Array<ChallengeInvitation>;
|
myChallengeInvitations: Array<ChallengeInvitation>;
|
||||||
myDismissedChallenges: Array<Challenge>;
|
myDismissedChallenges: Array<Challenge>;
|
||||||
|
myVideoExports: Array<VideoExportJobGql>;
|
||||||
notifications: NotificationConnection;
|
notifications: NotificationConnection;
|
||||||
ruleSets: Array<RuleSet>;
|
ruleSets: Array<RuleSet>;
|
||||||
unreadNotificationCount: Scalars["Int"]["output"];
|
unreadNotificationCount: Scalars["Int"]["output"];
|
||||||
|
videoExportJob?: Maybe<VideoExportJobGql>;
|
||||||
videoPlayerClusters: Array<PlayerClusterGql>;
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
||||||
waitFor: Scalars["Float"]["output"];
|
waitFor: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
@@ -3050,12 +3064,21 @@ export type QueryIsChallengeDismissedArgs = {
|
|||||||
challengeId: Scalars["ID"]["input"];
|
challengeId: Scalars["ID"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryMyVideoExportsArgs = {
|
||||||
|
limit?: Scalars["Int"]["input"];
|
||||||
|
offset?: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryNotificationsArgs = {
|
export type QueryNotificationsArgs = {
|
||||||
filters?: InputMaybe<NotificationFilters>;
|
filters?: InputMaybe<NotificationFilters>;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
offset?: Scalars["Int"]["input"];
|
offset?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryVideoExportJobArgs = {
|
||||||
|
jobId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryVideoPlayerClustersArgs = {
|
export type QueryVideoPlayerClustersArgs = {
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
@@ -3115,6 +3138,13 @@ export enum ReportReasonEnum {
|
|||||||
Violence = "VIOLENCE",
|
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 = {
|
export type RequestedMedalsGql = {
|
||||||
__typename?: "RequestedMedalsGQL";
|
__typename?: "RequestedMedalsGQL";
|
||||||
dailyMakes50?: Maybe<MedalGql>;
|
dailyMakes50?: Maybe<MedalGql>;
|
||||||
@@ -3156,6 +3186,18 @@ export type RequestedMedalsGql = {
|
|||||||
totalMakes10000?: Maybe<MedalGql>;
|
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 = {
|
export type RuleSet = {
|
||||||
__typename?: "RuleSet";
|
__typename?: "RuleSet";
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
createdAt: Scalars["DateTime"]["output"];
|
||||||
@@ -3368,6 +3410,23 @@ export enum SpinTypeEnum {
|
|||||||
Unknown = "UNKNOWN",
|
Unknown = "UNKNOWN",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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 = {
|
export type StreamErrorGql = {
|
||||||
__typename?: "StreamErrorGQL";
|
__typename?: "StreamErrorGQL";
|
||||||
message: Scalars["String"]["output"];
|
message: Scalars["String"]["output"];
|
||||||
@@ -3539,6 +3598,7 @@ export type UploadStreamGql = {
|
|||||||
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
|
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
|
||||||
isCompleted: Scalars["Boolean"]["output"];
|
isCompleted: Scalars["Boolean"]["output"];
|
||||||
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
||||||
|
lastSegmentUploadedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
linksRequested: Scalars["Int"]["output"];
|
linksRequested: Scalars["Int"]["output"];
|
||||||
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
||||||
resolution: VideoResolutionGql;
|
resolution: VideoResolutionGql;
|
||||||
@@ -3555,6 +3615,7 @@ export type UserGql = {
|
|||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
|
bio?: Maybe<Scalars["String"]["output"]>;
|
||||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
||||||
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -3611,6 +3672,35 @@ export type UserSubscriptionStatusGql = {
|
|||||||
validUntil?: Maybe<Scalars["DateTime"]["output"]>;
|
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 =
|
export type VideoFeedInputGql =
|
||||||
| {
|
| {
|
||||||
allUsers: Scalars["Boolean"]["input"];
|
allUsers: Scalars["Boolean"]["input"];
|
||||||
@@ -4280,6 +4370,8 @@ export type GetFeedQuery = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
isCompleted: boolean;
|
||||||
|
lastSegmentUploadedAt?: any | null;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -4391,6 +4483,8 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
isCompleted: boolean;
|
||||||
|
lastSegmentUploadedAt?: any | null;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -4535,6 +4629,8 @@ export type GetVideoFeedQuery = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
isCompleted: boolean;
|
||||||
|
lastSegmentUploadedAt?: any | null;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -4690,6 +4786,7 @@ export type GetDrillRunLeaderboardQuery = {
|
|||||||
__typename?: "VideoGQL";
|
__typename?: "VideoGQL";
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
pocketSize?: number | null;
|
pocketSize?: number | null;
|
||||||
|
createdAt?: any | null;
|
||||||
};
|
};
|
||||||
user: {
|
user: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
@@ -5040,11 +5137,6 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|||||||
getAvailableSubscriptionOptions: {
|
getAvailableSubscriptionOptions: {
|
||||||
__typename?: "StripeSubscriptionOptionsGQL";
|
__typename?: "StripeSubscriptionOptionsGQL";
|
||||||
trialPeriodDays?: number | null;
|
trialPeriodDays?: number | null;
|
||||||
appleIap: {
|
|
||||||
__typename?: "AppleIapSubscriptionOptionsGQL";
|
|
||||||
enabled: boolean;
|
|
||||||
proMonthlyProductId?: string | null;
|
|
||||||
};
|
|
||||||
products: Array<{
|
products: Array<{
|
||||||
__typename?: "StripeProductGQL";
|
__typename?: "StripeProductGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -5062,6 +5154,12 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|||||||
active: boolean;
|
active: boolean;
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
|
appleIap: {
|
||||||
|
__typename?: "AppleIapSubscriptionOptionsGQL";
|
||||||
|
enabled: boolean;
|
||||||
|
proMonthlyProductId?: string | null;
|
||||||
|
productIds: Array<string>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -5937,6 +6035,7 @@ export type EditProfileImageUriMutation = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -5957,6 +6056,7 @@ export type GetLoggedInUserQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -5979,6 +6079,7 @@ export type GetUserQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -6168,6 +6269,7 @@ export type EditUserMutationVariables = Exact<{
|
|||||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type EditUserMutation = {
|
export type EditUserMutation = {
|
||||||
@@ -6181,6 +6283,7 @@ export type EditUserMutation = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
videosPrivateByDefault?: boolean | null;
|
videosPrivateByDefault?: boolean | null;
|
||||||
agreesToMarketing?: boolean | null;
|
agreesToMarketing?: boolean | null;
|
||||||
|
bio?: string | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -6198,6 +6301,7 @@ export type UserFragmentFragment = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -6221,6 +6325,7 @@ export type GetUsersMatchingQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -6486,6 +6591,8 @@ export type GetVideoCardQuery = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
streamSegmentType: StreamSegmentTypeEnum;
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
isCompleted: boolean;
|
||||||
|
lastSegmentUploadedAt?: any | null;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -6961,6 +7068,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<{
|
export type CreateUploadStreamMutationVariables = Exact<{
|
||||||
videoMetadataInput: VideoMetadataInput;
|
videoMetadataInput: VideoMetadataInput;
|
||||||
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
@@ -7199,6 +7384,8 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
|
isCompleted
|
||||||
|
lastSegmentUploadedAt
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
@@ -7400,6 +7587,7 @@ export const UserFragmentFragmentDoc = gql`
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
bio
|
||||||
fargoRating
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
@@ -7523,6 +7711,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`
|
export const UploadStreamWithDetailsFragmentDoc = gql`
|
||||||
fragment UploadStreamWithDetails on VideoGQL {
|
fragment UploadStreamWithDetails on VideoGQL {
|
||||||
id
|
id
|
||||||
@@ -9794,6 +9996,7 @@ export const GetDrillRunLeaderboardDocument = gql`
|
|||||||
video {
|
video {
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
|
createdAt
|
||||||
}
|
}
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
@@ -10689,10 +10892,6 @@ export const GetAvailableSubscriptionOptionsDocument = gql`
|
|||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
trialPeriodDays
|
trialPeriodDays
|
||||||
appleIap {
|
|
||||||
enabled
|
|
||||||
proMonthlyProductId
|
|
||||||
}
|
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
@@ -10708,6 +10907,11 @@ export const GetAvailableSubscriptionOptionsDocument = gql`
|
|||||||
active
|
active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
appleIap {
|
||||||
|
enabled
|
||||||
|
proMonthlyProductId
|
||||||
|
productIds
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -13401,6 +13605,7 @@ export const EditUserDocument = gql`
|
|||||||
$fargoRating: Int
|
$fargoRating: Int
|
||||||
$videosPrivateByDefault: Boolean
|
$videosPrivateByDefault: Boolean
|
||||||
$agreesToMarketing: Boolean
|
$agreesToMarketing: Boolean
|
||||||
|
$bio: String
|
||||||
) {
|
) {
|
||||||
editUser(
|
editUser(
|
||||||
input: {
|
input: {
|
||||||
@@ -13408,6 +13613,7 @@ export const EditUserDocument = gql`
|
|||||||
fargoRating: $fargoRating
|
fargoRating: $fargoRating
|
||||||
videosPrivateByDefault: $videosPrivateByDefault
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
agreesToMarketing: $agreesToMarketing
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
bio: $bio
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
@@ -13417,6 +13623,7 @@ export const EditUserDocument = gql`
|
|||||||
updatedAt
|
updatedAt
|
||||||
videosPrivateByDefault
|
videosPrivateByDefault
|
||||||
agreesToMarketing
|
agreesToMarketing
|
||||||
|
bio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -13442,6 +13649,7 @@ export type EditUserMutationFn = Apollo.MutationFunction<
|
|||||||
* fargoRating: // value for 'fargoRating'
|
* fargoRating: // value for 'fargoRating'
|
||||||
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
||||||
* agreesToMarketing: // value for 'agreesToMarketing'
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
||||||
|
* bio: // value for 'bio'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -14928,6 +15136,206 @@ export type FindPrerecordTableLayoutMutationOptions =
|
|||||||
FindPrerecordTableLayoutMutation,
|
FindPrerecordTableLayoutMutation,
|
||||||
FindPrerecordTableLayoutMutationVariables
|
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`
|
export const CreateUploadStreamDocument = gql`
|
||||||
mutation CreateUploadStream(
|
mutation CreateUploadStream(
|
||||||
$videoMetadataInput: VideoMetadataInput!
|
$videoMetadataInput: VideoMetadataInput!
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
|
isCompleted
|
||||||
|
lastSegmentUploadedAt
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ query GetDrillRunLeaderboard(
|
|||||||
video {
|
video {
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
|
createdAt
|
||||||
}
|
}
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
|
|||||||
@@ -29,10 +29,6 @@ mutation CreateCustomerPortalSession {
|
|||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
trialPeriodDays
|
trialPeriodDays
|
||||||
appleIap {
|
|
||||||
enabled
|
|
||||||
proMonthlyProductId
|
|
||||||
}
|
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
@@ -48,6 +44,11 @@ query GetAvailableSubscriptionOptions {
|
|||||||
active
|
active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
appleIap {
|
||||||
|
enabled
|
||||||
|
proMonthlyProductId
|
||||||
|
productIds
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -177,6 +177,7 @@ mutation editUser(
|
|||||||
$fargoRating: Int
|
$fargoRating: Int
|
||||||
$videosPrivateByDefault: Boolean
|
$videosPrivateByDefault: Boolean
|
||||||
$agreesToMarketing: Boolean
|
$agreesToMarketing: Boolean
|
||||||
|
$bio: String
|
||||||
) {
|
) {
|
||||||
editUser(
|
editUser(
|
||||||
input: {
|
input: {
|
||||||
@@ -184,6 +185,7 @@ mutation editUser(
|
|||||||
fargoRating: $fargoRating
|
fargoRating: $fargoRating
|
||||||
videosPrivateByDefault: $videosPrivateByDefault
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
agreesToMarketing: $agreesToMarketing
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
bio: $bio
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
@@ -193,6 +195,7 @@ mutation editUser(
|
|||||||
updatedAt
|
updatedAt
|
||||||
videosPrivateByDefault
|
videosPrivateByDefault
|
||||||
agreesToMarketing
|
agreesToMarketing
|
||||||
|
bio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,6 +209,7 @@ fragment UserFragment on UserGQL {
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
bio
|
||||||
fargoRating
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
|
|||||||
30
src/operations/video_export.gql
Normal file
30
src/operations/video_export.gql
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
fragment VideoExportJobFields on VideoExportJobGQL {
|
||||||
|
id
|
||||||
|
videoId
|
||||||
|
mode
|
||||||
|
status
|
||||||
|
shotIds
|
||||||
|
runId
|
||||||
|
downloadUrl
|
||||||
|
fileSizeBytes
|
||||||
|
expiresAt
|
||||||
|
createdAt
|
||||||
|
}
|
||||||
|
|
||||||
|
mutation RequestVideoExport($input: RequestVideoExportInput!) {
|
||||||
|
requestVideoExport(input: $input) {
|
||||||
|
...VideoExportJobFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query VideoExportJob($jobId: Int!) {
|
||||||
|
videoExportJob(jobId: $jobId) {
|
||||||
|
...VideoExportJobFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query MyVideoExports($limit: Int = 30, $offset: Int = 0) {
|
||||||
|
myVideoExports(limit: $limit, offset: $offset) {
|
||||||
|
...VideoExportJobFields
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -108,8 +108,10 @@ type Query {
|
|||||||
): UserRelationshipsResult!
|
): UserRelationshipsResult!
|
||||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
||||||
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
||||||
|
getResolvedTier: ResolvedTierGQL!
|
||||||
getAppleAppAccountToken: String!
|
getAppleAppAccountToken: String!
|
||||||
getQuotaStatus: QuotaStatusGQL!
|
getQuotaStatus: QuotaStatusGQL!
|
||||||
|
getStorageStatus: StorageStatusGQL
|
||||||
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||||
getUserVideos(
|
getUserVideos(
|
||||||
userId: Int = null
|
userId: Int = null
|
||||||
@@ -119,6 +121,8 @@ type Query {
|
|||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]!
|
getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]!
|
||||||
getGameTypeTagMetrics(input: GameTypeTagMetricsInput!): [GameTypeTagMetric!]!
|
getGameTypeTagMetrics(input: GameTypeTagMetricsInput!): [GameTypeTagMetric!]!
|
||||||
|
videoExportJob(jobId: Int!): VideoExportJobGQL
|
||||||
|
myVideoExports(limit: Int! = 30, offset: Int! = 0): [VideoExportJobGQL!]!
|
||||||
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
@@ -356,6 +360,7 @@ type UserGQL {
|
|||||||
activeVideoId: Int
|
activeVideoId: Int
|
||||||
stripeCustomerId: String
|
stripeCustomerId: String
|
||||||
profileImageUri: String
|
profileImageUri: String
|
||||||
|
bio: String
|
||||||
createdAt: DateTime
|
createdAt: DateTime
|
||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
videosPrivateByDefault: Boolean
|
videosPrivateByDefault: Boolean
|
||||||
@@ -529,6 +534,7 @@ type UploadStreamGQL {
|
|||||||
initPlaylistUploadStatus: InitPlaylistUploadStatusEnum
|
initPlaylistUploadStatus: InitPlaylistUploadStatusEnum
|
||||||
lowestUnuploadedSegmentIndex: Int!
|
lowestUnuploadedSegmentIndex: Int!
|
||||||
uploadCompletionCursor: Int!
|
uploadCompletionCursor: Int!
|
||||||
|
lastSegmentUploadedAt: DateTime
|
||||||
errors: [StreamErrorGQL!]!
|
errors: [StreamErrorGQL!]!
|
||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
@@ -860,6 +866,7 @@ enum NotificationTypeEnum {
|
|||||||
REACTION
|
REACTION
|
||||||
FOLLOW
|
FOLLOW
|
||||||
CHALLENGE_INVITE
|
CHALLENGE_INVITE
|
||||||
|
EXPORT_READY
|
||||||
}
|
}
|
||||||
|
|
||||||
input NotificationFilters {
|
input NotificationFilters {
|
||||||
@@ -1034,6 +1041,7 @@ type StripePriceGQL {
|
|||||||
type AppleIapSubscriptionOptionsGQL {
|
type AppleIapSubscriptionOptionsGQL {
|
||||||
enabled: Boolean!
|
enabled: Boolean!
|
||||||
proMonthlyProductId: String
|
proMonthlyProductId: String
|
||||||
|
productIds: [String!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserSubscriptionStatusGQL {
|
type UserSubscriptionStatusGQL {
|
||||||
@@ -1068,6 +1076,17 @@ enum StripeSubscriptionStatusEnum {
|
|||||||
PAUSED
|
PAUSED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResolvedTierGQL {
|
||||||
|
tierName: String!
|
||||||
|
tierDisplayName: String!
|
||||||
|
hasActiveSubscription: Boolean!
|
||||||
|
entitlementSource: EntitlementSourceTypeEnum
|
||||||
|
entitlementStatus: String
|
||||||
|
entitlementStartsAt: DateTime
|
||||||
|
entitlementEndsAt: DateTime
|
||||||
|
capabilities: [String!]!
|
||||||
|
}
|
||||||
|
|
||||||
type QuotaStatusGQL {
|
type QuotaStatusGQL {
|
||||||
tierName: String!
|
tierName: String!
|
||||||
periodStart: DateTime!
|
periodStart: DateTime!
|
||||||
@@ -1092,6 +1111,27 @@ type QuotaBucketStatusGQL {
|
|||||||
canUpload: Boolean!
|
canUpload: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type StorageStatusGQL {
|
||||||
|
userId: Int!
|
||||||
|
tierName: String!
|
||||||
|
retainedStorageUsedBytes: BigInt!
|
||||||
|
retainedStorageLimitBytes: BigInt
|
||||||
|
isUnlimited: Boolean!
|
||||||
|
policyConfigured: Boolean!
|
||||||
|
remainingStorageBytes: BigInt
|
||||||
|
storageUsageRatio: Float
|
||||||
|
isNearLimit: Boolean!
|
||||||
|
isOverLimit: Boolean!
|
||||||
|
usageCalculated: Boolean!
|
||||||
|
usageSource: String
|
||||||
|
lastCalculatedAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
|
"""
|
||||||
|
Integer value that can exceed GraphQL Int's 32-bit range.
|
||||||
|
"""
|
||||||
|
scalar BigInt
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
type UserPlayTimeGQL {
|
||||||
totalSeconds: Float!
|
totalSeconds: Float!
|
||||||
}
|
}
|
||||||
@@ -1127,6 +1167,34 @@ input GameTypeTagMetricsInput {
|
|||||||
includePrivate: IncludePrivateEnum! = MINE
|
includePrivate: IncludePrivateEnum! = MINE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type VideoExportJobGQL {
|
||||||
|
id: Int!
|
||||||
|
videoId: Int!
|
||||||
|
mode: VideoExportModeEnum!
|
||||||
|
status: VideoExportStatusEnum!
|
||||||
|
shotIds: [Int!]
|
||||||
|
runId: Int
|
||||||
|
downloadUrl: String
|
||||||
|
fileSizeBytes: Int
|
||||||
|
expiresAt: DateTime
|
||||||
|
createdAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
|
enum VideoExportModeEnum {
|
||||||
|
FULL_SESSION
|
||||||
|
SHOTS
|
||||||
|
RUN
|
||||||
|
}
|
||||||
|
|
||||||
|
enum VideoExportStatusEnum {
|
||||||
|
CREATED
|
||||||
|
QUEUED
|
||||||
|
RUNNING
|
||||||
|
SUCCEEDED
|
||||||
|
FAILED
|
||||||
|
EXPIRED
|
||||||
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
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).
|
||||||
"""
|
"""
|
||||||
@@ -1228,6 +1296,7 @@ type Mutation {
|
|||||||
feedback: String = null
|
feedback: String = null
|
||||||
metadata: CancellationFeedbackMetadataInput = null
|
metadata: CancellationFeedbackMetadataInput = null
|
||||||
): Boolean!
|
): Boolean!
|
||||||
|
requestVideoExport(input: RequestVideoExportInput!): VideoExportJobGQL!
|
||||||
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
|
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
@@ -1363,6 +1432,7 @@ input EditUserInputGQL {
|
|||||||
fargoRating: Int = null
|
fargoRating: Int = null
|
||||||
videosPrivateByDefault: Boolean = null
|
videosPrivateByDefault: Boolean = null
|
||||||
agreesToMarketing: Boolean = null
|
agreesToMarketing: Boolean = null
|
||||||
|
bio: String = null
|
||||||
}
|
}
|
||||||
|
|
||||||
type SyncAppleSubscriptionResultGQL {
|
type SyncAppleSubscriptionResultGQL {
|
||||||
@@ -1409,6 +1479,13 @@ input CancellationFeedbackMetadataInput {
|
|||||||
platform: String = null
|
platform: String = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input RequestVideoExportInput {
|
||||||
|
videoId: Int!
|
||||||
|
mode: VideoExportModeEnum!
|
||||||
|
shotIds: [Int!] = null
|
||||||
|
runId: Int = null
|
||||||
|
}
|
||||||
|
|
||||||
type CreateUploadStreamReturn {
|
type CreateUploadStreamReturn {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user