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

View File

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