| 1 | overwrite: true |
| 2 | schema: ../shared/third-party/github/schema.docs.graphql |
| 3 | documents: |
| 4 | - src/github/mutations/*.graphql |
| 5 | - src/github/queries/*.graphql |
| 6 | generates: |
| 7 | src/github/generated/graphql.ts: |
| 8 | plugins: |
| 9 | - add: |
| 10 | content: "/* eslint-disable */\n/* \u0040generated */" |
| 11 | - typescript |
| 12 | - typescript-operations |
| 13 | - typescript-document-nodes |
| 14 | config: |
| 15 | # Ensure that fragments used multiple times within a given query are |
| 16 | # defined only once in the generated query string |
| 17 | dedupeFragments: true |
| 18 | defaultScalarType: string |
| 19 | # Generate query strings instead of DocumentNode objects |
| 20 | documentMode: string |
| 21 | # Allow access to types for individual subtypes |
| 22 | exportFragmentSpreadSubTypes: true |
| 23 | omitOperationSuffix: true |
| 24 | operationResultSuffix: Data |
| 25 | |