simple-graphql
Advanced tools
Comparing version 4.2.7 to 4.2.8
@@ -120,3 +120,3 @@ "use strict"; | ||
columnOptions: (schema, fieldName, options) => { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g, _h; | ||
const foreignField = fieldName; | ||
@@ -138,2 +138,3 @@ let onDelete = ((_b = (_a = options.metadata) === null || _a === void 0 ? void 0 : _a.column) === null || _b === void 0 ? void 0 : _b.onDelete) || 'RESTRICT'; | ||
}, | ||
targetKey: (_h = (_g = options.metadata) === null || _g === void 0 ? void 0 : _g.column) === null || _h === void 0 ? void 0 : _h.targetKey, | ||
onDelete: onDelete, | ||
@@ -140,0 +141,0 @@ constraints: constraints |
@@ -198,2 +198,3 @@ import { GraphQLFieldResolver, GraphQLInputType, GraphQLInterfaceType, GraphQLOutputType, GraphQLResolveInfo } from 'graphql'; | ||
constraints?: boolean; | ||
targetKey?: string; | ||
}; | ||
@@ -200,0 +201,0 @@ }; |
{ | ||
"name": "simple-graphql", | ||
"version": "4.2.7", | ||
"version": "4.2.8", | ||
"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
Sorry, the diff of this file is not supported yet
333426
4925