Fix segment parameter again
This commit is contained in:
parent
bce363e8ff
commit
cdd1cdd526
@ -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'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user