@graphql-codegen/visitor-plugin-common 6.1.0 → 6.1.1-alpha-20251112094753-9d9f6346d64d7ab7a726ad77f9cb95ebaefbfdef

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1022,6 +1022,9 @@ class BaseResolversVisitor extends base_visitor_js_1.BaseVisitor {
1022
1022
  SchemaDefinition() {
1023
1023
  return null;
1024
1024
  }
1025
+ SchemaExtension() {
1026
+ return null;
1027
+ }
1025
1028
  getRelevantFieldsToOmit({ schemaType, shouldInclude, getTypeToUse, }) {
1026
1029
  const fields = schemaType.getFields();
1027
1030
  return this._federation
@@ -420,6 +420,9 @@ class BaseTypesVisitor extends base_visitor_js_1.BaseVisitor {
420
420
  SchemaDefinition() {
421
421
  return null;
422
422
  }
423
+ SchemaExtension() {
424
+ return null;
425
+ }
423
426
  getNodeComment(node) {
424
427
  let commentText = node.description?.value;
425
428
  const deprecationDirective = node.directives.find(v => v.name.value === 'deprecated');
@@ -1018,6 +1018,9 @@ export class BaseResolversVisitor extends BaseVisitor {
1018
1018
  SchemaDefinition() {
1019
1019
  return null;
1020
1020
  }
1021
+ SchemaExtension() {
1022
+ return null;
1023
+ }
1021
1024
  getRelevantFieldsToOmit({ schemaType, shouldInclude, getTypeToUse, }) {
1022
1025
  const fields = schemaType.getFields();
1023
1026
  return this._federation
@@ -417,6 +417,9 @@ export class BaseTypesVisitor extends BaseVisitor {
417
417
  SchemaDefinition() {
418
418
  return null;
419
419
  }
420
+ SchemaExtension() {
421
+ return null;
422
+ }
420
423
  getNodeComment(node) {
421
424
  let commentText = node.description?.value;
422
425
  const deprecationDirective = node.directives.find(v => v.name.value === 'deprecated');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/visitor-plugin-common",
3
- "version": "6.1.0",
3
+ "version": "6.1.1-alpha-20251112094753-9d9f6346d64d7ab7a726ad77f9cb95ebaefbfdef",
4
4
  "peerDependencies": {
5
5
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
6
6
  },
@@ -813,6 +813,7 @@ export declare class BaseResolversVisitor<TRawConfig extends RawResolversConfig
813
813
  EnumTypeDefinition(node: EnumTypeDefinitionNode): string;
814
814
  InterfaceTypeDefinition(node: InterfaceTypeDefinitionNode): string;
815
815
  SchemaDefinition(): any;
816
+ SchemaExtension(): any;
816
817
  private getRelevantFieldsToOmit;
817
818
  }
818
819
  export {};
@@ -813,6 +813,7 @@ export declare class BaseResolversVisitor<TRawConfig extends RawResolversConfig
813
813
  EnumTypeDefinition(node: EnumTypeDefinitionNode): string;
814
814
  InterfaceTypeDefinition(node: InterfaceTypeDefinitionNode): string;
815
815
  SchemaDefinition(): any;
816
+ SchemaExtension(): any;
816
817
  private getRelevantFieldsToOmit;
817
818
  }
818
819
  export {};
@@ -495,6 +495,7 @@ export declare class BaseTypesVisitor<TRawConfig extends RawTypesConfig = RawTyp
495
495
  NamedType(node: NamedTypeNode, key: any, parent: any, path: any, ancestors: any): string;
496
496
  ListType(node: ListTypeNode, _key: any, _parent: any, _path: any, _ancestors: any): string;
497
497
  SchemaDefinition(): any;
498
+ SchemaExtension(): any;
498
499
  getNodeComment(node: FieldDefinitionNode | EnumValueDefinitionNode | InputValueDefinitionNode): string;
499
500
  protected getDeprecationReason(directive: DirectiveNode): string | void;
500
501
  protected wrapWithListType(str: string): string;
@@ -495,6 +495,7 @@ export declare class BaseTypesVisitor<TRawConfig extends RawTypesConfig = RawTyp
495
495
  NamedType(node: NamedTypeNode, key: any, parent: any, path: any, ancestors: any): string;
496
496
  ListType(node: ListTypeNode, _key: any, _parent: any, _path: any, _ancestors: any): string;
497
497
  SchemaDefinition(): any;
498
+ SchemaExtension(): any;
498
499
  getNodeComment(node: FieldDefinitionNode | EnumValueDefinitionNode | InputValueDefinitionNode): string;
499
500
  protected getDeprecationReason(directive: DirectiveNode): string | void;
500
501
  protected wrapWithListType(str: string): string;