diff --git a/src/index.tsx b/src/index.tsx index 5904479..e8ef711 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -183,6 +183,7 @@ export type Mutation = { __typename?: "Mutation"; createBucketSet: BucketSetGql; createUploadStream: CreateUploadStreamReturn; + deleteVideo: Scalars["Boolean"]["output"]; getUploadLink: GetUploadLinkReturn; terminateUploadStream: Scalars["Boolean"]["output"]; }; @@ -195,6 +196,10 @@ export type MutationCreateUploadStreamArgs = { videoMetadata: VideoMetadataInput; }; +export type MutationDeleteVideoArgs = { + videoId: Scalars["Int"]["input"]; +}; + export type MutationGetUploadLinkArgs = { segmentIndex: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"]; diff --git a/src/operations/video.gql b/src/operations/video.gql index 2e1e8e1..e131646 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -52,3 +52,7 @@ query GetStreamMonitoringDetails($videoId: Int!) { } } } + +mutation DeleteVideo($videoId: Int!) { + deleteVideo(videoId: $videoId) +} diff --git a/src/schema.gql b/src/schema.gql index de18093..300c196 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -283,6 +283,7 @@ type Mutation { videoId: Int! videoMetadata: VideoMetadataInput! ): Boolean! + deleteVideo(videoId: Int!): Boolean! } input CreateBucketSetInput {