From 204e289627b08a96b947b6f23ed4a843d9e8abff Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 11 Feb 2024 22:46:11 -0700 Subject: [PATCH] Actually regenerate code --- src/index.tsx | 27 +++++++-------------------- src/operations/video_upload.gql | 2 +- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 9adb914..88fde05 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -129,7 +129,6 @@ export type Mutation = { createBucketSet: BucketSetGql; createUploadStream: CreateUploadStreamReturn; getUploadLink: GetUploadLinkReturn; - processVideoSource: ProcessVideoSourceReturn; terminateUploadStream: Scalars['Boolean']['output']; }; @@ -146,16 +145,11 @@ export type MutationCreateUploadStreamArgs = { export type MutationGetUploadLinkArgs = { - chunkIndex: Scalars['Int']['input']; + segmentIndex: Scalars['Int']['input']; videoId: Scalars['Int']['input']; }; -export type MutationProcessVideoSourceArgs = { - input: ProcessVideoSourceInput; -}; - - export type MutationTerminateUploadStreamArgs = { videoId: Scalars['Int']['input']; }; @@ -176,19 +170,11 @@ export type PocketingIntentionFeaturesGql = { targetPocketDistance?: Maybe; }; -export type ProcessVideoSourceInput = { - val: Scalars['Int']['input']; -}; - -export type ProcessVideoSourceReturn = { - __typename?: 'ProcessVideoSourceReturn'; - val: Scalars['Int']['output']; -}; - export type Query = { __typename?: 'Query'; getAggregateShots: Array; getBucketSet?: Maybe; + getLoggedInUser?: Maybe; getShots: Array; getUser?: Maybe; getVideo: VideoGql; @@ -315,6 +301,7 @@ export type UploadStreamMetadata = { export type UserGql = { __typename?: 'UserGQL'; createdAt?: Maybe; + firebaseUid: Scalars['String']['output']; id: Scalars['Int']['output']; statistics: UserStatisticsGql; updatedAt?: Maybe; @@ -394,7 +381,7 @@ export type CreateUploadStreamMutation = { __typename?: 'Mutation', createUpload export type GetUploadLinkMutationVariables = Exact<{ videoId: Scalars['Int']['input']; - chunkIndex: Scalars['Int']['input']; + segmentIndex: Scalars['Int']['input']; }>; @@ -569,8 +556,8 @@ export type CreateUploadStreamMutationHookResult = ReturnType; export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions; export const GetUploadLinkDocument = gql` - mutation GetUploadLink($videoId: Int!, $chunkIndex: Int!) { - getUploadLink(videoId: $videoId, chunkIndex: $chunkIndex) { + mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { + getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { uploadUrl linksRequested } @@ -592,7 +579,7 @@ export type GetUploadLinkMutationFn = Apollo.MutationFunction