UNPKG

@eddeee888/gcg-typescript-resolver-files

Version:

This [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugin creates resolvers given GraphQL schema.

8 lines (7 loc) 430 B
import type { Types } from '@graphql-codegen/plugin-helpers'; import type { TypedPresetConfig } from './validatePresetConfig'; export declare const defineConfig: (presetConfig?: TypedPresetConfig, context?: { baseOutputDir?: string; schema?: Types.ConfiguredOutput["schema"]; hooks?: Types.ConfiguredOutput["hooks"]; }) => Pick<Types.ConfiguredOutput, "preset" | "presetConfig" | "watchPattern" | "schema" | "hooks">;