simple-graphql
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -1,4 +0,5 @@ | ||
import { SGHookOptionsMap, SGPluginConfig, SGPluginOptions } from '..'; | ||
import { SGHookOptionsMap, SGInputFieldConfigMap, SGPluginConfig, SGPluginOptions } from '..'; | ||
declare type AddMutationOptions = SGPluginOptions & { | ||
name?: string; | ||
additionFields?: SGInputFieldConfigMap; | ||
hookOptions?: SGHookOptionsMap; | ||
@@ -5,0 +6,0 @@ }; |
@@ -38,3 +38,3 @@ "use strict"; | ||
const addedName = 'added' + StringHelper_1.default.toInitialUpperCase(schema.name) + 'Edge'; | ||
const inputFields = {}; | ||
const inputFields = Object.assign({}, (options.additionFields || {})); | ||
const isModelType = (fieldOptions) => { | ||
@@ -41,0 +41,0 @@ return (fieldOptions.type && |
{ | ||
"name": "simple-graphql", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
330168
4887