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

View File

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