add currentProcessing and errors to schema/index and getStreamMonitoringDetails operation

This commit is contained in:
2024-05-14 18:35:24 -07:00
parent 231076496a
commit f8c5cf74f8
3 changed files with 47 additions and 0 deletions

View File

@@ -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"];
@@ -717,6 +730,15 @@ export type GetStreamMonitoringDetailsQuery = {
uploadCompletionCursor: number;
lastIntendedSegmentBound?: number | null;
} | null;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
errors: Array<{
__typename?: "VideoProcessingErrorGQL";
message: string;
startSegmentIndex?: number | null;
endSegmentIndex?: number | null;
}>;
} | null;
};
};
@@ -1647,6 +1669,13 @@ export const GetStreamMonitoringDetailsDocument = gql`
uploadCompletionCursor
lastIntendedSegmentBound
}
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
}
}
`;