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