diff --git a/src/index.tsx b/src/index.tsx index c93f0a5..db5bbe5 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2779,9 +2779,15 @@ export type GetFeedQuery = { updatedAt?: any | null; startTime?: any | null; endTime?: any | null; + private: boolean; elapsedTime?: number | null; tableSize: number; - owner?: { __typename?: "UserGQL"; username: string } | null; + owner?: { + __typename?: "UserGQL"; + id: number; + username: string; + profileImageUri?: string | null; + } | null; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -2792,6 +2798,19 @@ export type GetFeedQuery = { name: string; tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; }>; + currentProcessing?: { + __typename?: "VideoProcessingGQL"; + id: number; + status: ProcessingStatusEnum; + errors: Array<{ + __typename?: "VideoProcessingErrorGQL"; + message: string; + }>; + statuses: Array<{ + __typename?: "VideoProcessingStatusGQL"; + status: ProcessingStatusEnum; + }>; + } | null; }>; pageInfo: { __typename?: "PageInfoGQL"; @@ -2848,6 +2867,7 @@ export type GetVideoFeedQueryVariables = Exact<{ limit?: Scalars["Int"]["input"]; after?: InputMaybe; filters?: InputMaybe; + includeCallersVideos?: InputMaybe; }>; export type GetVideoFeedQuery = { @@ -4499,32 +4519,7 @@ export const GetFeedDocument = gql` ) { getUserVideos(limit: $limit, after: $after, filters: $filters) { videos { - id - owner { - username - } - name - screenshotUri - totalShotsMade - totalShots - makePercentage - createdAt - updatedAt - startTime - endTime - elapsedTime - screenshotUri - stream { - id - isCompleted - } - tableSize - tags { - tagClasses { - name - } - name - } + ...VideoCardFields } pageInfo { hasNextPage @@ -4532,6 +4527,7 @@ export const GetFeedDocument = gql` } } } + ${VideoCardFieldsFragmentDoc} `; /** @@ -4599,8 +4595,14 @@ export const GetVideoFeedDocument = gql` $limit: Int! = 5 $after: String = null $filters: VideoFilterInput = null + $includeCallersVideos: Boolean = null ) { - getFeedVideos(limit: $limit, after: $after, filters: $filters) { + getFeedVideos( + limit: $limit + after: $after + filters: $filters + includeCallersVideos: $includeCallersVideos + ) { videos { ...VideoCardFields } @@ -4628,6 +4630,7 @@ export const GetVideoFeedDocument = gql` * limit: // value for 'limit' * after: // value for 'after' * filters: // value for 'filters' + * includeCallersVideos: // value for 'includeCallersVideos' * }, * }); */ diff --git a/src/operations/feed.gql b/src/operations/feed.gql index e75c6aa..0f27531 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -6,32 +6,7 @@ query GetFeed( ) { getUserVideos(limit: $limit, after: $after, filters: $filters) { videos { - id - owner { - username - } - name - screenshotUri - totalShotsMade - totalShots - makePercentage - createdAt - updatedAt - startTime - endTime - elapsedTime - screenshotUri - stream { - id - isCompleted - } - tableSize - tags { - tagClasses { - name - } - name - } + ...VideoCardFields } pageInfo { hasNextPage @@ -86,8 +61,14 @@ query GetVideoFeed( $limit: Int! = 5 $after: String = null $filters: VideoFilterInput = null + $includeCallersVideos: Boolean = null ) { - getFeedVideos(limit: $limit, after: $after, filters: $filters) { + getFeedVideos( + limit: $limit + after: $after + filters: $filters + includeCallersVideos: $includeCallersVideos + ) { videos { ...VideoCardFields }