diff --git a/src/index.tsx b/src/index.tsx index 0db2c1e..4163c3d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2780,9 +2780,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; @@ -2793,6 +2799,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"; @@ -2849,6 +2868,7 @@ export type GetVideoFeedQueryVariables = Exact<{ limit?: Scalars["Int"]["input"]; after?: InputMaybe; filters?: InputMaybe; + includeCallersVideos?: InputMaybe; }>; export type GetVideoFeedQuery = { @@ -4500,32 +4520,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 @@ -4533,6 +4528,7 @@ export const GetFeedDocument = gql` } } } + ${VideoCardFieldsFragmentDoc} `; /** @@ -4600,8 +4596,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 } @@ -4629,6 +4631,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 }