Compare commits

..

No commits in common. "204e289627b08a96b947b6f23ed4a843d9e8abff" and "e733e413ef988a21ea9903b00612adceddce921c" have entirely different histories.

2 changed files with 22 additions and 9 deletions

View File

@ -129,6 +129,7 @@ export type Mutation = {
createBucketSet: BucketSetGql; createBucketSet: BucketSetGql;
createUploadStream: CreateUploadStreamReturn; createUploadStream: CreateUploadStreamReturn;
getUploadLink: GetUploadLinkReturn; getUploadLink: GetUploadLinkReturn;
processVideoSource: ProcessVideoSourceReturn;
terminateUploadStream: Scalars['Boolean']['output']; terminateUploadStream: Scalars['Boolean']['output'];
}; };
@ -145,11 +146,16 @@ export type MutationCreateUploadStreamArgs = {
export type MutationGetUploadLinkArgs = { export type MutationGetUploadLinkArgs = {
segmentIndex: Scalars['Int']['input']; chunkIndex: Scalars['Int']['input'];
videoId: Scalars['Int']['input']; videoId: Scalars['Int']['input'];
}; };
export type MutationProcessVideoSourceArgs = {
input: ProcessVideoSourceInput;
};
export type MutationTerminateUploadStreamArgs = { export type MutationTerminateUploadStreamArgs = {
videoId: Scalars['Int']['input']; videoId: Scalars['Int']['input'];
}; };
@ -170,11 +176,19 @@ export type PocketingIntentionFeaturesGql = {
targetPocketDistance?: Maybe<Scalars['Float']['output']>; targetPocketDistance?: Maybe<Scalars['Float']['output']>;
}; };
export type ProcessVideoSourceInput = {
val: Scalars['Int']['input'];
};
export type ProcessVideoSourceReturn = {
__typename?: 'ProcessVideoSourceReturn';
val: Scalars['Int']['output'];
};
export type Query = { export type Query = {
__typename?: 'Query'; __typename?: 'Query';
getAggregateShots: Array<AggregateResultGql>; getAggregateShots: Array<AggregateResultGql>;
getBucketSet?: Maybe<BucketSetGql>; getBucketSet?: Maybe<BucketSetGql>;
getLoggedInUser?: Maybe<UserGql>;
getShots: Array<ShotGql>; getShots: Array<ShotGql>;
getUser?: Maybe<UserGql>; getUser?: Maybe<UserGql>;
getVideo: VideoGql; getVideo: VideoGql;
@ -301,7 +315,6 @@ export type UploadStreamMetadata = {
export type UserGql = { export type UserGql = {
__typename?: 'UserGQL'; __typename?: 'UserGQL';
createdAt?: Maybe<Scalars['DateTime']['output']>; createdAt?: Maybe<Scalars['DateTime']['output']>;
firebaseUid: Scalars['String']['output'];
id: Scalars['Int']['output']; id: Scalars['Int']['output'];
statistics: UserStatisticsGql; statistics: UserStatisticsGql;
updatedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt?: Maybe<Scalars['DateTime']['output']>;
@ -381,7 +394,7 @@ export type CreateUploadStreamMutation = { __typename?: 'Mutation', createUpload
export type GetUploadLinkMutationVariables = Exact<{ export type GetUploadLinkMutationVariables = Exact<{
videoId: Scalars['Int']['input']; videoId: Scalars['Int']['input'];
segmentIndex: Scalars['Int']['input']; chunkIndex: Scalars['Int']['input'];
}>; }>;
@ -556,8 +569,8 @@ export type CreateUploadStreamMutationHookResult = ReturnType<typeof useCreateUp
export type CreateUploadStreamMutationResult = Apollo.MutationResult<CreateUploadStreamMutation>; export type CreateUploadStreamMutationResult = Apollo.MutationResult<CreateUploadStreamMutation>;
export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions<CreateUploadStreamMutation, CreateUploadStreamMutationVariables>; export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions<CreateUploadStreamMutation, CreateUploadStreamMutationVariables>;
export const GetUploadLinkDocument = gql` export const GetUploadLinkDocument = gql`
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { mutation GetUploadLink($videoId: Int!, $chunkIndex: Int!) {
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { getUploadLink(videoId: $videoId, chunkIndex: $chunkIndex) {
uploadUrl uploadUrl
linksRequested linksRequested
} }
@ -579,7 +592,7 @@ export type GetUploadLinkMutationFn = Apollo.MutationFunction<GetUploadLinkMutat
* const [getUploadLinkMutation, { data, loading, error }] = useGetUploadLinkMutation({ * const [getUploadLinkMutation, { data, loading, error }] = useGetUploadLinkMutation({
* variables: { * variables: {
* videoId: // value for 'videoId' * videoId: // value for 'videoId'
* segmentIndex: // value for 'segmentIndex' * chunkIndex: // value for 'chunkIndex'
* }, * },
* }); * });
*/ */

View File

@ -28,8 +28,8 @@ mutation CreateUploadStream(
} }
} }
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { mutation GetUploadLink($videoId: Int!, $chunkIndex: Int!) {
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { getUploadLink(videoId: $videoId, chunkIndex: $chunkIndex) {
uploadUrl uploadUrl
linksRequested linksRequested
} }