VideoCardFields: fetch stream isCompleted + lastSegmentUploadedAt
All checks were successful
Tests / Tests (pull_request) Successful in 10s

Lets the feed derive upload state (uploading vs paused vs processing) per card.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dean Wenstrand
2026-06-20 15:16:11 -07:00
parent 48207e12ee
commit d428a8caa2
2 changed files with 12 additions and 0 deletions

View File

@@ -4284,6 +4284,8 @@ export type GetFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
streamSegmentType: StreamSegmentTypeEnum;
isCompleted: boolean;
lastSegmentUploadedAt?: any | null;
} | null;
tags: Array<{
__typename?: "VideoTag";
@@ -4395,6 +4397,8 @@ export type VideoCardFieldsFragment = {
id: string;
lastIntendedSegmentBound?: number | null;
streamSegmentType: StreamSegmentTypeEnum;
isCompleted: boolean;
lastSegmentUploadedAt?: any | null;
} | null;
tags: Array<{
__typename?: "VideoTag";
@@ -4539,6 +4543,8 @@ export type GetVideoFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
streamSegmentType: StreamSegmentTypeEnum;
isCompleted: boolean;
lastSegmentUploadedAt?: any | null;
} | null;
tags: Array<{
__typename?: "VideoTag";
@@ -6498,6 +6504,8 @@ export type GetVideoCardQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
streamSegmentType: StreamSegmentTypeEnum;
isCompleted: boolean;
lastSegmentUploadedAt?: any | null;
} | null;
tags: Array<{
__typename?: "VideoTag";
@@ -7211,6 +7219,8 @@ export const VideoCardFieldsFragmentDoc = gql`
id
lastIntendedSegmentBound
streamSegmentType
isCompleted
lastSegmentUploadedAt
}
tableSize
pocketSize

View File

@@ -42,6 +42,8 @@ fragment VideoCardFields on VideoGQL {
id
lastIntendedSegmentBound
streamSegmentType
isCompleted
lastSegmentUploadedAt
}
tableSize
pocketSize