14 lines
269 B
TypeScript
14 lines
269 B
TypeScript
import { CodegenConfig } from '@graphql-codegen/cli';
|
|
|
|
const config: CodegenConfig = {
|
|
schema: process.env.GRAPH_URL,
|
|
documents: ['./graph/*.ts'],
|
|
generates: {
|
|
'./graph/d.ts': {
|
|
plugins: ['typescript', 'typescript-operations']
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|