Socket
Socket
Sign inDemoInstall

simple-graphql

Package Overview
Dependencies
24
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.1 to 4.2.2

3

dist/plugin/addMutationPlugin.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc