separate-codegen-fix2
Some checks failed
Deploy on push / deploy (push) Failing after 32s

This commit is contained in:
2025-09-27 13:56:10 +03:00
parent eab0ba7b42
commit bd54d900aa
2 changed files with 39 additions and 8 deletions

View File

@@ -2,11 +2,8 @@ import type { CodegenConfig } from '@graphql-codegen/cli'
const config: CodegenConfig = {
overwrite: true,
// Адаптивный выбор источника схемы
schema: [
'https://coretest.discours.io/graphql',
'https://v3.dscrs.site/graphql'
],
// Используем основной endpoint с fallback логикой
schema: 'https://v3.dscrs.site/graphql',
documents: ['panel/graphql/queries/**/*.ts', 'panel/**/*.{ts,tsx}', '!panel/graphql/generated/**'],
generates: {
'./panel/graphql/generated/introspection.json': {