chore: split app to commons and web (squash commit)
This commit is contained in:
19
packages/hoppscotch-common/gql-codegen.yml
Normal file
19
packages/hoppscotch-common/gql-codegen.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
overwrite: true
|
||||
schema:
|
||||
- ${VITE_BACKEND_GQL_URL}
|
||||
generates:
|
||||
src/helpers/backend/graphql.ts:
|
||||
documents: "src/**/*.graphql"
|
||||
plugins:
|
||||
- add:
|
||||
content: >
|
||||
/* eslint-disable */
|
||||
// Auto-generated file (DO NOT EDIT!!!), refer gql-codegen.yml
|
||||
- typescript
|
||||
- typescript-operations
|
||||
- typed-document-node
|
||||
- typescript-urql-graphcache
|
||||
|
||||
src/helpers/backend/backend-schema.json:
|
||||
plugins:
|
||||
- urql-introspection
|
||||
Reference in New Issue
Block a user