Skip to content

Commit 37172e5

Browse files
Alan-ChaErikWittern
authored andcommitted
Add getOperationString
Signed-off-by: Alan Cha <[email protected]>
1 parent 6dde828 commit 37172e5

23 files changed

+193
-161
lines changed

packages/openapi-to-graphql/lib/auth_builder.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/**
2-
* Functions to create viewers that allow users to pass credentials to resolve
3-
* functions used by OpenAPI-to-GraphQL.
4-
*/
5-
import { Oas3 } from './types/oas3';
61
import { GraphQLObjectType as GQObjectType } from 'graphql';
72
import { Args, ResolveFunction } from './types/graphql';
83
import { PreprocessingData } from './types/preprocessing_data.js';
@@ -18,7 +13,7 @@ declare type Viewer = {
1813
* i.e. inside either rootQueryFields/rootMutationFields or inside
1914
* rootQueryFields/rootMutationFields for further processing
2015
*/
21-
export declare function createAndLoadViewer(queryFields: object, data: PreprocessingData, isMutation: boolean, oass: Oas3[]): {
16+
export declare function createAndLoadViewer(queryFields: object, data: PreprocessingData, isMutation?: boolean): {
2217
[key: string]: Viewer;
2318
};
2419
export {};

packages/openapi-to-graphql/lib/auth_builder.js

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/auth_builder.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/index.js

Lines changed: 10 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)