From 309deb9473e70ace5a3c31ede495d9ae9969f819 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Thu, 7 Nov 2024 17:16:56 -0800 Subject: [PATCH] Add private field to user and videos --- src/index.tsx | 3 +++ src/schema.gql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index b3d133e..5f978eb 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -184,6 +184,7 @@ export type DoesNotOwnShotErrOtherErrorNeedsNote = export type EditUserInputGql = { fargoRating?: InputMaybe; username?: InputMaybe; + videosPrivateByDefault?: InputMaybe; }; export type EnumAggregation = { @@ -2584,6 +2585,7 @@ export type UserGql = { profileImageUri?: Maybe; updatedAt?: Maybe; username: Scalars["String"]["output"]; + videosPrivateByDefault?: Maybe; }; export type UserPlayTimeGql = { @@ -2648,6 +2650,7 @@ export type VideoMetadataInput = { framesPerSecond?: InputMaybe; gameType?: InputMaybe; lastIntendedSegmentBound?: InputMaybe; + private?: InputMaybe; resolution?: InputMaybe; startTime?: InputMaybe; streamSegmentType?: InputMaybe; diff --git a/src/schema.gql b/src/schema.gql index 3d3bc1c..bdda2e8 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -400,6 +400,7 @@ type UserGQL { profileImageUri: String createdAt: DateTime updatedAt: DateTime + videosPrivateByDefault: Boolean following: [UserGQL!] followers: [UserGQL!] } @@ -759,6 +760,7 @@ type TooManyProfileImageUploadsErr { input EditUserInputGQL { username: String = null fargoRating: Int = null + videosPrivateByDefault: Boolean = null } type CreateUploadStreamReturn { @@ -773,6 +775,7 @@ input VideoMetadataInput { tableSize: Float = null lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null + private: Boolean = null endStream: Boolean! = false resolution: VideoResolution = null framesPerSecond: Float = null