import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { schema: "http://172.16.6.246:8055/graphql?access_token=WkVWFMiFcrjsXRZqsL30Cd4Sboe0DRk-", // this assumes that all your source files are in a top-level `src/` directory - you might need to adjust this to your file structure documents: ['src/**/*.{ts,tsx}'], generates: { './generated/graphql/': { preset: 'client', plugins: [], presetConfig: { gqlTagName: 'gql', } } }, ignoreNoDocuments: true, }; export default config;