regenerate gql, fix type imports

This commit is contained in:
Loewy 2024-05-20 22:39:47 -07:00
parent 072235f032
commit e86f40c620
2 changed files with 28 additions and 4 deletions

View File

@ -378,7 +378,7 @@ export type UploadStreamGql = {
errors: Array<StreamErrorGql>;
id: Scalars["ID"]["output"];
isCompleted: Scalars["Boolean"]["output"];
lastIntendedSegmentBound: Scalars["Int"]["output"];
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
linksRequested: Scalars["Int"]["output"];
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
segmentProcessingCursor: Scalars["Int"]["output"];
@ -425,6 +425,7 @@ export type VideoGql = {
__typename?: "VideoGQL";
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
currentProcessing?: Maybe<VideoProcessingGql>;
elapsedTime?: Maybe<Scalars["Float"]["output"]>;
endTime?: Maybe<Scalars["DateTime"]["output"]>;
framesPerSecond: Scalars["Float"]["output"];
@ -462,6 +463,18 @@ export type VideoMetadataInput = {
videoName?: InputMaybe<Scalars["String"]["input"]>;
};
export type VideoProcessingErrorGql = {
__typename?: "VideoProcessingErrorGQL";
endSegmentIndex?: Maybe<Scalars["Int"]["output"]>;
message: Scalars["String"]["output"];
startSegmentIndex?: Maybe<Scalars["Int"]["output"]>;
};
export type VideoProcessingGql = {
__typename?: "VideoProcessingGQL";
errors: Array<VideoProcessingErrorGql>;
};
export type VideoTag = {
__typename?: "VideoTag";
name: Scalars["String"]["output"];
@ -719,7 +732,7 @@ export type GetStreamMonitoringDetailsQuery = {
segmentProcessingCursor: number;
isCompleted: boolean;
uploadCompletionCursor: number;
lastIntendedSegmentBound: number;
lastIntendedSegmentBound?: number | null;
} | null;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
@ -929,7 +942,7 @@ export type GetUploadStreamsWithDetailsQuery = {
stream?: {
__typename?: "UploadStreamGQL";
isCompleted: boolean;
lastIntendedSegmentBound: number;
lastIntendedSegmentBound?: number | null;
uploadCompletionCursor: number;
} | null;
}>;

View File

@ -217,6 +217,7 @@ type VideoGQL {
playlist: HLSPlaylistGQL
tags: [VideoTag!]!
homographyHistory: [HomographyInfoGQL!]!
currentProcessing: VideoProcessingGQL
}
type UploadStreamGQL {
@ -224,7 +225,7 @@ type UploadStreamGQL {
linksRequested: Int!
uploadsCompleted: Int!
segmentProcessingCursor: Int!
lastIntendedSegmentBound: Int!
lastIntendedSegmentBound: Int
isCompleted: Boolean!
lowestUnuploadedSegmentIndex: Int!
uploadCompletionCursor: Int!
@ -292,6 +293,16 @@ type IntPoint2D {
y: Int!
}
type VideoProcessingGQL {
errors: [VideoProcessingErrorGQL!]!
}
type VideoProcessingErrorGQL {
message: String!
startSegmentIndex: Int
endSegmentIndex: Int
}
type PageInfoGQL {
hasNextPage: Boolean!
endCursor: String