Skip to content

Commit 9f7b645

Browse files
committed
fix: update dataprotector subgraph URL and refine document patterns in codegen configurations
1 parent 978a336 commit 9f7b645

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

codegenDataprotector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dotenv.config();
55

66
const config: CodegenConfig = {
77
schema: process.env.VITE_DATAPROTECTOR_SUBGRAPH_URL,
8-
// documents: ['src/**/*.tsx', "src/**/*.ts"],
8+
documents: ['src/**/*DpQuery.ts'],
99
ignoreNoDocuments: true,
1010
generates: {
1111
'./src/graphql/dataprotector/': {

codegenPoco.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dotenv.config();
55

66
const config: CodegenConfig = {
77
schema: process.env.VITE_POCO_SUBGRAPH_URL,
8-
documents: ['src/**/*.tsx', "src/**/*.ts"],
8+
documents: ['src/**/*.tsx', "src/**/*.ts", '!src/**/*DpQuery.ts'],
99
ignoreNoDocuments: true,
1010
generates: {
1111
'./src/graphql/poco/': {

src/config.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const SUPPORTED_CHAINS = [
2424
subgraphUrl: {
2525
poco: 'https://thegraph.iex.ec/subgraphs/name/bellecour/poco-v5',
2626
dataprotector:
27-
'https://thegraph.iex.ec/subgraphs/name/bellecour/dataprotector',
27+
'https://thegraph.iex.ec/subgraphs/name/bellecour/dataprotector-v2',
2828
},
2929
bridge: 'https://bridge-bellecour.iex.ec/',
3030
bridgeInformation:
@@ -41,7 +41,8 @@ export const SUPPORTED_CHAINS = [
4141
blockExplorerUrl: 'https://arbiscan.io/',
4242
subgraphUrl: {
4343
poco: 'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/B1comLe9SANBLrjdnoNTJSubbeC7cY7EoNu6zD82HeKy',
44-
dataprotector: 'TODO',
44+
dataprotector:
45+
'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
4546
},
4647
wagmiNetwork: arbitrum,
4748
tokenSymbol: 'RLC',
@@ -55,7 +56,8 @@ export const SUPPORTED_CHAINS = [
5556
blockExplorerUrl: 'https://sepolia.arbiscan.io/',
5657
subgraphUrl: {
5758
poco: 'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/2GCj8gzLCihsiEDq8cYvC5nUgK6VfwZ6hm3Wj8A3kcxz',
58-
dataprotector: 'TODO',
59+
dataprotector:
60+
'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
5961
},
6062
wagmiNetwork: arbitrumSepolia,
6163
tokenSymbol: 'RLC',

0 commit comments

Comments
 (0)