Compare commits

...

3 Commits

3 changed files with 25 additions and 7 deletions

View File

@@ -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 };
/** Represents binary data as Base64-encoded strings, using the standard alphabet. */
Base64: { 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) */
@@ -1942,6 +1944,7 @@ export type HomographyInfoGql = {
crop: BoundingBoxGql; crop: BoundingBoxGql;
destPoints: PocketPointsGql; destPoints: PocketPointsGql;
frameIndex: Scalars["Int"]["output"]; frameIndex: Scalars["Int"]["output"];
id: Scalars["Int"]["output"];
pockets: Array<BoundingBoxGql>; pockets: Array<BoundingBoxGql>;
sourcePoints: PocketPointsGql; sourcePoints: PocketPointsGql;
}; };
@@ -2002,13 +2005,13 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed
export type Mutation = { export type Mutation = {
__typename?: "Mutation"; __typename?: "Mutation";
addAnnotationToShot: AddShotAnnotationReturn; addAnnotationToShot: AddShotAnnotationReturn;
checkHomographyIsValid?: Maybe<HomographyInfoGql>;
createBucketSet: BucketSetGql; createBucketSet: BucketSetGql;
createUploadStream: CreateUploadStreamReturn; createUploadStream: CreateUploadStreamReturn;
deleteVideo: Scalars["Boolean"]["output"]; deleteVideo: Scalars["Boolean"]["output"];
editProfileImageUri: UserGql; editProfileImageUri: UserGql;
editUploadStream: Scalars["Boolean"]["output"]; editUploadStream: Scalars["Boolean"]["output"];
editUser: UserGql; editUser: UserGql;
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
followUser: UserGql; followUser: UserGql;
getHlsInitUploadLink: GetUploadLinkReturn; getHlsInitUploadLink: GetUploadLinkReturn;
getProfileImageUploadLink: GetProfileUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn;
@@ -2025,11 +2028,6 @@ export type MutationAddAnnotationToShotArgs = {
shotId: Scalars["Int"]["input"]; shotId: Scalars["Int"]["input"];
}; };
export type MutationCheckHomographyIsValidArgs = {
b64Image: Scalars["String"]["input"];
videoId: Scalars["Int"]["input"];
};
export type MutationCreateBucketSetArgs = { export type MutationCreateBucketSetArgs = {
params: CreateBucketSetInput; params: CreateBucketSetInput;
}; };
@@ -2055,6 +2053,11 @@ export type MutationEditUserArgs = {
input: EditUserInputGql; input: EditUserInputGql;
}; };
export type MutationFindPrerecordTableLayoutArgs = {
b64Image: Scalars["Base64"]["input"];
videoId: Scalars["Int"]["input"];
};
export type MutationFollowUserArgs = { export type MutationFollowUserArgs = {
followedUserId: Scalars["Int"]["input"]; followedUserId: Scalars["Int"]["input"];
}; };
@@ -2664,6 +2667,7 @@ export type VideoProcessingErrorGql = {
export type VideoProcessingGql = { export type VideoProcessingGql = {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
errors: Array<VideoProcessingErrorGql>; errors: Array<VideoProcessingErrorGql>;
id: Scalars["Int"]["output"];
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
statuses: Array<VideoProcessingStatusGql>; statuses: Array<VideoProcessingStatusGql>;
}; };
@@ -2824,6 +2828,7 @@ export type VideoCardFieldsFragment = {
}>; }>;
currentProcessing?: { currentProcessing?: {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
id: number;
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>; errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
statuses: Array<{ statuses: Array<{
@@ -2875,6 +2880,7 @@ export type GetVideoFeedQuery = {
}>; }>;
currentProcessing?: { currentProcessing?: {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
id: number;
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
errors: Array<{ errors: Array<{
__typename?: "VideoProcessingErrorGQL"; __typename?: "VideoProcessingErrorGQL";
@@ -4061,6 +4067,7 @@ export const VideoCardFieldsFragmentDoc = gql`
name name
} }
currentProcessing { currentProcessing {
id
errors { errors {
message message
} }

View File

@@ -70,6 +70,7 @@ fragment VideoCardFields on VideoGQL {
name name
} }
currentProcessing { currentProcessing {
id
errors { errors {
message message
} }

View File

@@ -509,6 +509,7 @@ type VideoTagClass {
} }
type HomographyInfoGQL { type HomographyInfoGQL {
id: Int!
frameIndex: Int! frameIndex: Int!
crop: BoundingBoxGQL! crop: BoundingBoxGQL!
pockets: [BoundingBoxGQL!]! pockets: [BoundingBoxGQL!]!
@@ -538,6 +539,7 @@ type IntPoint2D {
} }
type VideoProcessingGQL { type VideoProcessingGQL {
id: Int!
errors: [VideoProcessingErrorGQL!]! errors: [VideoProcessingErrorGQL!]!
status: ProcessingStatusEnum! status: ProcessingStatusEnum!
statuses: [VideoProcessingStatusGQL!]! statuses: [VideoProcessingStatusGQL!]!
@@ -668,7 +670,7 @@ type Mutation {
editUser(input: EditUserInputGQL!): UserGQL! editUser(input: EditUserInputGQL!): UserGQL!
followUser(followedUserId: Int!): UserGQL! followUser(followedUserId: Int!): UserGQL!
unfollowUser(followedUserId: Int!): UserGQL! unfollowUser(followedUserId: Int!): UserGQL!
checkHomographyIsValid(b64Image: String!, videoId: Int!): HomographyInfoGQL findPrerecordTableLayout(b64Image: Base64!, videoId: Int!): HomographyInfoGQL
createUploadStream( createUploadStream(
videoMetadata: VideoMetadataInput! videoMetadata: VideoMetadataInput!
): CreateUploadStreamReturn! ): CreateUploadStreamReturn!
@@ -759,6 +761,14 @@ input EditUserInputGQL {
fargoRating: Int = null fargoRating: Int = null
} }
"""
Represents binary data as Base64-encoded strings, using the standard alphabet.
"""
scalar Base64
@specifiedBy(
url: "https://datatracker.ietf.org/doc/html/rfc4648.html#section-4"
)
type CreateUploadStreamReturn { type CreateUploadStreamReturn {
videoId: Int! videoId: Int!
} }