From 76a98aa0c3ee445447eeb2ddfa987618e23be075 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 9 Jul 2025 07:59:08 -0600 Subject: [PATCH] Remove subscription stuff for now --- src/index.tsx | 14 +++----------- src/schema.gql | 9 +++------ 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index f75c7a6..246f3a0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -164,12 +164,6 @@ export type CreateBucketSetInput = { keyName: Scalars["String"]["input"]; }; -export type CreateSubscriptionResultGql = { - __typename?: "CreateSubscriptionResultGQL"; - checkoutUrl: Scalars["String"]["output"]; - sessionId: Scalars["String"]["output"]; -}; - export type CreateUploadStreamReturn = { __typename?: "CreateUploadStreamReturn"; videoId: Scalars["Int"]["output"]; @@ -2278,7 +2272,6 @@ export type Mutation = { addAnnotationToShot: AddShotAnnotationReturn; commentOnVideo: Scalars["Boolean"]["output"]; createBucketSet: BucketSetGql; - createSubscription: CreateSubscriptionResultGql; createUploadStream: CreateUploadStreamReturn; deleteComment: Scalars["Boolean"]["output"]; deleteTags: Scalars["Boolean"]["output"]; @@ -2318,10 +2311,6 @@ export type MutationCreateBucketSetArgs = { params: CreateBucketSetInput; }; -export type MutationCreateSubscriptionArgs = { - priceId: Scalars["String"]["input"]; -}; - export type MutationCreateUploadStreamArgs = { videoMetadata: VideoMetadataInput; }; @@ -3200,8 +3189,11 @@ export type VideoProcessingErrorGql = { export type VideoProcessingGql = { __typename?: "VideoProcessingGQL"; + currentSegment?: Maybe; errors: Array; + framesProcessed?: Maybe; id: Scalars["Int"]["output"]; + progressPercentage?: Maybe; status: ProcessingStatusEnum; statuses: Array; }; diff --git a/src/schema.gql b/src/schema.gql index a63e08f..1e1acea 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -569,6 +569,9 @@ type VideoProcessingGQL { errors: [VideoProcessingErrorGQL!]! status: ProcessingStatusEnum! statuses: [VideoProcessingStatusGQL!]! + framesProcessed: Int + currentSegment: Int + progressPercentage: Float } type VideoProcessingErrorGQL { @@ -903,7 +906,6 @@ type Mutation { unfollowUser(followedUserId: Int!): UserGQL! retireTags(tagIds: [Int!]!): Boolean! ensureStripeCustomerExists: UserGQL! - createSubscription(priceId: String!): CreateSubscriptionResultGQL! findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput! @@ -1013,11 +1015,6 @@ input EditUserInputGQL { videosPrivateByDefault: Boolean = null } -type CreateSubscriptionResultGQL { - checkoutUrl: String! - sessionId: String! -} - type CreateUploadStreamReturn { videoId: Int! }