mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-09-08 13:04:06 +00:00
Blog page (#15)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
overwrite: true
|
||||
schema:
|
||||
- 'https://graphql.datocms.com/':
|
||||
headers:
|
||||
Authorization: Bearer ${CMS_ACCESS_TOKEN}
|
||||
documents: './src/**/*.{gql,graphql}'
|
||||
generates:
|
||||
./src/lib/cms/generated.ts:
|
||||
plugins:
|
||||
- 'typescript'
|
||||
- 'typescript-operations'
|
||||
- 'typescript-graphql-request'
|
||||
config:
|
||||
namingConvention:
|
||||
enumValues: keep
|
||||
./src/lib/cms/graphql.schema.json:
|
||||
plugins:
|
||||
- 'introspection'
|
||||
hooks:
|
||||
afterOneFileWrite:
|
||||
- yarn lint --fix
|
||||
- yarn codegen-fix
|
||||
Reference in New Issue
Block a user