Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VITE_INFO_GRAPH=https://api.thegraph.com/subgraphs/name/iliaazhel/integral-core
VITE_INFO_GRAPH=https://api.studio.thegraph.com/query/50593/holesky-analytics/version/latest
VITE_LIMIT_ORDERS_GRAPH=https://api.thegraph.com/subgraphs/name/iliaazhel/integral-limit-order
VITE_BLOCKS_GRAPH=https://api.thegraph.com/subgraphs/name/iliaazhel/goerli-blocks
VITE_FARMING_GRAPH=https://api.thegraph.com/subgraphs/name/iliaazhel/farming-test
VITE_INFURA_RPC=https://ethereum-holesky-rpc.publicnode.com
VITE_FARMING_GRAPH=https://api.studio.thegraph.com/query/50593/holesky-farming/version/latest
VITE_INFURA_RPC=https://holesky.drpc.org
VITE_WALLETCONNECT_PROJECT_ID=79c313a96c99edbc26d06cd97bff1126
18 changes: 7 additions & 11 deletions codegen.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
import type { CodegenConfig } from '@graphql-codegen/cli';
import type { CodegenConfig } from "@graphql-codegen/cli";

const config: CodegenConfig = {
overwrite: true,
schema: [
'https://api.thegraph.com/subgraphs/name/iliaazhel/integral-core',
'https://api.thegraph.com/subgraphs/name/iliaazhel/goerli-blocks',
'https://api.thegraph.com/subgraphs/name/iliaazhel/farming-test',
"https://api.studio.thegraph.com/query/50593/holesky-analytics/version/latest",
"https://api.studio.thegraph.com/query/50593/holesky-farming/version/latest",
"https://api.thegraph.com/subgraphs/name/iliaazhel/goerli-blocks",
],
documents: 'src/graphql/queries/!(*.d).{ts,tsx}',
documents: "src/graphql/queries/!(*.d).{ts,tsx}",
generates: {
'src/graphql/generated/graphql.tsx': {
plugins: [
'typescript',
'typescript-operations',
'typescript-react-apollo',
],
"src/graphql/generated/graphql.tsx": {
plugins: ["typescript", "typescript-operations", "typescript-react-apollo"],
config: {
withHooks: true,
withResultType: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@apollo/client": "^3.8.4",
"@cryptoalgebra/integral-sdk": "^0.11.22",
"@cryptoalgebra/integral-sdk": "0.12.6-dev",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-hover-card": "^1.0.7",
Expand Down
Loading