Skip to content

Commit

Permalink
Merge pull request #9 from baartch/main
Browse files Browse the repository at this point in the history
typos and recommendation
  • Loading branch information
PJColombo authored Mar 18, 2021
2 parents b4abf77 + 4717e91 commit 59b35f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

### Properties

- [#app](API.md##app)
- [#connector](API.md##connector)
- [#app](API.md#app)
- [#connector](API.md#connector)

### Methods

Expand Down Expand Up @@ -317,7 +317,7 @@ Name | Type | Description |

**Returns:** *SubscriptionHandler*

A function handler use to cancel the
A function handler used to cancel the
subscription at any time.

Defined in: [Hatch.ts:50](https://github.com/TECommons/hatch-connector/blob/main/src/models/Hatch.ts#L50)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Connector for the Hatch frontend implemented using [Aragon Connect](https://aragon.org/connect). It connects to a [hatch subgraph](https://github.com/TECommons/hatch-connector/tree/main/subgraph) created using [The Graph](https://thegraph.com/) indexing protocol.

The hatch subgraph collects, store and index hatch-related data from the blockchain and serves it through a [GraphQL](https://graphql.org/) endpoint. The connector is an abstraction over this subgraph which offers an API that can be use by any client to fetch data.
The hatch subgraph collects, stores and indexes hatch-related data from the blockchain and serves it through a [GraphQL](https://graphql.org/) endpoint. The connector is an abstraction over this subgraph which offers an API that can be use by any client to fetch data.

## API Reference

Expand Down
2 changes: 1 addition & 1 deletion src/models/Hatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Hatch {
* of the hatch and the hatch oracle.
* @param {SubscriptionCallback<GeneralConfig>} callback A callback function that
* receives the updated general configuration data.
* @returns {SubscriptionHandler} A function handler use to cancel the
* @returns {SubscriptionHandler} A function handler used to cancel the
* subscription at any time.
*/
onGeneralConfig(
Expand Down
5 changes: 2 additions & 3 deletions subgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Currently there are Subgraphs deployed on the [xdai](https://thegraph.com/explor

## Queries

Below there are a few ways to show how to query the Subgraph for data. The queries show most of the information that is queryable, but there are many other filtering options that can be used, just check out the [querying api](https://thegraph.com/docs/graphql-api). These queries can be used locally or in The Graph Explorer playground.
Below there are a few ways to show how to query the Subgraph for data. The queries show most of the information that can be queried. But there are also many filter options that can be used. Just check out the [querying api](https://thegraph.com/docs/graphql-api). These queries can be used locally or in The Graph Explorer playground.

### Querying the Hatch data

Expand Down Expand Up @@ -73,5 +73,4 @@ contributions(first: 10, orderBy: value, orderDirection: desc) {
```


For more information see The Graph [docs](https://thegraph.com/docs/) and the Aragon Connect [docs](https://connect.aragon.org/advanced/app-subgraphs).

For more information see The Graph [docs](https://thegraph.com/docs/) and the Aragon Connect [docs](https://connect.aragon.org/advanced/app-subgraphs).

0 comments on commit 59b35f1

Please sign in to comment.