Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add globalGqlIdentifierName to the types #8718

Merged
merged 4 commits into from
Dec 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions packages/utils/plugins-helpers/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,10 @@ export namespace Types {
* @description Overrides the name of the default GraphQL name identifier.
*/
globalIdentifier?: string;
/**
* @description Allows to use a global identifier instead of a module import.
*/
globalGqlIdentifierName?: string | string[];
};
/**
* @description Specifies scripts to run when events are happening in the codegen core.
Expand Down Expand Up @@ -591,20 +595,20 @@ export namespace Types {

export type SkipDocumentsValidationOptions =
| {
/**
* @description Allows you to skip specific rules while validating the documents.
* See all the rules; https://github.com/graphql/graphql-js/tree/main/src/validation/rules
*/
ignoreRules?: string[];
/**
* @description Ignore duplicate documents validation
*/
skipDuplicateValidation?: boolean;
/**
* @description Skip document validation entirely against the schema
*/
skipValidationAgainstSchema?: boolean;
}
/**
* @description Allows you to skip specific rules while validating the documents.
* See all the rules; https://github.com/graphql/graphql-js/tree/main/src/validation/rules
*/
ignoreRules?: string[];
/**
* @description Ignore duplicate documents validation
*/
skipDuplicateValidation?: boolean;
/**
* @description Skip document validation entirely against the schema
*/
skipValidationAgainstSchema?: boolean;
}
AaronBuxbaum marked this conversation as resolved.
Show resolved Hide resolved
| boolean;
}

Expand Down