forked from clapy-app/clapy-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
24 lines (24 loc) · 709 Bytes
/
codegen.yml
File metadata and controls
24 lines (24 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
schema:
- http://${VITE_HASURA_HOSTNAME}:${VITE_HASURA_PORT}/v1/graphql:
headers:
X-Hasura-Role: admin
X-Hasura-Admin-Secret: ${HASURA_GRAPHQL_ADMIN_SECRET}
# documents: ./src/**/*.graphql
emitLegacyCommonJSImports: false
generates:
./figma-plugin-clapy/generated/schema.d.ts:
plugins:
- typescript
# - typescript-operations
# preset: gql-tag-operations-preset
./backend-clapy/generated/schema.d.ts:
plugins:
- typescript
# - typescript-operations
# preset: gql-tag-operations-preset
./figma-plugin-clapy/generated/schema.graphql:
plugins:
- schema-ast
./backend-clapy/generated/schema.graphql:
plugins:
- schema-ast