diff --git a/.changeset/violet-tools-fetch.md b/.changeset/violet-tools-fetch.md new file mode 100644 index 00000000000..c73115551c3 --- /dev/null +++ b/.changeset/violet-tools-fetch.md @@ -0,0 +1,5 @@ +--- +"@graphql-codegen/plugin-helpers": patch +--- + +Add `globalGqlIdentifierName` to the types diff --git a/packages/utils/plugins-helpers/src/types.ts b/packages/utils/plugins-helpers/src/types.ts index 9deb94c5bab..b8088de8811 100644 --- a/packages/utils/plugins-helpers/src/types.ts +++ b/packages/utils/plugins-helpers/src/types.ts @@ -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.