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

View File

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

View File

@@ -509,6 +509,7 @@ type VideoTagClass {
}
type HomographyInfoGQL {
id: Int!
frameIndex: Int!
crop: BoundingBoxGQL!
pockets: [BoundingBoxGQL!]!
@@ -538,6 +539,7 @@ type IntPoint2D {
}
type VideoProcessingGQL {
id: Int!
errors: [VideoProcessingErrorGQL!]!
status: ProcessingStatusEnum!
statuses: [VideoProcessingStatusGQL!]!
@@ -668,7 +670,7 @@ type Mutation {
editUser(input: EditUserInputGQL!): UserGQL!
followUser(followedUserId: Int!): UserGQL!
unfollowUser(followedUserId: Int!): UserGQL!
checkHomographyIsValid(b64Image: String!, videoId: Int!): HomographyInfoGQL
findPrerecordTableLayout(b64Image: Base64!, videoId: Int!): HomographyInfoGQL
createUploadStream(
videoMetadata: VideoMetadataInput!
): CreateUploadStreamReturn!
@@ -759,6 +761,14 @@ input EditUserInputGQL {
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 {
videoId: Int!
}