Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

netlify-onegraph-internal

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-onegraph-internal - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

31

dist/graphqlHelpers.d.ts

@@ -27,3 +27,6 @@ import * as GraphQLPackage from "graphql";

description?: Maybe<string>;
namedFragments: string[];
namedFragments: {
name: string;
typeCondition: string;
}[];
inlineFragments: OutInlineFragment[];

@@ -42,3 +45,25 @@ selections: OutSelection;

};
declare type OutType = OutEnum | OutObject | OutArray | OutScalar;
declare type OutUnion = {
kind: "union";
typenameFields: string[];
description?: Maybe<string>;
objects: (OutObject & {
__typename: string;
})[];
namedFragments: {
name: string;
typeCondition: string;
}[];
};
declare type OutInterface = {
kind: "interface";
description?: Maybe<string>;
namedFragments: {
name: string;
typeCondition: string;
}[];
inlineFragments: OutInlineFragment[];
selections: OutSelection;
};
declare type OutType = OutEnum | OutObject | OutArray | OutScalar | OutUnion | OutInterface;
export declare function gatherAllReferencedTypes(GraphQL: typeof GraphQLPackage, schema: GraphQLSchema, query: OperationDefinitionNode): Array<string>;

@@ -55,3 +80,3 @@ export declare function gatherVariableDefinitions(GraphQL: typeof GraphQLPackage, definition: OperationDefinitionNode): Array<[string, string]>;

export declare function typeScriptSignatureForOperation(GraphQL: typeof GraphQLPackage, schema: GraphQLSchema, operationDefinition: OperationDefinitionNode, fragmentDefinitions: Record<string, FragmentDefinitionNode>): string;
export declare function typeScriptDefinitionObjectForFragment(GraphQL: typeof GraphQLPackage, schema: GraphQLSchema, fragmentDefinition: FragmentDefinitionNode, fragmentDefinitions: Record<string, FragmentDefinitionNode>): OutObject | OutScalar;
export declare function typeScriptDefinitionObjectForFragment(GraphQL: typeof GraphQLPackage, schema: GraphQLSchema, fragmentDefinition: FragmentDefinitionNode, fragmentDefinitions: Record<string, FragmentDefinitionNode>): OutObject | OutScalar | OutUnion;
export declare function typeScriptSignatureForFragment(GraphQL: typeof GraphQLPackage, schema: GraphQLSchema, fragmentDefinition: FragmentDefinitionNode, fragmentDefinitions: Record<string, FragmentDefinitionNode>): string;

@@ -58,0 +83,0 @@ export declare function typeScriptTypeNameForOperation(name: string): string;

2

package.json
{
"name": "netlify-onegraph-internal",
"version": "0.7.1",
"version": "0.8.0",
"description": "Internal tools for use by Netlify",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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