Add video export schema: VideoExportJob + request/query + mode/status enums
Generated from the backend video export resolvers (Phase 1a). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2440,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;
|
||||||
@@ -2613,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"];
|
||||||
@@ -2880,6 +2885,7 @@ export type Query = {
|
|||||||
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"];
|
||||||
};
|
};
|
||||||
@@ -3062,6 +3068,10 @@ export type QueryNotificationsArgs = {
|
|||||||
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"];
|
||||||
};
|
};
|
||||||
@@ -3121,6 +3131,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>;
|
||||||
@@ -3648,6 +3665,33 @@ 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;
|
||||||
|
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"];
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ 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
|
||||||
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
@@ -1164,6 +1165,32 @@ input GameTypeTagMetricsInput {
|
|||||||
includePrivate: IncludePrivateEnum! = MINE
|
includePrivate: IncludePrivateEnum! = MINE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type VideoExportJobGQL {
|
||||||
|
id: Int!
|
||||||
|
videoId: Int!
|
||||||
|
mode: VideoExportModeEnum!
|
||||||
|
status: VideoExportStatusEnum!
|
||||||
|
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).
|
||||||
"""
|
"""
|
||||||
@@ -1265,6 +1292,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!
|
||||||
@@ -1447,6 +1475,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