From 5517c5d556f4070b0ad353f0114f58dcae24e0c2 Mon Sep 17 00:00:00 2001 From: Albert G <516972+alber70g@users.noreply.github.com> Date: Wed, 8 Jan 2025 11:59:58 +0100 Subject: [PATCH] chore(explorer): adds hackachain configs --- packages/apps/explorer/apollo.config.js | 3 ++- packages/apps/explorer/codegen-sdk.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/apps/explorer/apollo.config.js b/packages/apps/explorer/apollo.config.js index 52cfe4c139..2e4269dfa2 100644 --- a/packages/apps/explorer/apollo.config.js +++ b/packages/apps/explorer/apollo.config.js @@ -2,7 +2,8 @@ module.exports = { client: { service: { name: 'graph', - localSchemaFile: __dirname + '/../graph/generated-schema.graphql', + // localSchemaFile: __dirname + '/../graph/generated-schema.graphql', + url: 'https://www.kadindexer.io/graphql', }, includes: ['src/**/*.ts', 'src/**/*.tsx'], excludes: ['**/node_modules/**/*', 'src/__generated__/**/*'], diff --git a/packages/apps/explorer/codegen-sdk.yml b/packages/apps/explorer/codegen-sdk.yml index 3f0b027fbe..5f8e600ef3 100644 --- a/packages/apps/explorer/codegen-sdk.yml +++ b/packages/apps/explorer/codegen-sdk.yml @@ -1,6 +1,7 @@ overwrite: true # schema: ./node_modules/@kadena/graph/generated-schema.graphql -schema: https://graph.kadena.network/graphql +# schema: https://graph.kadena.network/graphql +schema: https://www.kadindexer.io/graphql generates: ./src/__generated__/sdk.ts: documents: 'src/**/*.graph.(ts|tsx)'