Skip to content

Commit

Permalink
fix: broken link in subquery.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zengzengzenghuy committed Aug 31, 2023
1 parent 32ffb4b commit 67bb85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tools/analytics/subquery.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: SubQuery
description: SubQuery is a fast, flexible, and reliable open-source data indexer that provides you with custom APIs for your web3 project across all of our supported chains (including Gnosis).
description: SubQuery is a fast, flexible, and reliable open-source data indexer that provides you with custom APIs for your web3 project across all of our supported chains (including Gnosis).
keywords: [subquery, data indexing, query data, chain data, api]
---

Expand Down Expand Up @@ -131,7 +131,7 @@ npm run-script codegen

:::

This will create a new directory (or update the existing one) `src/types` which contains generated entity classes for each type you have defined previously in `schema.graphql`. These classes provide type-safe entity loading, and read and write access to entity fields - see more about this process in [the GraphQL Schema](../../build/graphql.md). All entities can be imported from the following directory:
This will create a new directory (or update the existing one) `src/types` which contains generated entity classes for each type you have defined previously in `schema.graphql`. These classes provide type-safe entity loading, and read and write access to entity fields - see more about this process in [the GraphQL Schema](https://academy.subquery.network/build/graphql.html). All entities can be imported from the following directory:

```ts
import { Token, Event, Address, TokenTransfer } from "../types";
Expand Down

0 comments on commit 67bb85a

Please sign in to comment.