diff --git a/src/index.tsx b/src/index.tsx index f43844b..00a20d4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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) */ @@ -2002,13 +2004,13 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed export type Mutation = { __typename?: "Mutation"; addAnnotationToShot: AddShotAnnotationReturn; - checkHomographyIsValid?: Maybe; createBucketSet: BucketSetGql; createUploadStream: CreateUploadStreamReturn; deleteVideo: Scalars["Boolean"]["output"]; editProfileImageUri: UserGql; editUploadStream: Scalars["Boolean"]["output"]; editUser: UserGql; + findPrerecordTableLayout?: Maybe; followUser: UserGql; getHlsInitUploadLink: GetUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn; @@ -2025,11 +2027,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 +2052,11 @@ export type MutationEditUserArgs = { input: EditUserInputGql; }; +export type MutationFindPrerecordTableLayoutArgs = { + b64Image: Scalars["Base64"]["input"]; + videoId: Scalars["Int"]["input"]; +}; + export type MutationFollowUserArgs = { followedUserId: Scalars["Int"]["input"]; }; diff --git a/src/schema.gql b/src/schema.gql index 699ef15..b1f9706 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -669,7 +669,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! @@ -760,6 +760,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! }