🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
1.2.4

5

lib/resolvers-generator.js

@@ -78,3 +78,2 @@ "use strict";

'',
'export type Value<T> = T | Promise<T>',
'/**',

@@ -89,5 +88,5 @@ ' * Technically a property can be a function also. We DO NOT support this use case',

' */',
'export type GQLProperty<T, Args, Ctx> = Value<T | null> // | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>)',
'export type GQLProperty<T, Args, Ctx> = T | Promise<T> // | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => T | Promise<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) => T | Promise<T>',
'/**',

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

2

package.json
{
"name": "@beamf/graphql-schema-typescript",
"version": "1.2.3",
"version": "1.2.4",
"description": "Generate TypeScript from GraphQL's schema type definitions",

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