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

View File

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