Skip to content

Commit cf54359

Browse files
committed
indent
1 parent 7da3f8e commit cf54359

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

packages/presets/client/tests/client-preset.spec.ts

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ export * from "./gql";`);
5252
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
5353
*/
5454
type Documents = {
55-
"\n query A {\n a\n }\n": typeof types.ADocument,
56-
"\n query B {\n b\n }\n": typeof types.BDocument,
57-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
55+
"\\n query A {\\n a\\n }\\n": typeof types.ADocument,
56+
"\\n query B {\\n b\\n }\\n": typeof types.BDocument,
57+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
5858
};
5959
const documents: Documents = {
6060
"\\n query A {\\n a\\n }\\n": types.ADocument,
@@ -144,12 +144,12 @@ export * from "./gql";`);
144144
* Therefore it is highly recommended to use the babel or swc plugin for production.
145145
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
146146
*/
147-
type Documents = {
148-
"\n query a {\n a\n }\n": typeof types.ADocument,
149-
"\n query b {\n b\n }\n": typeof types.BDocument,
150-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
151-
};
152-
const documents: Documents = {
147+
type Documents = {
148+
"\\n query a {\\n a\\n }\\n": typeof types.ADocument,
149+
"\\n query b {\\n b\\n }\\n": typeof types.BDocument,
150+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
151+
};
152+
const documents: Documents = {
153153
"\\n query a {\\n a\\n }\\n": types.ADocument,
154154
"\\n query b {\\n b\\n }\\n": types.BDocument,
155155
"\\n fragment C on Query {\\n c\\n }\\n": types.CFragmentDoc,
@@ -229,12 +229,12 @@ export * from "./gql";`);
229229
* Therefore it is highly recommended to use the babel or swc plugin for production.
230230
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
231231
*/
232-
type Documents = {
233-
"\n query a {\n a\n }\n": typeof types.ADocument,
234-
"\n query b {\n b\n }\n": typeof types.BDocument,
235-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
236-
};
237-
const documents: Documents = {
232+
type Documents = {
233+
"\\n query a {\\n a\\n }\\n": typeof types.ADocument,
234+
"\\n query b {\\n b\\n }\\n": typeof types.BDocument,
235+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
236+
};
237+
const documents: Documents = {
238238
"\\n query a {\\n a\\n }\\n": types.ADocument,
239239
"\\n query b {\\n b\\n }\\n": types.BDocument,
240240
"\\n fragment C on Query {\\n c\\n }\\n": types.CFragmentDoc,
@@ -316,9 +316,9 @@ export * from "./gql";`);
316316
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
317317
*/
318318
type Documents = {
319-
"\n query A {\n a\n }\n": typeof types.ADocument,
320-
"\n query B {\n b\n }\n": typeof types.BDocument,
321-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
319+
"\\n query A {\\n a\\n }\\n": typeof types.ADocument,
320+
"\\n query B {\\n b\\n }\\n": typeof types.BDocument,
321+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
322322
};
323323
const documents: Documents = {
324324
"\\n query A {\\n a\\n }\\n": types.ADocument,
@@ -452,9 +452,9 @@ export * from "./gql";`);
452452
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
453453
*/
454454
type Documents = {
455-
"\n query A {\n a\n }\n": typeof types.ADocument,
456-
"\n query B {\n b\n }\n": typeof types.BDocument,
457-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
455+
"\\n query A {\\n a\\n }\\n": typeof types.ADocument,
456+
"\\n query B {\\n b\\n }\\n": typeof types.BDocument,
457+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
458458
};
459459
const documents: Documents = {
460460
"\\n query A {\\n a\\n }\\n": types.ADocument,
@@ -673,7 +673,7 @@ export * from "./gql";`);
673673
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
674674
*/
675675
type Documents = {
676-
"\n query a {\n a\n }\n": typeof types.ADocument,
676+
"\\n query a {\\n a\\n }\\n": typeof types.ADocument,
677677
};
678678
const documents: Documents = {
679679
"\\n query a {\\n a\\n }\\n": types.ADocument,
@@ -790,9 +790,9 @@ export * from "./gql";`);
790790
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
791791
*/
792792
type Documents = {
793-
"\n query A {\n a\n }\n": typeof types.ADocument,
794-
"\n query B {\n b\n }\n": typeof types.BDocument,
795-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
793+
"\\n query A {\\n a\\n }\\n": typeof types.ADocument,
794+
"\\n query B {\\n b\\n }\\n": typeof types.BDocument,
795+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
796796
};
797797
const documents: Documents = {
798798
"\\n query A {\\n a\\n }\\n": types.ADocument,
@@ -1143,9 +1143,9 @@ export * from "./gql.js";`);
11431143
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
11441144
*/
11451145
type Documents = {
1146-
"\n query A {\n a\n }\n": typeof types.ADocument,
1147-
"\n query B {\n b\n }\n": typeof types.BDocument,
1148-
"\n fragment C on Query {\n c\n }\n": typeof types.CFragmentDoc,
1146+
"\\n query A {\\n a\\n }\\n": typeof types.ADocument,
1147+
"\\n query B {\\n b\\n }\\n": typeof types.BDocument,
1148+
"\\n fragment C on Query {\\n c\\n }\\n": typeof types.CFragmentDoc,
11491149
};
11501150
const documents: Documents = {
11511151
"\\n query A {\\n a\\n }\\n": types.ADocument,
@@ -2823,9 +2823,9 @@ export * from "./gql.js";`);
28232823
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
28242824
*/
28252825
type Documents = {
2826-
"\n query Foo {\n foo {\n ...Foo\n }\n }\n": typeof types.FooDocument,
2827-
"\n query Foos {\n foos {\n ...Foo\n }\n }\n": typeof types.FoosDocument,
2828-
"\n fragment Foo on Foo {\n value\n }\n": typeof types.FooFragmentDoc,
2826+
"\\n query Foo {\\n foo {\\n ...Foo\\n }\\n }\\n": typeof types.FooDocument,
2827+
"\\n query Foos {\\n foos {\\n ...Foo\\n }\\n }\\n": typeof types.FoosDocument,
2828+
"\\n fragment Foo on Foo {\\n value\\n }\\n": typeof types.FooFragmentDoc,
28292829
};
28302830
const documents: Documents = {
28312831
"\\n query Foo {\\n foo {\\n ...Foo\\n }\\n }\\n": types.FooDocument,

0 commit comments

Comments
 (0)