/* eslint-disable */ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; /** Internal type. DO NOT USE DIRECTLY. */ type Exact = { [K in keyof T]: T[K] }; /** Internal type. DO NOT USE DIRECTLY. */ export type Incremental = | T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; export type FilmItemFragment = { id: string; title: string | null; releaseDate: string | null; producers: Array | null; } & { ' $fragmentName'?: 'FilmItemFragment' }; export type AllFilmsWithVariablesQueryQueryVariables = Exact<{ first: number; }>; export type AllFilmsWithVariablesQueryQuery = { allFilms: { edges: Array<{ node: { ' $fragmentRefs'?: { FilmItemFragment: FilmItemFragment } } | null; } | null> | null; } | null; }; export const FilmItemFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'FilmItem' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Film' } }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'releaseDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'producers' } }, ], }, }, ], } as unknown as DocumentNode; export const AllFilmsWithVariablesQueryDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'allFilmsWithVariablesQuery' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'first' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'allFilms' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'first' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'first' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'edges' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'node' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FilmItem' } }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'FilmItem' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Film' } }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'releaseDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'producers' } }, ], }, }, ], } as unknown as DocumentNode< AllFilmsWithVariablesQueryQuery, AllFilmsWithVariablesQueryQueryVariables >;