repo_description: Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿
repo_topics: blockchain crypto dapp graphql hacktoberfest lens-protocol nextjs react social-media tailwindcss turborepo typescript vitest wagmi web3
code: import type { CodegenConfig } from "@graphql-codegen/cli";
  
  const config: CodegenConfig = {
    config: {
      inlineFragmentTypes: "combine",
      noGraphQLTag: true
    },
    documents: "./src/indexer/documents/**/*.graphql",
    generates: {
      "generated.ts": {
        config: {
          addDocBlocks: false,
          disableDescriptions: true,
          useTypeImports: true,
          withMutationFn: false,
          withMutationOptionsType: false,
          withResultType: false
        },
        plugins: [
          "typescript",
          "typescript-operations",
          "typescript-react-apollo"
        ]
      },
      "possible-types.ts": {
        plugins: ["fragment-matcher"]
      }
    },
    hooks: { afterAllFileWrite: ["biome format --write ."] },
    overwrite: true,
    schema: "https://api.lens.xyz/graphql"
  };
  
  export default config;
  