Return video processing status in feed
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
Kat Huang 2024-11-06 22:40:18 -07:00
parent 73a58de36e
commit 2d6d3964ad
2 changed files with 39 additions and 0 deletions

View File

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

View File

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