forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(thegraph): auto-generate graphql types (Uniswap#1926)
* auto-generate graphql types * remove introspection * generated .ts and add to prettierignore * updated graph url
- Loading branch information
Justin Domingue
authored
Jun 28, 2021
1 parent
6e995d6
commit 1667b56
Showing
8 changed files
with
5,814 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/src/state/data/generated.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
schema: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3' | ||
documents: 'src/**/!(*.d).{ts,tsx}' | ||
generates: | ||
./src/state/data/generated.ts: | ||
plugins: | ||
- typescript | ||
- typescript-operations | ||
- typescript-rtk-query: | ||
importBaseApiFrom: './slice' | ||
exportHooks: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.