aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/graphql-codegen.ts
blob: ddba3b1b7a7653423a75c19403004071f542fa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type { CodegenConfig } from "@graphql-codegen/cli";

const config: CodegenConfig = {
	overwrite: true,
	schema: "../common/graphql/schema.graphql",
	documents: "src/**/*.tsx",
	generates: {
		"src/graphql": {
			preset: "client",
			plugins: [],
		},
	},
};

export default config;