aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/graphql-codegen.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-11 00:53:15 +0900
committernsfisis <nsfisis@gmail.com>2025-07-11 01:17:09 +0900
commitc1c22a7cc7310dfc601c3359122f2fd471193faf (patch)
treedb150dd25f7f8e8b2018d4c619536372ca133a61 /frontend/graphql-codegen.ts
parentc0cec4794ba253caee2d3fd815e053bb616b8883 (diff)
downloadfeedaka-c1c22a7cc7310dfc601c3359122f2fd471193faf.tar.gz
feedaka-c1c22a7cc7310dfc601c3359122f2fd471193faf.tar.zst
feedaka-c1c22a7cc7310dfc601c3359122f2fd471193faf.zip
feat(frontend): install dependencies
Diffstat (limited to 'frontend/graphql-codegen.ts')
-rw-r--r--frontend/graphql-codegen.ts15
1 files changed, 15 insertions, 0 deletions
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;