Skip to content

Commit ec07018

Browse files
feat(gql-tag-operations): generate document registry type (#10192)
* Have gql-tag-operations generate the type for document registry * Create olive-geckos-relax.md * generate examples * fix tests * fix * indent * fix
1 parent 8192a88 commit ec07018

File tree

25 files changed

+198
-47
lines changed

25 files changed

+198
-47
lines changed

Diff for: .changeset/olive-geckos-relax.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphql-codegen/gql-tag-operations": patch
3+
---
4+
5+
Have gql-tag-operations generate the type for document registry

Diff for: dev-test/gql-tag-operations-masking/gql/gql.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment TweetFragment on Tweet {\n id\n body\n ...TweetAuthorFragment\n }\n': typeof types.TweetFragmentFragmentDoc;
18+
'\n fragment TweetAuthorFragment on Tweet {\n id\n author {\n id\n username\n }\n }\n': typeof types.TweetAuthorFragmentFragmentDoc;
19+
'\n fragment TweetsFragment on Query {\n Tweets {\n id\n ...TweetFragment\n }\n }\n': typeof types.TweetsFragmentFragmentDoc;
20+
'\n query TweetAppQuery {\n ...TweetsFragment\n }\n': typeof types.TweetAppQueryDocument;
21+
};
22+
const documents: Documents = {
1723
'\n fragment TweetFragment on Tweet {\n id\n body\n ...TweetAuthorFragment\n }\n':
1824
types.TweetFragmentFragmentDoc,
1925
'\n fragment TweetAuthorFragment on Tweet {\n id\n author {\n id\n username\n }\n }\n':

Diff for: dev-test/gql-tag-operations-urql/gql/gql.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query Foo {\n Tweets {\n id\n }\n }\n': typeof types.FooDocument;
18+
'\n fragment Lel on Tweet {\n id\n body\n }\n': typeof types.LelFragmentDoc;
19+
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': typeof types.BarDocument;
20+
};
21+
const documents: Documents = {
1722
'\n query Foo {\n Tweets {\n id\n }\n }\n': types.FooDocument,
1823
'\n fragment Lel on Tweet {\n id\n body\n }\n': types.LelFragmentDoc,
1924
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': types.BarDocument,

Diff for: dev-test/gql-tag-operations/gql/gql.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query Foo {\n Tweets {\n id\n }\n }\n': typeof types.FooDocument;
18+
'\n fragment Lel on Tweet {\n id\n body\n }\n': typeof types.LelFragmentDoc;
19+
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': typeof types.BarDocument;
20+
};
21+
const documents: Documents = {
1722
'\n query Foo {\n Tweets {\n id\n }\n }\n': types.FooDocument,
1823
'\n fragment Lel on Tweet {\n id\n body\n }\n': types.LelFragmentDoc,
1924
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': types.BarDocument,

Diff for: dev-test/gql-tag-operations/graphql/gql.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query Foo {\n Tweets {\n id\n }\n }\n': typeof types.FooDocument;
18+
'\n fragment Lel on Tweet {\n id\n body\n }\n': typeof types.LelFragmentDoc;
19+
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': typeof types.BarDocument;
20+
};
21+
const documents: Documents = {
1722
'\n query Foo {\n Tweets {\n id\n }\n }\n': types.FooDocument,
1823
'\n fragment Lel on Tweet {\n id\n body\n }\n': types.LelFragmentDoc,
1924
'\n query Bar {\n Tweets {\n ...Lel\n }\n }\n': types.BarDocument,

Diff for: examples/persisted-documents-string-mode/src/gql/gql.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import * as types from './graphql';
1212
* Therefore it is highly recommended to use the babel or swc plugin for production.
1313
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1414
*/
15-
const documents = {
15+
type Documents = {
16+
'\n query HelloQuery {\n hello\n }\n': typeof types.HelloQueryDocument;
17+
};
18+
const documents: Documents = {
1619
'\n query HelloQuery {\n hello\n }\n': types.HelloQueryDocument,
1720
};
1821

Diff for: examples/persisted-documents/src/gql/gql.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query HelloQuery {\n hello\n }\n': typeof types.HelloQueryDocument;
18+
};
19+
const documents: Documents = {
1720
'\n query HelloQuery {\n hello\n }\n': types.HelloQueryDocument,
1821
};
1922

Diff for: examples/react/apollo-client-defer/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment SlowFieldFragment on Query {\n slowField(waitFor: 5000)\n }\n': typeof types.SlowFieldFragmentFragmentDoc;
18+
'\n query SlowAndFastFieldWithDefer {\n fastField\n ...SlowFieldFragment @defer\n\n ... @defer {\n inlinedSlowField: slowField(waitFor: 5000)\n }\n }\n': typeof types.SlowAndFastFieldWithDeferDocument;
19+
};
20+
const documents: Documents = {
1721
'\n fragment SlowFieldFragment on Query {\n slowField(waitFor: 5000)\n }\n': types.SlowFieldFragmentFragmentDoc,
1822
'\n query SlowAndFastFieldWithDefer {\n fastField\n ...SlowFieldFragment @defer\n\n ... @defer {\n inlinedSlowField: slowField(waitFor: 5000)\n }\n }\n':
1923
types.SlowAndFastFieldWithDeferDocument,

Diff for: examples/react/apollo-client-swc-plugin/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
18+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
19+
};
20+
const documents: Documents = {
1721
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':
1822
types.AllFilmsWithVariablesQueryDocument,
1923
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/react/apollo-client/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
18+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
19+
};
20+
const documents: Documents = {
1721
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':
1822
types.AllFilmsWithVariablesQueryDocument,
1923
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/react/http-executor/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
18+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
19+
};
20+
const documents: Documents = {
1721
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':
1822
types.AllFilmsWithVariablesQueryDocument,
1923
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/react/nextjs-swr/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
19+
};
20+
const documents: Documents = {
1721
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':
1822
types.FilmItemFragmentDoc,
1923
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':

Diff for: examples/react/tanstack-react-query/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import * as types from './graphql';
1212
* Therefore it is highly recommended to use the babel or swc plugin for production.
1313
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1414
*/
15-
const documents = {
15+
type Documents = {
16+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
};
19+
const documents: Documents = {
1620
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':
1721
types.AllFilmsWithVariablesQueryDocument,
1822
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/react/urql/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import * as types from './graphql';
1212
* Therefore it is highly recommended to use the babel or swc plugin for production.
1313
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1414
*/
15-
const documents = {
15+
type Documents = {
16+
'\n query allFilmsWithVariablesQuery199($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQuery199Document;
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
};
19+
const documents: Documents = {
1620
'\n query allFilmsWithVariablesQuery199($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':
1721
types.AllFilmsWithVariablesQuery199Document,
1822
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/typescript-esm/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query AllPeopleQuery {\n allPeople(first: 5) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n': typeof types.AllPeopleQueryDocument;
18+
'\n query AllPeopleWithVariablesQuery($first: Int!) {\n allPeople(first: $first) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n': typeof types.AllPeopleWithVariablesQueryDocument;
19+
};
20+
const documents: Documents = {
1721
'\n query AllPeopleQuery {\n allPeople(first: 5) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n':
1822
types.AllPeopleQueryDocument,
1923
'\n query AllPeopleWithVariablesQuery($first: Int!) {\n allPeople(first: $first) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n':

Diff for: examples/typescript-graphql-request/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import * as types from './graphql';
1212
* Therefore it is highly recommended to use the babel or swc plugin for production.
1313
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1414
*/
15-
const documents = {
15+
type Documents = {
16+
'\n query AllPeopleQuery {\n allPeople(first: 5) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n': typeof types.AllPeopleQueryDocument;
17+
'\n query AllPeopleWithVariablesQuery($first: Int!) {\n allPeople(first: $first) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n': typeof types.AllPeopleWithVariablesQueryDocument;
18+
};
19+
const documents: Documents = {
1620
'\n query AllPeopleQuery {\n allPeople(first: 5) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n':
1721
types.AllPeopleQueryDocument,
1822
'\n query AllPeopleWithVariablesQuery($first: Int!) {\n allPeople(first: $first) {\n edges {\n node {\n name\n homeworld {\n name\n }\n }\n }\n }\n }\n':

Diff for: examples/vite/vite-react-cts/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
19+
};
20+
const documents: Documents = {
1721
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':
1822
types.FilmItemFragmentDoc,
1923
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':

Diff for: examples/vite/vite-react-mts/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
19+
};
20+
const documents: Documents = {
1721
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':
1822
types.FilmItemFragmentDoc,
1923
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':

Diff for: examples/vite/vite-react-ts/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
18+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n': typeof types.AllFilmsWithVariablesQueryDocument;
19+
};
20+
const documents: Documents = {
1721
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':
1822
types.FilmItemFragmentDoc,
1923
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n':

Diff for: examples/vue/apollo-composable/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n ': typeof types.AllFilmsWithVariablesQueryDocument;
18+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
19+
};
20+
const documents: Documents = {
1721
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n ':
1822
types.AllFilmsWithVariablesQueryDocument,
1923
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

Diff for: examples/vue/urql/src/gql/gql.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-
1313
* Therefore it is highly recommended to use the babel or swc plugin for production.
1414
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1515
*/
16-
const documents = {
16+
type Documents = {
17+
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n ': typeof types.AllFilmsWithVariablesQueryDocument;
18+
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n': typeof types.FilmItemFragmentDoc;
19+
};
20+
const documents: Documents = {
1721
'\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n ':
1822
types.AllFilmsWithVariablesQueryDocument,
1923
'\n fragment FilmItem on Film {\n id\n title\n releaseDate\n producers\n }\n':

0 commit comments

Comments
 (0)