AL
Size: a a a
AL
BS
AL
AL
BS
BS
BS
a
schema:
- './src/gql/generated.schema.graphql'
documents:
- './src/{containers,components}/**/*.graphql'
- './src/gql/common/**/*.graphql'
config:
withHooks: true
withHOC: false
withComponent: false
hooks:
afterAllFileWrite:
- prettier --write
generates:
src/gql/__generated__/types.ts:
- 'typescript'
- add: /* eslint-disable */
src/:
preset: near-operation-file
presetConfig:
extension: .generated.tsx
baseTypesPath: gql/__generated__/types.ts
plugins:
- typescript-operations
- typescript-react-apollo
- add: /* eslint-disable */
src/gql/__generated__/introspection-result.ts:
plugins:
- fragment-matcher
d.ts
файлы?a
@graphql-codegen/near-operation-file-preset
a
AL
AL
AD
AD
AD
a