chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:58:18 +08:00
commit 6d5d58c1a9
18293 changed files with 3502153 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import type { CodegenConfig } from "@graphql-codegen/cli";
import path from "node:path";
const schema = path.resolve(
__dirname,
"../runtime/__snapshots__/schema/schema.graphql",
);
const config: CodegenConfig = {
schema,
documents: ["src/graphql/definitions/**/*.{ts,tsx}"],
generates: {
"./src/graphql/@generated/": {
preset: "client",
config: {
useTypeImports: true,
withHooks: false,
},
plugins: [],
},
},
hooks: {},
};
export default config;