Skip to content

Commit bb3df75

Browse files
committed
Run prettier
1 parent c8c0af5 commit bb3df75

8 files changed

Lines changed: 38 additions & 23 deletions

File tree

dev-test/githunt/types.apolloAngular.sdk.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -570,16 +570,22 @@ export class VoteGQL extends Apollo.Mutation<VoteMutation, VoteMutationVariables
570570

571571
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
572572

573-
interface WatchQueryOptionsAlone<V>
574-
extends Omit<ApolloCore.WatchQueryOptions<V>, 'query' | 'variables'> {}
573+
interface WatchQueryOptionsAlone<V> extends Omit<
574+
ApolloCore.WatchQueryOptions<V>,
575+
'query' | 'variables'
576+
> {}
575577

576578
interface QueryOptionsAlone<V> extends Omit<ApolloCore.QueryOptions<V>, 'query' | 'variables'> {}
577579

578-
interface MutationOptionsAlone<T, V>
579-
extends Omit<ApolloCore.MutationOptions<T, V>, 'mutation' | 'variables'> {}
580+
interface MutationOptionsAlone<T, V> extends Omit<
581+
ApolloCore.MutationOptions<T, V>,
582+
'mutation' | 'variables'
583+
> {}
580584

581-
interface SubscriptionOptionsAlone<V>
582-
extends Omit<ApolloCore.SubscriptionOptions<V>, 'query' | 'variables'> {}
585+
interface SubscriptionOptionsAlone<V> extends Omit<
586+
ApolloCore.SubscriptionOptions<V>,
587+
'query' | 'variables'
588+
> {}
583589

584590
@Injectable({ providedIn: 'root' })
585591
export class ApolloAngularSDK {

packages/plugins/c-sharp/c-sharp-operations/src/config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { RawClientSideBasePluginConfig } from '@graphql-codegen/visitor-plugin-c
55
* @description This plugin generates C# `class` based on your GraphQL operations.
66
*/
77
export interface CSharpOperationsRawPluginConfig
8-
extends RawClientSideBasePluginConfig,
9-
MemberNameConventionConfig {
8+
extends RawClientSideBasePluginConfig, MemberNameConventionConfig {
109
/**
1110
* @default GraphQLCodeGen
1211
* @description Allow you to customize the namespace name.

packages/plugins/typescript/generic-sdk/tests/generic-sdk.v16+.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ describe('generic-sdk - GraphQL v16+', () => {
1616
{
1717
location: '',
1818
document: parse(/* GraphQL */ `
19-
"""description (becomes JSDoc)"""
19+
"""
20+
description (becomes JSDoc)
21+
"""
2022
query feed {
2123
feed {
2224
id

packages/plugins/typescript/graphql-request/tests/graphql-request.v16+.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ describe('graphql-request - GraphQL v16+', () => {
1111
{
1212
location: '',
1313
document: parse(/* GraphQL */ `
14-
"""description (becomes JSDoc)"""
14+
"""
15+
description (becomes JSDoc)
16+
"""
1517
query feed {
1618
feed {
1719
id

packages/plugins/typescript/jit-sdk/tests/jit-sdk.v16+.spec.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ describe('jit-sdk - GraphQL 16+', () => {
1111
{
1212
location: '',
1313
document: parse(/* GraphQL */ `
14-
"""description (becomes JSDoc)"""
15-
query feed {
16-
feed {
17-
id
18-
commentCount
19-
repository {
20-
owner {
21-
avatar_url
14+
"""
15+
description (becomes JSDoc)
16+
"""
17+
query feed {
18+
feed {
19+
id
20+
commentCount
21+
repository {
22+
owner {
23+
avatar_url
24+
}
2225
}
2326
}
2427
}
25-
}
26-
`),
28+
`),
2729
},
2830
],
2931
{},

packages/plugins/typescript/react-apollo/tests/react-apollo.v16+.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ describe('React Apollo - GraphQL v16+', () => {
1111
{
1212
location: '',
1313
document: parse(/* GraphQL */ `
14-
"""description for feed"""
14+
"""
15+
description for feed
16+
"""
1517
query Test {
1618
feed {
1719
id

packages/plugins/typescript/react-query/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ export interface BaseReactQueryPluginConfig {
117117
*
118118
*/
119119
export interface ReactQueryRawPluginConfig
120-
extends Omit<
120+
extends
121+
Omit<
121122
RawClientSideBasePluginConfig,
122123
| 'documentMode'
123124
| 'noGraphQLTag'

packages/plugins/typescript/solid-query/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export interface BaseSolidQueryPluginConfig {
104104
*
105105
*/
106106
export interface SolidQueryRawPluginConfig
107-
extends Omit<
107+
extends
108+
Omit<
108109
RawClientSideBasePluginConfig,
109110
| 'documentMode'
110111
| 'noGraphQLTag'

0 commit comments

Comments
 (0)