forked from safetrustcr/frontend-SafeTrust
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.ts
More file actions
Latest commit
19 lines (18 loc) · 398 Bytes
/
Copy pathcodegen.ts
File metadata and controls
19 lines (18 loc) · 398 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import*asdotenvfrom"dotenv";
dotenv.config();
exportdefault{
schema: process.env.NEXT_PUBLIC_APP_HASURA_ENDPOINT,
documents: "src/**/*.graphql.ts",
generates: {
"src/graphql/generated/graphql.ts": {
plugins: [
"typescript",
"typescript-operations",
"typescript-react-apollo",
],
config: {
withHooks: true,
},
},
},
};