Delete video implemented on backend; schema changes

This commit is contained in:
Mike Kalange 2024-03-12 12:50:28 -06:00
parent 57c3ee0360
commit e88d875bd9
3 changed files with 10 additions and 0 deletions

View File

@ -183,6 +183,7 @@ export type Mutation = {
__typename?: "Mutation"; __typename?: "Mutation";
createBucketSet: BucketSetGql; createBucketSet: BucketSetGql;
createUploadStream: CreateUploadStreamReturn; createUploadStream: CreateUploadStreamReturn;
deleteVideo: Scalars["Boolean"]["output"];
getUploadLink: GetUploadLinkReturn; getUploadLink: GetUploadLinkReturn;
terminateUploadStream: Scalars["Boolean"]["output"]; terminateUploadStream: Scalars["Boolean"]["output"];
}; };
@ -195,6 +196,10 @@ export type MutationCreateUploadStreamArgs = {
videoMetadata: VideoMetadataInput; videoMetadata: VideoMetadataInput;
}; };
export type MutationDeleteVideoArgs = {
videoId: Scalars["Int"]["input"];
};
export type MutationGetUploadLinkArgs = { export type MutationGetUploadLinkArgs = {
segmentIndex: Scalars["Int"]["input"]; segmentIndex: Scalars["Int"]["input"];
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];

View File

@ -52,3 +52,7 @@ query GetStreamMonitoringDetails($videoId: Int!) {
} }
} }
} }
mutation DeleteVideo($videoId: Int!) {
deleteVideo(videoId: $videoId)
}

View File

@ -283,6 +283,7 @@ type Mutation {
videoId: Int! videoId: Int!
videoMetadata: VideoMetadataInput! videoMetadata: VideoMetadataInput!
): Boolean! ): Boolean!
deleteVideo(videoId: Int!): Boolean!
} }
input CreateBucketSetInput { input CreateBucketSetInput {