Require video metadata

This commit is contained in:
Kat Huang 2024-03-04 22:22:42 -07:00
parent babb111fa6
commit 314957218e
2 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ export type MutationCreateBucketSetArgs = {
};
export type MutationCreateUploadStreamArgs = {
videoMetadata?: InputMaybe<VideoMetadataInput>;
videoMetadata: VideoMetadataInput;
};
export type MutationGetUploadLinkArgs = {
@ -165,7 +165,7 @@ export type MutationGetUploadLinkArgs = {
export type MutationTerminateUploadStreamArgs = {
videoId: Scalars["Int"]["input"];
videoMetadata?: InputMaybe<VideoMetadataInput>;
videoMetadata: VideoMetadataInput;
};
export type OrFilter = {

View File

@ -224,12 +224,12 @@ type PageInfoGQL {
type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
createUploadStream(
videoMetadata: VideoMetadataInput
videoMetadata: VideoMetadataInput!
): CreateUploadStreamReturn!
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
terminateUploadStream(
videoId: Int!
videoMetadata: VideoMetadataInput = null
videoMetadata: VideoMetadataInput!
): Boolean!
}