graphql-static-binding
- Version 0.9.3
- Published
- 342 kB
- 1 dependency
- MIT license
Install
npm i graphql-static-binding
yarn add graphql-static-binding
pnpm add graphql-static-binding
Overview
Generate static binding files for a GraphQL schema
Index
Functions
function generateCode
generateCode: (schema: string, generator: Generator | string) => string;
Interfaces
interface Generator
interface Generator {}
property GraphQLEnumType
GraphQLEnumType?: (type: GraphQLEnumType) => string;
property GraphQLInputObjectType
GraphQLInputObjectType?: (type: GraphQLInputObjectType) => string;
property GraphQLInterfaceType
GraphQLInterfaceType?: (type: GraphQLInterfaceType) => string;
property GraphQLObjectType
GraphQLObjectType?: (type: GraphQLObjectType) => string;
property GraphQLScalarType
GraphQLScalarType?: (type: GraphQLScalarType) => string;
property GraphQLUnionType
GraphQLUnionType?: (type: GraphQLUnionType) => string;
property Header
Header: (schema: string) => string;
property Main
Main: ( queryType: GraphQLObjectType, mutationType?: GraphQLObjectType | null, subscriptionType?: GraphQLObjectType | null) => string;
property RootType
RootType?: (type: GraphQLObjectType) => string;
property SchemaType
SchemaType?: ( queryType: GraphQLObjectType, mutationType?: GraphQLObjectType | null, subscriptionType?: GraphQLObjectType | null) => string;
property SubscriptionType
SubscriptionType?: (type: GraphQLObjectType) => string;
Package Files (2)
Dependencies (1)
Dev Dependencies (10)
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-static-binding
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/graphql-static-binding)
- HTML<a href="https://www.jsdocs.io/package/graphql-static-binding"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2565 ms. - Missing or incorrect documentation? Open an issue for this package.