mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
|
|
import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
|
|
const config: CodegenConfig = {
|
|
overwrite: true,
|
|
schema: "./schema.graphqls",
|
|
generates: {
|
|
"src/generated/graphql.ts": {
|
|
plugins: ["typescript", "typescript-resolvers"]
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|