From 33886b4e9e1d9ad798fe84e8bd4e51c09d933ef4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 17 Dec 2024 18:07:00 -0700 Subject: [PATCH] Update getFeed operation --- src/index.tsx | 8 ++++++++ src/operations/feed.gql | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index cf637ca..268837f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2996,6 +2996,8 @@ export type GetVideoFeedQueryVariables = Exact<{ after?: InputMaybe; filters?: InputMaybe; includeCallersVideos?: InputMaybe; + includePrivate?: InputMaybe; + feedInput?: InputMaybe; }>; export type GetVideoFeedQuery = { @@ -4939,12 +4941,16 @@ export const GetVideoFeedDocument = gql` $after: String = null $filters: VideoFilterInput = null $includeCallersVideos: Boolean = null + $includePrivate: IncludePrivateEnum = MINE + $feedInput: VideoFeedInputGQL = null ) { getFeedVideos( limit: $limit after: $after filters: $filters includeCallersVideos: $includeCallersVideos + includePrivate: $includePrivate + feedInput: $feedInput ) { videos { ...VideoCardFields @@ -4974,6 +4980,8 @@ export const GetVideoFeedDocument = gql` * after: // value for 'after' * filters: // value for 'filters' * includeCallersVideos: // value for 'includeCallersVideos' + * includePrivate: // value for 'includePrivate' + * feedInput: // value for 'feedInput' * }, * }); */ diff --git a/src/operations/feed.gql b/src/operations/feed.gql index 0f27531..bb6f57d 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -62,12 +62,16 @@ query GetVideoFeed( $after: String = null $filters: VideoFilterInput = null $includeCallersVideos: Boolean = null + $includePrivate: IncludePrivateEnum = MINE + $feedInput: VideoFeedInputGQL = null ) { getFeedVideos( limit: $limit after: $after filters: $filters includeCallersVideos: $includeCallersVideos + includePrivate: $includePrivate + feedInput: $feedInput ) { videos { ...VideoCardFields