Revert changes to getShotsWithVideoGql #102
@ -2804,13 +2804,12 @@ export type UpdateShotAnnotationsMutation = {
|
|||||||
|
|
||||||
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithVideoGqlQuery = {
|
export type GetShotsWithVideoGqlQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getOrderedShots: {
|
getShotsWithMetadata: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "ShotGQL";
|
__typename?: "ShotGQL";
|
||||||
@ -4498,16 +4497,8 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
UpdateShotAnnotationsMutationVariables
|
UpdateShotAnnotationsMutationVariables
|
||||||
>;
|
>;
|
||||||
export const GetShotsWithVideoGqlDocument = gql`
|
export const GetShotsWithVideoGqlDocument = gql`
|
||||||
query GetShotsWithVideoGql(
|
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
||||||
$filterInput: FilterInput!
|
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
||||||
$shotsOrdering: GetShotsOrdering
|
|
||||||
$limit: Int
|
|
||||||
) {
|
|
||||||
getOrderedShots(
|
|
||||||
filterInput: $filterInput
|
|
||||||
shotsOrdering: $shotsOrdering
|
|
||||||
limit: $limit
|
|
||||||
) {
|
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
@ -4533,7 +4524,6 @@ export const GetShotsWithVideoGqlDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* shotsOrdering: // value for 'shotsOrdering'
|
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
|
@ -40,16 +40,8 @@ mutation UpdateShotAnnotations(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetShotsWithVideoGql(
|
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
||||||
$filterInput: FilterInput!
|
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
||||||
$shotsOrdering: GetShotsOrdering
|
|
||||||
$limit: Int
|
|
||||||
) {
|
|
||||||
getOrderedShots(
|
|
||||||
filterInput: $filterInput
|
|
||||||
shotsOrdering: $shotsOrdering
|
|
||||||
limit: $limit
|
|
||||||
) {
|
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
|
Loading…
Reference in New Issue
Block a user