From 545ba638c251989ee50b49ce0b00eabf2776885a Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Mon, 18 Nov 2024 17:46:48 -0800 Subject: [PATCH] Add clientUploadStatus --- src/index.tsx | 7 +++++++ src/schema.gql | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 8937756..e406c13 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -117,6 +117,11 @@ export type BucketSetInputGql = { feature: Scalars["String"]["input"]; }; +export enum ClientUploadStatusEnum { + UploadDisabled = "UPLOAD_DISABLED", + UploadEnabled = "UPLOAD_ENABLED", +} + export type CreateBucketSetInput = { buckets: Array; feature: Scalars["String"]["input"]; @@ -2546,6 +2551,7 @@ export type UploadSegmentGql = { export type UploadStreamGql = { __typename?: "UploadStreamGQL"; + clientUploadStatus?: Maybe; createdAt: Scalars["DateTime"]["output"]; errors: Array; id: Scalars["ID"]["output"]; @@ -2640,6 +2646,7 @@ export type VideoHistoryGql = { }; export type VideoMetadataInput = { + clientUploadStatus?: InputMaybe; endStream?: Scalars["Boolean"]["input"]; endTime?: InputMaybe; framesPerSecond?: InputMaybe; diff --git a/src/schema.gql b/src/schema.gql index 068e686..fe9f1f8 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -452,6 +452,7 @@ type UploadStreamGQL { createdAt: DateTime! updatedAt: DateTime! segments: [UploadSegmentGQL!]! + clientUploadStatus: ClientUploadStatusEnum resolution: VideoResolutionGQL! streamSegmentType: StreamSegmentTypeEnum! } @@ -476,6 +477,11 @@ type UploadSegmentGQL { linksRequested: Int! } +enum ClientUploadStatusEnum { + UPLOAD_ENABLED + UPLOAD_DISABLED +} + type VideoResolutionGQL { width: Int height: Int @@ -771,6 +777,7 @@ input VideoMetadataInput { streamSegmentType: StreamSegmentTypeEnum = null private: Boolean = null endStream: Boolean! = false + clientUploadStatus: ClientUploadStatusEnum = null resolution: VideoResolution = null framesPerSecond: Float = null } -- 2.46.1