@graphql-codegen/core
- Version 4.0.2
- Published
- 39.2 kB
- 4 dependencies
- MIT license
Install
npm i @graphql-codegen/core
yarn add @graphql-codegen/core
pnpm add @graphql-codegen/core
Overview
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
Index
Functions
function codegen
codegen: (options: Types.GenerateOptions) => Promise<string>;
function executePlugin
executePlugin: ( options: ExecutePluginOptions, plugin: CodegenPlugin) => Promise<Types.PluginOutput>;
Interfaces
interface ExecutePluginOptions
interface ExecutePluginOptions {}
property allPlugins
allPlugins: Types.ConfiguredPlugin[];
property config
config: Types.PluginConfig;
property documents
documents: Types.DocumentFile[];
property name
name: string;
property outputFilename
outputFilename: string;
property parentConfig
parentConfig: Types.PluginConfig;
property pluginContext
pluginContext?: { [key: string]: any;};
property profiler
profiler?: Profiler;
property schema
schema: DocumentNode;
property schemaAst
schemaAst?: GraphQLSchema;
property skipDocumentsValidation
skipDocumentsValidation?: Types.SkipDocumentsValidationOptions;
Package Files (3)
Dependencies (4)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@graphql-codegen/core
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@graphql-codegen/core)
- HTML<a href="https://www.jsdocs.io/package/@graphql-codegen/core"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1847 ms. - Missing or incorrect documentation? Open an issue for this package.