overwrite: true
schema: ../../libs/skiff-graphql/src/completeSchema.graphql
generates:
  ./generated/graphql.tsx:
    documents: ./graphql/**/*.graphql
    plugins:
      - add:
          content: |
            import * as Types from 'skiff-graphql';
            export * from 'skiff-graphql';
      - "typescript-operations"
      - "typescript-react-apollo"

    config:
      withComponent: false
      withHOC: false
      withHooks: true
      federation: true
      pureMagicComment: true
      namespacedImportName: 'Types'
      scalars:
        Date: Date
        PublicKey: '{ key: string, signature?: string }'
        PublicKeyWithSignature: '{ key: string, signature: string }'
