Merge pull request 'Return video processing status in feed' (#119) from kat/current-processing into master

Reviewed-on: #119
This commit is contained in:
Kat Huang 2024-11-06 22:41:30 -07:00
commit 4e610b7df2
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(