From c1c22a7cc7310dfc601c3359122f2fd471193faf Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 11 Jul 2025 00:53:15 +0900 Subject: feat(frontend): install dependencies --- frontend/graphql-codegen.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend/graphql-codegen.ts (limited to 'frontend/graphql-codegen.ts') diff --git a/frontend/graphql-codegen.ts b/frontend/graphql-codegen.ts new file mode 100644 index 0000000..ddba3b1 --- /dev/null +++ b/frontend/graphql-codegen.ts @@ -0,0 +1,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; -- cgit v1.2.3-70-g09d2