From 655e59c43c5ab34ddcaf1ccf7dab81de38cb1554 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 7 Nov 2024 17:42:58 -0700 Subject: [PATCH] Remove base64 scalar --- src/index.tsx | 4 +--- src/schema.gql | 10 +--------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 71c77a0..ef2cb3f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -28,8 +28,6 @@ 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) */ @@ -2054,7 +2052,7 @@ export type MutationEditUserArgs = { }; export type MutationFindPrerecordTableLayoutArgs = { - b64Image: Scalars["Base64"]["input"]; + b64Image: Scalars["String"]["input"]; videoId: Scalars["Int"]["input"]; }; diff --git a/src/schema.gql b/src/schema.gql index 6744342..3d3bc1c 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -670,7 +670,7 @@ type Mutation { editUser(input: EditUserInputGQL!): UserGQL! followUser(followedUserId: Int!): UserGQL! unfollowUser(followedUserId: Int!): UserGQL! - findPrerecordTableLayout(b64Image: Base64!, videoId: Int!): HomographyInfoGQL + findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput! ): CreateUploadStreamReturn! @@ -761,14 +761,6 @@ 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! }