Skip to content

Commit

Permalink
Merge pull request #797 from autonomys/feat/addLeaderboardSquid
Browse files Browse the repository at this point in the history
Add leaderboard-squid and leaderboard v2
  • Loading branch information
marc-aurele-besner committed Aug 12, 2024
2 parents 7e11329 + 710c655 commit 118cd8b
Show file tree
Hide file tree
Showing 100 changed files with 32,571 additions and 1,349 deletions.
4 changes: 4 additions & 0 deletions .vscode/astral.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"name": "indexer - Staking Squid",
"path": "../indexers/staking-squid"
},
{
"name": "indexer - Leaderboard Squid",
"path": "../indexers/leaderboard-squid"
},
{
"name": "indexer - Rewards Squid",
"path": "../indexers/rewards-squid"
Expand Down
5 changes: 5 additions & 0 deletions explorer/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ dotenv.config()

const config: CodegenConfig = {
generates: {
'./gql/types/leaderboard.ts': {
schema: defaultIndexer.squids.leaderboard,
documents: ['./src/**/leaderboard.query.ts'],
plugins: ['typescript', 'typescript-operations'],
},
'./gql/types/staking.ts': {
schema: defaultIndexer.squids.staking,
documents: ['./src/**/staking.query.ts'],
Expand Down
6,577 changes: 6,577 additions & 0 deletions explorer/gql/types/leaderboard.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 118cd8b

Please sign in to comment.