add expected durations to operation
All checks were successful
Tests / Tests (pull_request) Successful in 11s
All checks were successful
Tests / Tests (pull_request) Successful in 11s
This commit is contained in:
@@ -6249,6 +6249,7 @@ export type HomographyInfoFragment = {
|
||||
|
||||
export type CreateUploadStreamMutationVariables = Exact<{
|
||||
videoMetadataInput: VideoMetadataInput;
|
||||
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type CreateUploadStreamMutation = {
|
||||
@@ -13215,8 +13216,14 @@ export type FindPrerecordTableLayoutMutationOptions =
|
||||
FindPrerecordTableLayoutMutationVariables
|
||||
>;
|
||||
export const CreateUploadStreamDocument = gql`
|
||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||
mutation CreateUploadStream(
|
||||
$videoMetadataInput: VideoMetadataInput!
|
||||
$expectedDurationSeconds: Float = null
|
||||
) {
|
||||
createUploadStream(
|
||||
videoMetadata: $videoMetadataInput
|
||||
expectedDurationSeconds: $expectedDurationSeconds
|
||||
) {
|
||||
videoId
|
||||
}
|
||||
}
|
||||
@@ -13240,6 +13247,7 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction<
|
||||
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
||||
* variables: {
|
||||
* videoMetadataInput: // value for 'videoMetadataInput'
|
||||
* expectedDurationSeconds: // value for 'expectedDurationSeconds'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||
mutation CreateUploadStream(
|
||||
$videoMetadataInput: VideoMetadataInput!
|
||||
$expectedDurationSeconds: Float = null
|
||||
) {
|
||||
createUploadStream(
|
||||
videoMetadata: $videoMetadataInput
|
||||
expectedDurationSeconds: $expectedDurationSeconds
|
||||
) {
|
||||
videoId
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user