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
Showing only changes of commit 2d6d3964ad - Show all commits

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(