From 1c48b3a8ddcca9dacb4a8159217de93dcdb2d401 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Thu, 7 Nov 2024 17:12:34 -0800 Subject: [PATCH] Add private field to user and videos --- src/index.tsx | 4 ++++ src/schema.gql | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 71c77a0..1d33d4a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -186,6 +186,7 @@ export type DoesNotOwnShotErrOtherErrorNeedsNote = export type EditUserInputGql = { fargoRating?: InputMaybe; username?: InputMaybe; + videosPrivateByDefault?: InputMaybe; }; export type EnumAggregation = { @@ -2586,6 +2587,7 @@ export type UserGql = { profileImageUri?: Maybe; updatedAt?: Maybe; username: Scalars["String"]["output"]; + videosPrivateByDefault?: Maybe; }; export type UserPlayTimeGql = { @@ -2627,6 +2629,7 @@ export type VideoGql = { name?: Maybe; owner?: Maybe; playlist?: Maybe; + private: Scalars["Boolean"]["output"]; screenshotUri?: Maybe; shots: Array; startTime?: Maybe; @@ -2650,6 +2653,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 6744342..64bae51 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!] } @@ -437,6 +438,7 @@ type VideoGQL { elapsedTime: Float framesPerSecond: Float! tableSize: Float! + private: Boolean! stream: UploadStreamGQL playlist: HLSPlaylistGQL tags: [VideoTag!]! @@ -759,6 +761,7 @@ type TooManyProfileImageUploadsErr { input EditUserInputGQL { username: String = null fargoRating: Int = null + videosPrivateByDefault: Boolean = null } """ @@ -781,6 +784,7 @@ input VideoMetadataInput { tableSize: Float = null lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null + private: Boolean = null endStream: Boolean! = false resolution: VideoResolution = null framesPerSecond: Float = null