feed: select uploadCompletionCursor on VideoCardFields stream
All checks were successful
Tests / Tests (pull_request) Successful in 24s
All checks were successful
Tests / Tests (pull_request) Successful in 24s
Lets the client distinguish a finalized-but-not-fully-uploaded stream (is_completed set, but received cursor short of last_intended_segment_bound) from one that is genuinely processing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -4784,6 +4784,7 @@ export type GetFeedQuery = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
isCompleted: boolean;
|
||||
lastSegmentUploadedAt?: any | null;
|
||||
@@ -4898,6 +4899,7 @@ export type VideoCardFieldsFragment = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
isCompleted: boolean;
|
||||
lastSegmentUploadedAt?: any | null;
|
||||
@@ -5045,6 +5047,7 @@ export type GetVideoFeedQuery = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
isCompleted: boolean;
|
||||
lastSegmentUploadedAt?: any | null;
|
||||
@@ -8193,6 +8196,7 @@ export type GetVideoCardQuery = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
uploadCompletionCursor: number;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
isCompleted: boolean;
|
||||
lastSegmentUploadedAt?: any | null;
|
||||
@@ -9020,6 +9024,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
||||
stream {
|
||||
id
|
||||
lastIntendedSegmentBound
|
||||
uploadCompletionCursor
|
||||
streamSegmentType
|
||||
isCompleted
|
||||
lastSegmentUploadedAt
|
||||
|
||||
@@ -41,6 +41,7 @@ fragment VideoCardFields on VideoGQL {
|
||||
stream {
|
||||
id
|
||||
lastIntendedSegmentBound
|
||||
uploadCompletionCursor
|
||||
streamSegmentType
|
||||
isCompleted
|
||||
lastSegmentUploadedAt
|
||||
|
||||
Reference in New Issue
Block a user