Fix segment parameter again

This commit is contained in:
Ivan Malison 2024-07-16 20:22:16 -06:00
parent bce363e8ff
commit cdd1cdd526
2 changed files with 6 additions and 6 deletions

View File

@ -1688,7 +1688,7 @@ export type GetHlsInitUploadLinkMutation = {
export type SetSegmentDurationMutationVariables = Exact<{ export type SetSegmentDurationMutationVariables = Exact<{
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
segmentId: Scalars["Int"]["input"]; segmentIndex: Scalars["Int"]["input"];
duration: Scalars["Float"]["input"]; duration: Scalars["Float"]["input"];
}>; }>;
@ -3519,12 +3519,12 @@ export type GetHlsInitUploadLinkMutationOptions = Apollo.BaseMutationOptions<
export const SetSegmentDurationDocument = gql` export const SetSegmentDurationDocument = gql`
mutation SetSegmentDuration( mutation SetSegmentDuration(
$videoId: Int! $videoId: Int!
$segmentId: Int! $segmentIndex: Int!
$duration: Float! $duration: Float!
) { ) {
setSegmentDuration( setSegmentDuration(
videoId: $videoId videoId: $videoId
segmentId: $segmentId segmentIndex: $segmentIndex
duration: $duration duration: $duration
) )
} }
@ -3548,7 +3548,7 @@ export type SetSegmentDurationMutationFn = Apollo.MutationFunction<
* const [setSegmentDurationMutation, { data, loading, error }] = useSetSegmentDurationMutation({ * const [setSegmentDurationMutation, { data, loading, error }] = useSetSegmentDurationMutation({
* variables: { * variables: {
* videoId: // value for 'videoId' * videoId: // value for 'videoId'
* segmentId: // value for 'segmentId' * segmentIndex: // value for 'segmentIndex'
* duration: // value for 'duration' * duration: // value for 'duration'
* }, * },
* }); * });

View File

@ -26,12 +26,12 @@ mutation GetHlsInitUploadLink($videoId: Int!) {
mutation SetSegmentDuration( mutation SetSegmentDuration(
$videoId: Int! $videoId: Int!
$segmentId: Int! $segmentIndex: Int!
$duration: Float! $duration: Float!
) { ) {
setSegmentDuration( setSegmentDuration(
videoId: $videoId videoId: $videoId
segmentId: $segmentId segmentIndex: $segmentIndex
duration: $duration duration: $duration
) )
} }