New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@beamf/graphql-schema-typescript

Package Overview
Dependencies
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beamf/graphql-schema-typescript - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

6

lib/resolver-types-generator.js

@@ -83,5 +83,5 @@ "use strict";

' */',
'export type GQLProperty<T, Args, Ctx> = Value<T | null> | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>)',
'export type GQLProperty<T, Args, Ctx> = Value<T | null> // | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>)',
'',
'export type GQLResolver<T, P, Args, Ctx> = ((parent: P, args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>)',
'export type GQLResolver<T, P, Args, Ctx> = (parent: P, args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>',
'/**',

@@ -235,3 +235,3 @@ ' * When used as properties of the return value of an existing resolver, this really should be',

fieldResolversTypeDefs.push.apply(fieldResolversTypeDefs, fieldJsDocs.concat([
"export type " + fieldResolverName + "<P> = GQLPropertyOrResolver<" + typeName + ", P, " + argsType + ", " + this.contextType + ">",
"export type " + fieldResolverName + "<P = {}> = GQLPropertyOrResolver<" + typeName + ", P, " + argsType + ", " + this.contextType + ">",
]));

@@ -238,0 +238,0 @@ typeResolverBody.push.apply(typeResolverBody, [field.name + "?: " + fieldResolverName + "<P>"]);

{
"name": "@beamf/graphql-schema-typescript",
"version": "1.1.3",
"version": "1.1.4",
"description": "Generate TypeScript from GraphQL's schema type definitions",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc