Skip to content

Commit

Permalink
style: typenameIntrospection -> typeNameIntrospection
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Sep 22, 2023
1 parent 0728b7e commit 144d40d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/model-generator/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type GenerateGraphqlCodegenOptions = {
format: 'graphql-codegen';
statementTarget: 'javascript' | 'graphql' | 'flow' | 'typescript' | 'angular';
maxDepth?: number;
typenameIntrospection?: boolean;
typeNameIntrospection?: boolean;
typeTarget?: 'json' | 'swift' | 'typescript' | 'flow' | 'scala' | 'flow-modern' | 'angular';
multipleSwiftFiles?: boolean;
};
Expand Down
4 changes: 2 additions & 2 deletions packages/model-generator/src/generate_api_code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type GenerateGraphqlCodegenOptions = {
format: 'graphql-codegen';
statementTarget: 'javascript' | 'graphql' | 'flow' | 'typescript' | 'angular';
maxDepth?: number;
typenameIntrospection?: boolean;
typeNameIntrospection?: boolean;
typeTarget?:
| 'json'
| 'swift'
Expand Down Expand Up @@ -68,7 +68,7 @@ export const generateApiCode = async (
}).generateModels({
language: props.statementTarget,
maxDepth: props.maxDepth,
typenameIntrospection: props.typenameIntrospection,
typenameIntrospection: props.typeNameIntrospection,
})
).operations;

Expand Down

0 comments on commit 144d40d

Please sign in to comment.