Compare commits
No commits in common. "8fcaa1397a293cb40686e47b6999a6d16a207626" and "ff0a11ea0dce85ac054912ef8a4db146755ef649" have entirely different histories.
8fcaa1397a
...
ff0a11ea0d
109
src/index.tsx
109
src/index.tsx
@ -4477,30 +4477,6 @@ export type GetHeaderInfoByVideoIdQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetBannerInfoByVideoIdQueryVariables = Exact<{
|
|
||||||
videoId: Scalars["Int"]["input"];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type GetBannerInfoByVideoIdQuery = {
|
|
||||||
__typename?: "Query";
|
|
||||||
getVideo: {
|
|
||||||
__typename?: "VideoGQL";
|
|
||||||
id: number;
|
|
||||||
name?: string | null;
|
|
||||||
stream?: {
|
|
||||||
__typename?: "UploadStreamGQL";
|
|
||||||
id: string;
|
|
||||||
lastIntendedSegmentBound?: number | null;
|
|
||||||
} | null;
|
|
||||||
owner?: { __typename?: "UserGQL"; id: number } | null;
|
|
||||||
currentProcessing?: {
|
|
||||||
__typename?: "VideoProcessingGQL";
|
|
||||||
id: number;
|
|
||||||
status: ProcessingStatusEnum;
|
|
||||||
} | null;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
export type FindPrerecordTableLayoutMutationVariables = Exact<{
|
export type FindPrerecordTableLayoutMutationVariables = Exact<{
|
||||||
b64Image: Scalars["String"]["input"];
|
b64Image: Scalars["String"]["input"];
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
@ -8239,91 +8215,6 @@ export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult<
|
|||||||
GetHeaderInfoByVideoIdQuery,
|
GetHeaderInfoByVideoIdQuery,
|
||||||
GetHeaderInfoByVideoIdQueryVariables
|
GetHeaderInfoByVideoIdQueryVariables
|
||||||
>;
|
>;
|
||||||
export const GetBannerInfoByVideoIdDocument = gql`
|
|
||||||
query GetBannerInfoByVideoId($videoId: Int!) {
|
|
||||||
getVideo(videoId: $videoId) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
stream {
|
|
||||||
id
|
|
||||||
lastIntendedSegmentBound
|
|
||||||
}
|
|
||||||
owner {
|
|
||||||
id
|
|
||||||
}
|
|
||||||
currentProcessing {
|
|
||||||
id
|
|
||||||
status
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* __useGetBannerInfoByVideoIdQuery__
|
|
||||||
*
|
|
||||||
* To run a query within a React component, call `useGetBannerInfoByVideoIdQuery` and pass it any options that fit your needs.
|
|
||||||
* When your component renders, `useGetBannerInfoByVideoIdQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
||||||
* you can use to render your UI.
|
|
||||||
*
|
|
||||||
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* const { data, loading, error } = useGetBannerInfoByVideoIdQuery({
|
|
||||||
* variables: {
|
|
||||||
* videoId: // value for 'videoId'
|
|
||||||
* },
|
|
||||||
* });
|
|
||||||
*/
|
|
||||||
export function useGetBannerInfoByVideoIdQuery(
|
|
||||||
baseOptions: Apollo.QueryHookOptions<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>,
|
|
||||||
) {
|
|
||||||
const options = { ...defaultOptions, ...baseOptions };
|
|
||||||
return Apollo.useQuery<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>(GetBannerInfoByVideoIdDocument, options);
|
|
||||||
}
|
|
||||||
export function useGetBannerInfoByVideoIdLazyQuery(
|
|
||||||
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>,
|
|
||||||
) {
|
|
||||||
const options = { ...defaultOptions, ...baseOptions };
|
|
||||||
return Apollo.useLazyQuery<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>(GetBannerInfoByVideoIdDocument, options);
|
|
||||||
}
|
|
||||||
export function useGetBannerInfoByVideoIdSuspenseQuery(
|
|
||||||
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>,
|
|
||||||
) {
|
|
||||||
const options = { ...defaultOptions, ...baseOptions };
|
|
||||||
return Apollo.useSuspenseQuery<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>(GetBannerInfoByVideoIdDocument, options);
|
|
||||||
}
|
|
||||||
export type GetBannerInfoByVideoIdQueryHookResult = ReturnType<
|
|
||||||
typeof useGetBannerInfoByVideoIdQuery
|
|
||||||
>;
|
|
||||||
export type GetBannerInfoByVideoIdLazyQueryHookResult = ReturnType<
|
|
||||||
typeof useGetBannerInfoByVideoIdLazyQuery
|
|
||||||
>;
|
|
||||||
export type GetBannerInfoByVideoIdSuspenseQueryHookResult = ReturnType<
|
|
||||||
typeof useGetBannerInfoByVideoIdSuspenseQuery
|
|
||||||
>;
|
|
||||||
export type GetBannerInfoByVideoIdQueryResult = Apollo.QueryResult<
|
|
||||||
GetBannerInfoByVideoIdQuery,
|
|
||||||
GetBannerInfoByVideoIdQueryVariables
|
|
||||||
>;
|
|
||||||
export const FindPrerecordTableLayoutDocument = gql`
|
export const FindPrerecordTableLayoutDocument = gql`
|
||||||
mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
|
mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
|
||||||
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
|
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
|
||||||
|
@ -216,23 +216,6 @@ query GetHeaderInfoByVideoId($videoId: Int!) {
|
|||||||
startTime
|
startTime
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
query GetBannerInfoByVideoId($videoId: Int!) {
|
|
||||||
getVideo(videoId: $videoId) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
stream {
|
|
||||||
id
|
|
||||||
lastIntendedSegmentBound
|
|
||||||
}
|
|
||||||
owner {
|
|
||||||
id
|
|
||||||
}
|
|
||||||
currentProcessing {
|
|
||||||
id
|
|
||||||
status
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
|
mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
|
||||||
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
|
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user