This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user