Files
webapp/codegen.yml

28 lines
786 B
YAML
Raw Normal View History

2022-09-09 14:53:35 +03:00
overwrite: true
generates:
2023-11-28 16:18:25 +03:00
# Generate types for chat
src/graphql/schema/chat.gen.ts:
schema: 'https://chat.discours.io'
2022-09-09 14:53:35 +03:00
plugins:
2023-11-28 16:18:25 +03:00
- 'typescript'
- 'typescript-operations'
- 'typescript-urql'
2022-09-09 14:53:35 +03:00
config:
2023-11-28 16:18:25 +03:00
skipTypename: true
2022-09-09 14:53:35 +03:00
useTypeImports: true
2023-11-28 16:18:25 +03:00
outputPath: './src/graphql/types/chat.gen.ts'
2024-07-26 18:49:15 +03:00
# namingConvention: change-case#CamelCase # for generated types
2023-11-28 16:18:25 +03:00
# Generate types for core
src/graphql/schema/core.gen.ts:
2023-11-29 11:23:08 +03:00
schema: 'https://core.discours.io'
2022-09-09 14:53:35 +03:00
plugins:
- 'typescript'
- 'typescript-operations'
- 'typescript-urql'
config:
skipTypename: true
2023-11-28 16:18:25 +03:00
useTypeImports: true
outputPath: './src/graphql/types/core.gen.ts'
2024-07-26 18:49:15 +03:00
# namingConvention: change-case#CamelCase # for generated types