schema WIP
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import type { CodegenConfig } from "@graphql-codegen/cli";
|
||||
|
||||
const config: CodegenConfig = {
|
||||
schema: "schema.graphql",
|
||||
generates: {
|
||||
"./resolvers-types.ts": {
|
||||
config: {
|
||||
useIndexSignature: true,
|
||||
},
|
||||
plugins: ["typescript", "typescript-resolvers"],
|
||||
},
|
||||
},
|
||||
};
|
||||
export default config;
|
||||
Reference in New Issue
Block a user