use a map to create uploadProgress objects for the upload provider

This commit is contained in:
Loewy 2024-05-01 17:57:02 -07:00
parent 844e218197
commit b0c7de2e92
2 changed files with 3 additions and 3 deletions

View File

@ -872,7 +872,7 @@ export type GetUploadStreamDetailsQuery = {
stream?: {
__typename?: "UploadStreamGQL";
isCompleted: boolean;
lowestUnuploadedSegmentIndex: number;
uploadCompletionCursor: number;
} | null;
};
};
@ -2248,7 +2248,7 @@ export const GetUploadStreamDetailsDocument = gql`
id
stream {
isCompleted
lowestUnuploadedSegmentIndex
uploadCompletionCursor
}
}
}

View File

@ -42,7 +42,7 @@ query GetUploadStreamDetails($videoId: Int!) {
id
stream {
isCompleted
lowestUnuploadedSegmentIndex
uploadCompletionCursor
}
}
}