Return video processing status in feed #119

Merged
kkathuang merged 1 commits from kat/current-processing into master 2024-11-06 22:41:31 -07:00
2 changed files with 39 additions and 0 deletions

View File

@ -2822,6 +2822,15 @@ export type VideoCardFieldsFragment = {
name: string;
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
}>;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
status: ProcessingStatusEnum;
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
statuses: Array<{
__typename?: "VideoProcessingStatusGQL";
status: ProcessingStatusEnum;
}>;
} | null;
};
export type GetVideoFeedQueryVariables = Exact<{
@ -2864,6 +2873,18 @@ export type GetVideoFeedQuery = {
name: string;
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
}>;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
status: ProcessingStatusEnum;
errors: Array<{
__typename?: "VideoProcessingErrorGQL";
message: string;
}>;
statuses: Array<{
__typename?: "VideoProcessingStatusGQL";
status: ProcessingStatusEnum;
}>;
} | null;
}>;
pageInfo: {
__typename?: "PageInfoGQL";
@ -4039,6 +4060,15 @@ export const VideoCardFieldsFragmentDoc = gql`
}
name
}
currentProcessing {
errors {
message
}
status
statuses {
status
}
}
}
`;
export const ShotWithAllFeaturesFragmentDoc = gql`

View File

@ -69,6 +69,15 @@ fragment VideoCardFields on VideoGQL {
}
name
}
currentProcessing {
errors {
message
}
status
statuses {
status
}
}
}
query GetVideoFeed(