@graphql-codegen/plugin-helpers 2.2.0-alpha-b24e050a5.0 → 2.2.0-alpha-e04750ad3.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/plugin-helpers",
3
- "version": "2.2.0-alpha-b24e050a5.0",
3
+ "version": "2.2.0-alpha-e04750ad3.0",
4
4
  "description": "GraphQL Code Generator common utils and types",
5
5
  "peerDependencies": {
6
6
  "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"
package/types.d.ts CHANGED
@@ -509,9 +509,19 @@ export declare namespace Types {
509
509
  beforeAllFileWrite: T;
510
510
  };
511
511
  type SkipDocumentsValidationOptions = {
512
+ /**
513
+ * @description Allows you to skip specific rules while validating the documents.
514
+ * See all the rules; https://github.com/graphql/graphql-js/tree/main/src/validation/rules
515
+ */
512
516
  ignoreRules?: string[];
517
+ /**
518
+ * @description Ignore duplicate documents validation
519
+ */
513
520
  skipDuplicateValidation?: boolean;
514
- skipDocumentValidation?: boolean;
521
+ /**
522
+ * @description Skip document validation entirely against the schema
523
+ */
524
+ skipValidationAgainstSchema?: boolean;
515
525
  } | boolean;
516
526
  }
517
527
  export declare function isComplexPluginOutput(obj: Types.PluginOutput): obj is Types.ComplexPluginOutput;