Merge pull request 'Adds init playlist status' (#17) from mk/add-init-file-uploaded-marking into master

Reviewed-on: #17
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
countablecloud 2024-07-16 15:26:27 -06:00
commit d25c08447e
2 changed files with 14 additions and 0 deletions

View File

@ -833,6 +833,12 @@ export type HomographyInfoGql = {
sourcePoints: PocketPointsGql;
};
export enum InitPlaylistUploadStatusEnum {
NotApplicable = "NOT_APPLICABLE",
NotUploaded = "NOT_UPLOADED",
Uploaded = "UPLOADED",
}
export type IntPoint2D = {
__typename?: "IntPoint2D";
x: Scalars["Int"]["output"];
@ -1081,6 +1087,7 @@ export type UploadStreamGql = {
createdAt: Scalars["DateTime"]["output"];
errors: Array<StreamErrorGql>;
id: Scalars["ID"]["output"];
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
isCompleted: Scalars["Boolean"]["output"];
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
linksRequested: Scalars["Int"]["output"];

View File

@ -262,6 +262,7 @@ type UploadStreamGQL {
segmentProcessingCursor: Int!
lastIntendedSegmentBound: Int
isCompleted: Boolean!
initPlaylistUploadStatus: InitPlaylistUploadStatusEnum
lowestUnuploadedSegmentIndex: Int!
uploadCompletionCursor: Int!
errors: [StreamErrorGQL!]!
@ -270,6 +271,12 @@ type UploadStreamGQL {
segments: [UploadSegmentGQL!]!
}
enum InitPlaylistUploadStatusEnum {
NOT_APPLICABLE
NOT_UPLOADED
UPLOADED
}
type StreamErrorGQL {
message: String!
}