Initial commit

This commit is contained in:
Bohdan Denysenko 2024-12-29 10:56:43 +00:00 • committed by GitHub
commit 864f37a652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 45596 additions and 0 deletions

19
codegen.ts Normal file
View file

@ -0,0 +1,19 @@
import type { CodegenConfig } from "@graphql-codegen/cli";
const config: CodegenConfig = {
overwrite: true,
schema: "./app/server/graphql/schema.graphql",
documents: "./app/client/fragments.ts",
generates: {
"./__generated__/": {
preset: "client",
plugins: ["typescript", "typescript-resolvers"],
},
"./graphql.schema.json": {
plugins: ["introspection"],
},
},
ignoreNoDocuments: true,
};
export default config;