introduce lastIntendedSegmentBound to cursor management layer, method to checkAndHandleUploadCompletion

This commit is contained in:
Loewy 2024-05-08 15:25:05 -07:00
parent 8378f7ae0b
commit a1b3baa5c9
2 changed files with 3 additions and 0 deletions

View File

@ -904,6 +904,7 @@ export type GetUploadStreamDetailsQuery = {
__typename?: "UploadStreamGQL";
isCompleted: boolean;
uploadCompletionCursor: number;
lastIntendedSegmentBound?: number | null;
} | null;
};
};
@ -2372,6 +2373,7 @@ export const GetUploadStreamDetailsDocument = gql`
stream {
isCompleted
uploadCompletionCursor
lastIntendedSegmentBound
}
}
}

View File

@ -65,6 +65,7 @@ query GetUploadStreamDetails($videoId: Int!) {
stream {
isCompleted
uploadCompletionCursor
lastIntendedSegmentBound
}
}
}